Documentation
¶
Index ¶
- Constants
- Variables
- func KongCACertificateAttachedToCP(t *testing.T, ctx context.Context, cl client.Client, ...) *configurationv1alpha1.KongCACertificate
- func KongCertificateAttachedToCP(t *testing.T, ctx context.Context, cl client.Client, ...) *configurationv1alpha1.KongCertificate
- func KongCertificateAttachedToCPWithProgrammed(t *testing.T, ctx context.Context, cl client.Client, ...) *configurationv1alpha1.KongCertificate
- func KongConsumer(t *testing.T, ctx context.Context, cl client.Client, username string, ...) *configurationv1.KongConsumer
- func KongConsumerGroupAttachedToCP(t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption) *configurationv1beta1.KongConsumerGroup
- func KongConsumerWithProgrammed(t *testing.T, ctx context.Context, cl client.Client, ...) *configurationv1.KongConsumer
- func KongCredentialACL(t *testing.T, ctx context.Context, cl client.Client, consumerName string, ...) *configurationv1alpha1.KongCredentialACL
- func KongCredentialAPIKey(t *testing.T, ctx context.Context, cl client.Client, consumerName string) *configurationv1alpha1.KongCredentialAPIKey
- func KongCredentialBasicAuth(t *testing.T, ctx context.Context, cl client.Client, consumerName string, ...) *configurationv1alpha1.KongCredentialBasicAuth
- func KongCredentialHMAC(t *testing.T, ctx context.Context, cl client.Client, consumerName string) *configurationv1alpha1.KongCredentialHMAC
- func KongCredentialJWT(t *testing.T, ctx context.Context, cl client.Client, consumerName string) *configurationv1alpha1.KongCredentialJWT
- func KongDataPlaneClientCertificateAttachedToCP(t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption) *configurationv1alpha1.KongDataPlaneClientCertificate
- func KongKey(t *testing.T, ctx context.Context, cl client.Client, kid, name string, ...) *configurationv1alpha1.KongKey
- func KongKeySet(t *testing.T, ctx context.Context, cl client.Client, name string, ...) *configurationv1alpha1.KongKeySet
- func KongPluginBinding(t *testing.T, ctx context.Context, cl client.Client, ...) *configurationv1alpha1.KongPluginBinding
- func KongReferenceGrant(t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption) *configurationv1alpha1.KongReferenceGrant
- func KongRoute(t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption) *configurationv1alpha1.KongRoute
- func KongSNIAttachedToCertificate(t *testing.T, ctx context.Context, cl client.Client, ...) *configurationv1alpha1.KongSNI
- func KongService(t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption) *configurationv1alpha1.KongService
- func KongServiceWithID(t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption) *configurationv1alpha1.KongService
- func KongTargetAttachedToUpstream(t *testing.T, ctx context.Context, cl client.Client, ...) *configurationv1alpha1.KongTarget
- func KongUpstream(t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption) *configurationv1alpha1.KongUpstream
- func KongVaultAttachedToCP(t *testing.T, ctx context.Context, cl client.Client, backend string, ...) *configurationv1alpha1.KongVault
- func KonnectAPIAuthConfiguration(t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption) *konnectv1alpha1.KonnectAPIAuthConfiguration
- func KonnectAPIAuthConfigurationWithProgrammed(t *testing.T, ctx context.Context, cl client.Client) *konnectv1alpha1.KonnectAPIAuthConfiguration
- func KonnectCloudGatewayDataPlaneGroupConfiguration(t *testing.T, ctx context.Context, cl client.Client, ...) *konnectv1alpha1.KonnectCloudGatewayDataPlaneGroupConfiguration
- func KonnectCloudGatewayNetwork(t *testing.T, ctx context.Context, cl client.Client, ...) *konnectv1alpha1.KonnectCloudGatewayNetwork
- func KonnectCloudGatewayNetworkWithProgrammed(t *testing.T, ctx context.Context, cl client.Client, ...) *konnectv1alpha1.KonnectCloudGatewayNetwork
- func KonnectExtension(t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption) *konnectv1alpha2.KonnectExtension
- func KonnectExtensionReferencingKonnectGatewayControlPlane(t *testing.T, ctx context.Context, cl client.Client, ...) *konnectv1alpha2.KonnectExtension
- func KonnectGatewayControlPlane(t *testing.T, ctx context.Context, cl client.Client, ...) *konnectv1alpha2.KonnectGatewayControlPlane
- func KonnectGatewayControlPlaneWithID(t *testing.T, ctx context.Context, cl client.Client, ...) *konnectv1alpha2.KonnectGatewayControlPlane
- func Namespace(t *testing.T, ctx context.Context, cl client.Client) *corev1.Namespace
- func ProxyCachePlugin(t *testing.T, ctx context.Context, cl client.Client) *configurationv1.KongPlugin
- func RateLimitingPlugin(t *testing.T, ctx context.Context, cl client.Client) *configurationv1.KongPlugin
- func RequestTransformerPlugin(t *testing.T, ctx context.Context, cl client.Client) *configurationv1.KongPlugin
- func ResponseTransformerPlugin(t *testing.T, ctx context.Context, cl client.Client) *configurationv1.KongPlugin
- func Secret(t *testing.T, ctx context.Context, cl client.Client, data map[string][]byte, ...) *corev1.Secret
- func WithTestIDLabel(testID string) func(obj client.Object)
- type ObjOption
- func KongReferenceGrantFroms(froms ...configurationv1alpha1.ReferenceGrantFrom) ObjOption
- func KongReferenceGrantTos(tos ...configurationv1alpha1.ReferenceGrantTo) ObjOption
- func KonnectGatewayControlPlaneLabel(key, value string) ObjOption
- func KonnectGatewayControlPlaneType(typ sdkkonnectcomp.CreateControlPlaneRequestClusterType) ObjOption
- func KonnectGatewayControlPlaneTypeWithCloudGatewaysEnabled() ObjOption
- func WithAnnotation(key, value string) ObjOption
- func WithKongPluginBindingTarget[T ObjectSupportingBindingPlugins](bindTarget T) ObjOption
- func WithKonnectAdoptOptions[T ObjectSupportingAdoption](mode commonv1alpha1.AdoptMode, id string) ObjOption
- func WithKonnectExtensionKonnectNamespacedRefControlPlaneRef(cp *konnectv1alpha2.KonnectGatewayControlPlane) ObjOption
- func WithKonnectID(id string) ObjOption
- func WithKonnectNamespacedRefControlPlaneRef(cp *konnectv1alpha2.KonnectGatewayControlPlane, ns ...string) ObjOption
- func WithLabel(key, value string) ObjOption
- func WithMirrorSource(konnectID string) ObjOption
- func WithName(name string) ObjOption
- func WithNamespacedKongServiceRef(svc *configurationv1alpha1.KongService) ObjOption
- type ObjectSupportingAdoption
- type ObjectSupportingBindingPlugins
- type ObjectSupportingKonnectConfiguration
Constants ¶
const ( // TestIDLabel is the label key used to identify resources created by the test suite. TestIDLabel = "konghq.com/test-id" // KonnectTestIDLabel is the label key added in the Konnect entity used to identify them created by the test suite. // Since the label cannot start with `kong`, we use another key. KonnectTestIDLabel = "operator-test-id" )
Variables ¶
var TestValidCACertPEM = string(testValidCertPEM)
TestValidCACertPEM is a valid CA certificate PEM to be used in tests.
var TestValidCertKeyPEM = string(testValidCertKeyPEM)
TestValidCertKeyPEM is a valid certificate key PEM to be used in tests.
var TestValidCertPEM = string(testValidCertPEM)
TestValidCertPEM is a valid certificate PEM to be used in tests.
Functions ¶
func KongCACertificateAttachedToCP ¶
func KongCACertificateAttachedToCP( t *testing.T, ctx context.Context, cl client.Client, cp *konnectv1alpha2.KonnectGatewayControlPlane, opts ...ObjOption, ) *configurationv1alpha1.KongCACertificate
KongCACertificateAttachedToCP deploys a KongCACertificate resource attached to a CP and returns the resource.
func KongCertificateAttachedToCP ¶
func KongCertificateAttachedToCP( t *testing.T, ctx context.Context, cl client.Client, cp *konnectv1alpha2.KonnectGatewayControlPlane, opts ...ObjOption, ) *configurationv1alpha1.KongCertificate
KongCertificateAttachedToCP deploys a KongCertificate resource attached to a CP and returns the resource.
func KongCertificateAttachedToCPWithProgrammed ¶ added in v2.1.1
func KongCertificateAttachedToCPWithProgrammed( t *testing.T, ctx context.Context, cl client.Client, cp *konnectv1alpha2.KonnectGatewayControlPlane, konnectID string, opts ...ObjOption, ) *configurationv1alpha1.KongCertificate
KongCertificateAttachedToCPWithProgrammed deploys a KongCertificate resource attached to CP with the "programmed" condition and the given Konnect ID in the status.
func KongConsumer ¶
func KongConsumer( t *testing.T, ctx context.Context, cl client.Client, username string, opts ...ObjOption, ) *configurationv1.KongConsumer
KongConsumer deploys a KongConsumer resource and returns it.
func KongConsumerGroupAttachedToCP ¶
func KongConsumerGroupAttachedToCP( t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption, ) *configurationv1beta1.KongConsumerGroup
KongConsumerGroupAttachedToCP deploys a KongConsumerGroup resource attached to a Control Plane and returns the resource.
func KongConsumerWithProgrammed ¶
func KongConsumerWithProgrammed( t *testing.T, ctx context.Context, cl client.Client, consumer *configurationv1.KongConsumer, ) *configurationv1.KongConsumer
KongConsumerWithProgrammed deploys a KongConsumer resource and returns the resource.
func KongCredentialACL ¶
func KongCredentialACL( t *testing.T, ctx context.Context, cl client.Client, consumerName string, groupName string, ) *configurationv1alpha1.KongCredentialACL
KongCredentialACL deploys a KongCredentialACL resource and returns the resource.
func KongCredentialAPIKey ¶
func KongCredentialAPIKey( t *testing.T, ctx context.Context, cl client.Client, consumerName string, ) *configurationv1alpha1.KongCredentialAPIKey
KongCredentialAPIKey deploys a KongCredentialAPIKey resource and returns the resource.
func KongCredentialBasicAuth ¶
func KongCredentialBasicAuth( t *testing.T, ctx context.Context, cl client.Client, consumerName string, username string, password string, ) *configurationv1alpha1.KongCredentialBasicAuth
KongCredentialBasicAuth deploys a KongCredentialBasicAuth resource and returns the resource.
func KongCredentialHMAC ¶
func KongCredentialHMAC( t *testing.T, ctx context.Context, cl client.Client, consumerName string, ) *configurationv1alpha1.KongCredentialHMAC
KongCredentialHMAC deploys a KongCredentialHMAC resource and returns the resource.
func KongCredentialJWT ¶
func KongCredentialJWT( t *testing.T, ctx context.Context, cl client.Client, consumerName string, ) *configurationv1alpha1.KongCredentialJWT
KongCredentialJWT deploys a KongCredentialJWT resource and returns the resource.
func KongDataPlaneClientCertificateAttachedToCP ¶
func KongDataPlaneClientCertificateAttachedToCP( t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption, ) *configurationv1alpha1.KongDataPlaneClientCertificate
KongDataPlaneClientCertificateAttachedToCP deploys a KongDataPlaneClientCertificate resource and returns the resource.
func KongKey ¶
func KongKey( t *testing.T, ctx context.Context, cl client.Client, kid, name string, opts ...ObjOption, ) *configurationv1alpha1.KongKey
KongKey deploys a KongKey resource and returns the resource.
func KongKeySet ¶
func KongKeySet( t *testing.T, ctx context.Context, cl client.Client, name string, opts ...ObjOption, ) *configurationv1alpha1.KongKeySet
KongKeySet deploys a KongKeySet resource and returns the resource.
func KongPluginBinding ¶
func KongPluginBinding( t *testing.T, ctx context.Context, cl client.Client, kpb *configurationv1alpha1.KongPluginBinding, opts ...ObjOption, ) *configurationv1alpha1.KongPluginBinding
KongPluginBinding deploys a KongPluginBinding resource and returns the resource.
func KongReferenceGrant ¶ added in v2.1.1
func KongReferenceGrant( t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption, ) *configurationv1alpha1.KongReferenceGrant
KongReferenceGrant deploys a KongReferenceGrant resource and returns the resource.
func KongRoute ¶
func KongRoute( t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption, ) *configurationv1alpha1.KongRoute
KongRoute deploys a KongRoute resource and returns the resource.
func KongSNIAttachedToCertificate ¶
func KongSNIAttachedToCertificate( t *testing.T, ctx context.Context, cl client.Client, cert *configurationv1alpha1.KongCertificate, opts ...ObjOption, ) *configurationv1alpha1.KongSNI
KongSNIAttachedToCertificate deploys a KongSNI resource attached to a KongCertificate and returns the resource.
func KongService ¶
func KongService( t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption, ) *configurationv1alpha1.KongService
KongService deploys a KongService resource and returns the resource.
func KongServiceWithID ¶
func KongServiceWithID( t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption, ) *configurationv1alpha1.KongService
KongServiceWithID deploys a KongService resource and returns the resource. The Status ID and Programmed condition are set on the Service using status Update() call. It can be useful where the reconciler for KonnectGatewayControlPlane is not started and hence the status has to be filled manually.
func KongTargetAttachedToUpstream ¶
func KongTargetAttachedToUpstream( t *testing.T, ctx context.Context, cl client.Client, upstream *configurationv1alpha1.KongUpstream, opts ...ObjOption, ) *configurationv1alpha1.KongTarget
KongTargetAttachedToUpstream deploys a KongTarget resource attached to a Control Plane and returns the resource.
func KongUpstream ¶
func KongUpstream( t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption, ) *configurationv1alpha1.KongUpstream
KongUpstream deploys a KongUpstream resource and returns it.
func KongVaultAttachedToCP ¶
func KongVaultAttachedToCP( t *testing.T, ctx context.Context, cl client.Client, backend string, prefix string, rawConfig []byte, cp *konnectv1alpha2.KonnectGatewayControlPlane, opts ...ObjOption, ) *configurationv1alpha1.KongVault
KongVaultAttachedToCP deploys a KongVault resource attached to a CP and returns the resource.
func KonnectAPIAuthConfiguration ¶
func KonnectAPIAuthConfiguration( t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption, ) *konnectv1alpha1.KonnectAPIAuthConfiguration
KonnectAPIAuthConfiguration deploys a KonnectAPIAuthConfiguration resource and returns the resource.
func KonnectAPIAuthConfigurationWithProgrammed ¶
func KonnectAPIAuthConfigurationWithProgrammed( t *testing.T, ctx context.Context, cl client.Client, ) *konnectv1alpha1.KonnectAPIAuthConfiguration
KonnectAPIAuthConfigurationWithProgrammed deploys a KonnectAPIAuthConfiguration resource and returns the resource. The Programmed condition is set on the returned resource using status Update() call. It can be useful where the reconciler for KonnectAPIAuthConfiguration is not started and hence the status has to be filled manually.
func KonnectCloudGatewayDataPlaneGroupConfiguration ¶
func KonnectCloudGatewayDataPlaneGroupConfiguration( t *testing.T, ctx context.Context, cl client.Client, dataplaneGroups []konnectv1alpha1.KonnectConfigurationDataPlaneGroup, opts ...ObjOption, ) *konnectv1alpha1.KonnectCloudGatewayDataPlaneGroupConfiguration
KonnectCloudGatewayDataPlaneGroupConfiguration deploys a KonnectCloudGatewayDataPlaneGroupConfiguration resource and returns the resource.
func KonnectCloudGatewayNetwork ¶
func KonnectCloudGatewayNetwork( t *testing.T, ctx context.Context, cl client.Client, apiAuth *konnectv1alpha1.KonnectAPIAuthConfiguration, opts ...ObjOption, ) *konnectv1alpha1.KonnectCloudGatewayNetwork
KonnectCloudGatewayNetwork deploys a KonnectCloudGatewayNetwork resource and returns it.
func KonnectCloudGatewayNetworkWithProgrammed ¶
func KonnectCloudGatewayNetworkWithProgrammed( t *testing.T, ctx context.Context, cl client.Client, apiAuth *konnectv1alpha1.KonnectAPIAuthConfiguration, opts ...ObjOption, ) *konnectv1alpha1.KonnectCloudGatewayNetwork
KonnectCloudGatewayNetworkWithProgrammed deploys a KonnectNetwork resource and returns it. The Programmed condition is set on the returned resource using status Update() call. It can be useful where the reconciler for KonnectNetwork is not started and hence the status has to be filled manually.
func KonnectExtension ¶
func KonnectExtension( t *testing.T, ctx context.Context, cl client.Client, opts ...ObjOption, ) *konnectv1alpha2.KonnectExtension
KonnectExtension deploys a KonnectExtension.
func KonnectExtensionReferencingKonnectGatewayControlPlane ¶
func KonnectExtensionReferencingKonnectGatewayControlPlane( t *testing.T, ctx context.Context, cl client.Client, cp *konnectv1alpha2.KonnectGatewayControlPlane, ) *konnectv1alpha2.KonnectExtension
KonnectExtensionReferencingKonnectGatewayControlPlane deploys a KonnectExtension attached to a Konnect CP represented by the given KonnectGatewayControlPlane.
func KonnectGatewayControlPlane ¶
func KonnectGatewayControlPlane( t *testing.T, ctx context.Context, cl client.Client, apiAuth *konnectv1alpha1.KonnectAPIAuthConfiguration, opts ...ObjOption, ) *konnectv1alpha2.KonnectGatewayControlPlane
KonnectGatewayControlPlane deploys a KonnectGatewayControlPlane resource and returns the resource.
func KonnectGatewayControlPlaneWithID ¶
func KonnectGatewayControlPlaneWithID( t *testing.T, ctx context.Context, cl client.Client, apiAuth *konnectv1alpha1.KonnectAPIAuthConfiguration, opts ...ObjOption, ) *konnectv1alpha2.KonnectGatewayControlPlane
KonnectGatewayControlPlaneWithID deploys a KonnectGatewayControlPlane resource and returns the resource. The Status ID and Programmed condition are set on the CP using status Update() call. It can be useful where the reconciler for KonnectGatewayControlPlane is not started and hence the status has to be filled manually.
func ProxyCachePlugin ¶
func ProxyCachePlugin( t *testing.T, ctx context.Context, cl client.Client, ) *configurationv1.KongPlugin
ProxyCachePlugin deploys the proxy-cache KongPlugin resource and returns the resource. The provided client should be namespaced, i.e. created with `client.NewNamespacedClient(client, ns)`
func RateLimitingPlugin ¶
func RateLimitingPlugin( t *testing.T, ctx context.Context, cl client.Client, ) *configurationv1.KongPlugin
RateLimitingPlugin deploys the rate-limiting KongPlugin resource and returns the resource. The provided client should be namespaced, i.e. created with `client.NewNamespacedClient(client, ns)`
func RequestTransformerPlugin ¶ added in v2.1.1
func RequestTransformerPlugin( t *testing.T, ctx context.Context, cl client.Client, ) *configurationv1.KongPlugin
RequestTransformerPlugin deploys the request-transformer KongPlugin resource and returns the resource. The provided client should be namespaced, i.e. created with `client.NewNamespacedClient(client, ns)`
func ResponseTransformerPlugin ¶ added in v2.1.1
func ResponseTransformerPlugin(t *testing.T, ctx context.Context, cl client.Client, ) *configurationv1.KongPlugin
ResponseTransformerPlugin deploys the response-transformer KongPlugin resource and returns the resource. The provided client should be namespaced, i.e. created with `client.NewNamespacedClient(client, ns)`
func Secret ¶
func Secret( t *testing.T, ctx context.Context, cl client.Client, data map[string][]byte, opts ...ObjOption, ) *corev1.Secret
Secret deploys a Secret.
func WithTestIDLabel ¶
WithTestIDLabel returns an ObjOption that sets the test ID label on the object.
Types ¶
type ObjOption ¶
ObjOption is a function that modifies a client.Object.
func KongReferenceGrantFroms ¶ added in v2.1.1
func KongReferenceGrantFroms(froms ...configurationv1alpha1.ReferenceGrantFrom) ObjOption
KongReferenceGrantFroms returns an option function that appends the given ReferenceGrantFrom entries.
func KongReferenceGrantTos ¶ added in v2.1.1
func KongReferenceGrantTos(tos ...configurationv1alpha1.ReferenceGrantTo) ObjOption
KongReferenceGrantTos returns an option function that appends the given ReferenceGrantTo entries.
func KonnectGatewayControlPlaneLabel ¶
KonnectGatewayControlPlaneLabel returns an ObjOption that adds the given label to the `spec.createControlPlaneRequest.labels` of the KonnectGatewayControlPlane. This adds the given label on the created control plane in Konnect (instead of the label in the k8s metadata).
func KonnectGatewayControlPlaneType ¶
func KonnectGatewayControlPlaneType(typ sdkkonnectcomp.CreateControlPlaneRequestClusterType) ObjOption
KonnectGatewayControlPlaneType returns an ObjOption that sets the cluster type on the CP.
func KonnectGatewayControlPlaneTypeWithCloudGatewaysEnabled ¶
func KonnectGatewayControlPlaneTypeWithCloudGatewaysEnabled() ObjOption
KonnectGatewayControlPlaneTypeWithCloudGatewaysEnabled returns an ObjOption that enabled cloud gateways on the CP.
func WithAnnotation ¶
WithAnnotation returns an ObjOption that sets the given key-value pair as an annotation on the object.
func WithKongPluginBindingTarget ¶ added in v2.1.1
func WithKongPluginBindingTarget[T ObjectSupportingBindingPlugins]( bindTarget T, ) ObjOption
WithKongPluginBindingTarget returns an option function that sets the binding target of the KongPluginBinding. The option function also sets the scope of the KongPluginBinding to "OnlyTargets".
func WithKonnectAdoptOptions ¶ added in v2.1.1
func WithKonnectAdoptOptions[T ObjectSupportingAdoption](mode commonv1alpha1.AdoptMode, id string) ObjOption
WithKonnectAdoptOptions returns an option function that sets the adopt options to adopt from Konnect.
func WithKonnectExtensionKonnectNamespacedRefControlPlaneRef ¶
func WithKonnectExtensionKonnectNamespacedRefControlPlaneRef(cp *konnectv1alpha2.KonnectGatewayControlPlane) ObjOption
WithKonnectExtensionKonnectNamespacedRefControlPlaneRef returns an ObjOption that sets the ControlPlaneRef on the konnectExtension to a namespaced ref.
func WithKonnectID ¶
WithKonnectID returns an ObjOption that sets the Konnect ID on the object.
func WithKonnectNamespacedRefControlPlaneRef ¶
func WithKonnectNamespacedRefControlPlaneRef(cp *konnectv1alpha2.KonnectGatewayControlPlane, ns ...string) ObjOption
WithKonnectNamespacedRefControlPlaneRef returns an ObjOption that sets the ControlPlaneRef on the object to a namespaced ref.
NOTE: resources requires additional handling ( to only set the namespace when the resource is cluster-scoped).
func WithLabel ¶
WithLabel returns an ObjOption that sets the given key-value pair as an label on the object.
func WithMirrorSource ¶
WithMirrorSource returns an ObjOption that sets the Source as Mirror and Mirror fields on the object.
func WithNamespacedKongServiceRef ¶
func WithNamespacedKongServiceRef(svc *configurationv1alpha1.KongService) ObjOption
WithNamespacedKongServiceRef returns an ObjOption that sets the ServiceRef on the object to a namespaced ref.
type ObjectSupportingAdoption ¶ added in v2.1.1
type ObjectSupportingAdoption interface {
client.Object
SetAdoptOptions(*commonv1alpha1.AdoptOptions)
}
ObjectSupportingAdoption defines the interface of types supporting adoption.
type ObjectSupportingBindingPlugins ¶ added in v2.1.1
type ObjectSupportingBindingPlugins interface {
*configurationv1alpha1.KongService |
*configurationv1alpha1.KongRoute |
*configurationv1.KongConsumer |
*configurationv1beta1.KongConsumerGroup
GetName() string
}
ObjectSupportingBindingPlugins defines the interface of types supporting to be set as the target of KongPluginBinding.
type ObjectSupportingKonnectConfiguration ¶
type ObjectSupportingKonnectConfiguration interface {
*konnectv1alpha2.KonnectGatewayControlPlane |
*konnectv1alpha1.KonnectCloudGatewayNetwork
}
ObjectSupportingKonnectConfiguration defines the interface of types supporting setting `KonnectConfiguration`.