Skip to content

Commit d053507

Browse files
authored
feat(konnect): Add SetAdoptOptions methods for CRDs supporting adoption (#2663)
1 parent a70e9fc commit d053507

File tree

6 files changed

+111
-0
lines changed

6 files changed

+111
-0
lines changed

api/configuration/v1/zz_generated_adopt_funcs.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/configuration/v1alpha1/zz_generated_adopt_funcs.go

Lines changed: 80 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/configuration/v1beta1/zz_generated_adopt_funcs.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/konnect/v1alpha1/zz_generated_adopt_funcs.go

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controller/konnect/constraints/constraints.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ type SupportedKonnectEntityType interface {
6868
type KonnectEntityTypeSupportingAdoption interface {
6969
GetTypeName() string
7070
GetAdoptOptions() *commonv1alpha1.AdoptOptions
71+
SetAdoptOptions(*commonv1alpha1.AdoptOptions)
7172
}
7273

7374
// EntityTypeObject is an interface that allows non Konnect types to be used

scripts/apitypes-funcs/templates.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)