Skip to content

Commit

Permalink
feat: ading consumer-group policy overrides support in deck
Browse files Browse the repository at this point in the history
  • Loading branch information
Prashansa-K committed Feb 5, 2025
1 parent 05091c1 commit 6a30943
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 12 deletions.
14 changes: 14 additions & 0 deletions cmd/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ func syncMain(ctx context.Context, filenames []string, dry bool, parallelism,
}
}

dumpConfig.IsConsumerGroupPolicyOverrideSet = determinePolicyOverride(*targetContent, dumpConfig)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / build

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / lint

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong:master)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.9)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.5)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / test

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:2.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.7)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.6)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.6)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.4)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:2.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.9)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway-dev:latest)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.4)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 261 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.5)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

dumpConfig.SelectorTags, err = determineSelectorTag(*targetContent, dumpConfig)
if err != nil {
return err
Expand Down Expand Up @@ -421,6 +423,18 @@ func syncMain(ctx context.Context, filenames []string, dry bool, parallelism,
return nil
}

func determinePolicyOverride(targetContent file.Content, config dump.Config) bool {
if config.IsConsumerGroupPolicyOverrideSet {

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / build

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / lint

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong:master)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.9)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.5)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / test

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:2.8)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.7)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.6)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.6)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.8)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.4)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:2.8)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.9)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway-dev:latest)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.8)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.4)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 427 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.5)

config.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)
return true
}

if targetContent.Info != nil && targetContent.Info.ConsumerGroupPolicyOverrides {

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / build

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / lint

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong:master)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.9)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.5)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / test

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:2.8)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.7)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.6)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.6)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.8)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.4)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:2.8)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.9)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway-dev:latest)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.8)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.4)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 431 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.5)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)
return targetContent.Info.ConsumerGroupPolicyOverrides

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / build

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / lint

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong:master)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.9)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.5)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / test

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:2.8)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.7)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.6)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.6)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.8)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.4)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:2.8)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.9)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway-dev:latest)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.8)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.4)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)

Check failure on line 432 in cmd/common.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.5)

targetContent.Info.ConsumerGroupPolicyOverrides undefined (type *"github.com/kong/go-database-reconciler/pkg/file".Info has no field or method ConsumerGroupPolicyOverrides)
}

return false
}

func determineLookUpSelectorTagsConsumerGroups(targetContent file.Content) ([]string, error) {
if targetContent.Info != nil &&
targetContent.Info.LookUpSelectorTags != nil &&
Expand Down
28 changes: 16 additions & 12 deletions cmd/gateway_dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,13 @@ func executeDump(cmd *cobra.Command, _ []string) error {
}

if err := file.KongStateToFile(ks, file.WriteConfig{
SelectTags: dumpConfig.SelectorTags,
Workspace: workspace,
Filename: workspace,
FileFormat: format,
WithID: dumpWithID,
KongVersion: kongVersion,
SelectTags: dumpConfig.SelectorTags,
Workspace: workspace,
Filename: workspace,
FileFormat: format,
WithID: dumpWithID,
KongVersion: kongVersion,
IsConsumerGroupPolicyOverrideSet: dumpConfig.IsConsumerGroupPolicyOverrideSet,

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / build

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / build

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / lint

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / lint

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong:master)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong:master)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.9)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.9)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.5)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.5)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / test

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / test

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:2.8)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:2.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.7)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.7)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.6)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.6)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.6)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.6)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.8)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.4)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.4)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:2.8)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:2.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.9)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.9)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway-dev:latest)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway-dev:latest)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.8)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.4)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.4)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.5)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 102 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.5)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)
}); err != nil {
return err
}
Expand Down Expand Up @@ -132,12 +133,13 @@ func executeDump(cmd *cobra.Command, _ []string) error {
return fmt.Errorf("building state: %w", err)
}
return file.KongStateToFile(ks, file.WriteConfig{
SelectTags: dumpConfig.SelectorTags,
Workspace: dumpWorkspace,
Filename: dumpCmdKongStateFile,
FileFormat: format,
WithID: dumpWithID,
KongVersion: kongVersion,
SelectTags: dumpConfig.SelectorTags,
Workspace: dumpWorkspace,
Filename: dumpCmdKongStateFile,
FileFormat: format,
WithID: dumpWithID,
KongVersion: kongVersion,
IsConsumerGroupPolicyOverrideSet: dumpConfig.IsConsumerGroupPolicyOverrideSet,

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / build

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / build

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / lint

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / lint

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong:master)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong:master)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.9)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.9)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.5)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.5)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / test

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / test

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:2.8)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:2.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.7)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.7)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.6)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.6)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.6)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.6)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.8)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.4)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.4)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:2.8)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:2.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.9)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.9)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway-dev:latest)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway-dev:latest)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.8)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.4)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.4)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.5)

unknown field IsConsumerGroupPolicyOverrideSet in struct literal of type "github.com/kong/go-database-reconciler/pkg/file".WriteConfig

Check failure on line 142 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.5)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)
})
}

Expand Down Expand Up @@ -197,6 +199,8 @@ configure Kong.`,
false, "do not show the association between consumer and consumer-group.\n"+
"If set to true, deck skips listing consumers with consumer-groups,\n"+
"thus gaining some performance with large configs. This flag is not valid with Konnect.")
dumpCmd.Flags().BoolVar(&dumpConfig.IsConsumerGroupPolicyOverrideSet, "consumer-group-policy-overrides",

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / build

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / lint

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong:master)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.9)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.5)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / test

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:2.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.7)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.6)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.6)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.4)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:2.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.9)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway-dev:latest)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.4)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 202 in cmd/gateway_dump.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.5)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)
false, "allow deck to dump consumer-group policy overrides.")
if deprecated {
dumpCmd.Flags().StringVarP(&dumpCmdKongStateFileDeprecated, "output-file", "o",
fileOutDefault, "file to which to write Kong's configuration."+
Expand Down
2 changes: 2 additions & 0 deletions cmd/gateway_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ to get Kong's state in sync with the input state.`,
"See `db_update_propagation` in kong.conf.")
syncCmd.Flags().BoolVar(&dumpConfig.SkipCACerts, "skip-ca-certificates",
false, "do not sync CA certificates.")
syncCmd.Flags().BoolVar(&dumpConfig.IsConsumerGroupPolicyOverrideSet, "consumer-group-policy-overrides",

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / build

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong:master)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.9)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.5)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / test

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong:2.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.7)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.6)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.6)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong:3.4)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:2.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.9)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway-dev:latest)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.8)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.4)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)

Check failure on line 99 in cmd/gateway_sync.go

View workflow job for this annotation

GitHub Actions / integration (kong/kong-gateway:3.5)

dumpConfig.IsConsumerGroupPolicyOverrideSet undefined (type dump.Config has no field or method IsConsumerGroupPolicyOverrideSet)
false, "allow deck to sync consumer-group policy overrides.")
syncCmd.Flags().BoolVar(&syncJSONOutput, "json-output",
false, "generate command execution report in a JSON format")
addSilenceEventsFlag(syncCmd.Flags())
Expand Down

0 comments on commit 6a30943

Please sign in to comment.