Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the konnect.konghq.com v1alpha1 API group. +kubebuilder:object:generate=true +groupName=konnect.konghq.com +apireference:kgo:include-all-types
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type APIAccess
- type AWSTransitGateway
- type AwsTransitGatewayAttachmentConfig
- type AzureTransitGateway
- type AzureVNETPeeringAttachmentConfig
- type CertificateSecret
- type Colors
- type ConfigMapKeyRef
- type ConfigurationDataPlaneGroupAutoscale
- type ConfigurationDataPlaneGroupAutoscaleAutopilot
- type ConfigurationDataPlaneGroupAutoscaleStatic
- type ConfigurationDataPlaneGroupAutoscaleType
- type ConfigurationDataPlaneGroupEnvironmentField
- type CreateControlPlaneRequest
- type CreatePortalCustomDomainSSL
- type CreatePortalCustomDomainSSLStandard
- type CreatePortalCustomDomainSSLWithCustomCertificate
- type DataPlaneClientAuthStatus
- type DataPlaneLabelValue
- type Description
- type GatewayDescription
- type GatewayName
- type IdentityProviderType
- type KonnectAPIAuthConfiguration
- func (in *KonnectAPIAuthConfiguration) DeepCopy() *KonnectAPIAuthConfiguration
- func (in *KonnectAPIAuthConfiguration) DeepCopyInto(out *KonnectAPIAuthConfiguration)
- func (in *KonnectAPIAuthConfiguration) DeepCopyObject() runtime.Object
- func (obj *KonnectAPIAuthConfiguration) GetConditions() []metav1.Condition
- func (obj KonnectAPIAuthConfiguration) GetTypeName() string
- func (obj *KonnectAPIAuthConfiguration) SetConditions(conditions []metav1.Condition)
- type KonnectAPIAuthConfigurationList
- func (in *KonnectAPIAuthConfigurationList) DeepCopy() *KonnectAPIAuthConfigurationList
- func (in *KonnectAPIAuthConfigurationList) DeepCopyInto(out *KonnectAPIAuthConfigurationList)
- func (in *KonnectAPIAuthConfigurationList) DeepCopyObject() runtime.Object
- func (obj KonnectAPIAuthConfigurationList) GetItems() []KonnectAPIAuthConfiguration
- type KonnectAPIAuthConfigurationSpec
- type KonnectAPIAuthConfigurationStatus
- type KonnectAPIAuthType
- type KonnectCloudGatewayDataPlaneGroupConfiguration
- func (in *KonnectCloudGatewayDataPlaneGroupConfiguration) DeepCopy() *KonnectCloudGatewayDataPlaneGroupConfiguration
- func (in *KonnectCloudGatewayDataPlaneGroupConfiguration) DeepCopyInto(out *KonnectCloudGatewayDataPlaneGroupConfiguration)
- func (in *KonnectCloudGatewayDataPlaneGroupConfiguration) DeepCopyObject() runtime.Object
- func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) GetAdoptOptions() *commonv1alpha1.AdoptOptions
- func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) GetConditions() []metav1.Condition
- func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) GetControlPlaneID() string
- func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) GetControlPlaneRef() *commonv1alpha1.ControlPlaneRef
- func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) GetKonnectID() string
- func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj KonnectCloudGatewayDataPlaneGroupConfiguration) GetTypeName() string
- func (*KonnectCloudGatewayDataPlaneGroupConfiguration) PersistsKonnectID() bool
- func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) SetAdoptOptions(opts *commonv1alpha1.AdoptOptions)
- func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) SetConditions(conditions []metav1.Condition)
- func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) SetControlPlaneID(id string)
- func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) SetControlPlaneRef(ref *commonv1alpha1.ControlPlaneRef)
- func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) SetKonnectID(id string)
- type KonnectCloudGatewayDataPlaneGroupConfigurationList
- func (in *KonnectCloudGatewayDataPlaneGroupConfigurationList) DeepCopy() *KonnectCloudGatewayDataPlaneGroupConfigurationList
- func (in *KonnectCloudGatewayDataPlaneGroupConfigurationList) DeepCopyInto(out *KonnectCloudGatewayDataPlaneGroupConfigurationList)
- func (in *KonnectCloudGatewayDataPlaneGroupConfigurationList) DeepCopyObject() runtime.Object
- func (obj KonnectCloudGatewayDataPlaneGroupConfigurationList) GetItems() []KonnectCloudGatewayDataPlaneGroupConfiguration
- type KonnectCloudGatewayDataPlaneGroupConfigurationSpec
- type KonnectCloudGatewayDataPlaneGroupConfigurationStatus
- type KonnectCloudGatewayDataPlaneGroupConfigurationStatusGroup
- type KonnectCloudGatewayNetwork
- func (in *KonnectCloudGatewayNetwork) DeepCopy() *KonnectCloudGatewayNetwork
- func (in *KonnectCloudGatewayNetwork) DeepCopyInto(out *KonnectCloudGatewayNetwork)
- func (in *KonnectCloudGatewayNetwork) DeepCopyObject() runtime.Object
- func (obj *KonnectCloudGatewayNetwork) GetAdoptOptions() *commonv1alpha1.AdoptOptions
- func (obj *KonnectCloudGatewayNetwork) GetConditions() []metav1.Condition
- func (c *KonnectCloudGatewayNetwork) GetKonnectAPIAuthConfigurationRef() konnectv1alpha2.ControlPlaneKonnectAPIAuthConfigurationRef
- func (obj *KonnectCloudGatewayNetwork) GetKonnectID() string
- func (obj *KonnectCloudGatewayNetwork) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj KonnectCloudGatewayNetwork) GetTypeName() string
- func (*KonnectCloudGatewayNetwork) PersistsKonnectID() bool
- func (obj *KonnectCloudGatewayNetwork) SetAdoptOptions(opts *commonv1alpha1.AdoptOptions)
- func (obj *KonnectCloudGatewayNetwork) SetConditions(conditions []metav1.Condition)
- func (obj *KonnectCloudGatewayNetwork) SetKonnectID(id string)
- type KonnectCloudGatewayNetworkList
- func (in *KonnectCloudGatewayNetworkList) DeepCopy() *KonnectCloudGatewayNetworkList
- func (in *KonnectCloudGatewayNetworkList) DeepCopyInto(out *KonnectCloudGatewayNetworkList)
- func (in *KonnectCloudGatewayNetworkList) DeepCopyObject() runtime.Object
- func (obj KonnectCloudGatewayNetworkList) GetItems() []KonnectCloudGatewayNetwork
- type KonnectCloudGatewayNetworkSpec
- type KonnectCloudGatewayNetworkStatus
- type KonnectCloudGatewayTransitGateway
- func (in *KonnectCloudGatewayTransitGateway) DeepCopy() *KonnectCloudGatewayTransitGateway
- func (in *KonnectCloudGatewayTransitGateway) DeepCopyInto(out *KonnectCloudGatewayTransitGateway)
- func (in *KonnectCloudGatewayTransitGateway) DeepCopyObject() runtime.Object
- func (obj *KonnectCloudGatewayTransitGateway) GetAdoptOptions() *commonv1alpha1.AdoptOptions
- func (obj *KonnectCloudGatewayTransitGateway) GetConditions() []metav1.Condition
- func (obj *KonnectCloudGatewayTransitGateway) GetKonnectID() string
- func (obj *KonnectCloudGatewayTransitGateway) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj *KonnectCloudGatewayTransitGateway) GetNetworkID() string
- func (obj KonnectCloudGatewayTransitGateway) GetTypeName() string
- func (*KonnectCloudGatewayTransitGateway) PersistsKonnectID() bool
- func (obj *KonnectCloudGatewayTransitGateway) SetAdoptOptions(opts *commonv1alpha1.AdoptOptions)
- func (obj *KonnectCloudGatewayTransitGateway) SetConditions(conditions []metav1.Condition)
- func (obj *KonnectCloudGatewayTransitGateway) SetKonnectID(id string)
- func (obj *KonnectCloudGatewayTransitGateway) SetNetworkID(id string)
- type KonnectCloudGatewayTransitGatewayList
- func (in *KonnectCloudGatewayTransitGatewayList) DeepCopy() *KonnectCloudGatewayTransitGatewayList
- func (in *KonnectCloudGatewayTransitGatewayList) DeepCopyInto(out *KonnectCloudGatewayTransitGatewayList)
- func (in *KonnectCloudGatewayTransitGatewayList) DeepCopyObject() runtime.Object
- func (obj KonnectCloudGatewayTransitGatewayList) GetItems() []KonnectCloudGatewayTransitGateway
- type KonnectCloudGatewayTransitGatewaySpec
- type KonnectCloudGatewayTransitGatewayStatus
- type KonnectConfigurationDataPlaneGroup
- type KonnectEndpoints
- type KonnectEntityRef
- type KonnectEntityStatus
- type KonnectEventGateway
- func (in *KonnectEventGateway) DeepCopy() *KonnectEventGateway
- func (in *KonnectEventGateway) DeepCopyInto(out *KonnectEventGateway)
- func (in *KonnectEventGateway) DeepCopyObject() runtime.Object
- func (obj *KonnectEventGateway) GetConditions() []metav1.Condition
- func (obj *KonnectEventGateway) GetKonnectAPIAuthConfigurationRef() konnectv1alpha2.ControlPlaneKonnectAPIAuthConfigurationRef
- func (obj *KonnectEventGateway) GetKonnectID() string
- func (obj *KonnectEventGateway) GetKonnectLabels() map[string]string
- func (obj *KonnectEventGateway) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj KonnectEventGateway) GetTypeName() string
- func (obj KonnectEventGateway) HasParent() bool
- func (*KonnectEventGateway) PersistsKonnectID() bool
- func (obj *KonnectEventGateway) SetConditions(conditions []metav1.Condition)
- func (obj *KonnectEventGateway) SetKonnectID(id string)
- func (obj *KonnectEventGateway) SetKonnectLabels(labels map[string]string)
- type KonnectEventGatewayAPISpec
- func (in *KonnectEventGatewayAPISpec) DeepCopy() *KonnectEventGatewayAPISpec
- func (in *KonnectEventGatewayAPISpec) DeepCopyInto(out *KonnectEventGatewayAPISpec)
- func (s *KonnectEventGatewayAPISpec) ToCreateGatewayRequest() (*sdkkonnectcomp.CreateGatewayRequest, error)
- func (s *KonnectEventGatewayAPISpec) ToUpdateGatewayRequest() (*sdkkonnectcomp.UpdateGatewayRequest, error)
- type KonnectEventGatewayList
- type KonnectEventGatewaySpec
- type KonnectEventGatewayStatus
- type KonnectExtension
- type KonnectExtensionClientAuth
- type KonnectExtensionClusterType
- type KonnectExtensionControlPlane
- type KonnectExtensionControlPlaneStatus
- type KonnectExtensionDataPlane
- type KonnectExtensionKonnectSpec
- type KonnectExtensionList
- type KonnectExtensionSpec
- type KonnectExtensionStatus
- type KonnectGatewayControlPlane
- func (kgcp *KonnectGatewayControlPlane) ConvertFrom(srcRaw conversion.Hub) error
- func (kgcp *KonnectGatewayControlPlane) ConvertTo(dstRaw conversion.Hub) error
- func (in *KonnectGatewayControlPlane) DeepCopy() *KonnectGatewayControlPlane
- func (in *KonnectGatewayControlPlane) DeepCopyInto(out *KonnectGatewayControlPlane)
- func (in *KonnectGatewayControlPlane) DeepCopyObject() runtime.Object
- func (obj *KonnectGatewayControlPlane) GetConditions() []metav1.Condition
- func (kgcp *KonnectGatewayControlPlane) GetKonnectAPIAuthConfigurationRef() konnectv1alpha2.KonnectAPIAuthConfigurationRef
- func (obj *KonnectGatewayControlPlane) GetKonnectID() string
- func (kgcp *KonnectGatewayControlPlane) GetKonnectLabels() map[string]string
- func (obj *KonnectGatewayControlPlane) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj KonnectGatewayControlPlane) GetTypeName() string
- func (*KonnectGatewayControlPlane) PersistsKonnectID() bool
- func (obj *KonnectGatewayControlPlane) SetConditions(conditions []metav1.Condition)
- func (obj *KonnectGatewayControlPlane) SetKonnectID(id string)
- func (kgcp *KonnectGatewayControlPlane) SetKonnectLabels(labels map[string]string)
- type KonnectGatewayControlPlaneList
- func (in *KonnectGatewayControlPlaneList) DeepCopy() *KonnectGatewayControlPlaneList
- func (in *KonnectGatewayControlPlaneList) DeepCopyInto(out *KonnectGatewayControlPlaneList)
- func (in *KonnectGatewayControlPlaneList) DeepCopyObject() runtime.Object
- func (obj KonnectGatewayControlPlaneList) GetItems() []KonnectGatewayControlPlane
- type KonnectGatewayControlPlaneSpec
- type KonnectGatewayControlPlaneStatus
- type KonnectTransitGatewayAPISpec
- type Labels
- type LabelsUpdate
- type LabelsUpdateValue
- type LabelsValue
- type MCPServer
- func (in *MCPServer) DeepCopy() *MCPServer
- func (in *MCPServer) DeepCopyInto(out *MCPServer)
- func (in *MCPServer) DeepCopyObject() runtime.Object
- func (obj *MCPServer) GetConditions() []metav1.Condition
- func (obj *MCPServer) GetControlPlaneID() string
- func (obj *MCPServer) GetControlPlaneRef() *commonv1alpha1.ControlPlaneRef
- func (obj *MCPServer) GetKonnectID() string
- func (obj *MCPServer) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj MCPServer) GetTypeName() string
- func (*MCPServer) PersistsKonnectID() bool
- func (obj *MCPServer) SetConditions(conditions []metav1.Condition)
- func (obj *MCPServer) SetControlPlaneID(id string)
- func (obj *MCPServer) SetControlPlaneRef(ref *commonv1alpha1.ControlPlaneRef)
- func (obj *MCPServer) SetKonnectID(id string)
- type MCPServerKonnectSpec
- type MCPServerList
- type MCPServerSpec
- type MCPServerStatus
- type Menu
- type MinRuntimeVersion
- type MirrorKonnect
- type MirrorSpec
- type OIDCIdentityProviderClaimMappings
- type OIDCIdentityProviderClientID
- type OIDCIdentityProviderClientSecret
- type OIDCIdentityProviderConfig
- type OIDCIdentityProviderIssuer
- type PageContent
- type PageSlug
- type PageTitle
- type PageVisibilityStatus
- type Portal
- func (in *Portal) DeepCopy() *Portal
- func (in *Portal) DeepCopyInto(out *Portal)
- func (in *Portal) DeepCopyObject() runtime.Object
- func (obj *Portal) GetConditions() []metav1.Condition
- func (obj *Portal) GetKonnectAPIAuthConfigurationRef() konnectv1alpha2.ControlPlaneKonnectAPIAuthConfigurationRef
- func (obj *Portal) GetKonnectID() string
- func (obj *Portal) GetKonnectLabels() map[string]string
- func (obj *Portal) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj Portal) GetTypeName() string
- func (obj Portal) HasParent() bool
- func (*Portal) PersistsKonnectID() bool
- func (obj *Portal) SetConditions(conditions []metav1.Condition)
- func (obj *Portal) SetKonnectID(id string)
- func (obj *Portal) SetKonnectLabels(labels map[string]string)
- type PortalAPISpec
- type PortalCustomDomain
- func (in *PortalCustomDomain) DeepCopy() *PortalCustomDomain
- func (in *PortalCustomDomain) DeepCopyInto(out *PortalCustomDomain)
- func (in *PortalCustomDomain) DeepCopyObject() runtime.Object
- func (obj *PortalCustomDomain) GetAncestorIDs() map[string]string
- func (obj *PortalCustomDomain) GetConditions() []metav1.Condition
- func (obj *PortalCustomDomain) GetKonnectID() string
- func (obj *PortalCustomDomain) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj *PortalCustomDomain) GetParentGVK() schema.GroupVersionKind
- func (obj *PortalCustomDomain) GetParentRef() commonv1alpha1.ObjectRef
- func (obj *PortalCustomDomain) GetPortalID() string
- func (obj *PortalCustomDomain) GetPortalRef() commonv1alpha1.ObjectRef
- func (obj *PortalCustomDomain) GetStatusConditionReasonParentRefInvalid() string
- func (obj *PortalCustomDomain) GetStatusConditionReasonParentRefNotProgrammed() string
- func (obj *PortalCustomDomain) GetStatusConditionReasonParentRefValid() string
- func (obj *PortalCustomDomain) GetStatusConditionTypeParentRefValid() string
- func (obj PortalCustomDomain) GetTypeName() string
- func (obj PortalCustomDomain) HasParent() bool
- func (*PortalCustomDomain) PersistsKonnectID() bool
- func (obj *PortalCustomDomain) SetConditions(conditions []metav1.Condition)
- func (obj *PortalCustomDomain) SetKonnectID(id string)
- func (obj *PortalCustomDomain) SetParentID(id string)
- func (obj *PortalCustomDomain) SetPortalID(id string)
- type PortalCustomDomainAPISpec
- func (in *PortalCustomDomainAPISpec) DeepCopy() *PortalCustomDomainAPISpec
- func (in *PortalCustomDomainAPISpec) DeepCopyInto(out *PortalCustomDomainAPISpec)
- func (s *PortalCustomDomainAPISpec) ToCreatePortalCustomDomainRequest() (*sdkkonnectcomp.CreatePortalCustomDomainRequest, error)
- func (s *PortalCustomDomainAPISpec) ToUpdatePortalCustomDomainRequest() (*sdkkonnectcomp.UpdatePortalCustomDomainRequest, error)
- func (s *PortalCustomDomainAPISpec) UnmarshalJSON(data []byte) error
- type PortalCustomDomainList
- type PortalCustomDomainSDKOpsBoolField
- type PortalCustomDomainSSL
- type PortalCustomDomainSSLType
- type PortalCustomDomainSpec
- type PortalCustomDomainStatus
- type PortalCustomization
- func (in *PortalCustomization) DeepCopy() *PortalCustomization
- func (in *PortalCustomization) DeepCopyInto(out *PortalCustomization)
- func (in *PortalCustomization) DeepCopyObject() runtime.Object
- func (obj *PortalCustomization) GetAncestorIDs() map[string]string
- func (obj *PortalCustomization) GetConditions() []metav1.Condition
- func (obj *PortalCustomization) GetKonnectID() string
- func (obj *PortalCustomization) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj *PortalCustomization) GetParentGVK() schema.GroupVersionKind
- func (obj *PortalCustomization) GetParentRef() commonv1alpha1.ObjectRef
- func (obj *PortalCustomization) GetPortalID() string
- func (obj *PortalCustomization) GetPortalRef() commonv1alpha1.ObjectRef
- func (obj *PortalCustomization) GetStatusConditionReasonParentRefInvalid() string
- func (obj *PortalCustomization) GetStatusConditionReasonParentRefNotProgrammed() string
- func (obj *PortalCustomization) GetStatusConditionReasonParentRefValid() string
- func (obj *PortalCustomization) GetStatusConditionTypeParentRefValid() string
- func (obj PortalCustomization) GetTypeName() string
- func (obj PortalCustomization) HasParent() bool
- func (*PortalCustomization) PersistsKonnectID() bool
- func (obj *PortalCustomization) SetConditions(conditions []metav1.Condition)
- func (obj *PortalCustomization) SetKonnectID(id string)
- func (obj *PortalCustomization) SetParentID(id string)
- func (obj *PortalCustomization) SetPortalID(id string)
- type PortalCustomizationAPISpec
- func (in *PortalCustomizationAPISpec) DeepCopy() *PortalCustomizationAPISpec
- func (in *PortalCustomizationAPISpec) DeepCopyInto(out *PortalCustomizationAPISpec)
- func (s *PortalCustomizationAPISpec) ToCreatePortalCustomization() (*sdkkonnectcomp.PortalCustomization, error)
- func (s *PortalCustomizationAPISpec) ToUpdatePortalCustomization() (*sdkkonnectcomp.PortalCustomization, error)
- type PortalCustomizationList
- type PortalCustomizationSDKOpsBoolField
- type PortalCustomizationSpec
- type PortalCustomizationStatus
- type PortalEmailConfig
- func (in *PortalEmailConfig) DeepCopy() *PortalEmailConfig
- func (in *PortalEmailConfig) DeepCopyInto(out *PortalEmailConfig)
- func (in *PortalEmailConfig) DeepCopyObject() runtime.Object
- func (obj *PortalEmailConfig) GetAncestorIDs() map[string]string
- func (obj *PortalEmailConfig) GetConditions() []metav1.Condition
- func (obj *PortalEmailConfig) GetKonnectID() string
- func (obj *PortalEmailConfig) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj *PortalEmailConfig) GetParentGVK() schema.GroupVersionKind
- func (obj *PortalEmailConfig) GetParentRef() commonv1alpha1.ObjectRef
- func (obj *PortalEmailConfig) GetPortalID() string
- func (obj *PortalEmailConfig) GetPortalRef() commonv1alpha1.ObjectRef
- func (obj *PortalEmailConfig) GetStatusConditionReasonParentRefInvalid() string
- func (obj *PortalEmailConfig) GetStatusConditionReasonParentRefNotProgrammed() string
- func (obj *PortalEmailConfig) GetStatusConditionReasonParentRefValid() string
- func (obj *PortalEmailConfig) GetStatusConditionTypeParentRefValid() string
- func (obj PortalEmailConfig) GetTypeName() string
- func (obj PortalEmailConfig) HasParent() bool
- func (*PortalEmailConfig) PersistsKonnectID() bool
- func (obj *PortalEmailConfig) SetConditions(conditions []metav1.Condition)
- func (obj *PortalEmailConfig) SetKonnectID(id string)
- func (obj *PortalEmailConfig) SetParentID(id string)
- func (obj *PortalEmailConfig) SetPortalID(id string)
- type PortalEmailConfigAPISpec
- func (in *PortalEmailConfigAPISpec) DeepCopy() *PortalEmailConfigAPISpec
- func (in *PortalEmailConfigAPISpec) DeepCopyInto(out *PortalEmailConfigAPISpec)
- func (s *PortalEmailConfigAPISpec) ToPatchPortalEmailConfig() (*sdkkonnectcomp.PatchPortalEmailConfig, error)
- func (s *PortalEmailConfigAPISpec) ToPostPortalEmailConfig() (*sdkkonnectcomp.PostPortalEmailConfig, error)
- type PortalEmailConfigList
- type PortalEmailConfigSpec
- type PortalEmailConfigStatus
- type PortalFooterMenuSection
- type PortalIPAllowList
- func (in *PortalIPAllowList) DeepCopy() *PortalIPAllowList
- func (in *PortalIPAllowList) DeepCopyInto(out *PortalIPAllowList)
- func (in *PortalIPAllowList) DeepCopyObject() runtime.Object
- func (obj *PortalIPAllowList) GetAncestorIDs() map[string]string
- func (obj *PortalIPAllowList) GetConditions() []metav1.Condition
- func (obj *PortalIPAllowList) GetKonnectID() string
- func (obj *PortalIPAllowList) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj *PortalIPAllowList) GetParentGVK() schema.GroupVersionKind
- func (obj *PortalIPAllowList) GetParentRef() commonv1alpha1.ObjectRef
- func (obj *PortalIPAllowList) GetPortalID() string
- func (obj *PortalIPAllowList) GetPortalRef() commonv1alpha1.ObjectRef
- func (obj *PortalIPAllowList) GetStatusConditionReasonParentRefInvalid() string
- func (obj *PortalIPAllowList) GetStatusConditionReasonParentRefNotProgrammed() string
- func (obj *PortalIPAllowList) GetStatusConditionReasonParentRefValid() string
- func (obj *PortalIPAllowList) GetStatusConditionTypeParentRefValid() string
- func (obj PortalIPAllowList) GetTypeName() string
- func (obj PortalIPAllowList) HasParent() bool
- func (*PortalIPAllowList) PersistsKonnectID() bool
- func (obj *PortalIPAllowList) SetConditions(conditions []metav1.Condition)
- func (obj *PortalIPAllowList) SetKonnectID(id string)
- func (obj *PortalIPAllowList) SetParentID(id string)
- func (obj *PortalIPAllowList) SetPortalID(id string)
- type PortalIPAllowListAPISpec
- func (in *PortalIPAllowListAPISpec) DeepCopy() *PortalIPAllowListAPISpec
- func (in *PortalIPAllowListAPISpec) DeepCopyInto(out *PortalIPAllowListAPISpec)
- func (s *PortalIPAllowListAPISpec) ToCreatePortalSourceIPRestriction() (*sdkkonnectcomp.CreatePortalSourceIPRestriction, error)
- func (s *PortalIPAllowListAPISpec) ToPutPortalIPAllowListRequest() (*sdkkonnectoper.PutPortalIPAllowListRequest, error)
- type PortalIPAllowListList
- type PortalIPAllowListSpec
- type PortalIPAllowListStatus
- type PortalIdentityProviderRequest
- func (in *PortalIdentityProviderRequest) DeepCopy() *PortalIdentityProviderRequest
- func (in *PortalIdentityProviderRequest) DeepCopyInto(out *PortalIdentityProviderRequest)
- func (in *PortalIdentityProviderRequest) DeepCopyObject() runtime.Object
- func (obj *PortalIdentityProviderRequest) GetAncestorIDs() map[string]string
- func (obj *PortalIdentityProviderRequest) GetConditions() []metav1.Condition
- func (obj *PortalIdentityProviderRequest) GetKonnectID() string
- func (obj *PortalIdentityProviderRequest) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj *PortalIdentityProviderRequest) GetParentGVK() schema.GroupVersionKind
- func (obj *PortalIdentityProviderRequest) GetParentRef() commonv1alpha1.ObjectRef
- func (obj *PortalIdentityProviderRequest) GetPortalID() string
- func (obj *PortalIdentityProviderRequest) GetPortalRef() commonv1alpha1.ObjectRef
- func (obj *PortalIdentityProviderRequest) GetStatusConditionReasonParentRefInvalid() string
- func (obj *PortalIdentityProviderRequest) GetStatusConditionReasonParentRefNotProgrammed() string
- func (obj *PortalIdentityProviderRequest) GetStatusConditionReasonParentRefValid() string
- func (obj *PortalIdentityProviderRequest) GetStatusConditionTypeParentRefValid() string
- func (obj PortalIdentityProviderRequest) GetTypeName() string
- func (obj PortalIdentityProviderRequest) HasParent() bool
- func (*PortalIdentityProviderRequest) PersistsKonnectID() bool
- func (obj *PortalIdentityProviderRequest) SetConditions(conditions []metav1.Condition)
- func (obj *PortalIdentityProviderRequest) SetKonnectID(id string)
- func (obj *PortalIdentityProviderRequest) SetParentID(id string)
- func (obj *PortalIdentityProviderRequest) SetPortalID(id string)
- type PortalIdentityProviderRequestAPISpec
- func (in *PortalIdentityProviderRequestAPISpec) DeepCopy() *PortalIdentityProviderRequestAPISpec
- func (in *PortalIdentityProviderRequestAPISpec) DeepCopyInto(out *PortalIdentityProviderRequestAPISpec)
- func (s *PortalIdentityProviderRequestAPISpec) ToPortalCreateIdentityProvider() (*sdkkonnectcomp.PortalCreateIdentityProvider, error)
- func (s *PortalIdentityProviderRequestAPISpec) ToPortalUpdateIdentityProvider() (*sdkkonnectcomp.PortalUpdateIdentityProvider, error)
- func (s *PortalIdentityProviderRequestAPISpec) UnmarshalJSON(data []byte) error
- type PortalIdentityProviderRequestConfig
- func (in *PortalIdentityProviderRequestConfig) DeepCopy() *PortalIdentityProviderRequestConfig
- func (in *PortalIdentityProviderRequestConfig) DeepCopyInto(out *PortalIdentityProviderRequestConfig)
- func (u PortalIdentityProviderRequestConfig) MarshalJSON() ([]byte, error)
- func (u *PortalIdentityProviderRequestConfig) UnmarshalJSON(data []byte) error
- type PortalIdentityProviderRequestConfigType
- type PortalIdentityProviderRequestList
- func (in *PortalIdentityProviderRequestList) DeepCopy() *PortalIdentityProviderRequestList
- func (in *PortalIdentityProviderRequestList) DeepCopyInto(out *PortalIdentityProviderRequestList)
- func (in *PortalIdentityProviderRequestList) DeepCopyObject() runtime.Object
- func (obj PortalIdentityProviderRequestList) GetItems() []PortalIdentityProviderRequest
- type PortalIdentityProviderRequestSDKOpsBoolField
- type PortalIdentityProviderRequestSpec
- type PortalIdentityProviderRequestStatus
- type PortalList
- type PortalMenuItem
- type PortalPage
- func (in *PortalPage) DeepCopy() *PortalPage
- func (in *PortalPage) DeepCopyInto(out *PortalPage)
- func (in *PortalPage) DeepCopyObject() runtime.Object
- func (obj *PortalPage) GetAncestorIDs() map[string]string
- func (obj *PortalPage) GetConditions() []metav1.Condition
- func (obj *PortalPage) GetKonnectID() string
- func (obj *PortalPage) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj *PortalPage) GetParentGVK() schema.GroupVersionKind
- func (obj *PortalPage) GetParentRef() commonv1alpha1.ObjectRef
- func (obj *PortalPage) GetPortalID() string
- func (obj *PortalPage) GetPortalRef() commonv1alpha1.ObjectRef
- func (obj *PortalPage) GetStatusConditionReasonParentRefInvalid() string
- func (obj *PortalPage) GetStatusConditionReasonParentRefNotProgrammed() string
- func (obj *PortalPage) GetStatusConditionReasonParentRefValid() string
- func (obj *PortalPage) GetStatusConditionTypeParentRefValid() string
- func (obj PortalPage) GetTypeName() string
- func (obj PortalPage) HasParent() bool
- func (*PortalPage) PersistsKonnectID() bool
- func (obj *PortalPage) SetConditions(conditions []metav1.Condition)
- func (obj *PortalPage) SetKonnectID(id string)
- func (obj *PortalPage) SetParentID(id string)
- func (obj *PortalPage) SetPortalID(id string)
- type PortalPageAPISpec
- func (in *PortalPageAPISpec) DeepCopy() *PortalPageAPISpec
- func (in *PortalPageAPISpec) DeepCopyInto(out *PortalPageAPISpec)
- func (s *PortalPageAPISpec) ToCreatePortalPageRequest() (*sdkkonnectcomp.CreatePortalPageRequest, error)
- func (s *PortalPageAPISpec) ToUpdatePortalPageRequest() (*sdkkonnectcomp.UpdatePortalPageRequest, error)
- type PortalPageList
- type PortalPageSpec
- type PortalPageStatus
- type PortalSAMLIdentityProviderConfig
- type PortalSDKOpsBoolField
- type PortalSpec
- type PortalStatus
- type PortalTeam
- func (in *PortalTeam) DeepCopy() *PortalTeam
- func (in *PortalTeam) DeepCopyInto(out *PortalTeam)
- func (in *PortalTeam) DeepCopyObject() runtime.Object
- func (obj *PortalTeam) GetAncestorIDs() map[string]string
- func (obj *PortalTeam) GetConditions() []metav1.Condition
- func (obj *PortalTeam) GetKonnectID() string
- func (obj *PortalTeam) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
- func (obj *PortalTeam) GetParentGVK() schema.GroupVersionKind
- func (obj *PortalTeam) GetParentRef() commonv1alpha1.ObjectRef
- func (obj *PortalTeam) GetPortalID() string
- func (obj *PortalTeam) GetPortalRef() commonv1alpha1.ObjectRef
- func (obj *PortalTeam) GetStatusConditionReasonParentRefInvalid() string
- func (obj *PortalTeam) GetStatusConditionReasonParentRefNotProgrammed() string
- func (obj *PortalTeam) GetStatusConditionReasonParentRefValid() string
- func (obj *PortalTeam) GetStatusConditionTypeParentRefValid() string
- func (obj PortalTeam) GetTypeName() string
- func (obj PortalTeam) HasParent() bool
- func (*PortalTeam) PersistsKonnectID() bool
- func (obj *PortalTeam) SetConditions(conditions []metav1.Condition)
- func (obj *PortalTeam) SetKonnectID(id string)
- func (obj *PortalTeam) SetParentID(id string)
- func (obj *PortalTeam) SetPortalID(id string)
- type PortalTeamAPISpec
- func (in *PortalTeamAPISpec) DeepCopy() *PortalTeamAPISpec
- func (in *PortalTeamAPISpec) DeepCopyInto(out *PortalTeamAPISpec)
- func (s *PortalTeamAPISpec) ToPortalCreateTeamRequest() (*sdkkonnectcomp.PortalCreateTeamRequest, error)
- func (s *PortalTeamAPISpec) ToPortalUpdateTeamRequest() (*sdkkonnectcomp.PortalUpdateTeamRequest, error)
- type PortalTeamList
- type PortalTeamSDKOpsBoolField
- type PortalTeamSpec
- type PortalTeamStatus
- type ProvisioningMethod
- type PublishedStatus
- type SAMLIdentityProviderMetadata
- type SAMLIdentityProviderMetadataURL
- type SecretKeyRef
- type SecretRef
- type SensitiveDataSecretRef
- type SpecRenderer
- type Theme
- type TransitGatewayDNSConfig
- type TransitGatewayType
Constants ¶
const ( // KonnectEntityProgrammedConditionType is the condition that // indicates whether the entity has been programmed in Konnect. KonnectEntityProgrammedConditionType = "Programmed" // KonnectEntityProgrammedReasonProgrammed is the reason for the Programmed condition. // It is set when the entity has been programmed in Konnect. KonnectEntityProgrammedReasonProgrammed = "Programmed" // KonnectEntityProgrammedReasonKonnectAPIOpFailed is the reason for the Programmed condition. // It is set when the entity has failed to be programmed in Konnect. KonnectEntityProgrammedReasonKonnectAPIOpFailed = "KonnectAPIOpFailed" // KonnectEntityProgrammedReasonFailedToResolveConsumerGroupRefs is the reason for the Programmed condition. // It is set when one or more KongConsumerGroup references could not be resolved. KonnectEntityProgrammedReasonFailedToResolveConsumerGroupRefs = "FailedToResolveConsumerGroupRefs" // KonnectEntityProgrammedReasonFailedToReconcileConsumerGroupsWithKonnect is the reason for the Programmed condition. // It is set when one or more KongConsumerGroup references could not be reconciled with Konnect. KonnectEntityProgrammedReasonFailedToReconcileConsumerGroupsWithKonnect = "FailedToReconcileConsumerGroupsWithKonnect" // KonnectEntityProgrammedReasonConditionWithStatusFalseExists is the reason for the Programmed condition. // It is set when there's at least one status condition (not Programmed) with status false. KonnectEntityProgrammedReasonConditionWithStatusFalseExists = "ConditionWithStatusFalseExists" // KonnectGatewayControlPlaneProgrammedReasonFailedToSetControlPlaneGroupMembers is the reason for the Programmed // condition. It is set when the control plane // group members could not be set. KonnectGatewayControlPlaneProgrammedReasonFailedToSetControlPlaneGroupMembers = "FailedToSetControlPlaneGroupMembers" )
const ( // KonnectEntityAPIAuthConfigurationResolvedRefConditionType is the type of the // condition that indicates whether the APIAuth configuration reference is // valid and points to an existing APIAuth configuration. KonnectEntityAPIAuthConfigurationResolvedRefConditionType = "APIAuthResolvedRef" // KonnectEntityAPIAuthConfigurationResolvedRefReasonResolvedRef is the reason // used with the APIAuthResolvedRef condition type indicating that the APIAuth // configuration reference has been resolved. KonnectEntityAPIAuthConfigurationResolvedRefReasonResolvedRef = "ResolvedRef" // KonnectEntityAPIAuthConfigurationResolvedRefReasonRefNotFound is the reason // used with the APIAuthResolvedRef condition type indicating that the APIAuth // configuration reference could not be resolved. KonnectEntityAPIAuthConfigurationResolvedRefReasonRefNotFound = "RefNotFound" // KonnectEntityAPIAuthConfigurationResolvedRefReasonRefNotPermitted is the reason // used with the APIAuthResolvedRef condition type indicating that the APIAuth // configuration reference is not permitted by a KongReferenceGrant. KonnectEntityAPIAuthConfigurationResolvedRefReasonRefNotPermitted = "RefNotPermitted" // KonnectEntityAPIAuthConfigurationResolvedRefReasonRefInvalid is the reason // used with the APIAuthResolvedRef condition type indicating that the APIAuth // configuration reference is invalid and could not be resolved. // Condition message can contain more information about the error. KonnectEntityAPIAuthConfigurationResolvedRefReasonRefInvalid = "RefInvalid" )
const ( // KonnectEntityAPIAuthConfigurationValidConditionType is the type of the // condition that indicates whether the referenced APIAuth configuration is // valid. KonnectEntityAPIAuthConfigurationValidConditionType = "APIAuthValid" // KonnectEntityAPIAuthConfigurationReasonValid is the reason used with the // APIAuthRefValid condition type indicating that the APIAuth configuration // referenced by the entity is valid. KonnectEntityAPIAuthConfigurationReasonValid = "Valid" // KonnectEntityAPIAuthConfigurationReasonInvalid is the reason used with the // APIAuthRefValid condition type indicating that the APIAuth configuration // referenced by the entity is invalid. KonnectEntityAPIAuthConfigurationReasonInvalid = "Invalid" )
const ( // ControlPlaneRefValidConditionType is the type of the condition that indicates // whether the ControlPlane reference is valid and points to an existing // ControlPlane. ControlPlaneRefValidConditionType = "ControlPlaneRefValid" // ControlPlaneRefReasonValid is the reason used with the ControlPlaneRefValid // condition type indicating that the ControlPlane reference is valid. ControlPlaneRefReasonValid = "Valid" // ControlPlaneRefReasonInvalid is the reason used with the ControlPlaneRefValid // condition type indicating that the ControlPlane reference is invalid. ControlPlaneRefReasonInvalid = "Invalid" // ControlPlaneRefReasonNotProgrammed is the reason used with the ControlPlaneRefValid // condition type indicating that the referenced ControlPlane exists but is not // yet programmed in Konnect. This is typically a transient condition that resolves // when the ControlPlane successfully syncs with the Konnect API. ControlPlaneRefReasonNotProgrammed = "NotProgrammed" )
const ( // KongServiceRefValidConditionType is the type of the condition that indicates // whether the KongService reference is valid and points to an existing // KongService. KongServiceRefValidConditionType = "KongServiceRefValid" // KongServiceRefReasonValid is the reason used with the KongServiceRefValid // condition type indicating that the KongService reference is valid. KongServiceRefReasonValid = "Valid" // KongServiceRefReasonInvalid is the reason used with the KongServiceRefValid // condition type indicating that the KongService reference is invalid. KongServiceRefReasonInvalid = "Invalid" )
const ( // KongConsumerRefValidConditionType is the type of the condition that indicates // whether the KongConsumer reference is valid and points to an existing // KongConsumer. KongConsumerRefValidConditionType = "KongConsumerRefValid" // KongConsumerRefReasonValid is the reason used with the KongConsumerRefValid // condition type indicating that the KongConsumer reference is valid. KongConsumerRefReasonValid = "Valid" // KongConsumerRefReasonInvalid is the reason used with the KongConsumerRefValid // condition type indicating that the KongConsumer reference is invalid. KongConsumerRefReasonInvalid = "Invalid" )
const ( // KongConsumerGroupRefsValidConditionType is the type of the condition that indicates // whether the KongConsumerGroups referenced by the entity are valid and all point to // existing KongConsumerGroups. KongConsumerGroupRefsValidConditionType = "KongConsumerGroupRefsValid" // KongConsumerGroupRefsReasonValid is the reason used with the KongConsumerGroupRefsValid // condition type indicating that all KongConsumerGroup references are valid. KongConsumerGroupRefsReasonValid = "Valid" // KongConsumerGroupRefsReasonInvalid is the reason used with the KongConsumerGroupRefsValid // condition type indicating that one or more KongConsumerGroup references are invalid. KongConsumerGroupRefsReasonInvalid = "Invalid" )
const ( // KongUpstreamRefValidConditionType is the type of the condition that indicates // whether the KongUpstream reference is valid and points to an existing KongUpstream. KongUpstreamRefValidConditionType = "KongUpstreamRefValid" // KongUpstreamRefReasonValid is the reason used with the KongUpstreamRefValid // condition type indicating that the KongUpstream reference is valid. KongUpstreamRefReasonValid = "Valid" // KongUpstreamRefReasonInvalid is the reason used with the KongUpstreamRefValid // condition type indicating that the KongUpstream reference is invalid. KongUpstreamRefReasonInvalid = "Invalid" // KongUpstreamRefReasonRefNotPermitted is the reason used with the KongUpstreamRefValid // condition type indicating that a KongReferenceGrant is missing or invalid for // a cross-namespace upstreamRef. KongUpstreamRefReasonRefNotPermitted = "RefNotPermitted" )
const ( // SecretRefValidConditionType is the type of the condition that indicates // whether the Secret reference is valid and points to an existing Secret. SecretRefValidConditionType = "SecretRefValid" // SecretRefReasonValid is the reason used with the SecretRefValid // condition type indicating that the Secret reference is valid. SecretRefReasonValid = "Valid" // SecretRefReasonInvalid is the reason used with the SecretRefValid // condition type indicating that the Secret reference is invalid. SecretRefReasonInvalid = "Invalid" )
const ( // KeySetRefValidConditionType is the type of the condition that indicates // whether the KeySet reference is valid and points to an existing // KeySet. KeySetRefValidConditionType = "KeySetRefValid" // KeySetRefReasonValid is the reason used with the KeySetRefValid // condition type indicating that the KeySet reference is valid. KeySetRefReasonValid = "Valid" // KeySetRefReasonInvalid is the reason used with the KeySetRefValid // condition type indicating that the KeySet reference is invalid. KeySetRefReasonInvalid = "Invalid" )
const ( // KongCertificateRefValidConditionType is the type of the condition that indicates // whether the KongCertificate reference is valid and points to an existing KongCertificate. KongCertificateRefValidConditionType = "KongCertificateRefValid" // KongCertificateRefReasonValid is the reason used with the KongCertificateRefValid // condition type indicating that the KongCertificate reference is valid. KongCertificateRefReasonValid = "Valid" // KongCertificateRefReasonInvalid is the reason used with the KongCertificateRefValid // condition type indicating that the KongCertificate reference is invalid. KongCertificateRefReasonInvalid = "Invalid" )
const ( // DataPlaneCertificateProvisionedConditionType is the type of the condition that indicates // whether the DataPlane certificate has been properly provisioned in Konnect. DataPlaneCertificateProvisionedConditionType = "DataPlaneCertificateProvisioned" // DataPlaneCertificateProvisionedReasonProvisioned is the reason // used with the DataPlaneCertificateProvisioned condition type indicating that the // referenced DataPlane client certificate has been provisioned in Konnect. DataPlaneCertificateProvisionedReasonProvisioned = "Provisioned" // DataPlaneCertificateProvisionedReasonRefNotFound is the reason // used with the DataPlaneCertificateProvisioned condition type indicating that the // referenced DataPlane client certificate is not found. DataPlaneCertificateProvisionedReasonRefNotFound = "RefNotFound" // DataPlaneCertificateProvisionedReasonInvalidSecret is the reason // used with the DataPlaneCertificateProvisioned condition type indicating that the // referenced DataPlane client certificate secret is invalid. DataPlaneCertificateProvisionedReasonInvalidSecret = "InvalidSecret" // DataPlaneCertificateProvisionedReasonKonnectAPIOpFailed is the reason // used with the DataPlaneCertificateProvisioned condition type indicating that the // DataPlane client certificate creation in Konnect has failed. DataPlaneCertificateProvisionedReasonKonnectAPIOpFailed = "KonnectAPIOpFailed" // DataPlaneCertificateProvisionedReasonProvisioning is the reason // used with the DataPlaneCertificateProvisioned condition type indicating that the // DataPlane client certificate creation in Konnect is in progress. DataPlaneCertificateProvisionedReasonProvisioning = "Provisioning" )
const ( // KonnectNetworkRefsValidConditionType is the type of the condition that indicates // whether the Konnect network reference is valid and points to an existing Konnect network. KonnectNetworkRefsValidConditionType = "KonnectNetworkRefsValid" // KonnectNetworkRefsReasonValid is the reason used with the KonnectNetworkRefsValid // condition type indicating that the Konnect network reference is valid. KonnectNetworkRefsReasonValid = "Valid" // KonnectNetworkRefsReasonInvalid is the reason used with the KonnectNetworkRefsValid // condition type indicating that the Konnect network reference is invalid. KonnectNetworkRefsReasonInvalid = "Invalid" )
const ( // ControlPlaneMirroredConditionType is the type of the condition that indicates // the status for the control plane mirroring. ControlPlaneMirroredConditionType = "Mirrored" // ControlPlaneMirroredReasonMirrored is the reason used with the // Mirrored condition type indicating that the control plane // mirroring has succeeded. ControlPlaneMirroredReasonMirrored = "Mirrored" // ControlPlaneMirroredReasonFailed is the reason used with the // Mirrored condition type indicating that the control plane // mirroring has failed. ControlPlaneMirroredReasonFailed = "Failed" )
const ( // MCPServerMirroredConditionType is the type of the condition that indicates // the status for the MCP server mirroring. MCPServerMirroredConditionType = "Mirrored" // MCPServerMirroredReasonMirrored is the reason used with the // Mirrored condition type indicating that the MCP server // mirroring has succeeded. MCPServerMirroredReasonMirrored = "Mirrored" // MCPServerMirroredReasonFailed is the reason used with the // Mirrored condition type indicating that the MCP server // mirroring has failed. MCPServerMirroredReasonFailed = "Failed" )
const ( // KonnectEntityAdoptedConditionType is the type of the condition that indicates // the status for adopting existing entity in Konnect. KonnectEntityAdoptedConditionType = "Adopted" // KonnectEntityAdoptedReasonAdopted is the reason used with the Adopted condition type // indicating that the adopting of the entity succeeded. KonnectEntityAdoptedReasonAdopted = "Adopted" // KonnectEntityAdoptedReasonFetchFailed is the reason used with the Adopted condition type // indicating that the fetching of the entity failed. KonnectEntityAdoptedReasonFetchFailed = "FetchFailed" // KonnectEntityAdoptedReasonUIDConflict is the reason used with the Adopted condition type // indicating that the entity is managed by another Kubernetes object with a different UID // (checked by the label or tag of the entity). KonnectEntityAdoptedReasonUIDConflict = "UIDConflict" // KonnectEntityAdoptedReasonNotMatch is the reason used with the Adopted condition type // indicating that the spec of the object does not match the entity in Konnect when adopted in match mode. KonnectEntityAdoptedReasonNotMatch = "NotMatch" )
const ( // KongPluginRefValidConditionType is the type of the condition that indicates // whether the KongPlugin reference in KongPluginBinding.spec.pluginRef is valid, // i.e. the KongPlugin exists and the cross-namespace access is permitted by a // KongReferenceGrant (when applicable). KongPluginRefValidConditionType = "PluginRefValid" // KongPluginRefReasonValid is the reason used with the PluginRefValid condition type // indicating that the pluginRef is valid (same-namespace, or cross-namespace with a grant). KongPluginRefReasonValid = "Valid" // KongPluginRefReasonRefNotPermitted is the reason used with the PluginRefValid // condition type indicating that a KongReferenceGrant is missing or invalid for a // cross-namespace pluginRef. KongPluginRefReasonRefNotPermitted = "RefNotPermitted" // KongPluginRefReasonInvalid is the reason used with the PluginRefValid condition type // indicating that the referenced KongPlugin does not exist or cannot be fetched. KongPluginRefReasonInvalid = "Invalid" )
const ( // KongCACertificateRefsValidConditionType is the type of the condition that indicates // whether the KongCACertificate references are valid and point to existing KongCACertificates. KongCACertificateRefsValidConditionType = "KongCACertificateRefsValid" // KongCACertificateRefsReasonValid is the reason used with the KongCACertificateRefsValid // condition type indicating that all KongCACertificate references are valid. KongCACertificateRefsReasonValid = "Valid" // KongCACertificateRefsReasonInvalid is the reason used with the KongCACertificateRefsValid // condition type indicating that one or more KongCACertificate references are invalid. KongCACertificateRefsReasonInvalid = "Invalid" )
const ( // PortalRefValidConditionType is the type of the condition that indicates // whether the Portal reference is valid and points to an existing // Portal. PortalRefValidConditionType = "PortalRefValid" // PortalRefReasonValid is the reason used with the PortalRefValid // condition type indicating that the Portal reference is valid. PortalRefReasonValid = "Valid" // PortalRefReasonInvalid is the reason used with the PortalRefValid // condition type indicating that the Portal reference is invalid. PortalRefReasonInvalid = "Invalid" // PortalRefReasonNotProgrammed is the reason used with the PortalRefValid // condition type indicating that the referenced Portal exists but is not // yet programmed in Konnect. PortalRefReasonNotProgrammed = "NotProgrammed" )
const (
// GroupName is the group name used in this package.
GroupName = "konnect.konghq.com"
)
const (
// KonnectExtensionKind holds the kind for the KonnectExtension.
KonnectExtensionKind = "KonnectExtension"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} // SchemeGroupVersion is a convenience var for generated clientsets. SchemeGroupVersion = GroupVersion // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var PortalCustomDomainSDKOpsBoolFields = []PortalCustomDomainSDKOpsBoolField{ { Label: "enabled", Path: []string{ "enabled", }, }, }
PortalCustomDomainSDKOpsBoolFields lists all boolean enum fields that must be normalized for SDK payloads.
var PortalCustomizationSDKOpsBoolFields = []PortalCustomizationSDKOpsBoolField{ { Label: "menu.footer_bottom.[].external", Path: []string{ "menu", "footer_bottom", "[]", "external", }, }, { Label: "menu.footer_sections.[].items.[].external", Path: []string{ "menu", "footer_sections", "[]", "items", "[]", "external", }, }, { Label: "menu.main.[].external", Path: []string{ "menu", "main", "[]", "external", }, }, { Label: "spec_renderer.allow_custom_server_urls", Path: []string{ "spec_renderer", "allow_custom_server_urls", }, }, { Label: "spec_renderer.hide_deprecated", Path: []string{ "spec_renderer", "hide_deprecated", }, }, { Label: "spec_renderer.hide_internal", Path: []string{ "spec_renderer", "hide_internal", }, }, { Label: "spec_renderer.infinite_scroll", Path: []string{ "spec_renderer", "infinite_scroll", }, }, { Label: "spec_renderer.show_schemas", Path: []string{ "spec_renderer", "show_schemas", }, }, { Label: "spec_renderer.try_it_insomnia", Path: []string{ "spec_renderer", "try_it_insomnia", }, }, { Label: "spec_renderer.try_it_ui", Path: []string{ "spec_renderer", "try_it_ui", }, }, }
PortalCustomizationSDKOpsBoolFields lists all boolean enum fields that must be normalized for SDK payloads.
var PortalIdentityProviderRequestSDKOpsBoolFields = []PortalIdentityProviderRequestSDKOpsBoolField{ { Label: "enabled", Path: []string{ "enabled", }, }, }
PortalIdentityProviderRequestSDKOpsBoolFields lists all boolean enum fields that must be normalized for SDK payloads.
var PortalSDKOpsBoolFields = []PortalSDKOpsBoolField{ { Label: "authentication_enabled", Path: []string{ "authentication_enabled", }, }, { Label: "auto_approve_applications", Path: []string{ "auto_approve_applications", }, }, { Label: "auto_approve_developers", Path: []string{ "auto_approve_developers", }, }, { Label: "rbac_enabled", Path: []string{ "rbac_enabled", }, }, { Label: "sipr_enabled", Path: []string{ "sipr_enabled", }, }, }
PortalSDKOpsBoolFields lists all boolean enum fields that must be normalized for SDK payloads.
var PortalTeamSDKOpsBoolFields = []PortalTeamSDKOpsBoolField{ { Label: "can_own_applications", Path: []string{ "can_own_applications", }, }, }
PortalTeamSDKOpsBoolFields lists all boolean enum fields that must be normalized for SDK payloads.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource.
Types ¶
type APIAccess ¶
type APIAccess string
APIAccess defines the API access type for data-plane groups.
const ( // APIAccessPrivate is the API access type for private data-plane groups. APIAccessPrivate APIAccess = "private" // APIAccessPublic is the API access type for public data-plane groups. APIAccessPublic APIAccess = "public" // APIAccessPrivatePublic is the API access type for private and public data-plane groups. APIAccessPrivatePublic APIAccess = "private+public" )
type AWSTransitGateway ¶
type AWSTransitGateway struct {
// Human-readable name of the transit gateway.
//
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=120
// +required
Name string `json:"name"`
// List of mappings from remote DNS server IP address sets to proxied internal domains, for a transit gateway
// attachment.
//
// +optional
DNSConfig []TransitGatewayDNSConfig `json:"dns_config,omitempty"`
// CIDR blocks for constructing a route table for the transit gateway, when attaching to the owning
// network.
//
// +required
CIDRBlocks []string `json:"cidr_blocks"`
// configuration to attach to AWS transit gateway on the AWS side.
//
// +required
AttachmentConfig AwsTransitGatewayAttachmentConfig `json:"attachment_config"`
}
AWSTransitGateway is the configuration of an AWS transit gateway.
func (*AWSTransitGateway) DeepCopy ¶
func (in *AWSTransitGateway) DeepCopy() *AWSTransitGateway
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSTransitGateway.
func (*AWSTransitGateway) DeepCopyInto ¶
func (in *AWSTransitGateway) DeepCopyInto(out *AWSTransitGateway)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AwsTransitGatewayAttachmentConfig ¶
type AwsTransitGatewayAttachmentConfig struct {
// TransitGatewayID is the AWS transit gateway ID to create attachment to.
//
// +optional
// +kubebuilder:validation:MinLength=1
TransitGatewayID string `json:"transit_gateway_id"`
//
// +required
// +kubebuilder:validation:MinLength=1
RAMShareArn string `json:"ram_share_arn"`
}
AwsTransitGatewayAttachmentConfig is the configuration to attach to a AWS transit gateway.
func (*AwsTransitGatewayAttachmentConfig) DeepCopy ¶
func (in *AwsTransitGatewayAttachmentConfig) DeepCopy() *AwsTransitGatewayAttachmentConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsTransitGatewayAttachmentConfig.
func (*AwsTransitGatewayAttachmentConfig) DeepCopyInto ¶
func (in *AwsTransitGatewayAttachmentConfig) DeepCopyInto(out *AwsTransitGatewayAttachmentConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureTransitGateway ¶
type AzureTransitGateway struct {
// Human-readable name of the transit gateway.
//
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=120
// +required
Name string `json:"name"`
// List of mappings from remote DNS server IP address sets to proxied internal domains, for a transit gateway
// attachment.
//
// +optional
DNSConfig []TransitGatewayDNSConfig `json:"dns_config,omitempty"`
// configuration to attach to Azure VNET peering gateway.
//
// +required
AttachmentConfig AzureVNETPeeringAttachmentConfig `json:"attachment_config"`
}
AzureTransitGateway is the configuration of an Azure transit gateway.
func (*AzureTransitGateway) DeepCopy ¶
func (in *AzureTransitGateway) DeepCopy() *AzureTransitGateway
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureTransitGateway.
func (*AzureTransitGateway) DeepCopyInto ¶
func (in *AzureTransitGateway) DeepCopyInto(out *AzureTransitGateway)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureVNETPeeringAttachmentConfig ¶
type AzureVNETPeeringAttachmentConfig struct {
// TenantID is the tenant ID for the Azure VNET Peering attachment.
//
// +required
// +kubebuilder:validation:MinLength=1
TenantID string `json:"tenant_id"`
// SubscriptionID is the subscription ID for the Azure VNET Peering attachment.
//
// +required
// +kubebuilder:validation:MinLength=1
SubscriptionID string `json:"subscription_id"`
// ResourceGroupName is the resource group name for the Azure VNET Peering attachment.
//
// +required
// +kubebuilder:validation:MinLength=1
ResourceGroupName string `json:"resource_group_name"`
// VnetName is the VNET Name for the Azure VNET Peering attachment.
//
// +required
// +kubebuilder:validation:MinLength=1
VnetName string `json:"vnet_name"`
}
AzureVNETPeeringAttachmentConfig is the configuration to attach to a Azure VNET peering gateway.
func (*AzureVNETPeeringAttachmentConfig) DeepCopy ¶
func (in *AzureVNETPeeringAttachmentConfig) DeepCopy() *AzureVNETPeeringAttachmentConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureVNETPeeringAttachmentConfig.
func (*AzureVNETPeeringAttachmentConfig) DeepCopyInto ¶
func (in *AzureVNETPeeringAttachmentConfig) DeepCopyInto(out *AzureVNETPeeringAttachmentConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateSecret ¶
type CertificateSecret struct {
// Provisioning is the method used to provision the certificate. It can be either Manual or Automatic.
// In case manual provisioning is used, the certificate must be provided by the user.
// In case automatic provisioning is used, the certificate will be automatically generated by the system.
//
// +optional
// +kubebuilder:validation:Enum=Manual;Automatic
// +kubebuilder:default=Automatic
Provisioning *ProvisioningMethod `json:"provisioning,omitempty"`
// CertificateSecretRef is the reference to the Secret containing the client certificate.
//
// +optional
CertificateSecretRef *SecretRef `json:"secretRef,omitempty"`
}
CertificateSecret contains the information to access the client certificate.
func (*CertificateSecret) DeepCopy ¶
func (in *CertificateSecret) DeepCopy() *CertificateSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSecret.
func (*CertificateSecret) DeepCopyInto ¶
func (in *CertificateSecret) DeepCopyInto(out *CertificateSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Colors ¶ added in v2.2.0
type Colors struct {
//
//
// +optional
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Pattern=`^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$`
Primary string `json:"primary,omitzero"`
}
Colors is a type alias.
func (*Colors) DeepCopy ¶ added in v2.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Colors.
func (*Colors) DeepCopyInto ¶ added in v2.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigMapKeyRef ¶ added in v2.2.0
type ConfigMapKeyRef struct {
// Name is the name of the ConfigMap
//
// +required
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:MinLength=1
Name string `json:"name,omitzero"`
// Key is the key within the ConfigMap
//
// +required
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:MinLength=1
Key string `json:"key,omitzero"`
// Namespace is the namespace of the ConfigMap
//
// +optional
// +kubebuilder:validation:MaxLength=63
Namespace string `json:"namespace,omitzero"`
}
ConfigMapKeyRef is a reference to a key in a ConfigMap
func (*ConfigMapKeyRef) DeepCopy ¶ added in v2.2.0
func (in *ConfigMapKeyRef) DeepCopy() *ConfigMapKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeyRef.
func (*ConfigMapKeyRef) DeepCopyInto ¶ added in v2.2.0
func (in *ConfigMapKeyRef) DeepCopyInto(out *ConfigMapKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationDataPlaneGroupAutoscale ¶
type ConfigurationDataPlaneGroupAutoscale struct {
// Static specifies the static configuration for the data-plane group.
//
// +optional
Static *ConfigurationDataPlaneGroupAutoscaleStatic `json:"static,omitempty"`
// Autopilot specifies the autoscale configuration for the data-plane group.
//
// +optional
Autopilot *ConfigurationDataPlaneGroupAutoscaleAutopilot `json:"autopilot,omitempty"`
// Type of autoscaling to use.
//
// +required
// +kubebuilder:validation:Enum=static;autopilot
Type ConfigurationDataPlaneGroupAutoscaleType `json:"type"`
}
ConfigurationDataPlaneGroupAutoscale specifies the autoscale configuration for the data-plane group.
+kubebuilder:validation:XValidation:rule="!(has(self.autopilot) && has(self.static))",message="can't provide both autopilot and static configuration" +kubebuilder:validation:XValidation:rule="self.type == 'static' ? has(self.static) : true",message="static is required when type is static" +kubebuilder:validation:XValidation:rule="self.type == 'autopilot' ? has(self.autopilot) : true",message="autopilot is required when type is autopilot"
func (*ConfigurationDataPlaneGroupAutoscale) DeepCopy ¶
func (in *ConfigurationDataPlaneGroupAutoscale) DeepCopy() *ConfigurationDataPlaneGroupAutoscale
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationDataPlaneGroupAutoscale.
func (*ConfigurationDataPlaneGroupAutoscale) DeepCopyInto ¶
func (in *ConfigurationDataPlaneGroupAutoscale) DeepCopyInto(out *ConfigurationDataPlaneGroupAutoscale)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationDataPlaneGroupAutoscaleAutopilot ¶
type ConfigurationDataPlaneGroupAutoscaleAutopilot struct {
// Base number of requests per second that the deployment target should support.
//
// +required
BaseRps int64 `json:"base_rps"`
// Max number of requests per second that the deployment target should support. If not set, this defaults to 10x base_rps.
//
// +optional
MaxRps *int64 `json:"max_rps,omitempty"`
}
ConfigurationDataPlaneGroupAutoscaleAutopilot specifies the autoscale configuration for the data-plane group.
func (*ConfigurationDataPlaneGroupAutoscaleAutopilot) DeepCopy ¶
func (in *ConfigurationDataPlaneGroupAutoscaleAutopilot) DeepCopy() *ConfigurationDataPlaneGroupAutoscaleAutopilot
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationDataPlaneGroupAutoscaleAutopilot.
func (*ConfigurationDataPlaneGroupAutoscaleAutopilot) DeepCopyInto ¶
func (in *ConfigurationDataPlaneGroupAutoscaleAutopilot) DeepCopyInto(out *ConfigurationDataPlaneGroupAutoscaleAutopilot)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationDataPlaneGroupAutoscaleStatic ¶
type ConfigurationDataPlaneGroupAutoscaleStatic struct {
// Instance type name to indicate capacity.
// Currently supported values are small, medium, large but this list might be
// expanded in the future.
// For all the allowed values, please refer to the Konnect API documentation
// at https://docs.konghq.com/konnect/api/cloud-gateways/latest/#/Data-Plane%20Group%20Configurations/create-configuration.
//
// +required
InstanceType sdkkonnectcomp.InstanceTypeName `json:"instance_type"`
// Number of data-planes the deployment target will contain.
//
// +required
RequestedInstances int64 `json:"requested_instances"`
}
ConfigurationDataPlaneGroupAutoscaleStatic specifies the static configuration for the data-plane group.
func (*ConfigurationDataPlaneGroupAutoscaleStatic) DeepCopy ¶
func (in *ConfigurationDataPlaneGroupAutoscaleStatic) DeepCopy() *ConfigurationDataPlaneGroupAutoscaleStatic
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationDataPlaneGroupAutoscaleStatic.
func (*ConfigurationDataPlaneGroupAutoscaleStatic) DeepCopyInto ¶
func (in *ConfigurationDataPlaneGroupAutoscaleStatic) DeepCopyInto(out *ConfigurationDataPlaneGroupAutoscaleStatic)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationDataPlaneGroupAutoscaleType ¶
type ConfigurationDataPlaneGroupAutoscaleType string
ConfigurationDataPlaneGroupAutoscaleType is the type of autoscale configuration for the data-plane group.
const ( // ConfigurationDataPlaneGroupAutoscaleTypeStatic is the autoscale type for static configuration. ConfigurationDataPlaneGroupAutoscaleTypeStatic ConfigurationDataPlaneGroupAutoscaleType = "static" // ConfigurationDataPlaneGroupAutoscaleTypeAutopilot is the autoscale type for autopilot configuration. ConfigurationDataPlaneGroupAutoscaleTypeAutopilot ConfigurationDataPlaneGroupAutoscaleType = "autopilot" )
type ConfigurationDataPlaneGroupEnvironmentField ¶
type ConfigurationDataPlaneGroupEnvironmentField struct {
// Name of the environment variable field to set for the data-plane group. Must be prefixed by KONG_.
//
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=63
// +required
// +kubebuilder:validation:Pattern="^KONG_."
Name string `json:"name"`
// Value assigned to the environment variable field for the data-plane group.
//
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=63
// +required
Value string `json:"value"`
}
ConfigurationDataPlaneGroupEnvironmentField specifies an environment variable field for the data-plane group.
func (*ConfigurationDataPlaneGroupEnvironmentField) DeepCopy ¶
func (in *ConfigurationDataPlaneGroupEnvironmentField) DeepCopy() *ConfigurationDataPlaneGroupEnvironmentField
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationDataPlaneGroupEnvironmentField.
func (*ConfigurationDataPlaneGroupEnvironmentField) DeepCopyInto ¶
func (in *ConfigurationDataPlaneGroupEnvironmentField) DeepCopyInto(out *ConfigurationDataPlaneGroupEnvironmentField)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CreateControlPlaneRequest ¶
type CreateControlPlaneRequest struct {
// The name of the control plane.
// +optional
Name *string `json:"name,omitempty"`
// The description of the control plane in Konnect.
// +optional
Description *string `json:"description,omitempty"`
// The ClusterType value of the cluster associated with the Control Plane.
// +optional
ClusterType *sdkkonnectcomp.CreateControlPlaneRequestClusterType `json:"cluster_type,omitempty"`
// The auth type value of the cluster associated with the Runtime Group.
// +optional
AuthType *sdkkonnectcomp.AuthType `json:"auth_type,omitempty"`
// Whether this control-plane can be used for cloud-gateways.
// +optional
CloudGateway *bool `json:"cloud_gateway,omitempty"`
// Array of proxy URLs associated with reaching the data-planes connected to a control-plane.
// +optional
ProxyUrls []sdkkonnectcomp.ProxyURL `json:"proxy_urls,omitempty"`
// Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
//
// Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
//
// +optional
Labels map[string]string `json:"labels,omitempty"`
}
CreateControlPlaneRequest - The request schema for the create control plane request.
func (*CreateControlPlaneRequest) DeepCopy ¶
func (in *CreateControlPlaneRequest) DeepCopy() *CreateControlPlaneRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateControlPlaneRequest.
func (*CreateControlPlaneRequest) DeepCopyInto ¶
func (in *CreateControlPlaneRequest) DeepCopyInto(out *CreateControlPlaneRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CreatePortalCustomDomainSSL ¶ added in v2.2.0
CreatePortalCustomDomainSSL is a type alias.
func (CreatePortalCustomDomainSSL) DeepCopy ¶ added in v2.2.0
func (in CreatePortalCustomDomainSSL) DeepCopy() CreatePortalCustomDomainSSL
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreatePortalCustomDomainSSL.
func (CreatePortalCustomDomainSSL) DeepCopyInto ¶ added in v2.2.0
func (in CreatePortalCustomDomainSSL) DeepCopyInto(out *CreatePortalCustomDomainSSL)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CreatePortalCustomDomainSSLStandard ¶ added in v2.2.0
type CreatePortalCustomDomainSSLStandard struct {
//
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Enum=http
DomainVerificationMethod string `json:"domainVerificationMethod,omitzero"`
}
CreatePortalCustomDomainSSLStandard is a type alias.
func (*CreatePortalCustomDomainSSLStandard) DeepCopy ¶ added in v2.2.0
func (in *CreatePortalCustomDomainSSLStandard) DeepCopy() *CreatePortalCustomDomainSSLStandard
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreatePortalCustomDomainSSLStandard.
func (*CreatePortalCustomDomainSSLStandard) DeepCopyInto ¶ added in v2.2.0
func (in *CreatePortalCustomDomainSSLStandard) DeepCopyInto(out *CreatePortalCustomDomainSSLStandard)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CreatePortalCustomDomainSSLWithCustomCertificate ¶ added in v2.2.0
type CreatePortalCustomDomainSSLWithCustomCertificate struct {
// Custom certificate to be used for the SSL termination.
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=4096
CustomCertificate string `json:"customCertificate,omitzero"`
// Custom certificate private key to be used for the SSL termination.
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=4096
CustomPrivateKey string `json:"customPrivateKey,omitzero"`
//
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Enum=custom_certificate
DomainVerificationMethod string `json:"domainVerificationMethod,omitzero"`
// Advanced option.
// If true, the custom certificate is served exactly as provided, without
// attempting to bundle against a public trust store.
// Required for certificates issued by an internal/private CA.
//
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
SkipCaCheck string `json:"skipCaCheck,omitzero"`
}
CreatePortalCustomDomainSSLWithCustomCertificate is a type alias.
func (*CreatePortalCustomDomainSSLWithCustomCertificate) DeepCopy ¶ added in v2.2.0
func (in *CreatePortalCustomDomainSSLWithCustomCertificate) DeepCopy() *CreatePortalCustomDomainSSLWithCustomCertificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreatePortalCustomDomainSSLWithCustomCertificate.
func (*CreatePortalCustomDomainSSLWithCustomCertificate) DeepCopyInto ¶ added in v2.2.0
func (in *CreatePortalCustomDomainSSLWithCustomCertificate) DeepCopyInto(out *CreatePortalCustomDomainSSLWithCustomCertificate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPlaneClientAuthStatus ¶
type DataPlaneClientAuthStatus struct {
// CertificateSecretRef is the reference to the Secret containing the client certificate.
//
// +optional
CertificateSecretRef *SecretRef `json:"certificateSecretRef,omitempty"`
}
DataPlaneClientAuthStatus contains the status information related to the ClientAuth configuration.
func (*DataPlaneClientAuthStatus) DeepCopy ¶
func (in *DataPlaneClientAuthStatus) DeepCopy() *DataPlaneClientAuthStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPlaneClientAuthStatus.
func (*DataPlaneClientAuthStatus) DeepCopyInto ¶
func (in *DataPlaneClientAuthStatus) DeepCopyInto(out *DataPlaneClientAuthStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPlaneLabelValue ¶
type DataPlaneLabelValue string
DataPlaneLabelValue is the type that defines the value of a label that will be applied to the Konnect DataPlane.
+kubebuilder:validation:MinLength=1 +kubebuilder:validation:MaxLength=63 +kubebuilder:validation:Pattern="^[a-zA-Z0-9]([a-zA-Z0-9._-]*[a-zA-Z0-9])?$"
type GatewayDescription ¶ added in v2.2.0
type GatewayDescription string
GatewayDescription A human-readable description of the Gateway.
type IdentityProviderType ¶ added in v2.2.0
type IdentityProviderType string
IdentityProviderType Specifies the type of identity provider.
type KonnectAPIAuthConfiguration ¶
type KonnectAPIAuthConfiguration struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec is the specification of the KonnectAPIAuthConfiguration resource.
//
// +required
Spec KonnectAPIAuthConfigurationSpec `json:"spec,omitempty"`
// Status is the status of the KonnectAPIAuthConfiguration resource.
//
// +optional
Status KonnectAPIAuthConfigurationStatus `json:"status,omitempty"`
}
KonnectAPIAuthConfiguration is the Schema for the Konnect configuration type.
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:resource:scope=Namespaced +kubebuilder:resource:categories=kong;konnect +kubebuilder:object:root=true +kubebuilder:object:generate=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Valid",description="The API authentication information is valid",type=string,JSONPath=`.status.conditions[?(@.type=='APIAuthValid')].status` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this API authentication configuration belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:printcolumn:name="ServerURL",description="Configured server URL.",type=string,JSONPath=`.status.serverURL` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`,description="Age" +kubebuilder:validation:XValidation:rule="self.spec.type != 'token' || (self.spec.token.startsWith('spat_') || self.spec.token.startsWith('kpat_'))", message="Konnect tokens have to start with spat_ or kpat_" +kubebuilder:validation:XValidation:rule="self.spec.type != 'token' || (!has(oldSelf.spec.token) || has(self.spec.token))", message="Token is required once set" +kong:channels=kong-operator
func (*KonnectAPIAuthConfiguration) DeepCopy ¶
func (in *KonnectAPIAuthConfiguration) DeepCopy() *KonnectAPIAuthConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectAPIAuthConfiguration.
func (*KonnectAPIAuthConfiguration) DeepCopyInto ¶
func (in *KonnectAPIAuthConfiguration) DeepCopyInto(out *KonnectAPIAuthConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectAPIAuthConfiguration) DeepCopyObject ¶
func (in *KonnectAPIAuthConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KonnectAPIAuthConfiguration) GetConditions ¶
func (obj *KonnectAPIAuthConfiguration) GetConditions() []metav1.Condition
GetConditions returns the Status Conditions.
func (KonnectAPIAuthConfiguration) GetTypeName ¶
func (obj KonnectAPIAuthConfiguration) GetTypeName() string
GetTypeName returns the KonnectAPIAuthConfiguration Kind name.
func (*KonnectAPIAuthConfiguration) SetConditions ¶
func (obj *KonnectAPIAuthConfiguration) SetConditions(conditions []metav1.Condition)
SetConditions sets the Status Conditions.
type KonnectAPIAuthConfigurationList ¶
type KonnectAPIAuthConfigurationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []KonnectAPIAuthConfiguration `json:"items"`
}
KonnectAPIAuthConfigurationList contains a list of KonnectAPIAuthConfiguration resources. +kubebuilder:object:root=true
func (*KonnectAPIAuthConfigurationList) DeepCopy ¶
func (in *KonnectAPIAuthConfigurationList) DeepCopy() *KonnectAPIAuthConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectAPIAuthConfigurationList.
func (*KonnectAPIAuthConfigurationList) DeepCopyInto ¶
func (in *KonnectAPIAuthConfigurationList) DeepCopyInto(out *KonnectAPIAuthConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectAPIAuthConfigurationList) DeepCopyObject ¶
func (in *KonnectAPIAuthConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (KonnectAPIAuthConfigurationList) GetItems ¶
func (obj KonnectAPIAuthConfigurationList) GetItems() []KonnectAPIAuthConfiguration
GetItems returns the list of KonnectAPIAuthConfiguration items.
type KonnectAPIAuthConfigurationSpec ¶
type KonnectAPIAuthConfigurationSpec struct {
// +required
// +kubebuilder:validation:Enum=token;secretRef
Type KonnectAPIAuthType `json:"type"`
// Token is the Konnect token used to authenticate with the Konnect API.
//
// +optional
Token string `json:"token,omitempty"`
// SecretRef is a reference to a Kubernetes Secret containing the Konnect token.
// This secret is required to have the konghq.com/credential label set to "konnect".
//
// +optional
SecretRef *corev1.SecretReference `json:"secretRef,omitempty"`
// ServerURL is the URL of the Konnect server.
// It can be either a full URL with an HTTPs scheme or just a hostname.
// Please refer to https://docs.konghq.com/konnect/network/ for the list of supported hostnames.
//
// +required
// +kubebuilder:validation:XValidation:rule="size(self) > 0", message="Server URL is required"
// +kubebuilder:validation:XValidation:rule="self == oldSelf", message="Server URL is immutable"
// +kubebuilder:validation:XValidation:rule="isURL(self) ? url(self).getScheme() == 'https' : true", message="Server URL must use HTTPs if specifying scheme"
// +kubebuilder:validation:XValidation:rule="size(self) > 0 && !isURL(self) ? self.matches('^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]).)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$') : true", message="Server URL must satisfy hostname (RFC 1123) regex if not a valid absolute URL"
ServerURL string `json:"serverURL"`
}
KonnectAPIAuthConfigurationSpec is the specification of the KonnectAPIAuthConfiguration resource.
+kubebuilder:validation:XValidation:rule="self.type == 'token' ? size(self.token) > 0 : true", message="spec.token is required if auth type is set to token" +kubebuilder:validation:XValidation:rule="self.type == 'secretRef' ? has(self.secretRef) : true", message="spec.secretRef is required if auth type is set to secretRef" +kubebuilder:validation:XValidation:rule="!(has(self.token) && has(self.secretRef))", message="spec.token and spec.secretRef cannot be set at the same time"
func (*KonnectAPIAuthConfigurationSpec) DeepCopy ¶
func (in *KonnectAPIAuthConfigurationSpec) DeepCopy() *KonnectAPIAuthConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectAPIAuthConfigurationSpec.
func (*KonnectAPIAuthConfigurationSpec) DeepCopyInto ¶
func (in *KonnectAPIAuthConfigurationSpec) DeepCopyInto(out *KonnectAPIAuthConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectAPIAuthConfigurationStatus ¶
type KonnectAPIAuthConfigurationStatus struct {
// Conditions describe the status of the Konnect configuration.
// +listType=map
// +listMapKey=type
// +kubebuilder:validation:MinItems=1
// +kubebuilder:validation:MaxItems=8
// +kubebuilder:default={{type: "Valid", status: "Unknown", reason:"Pending", message:"Waiting for controller", lastTransitionTime: "1970-01-01T00:00:00Z"}}
// +optional
// +patchStrategy=merge
// +patchMergeKey=type
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
// OrganizationID is the unique identifier of the organization in Konnect.
//
// +optional
OrganizationID string `json:"organizationID,omitempty"`
// ServerURL is configured server URL.
//
// +optional
ServerURL string `json:"serverURL,omitempty"`
}
KonnectAPIAuthConfigurationStatus is the status of the KonnectAPIAuthConfiguration resource.
func (*KonnectAPIAuthConfigurationStatus) DeepCopy ¶
func (in *KonnectAPIAuthConfigurationStatus) DeepCopy() *KonnectAPIAuthConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectAPIAuthConfigurationStatus.
func (*KonnectAPIAuthConfigurationStatus) DeepCopyInto ¶
func (in *KonnectAPIAuthConfigurationStatus) DeepCopyInto(out *KonnectAPIAuthConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectAPIAuthType ¶
type KonnectAPIAuthType string
KonnectAPIAuthType is the type of authentication used to authenticate with the Konnect API.
const ( // KonnectAPIAuthTypeToken is the token authentication type. KonnectAPIAuthTypeToken KonnectAPIAuthType = "token" // KonnectAPIAuthTypeSecretRef is the secret reference authentication type. KonnectAPIAuthTypeSecretRef KonnectAPIAuthType = "secretRef" )
type KonnectCloudGatewayDataPlaneGroupConfiguration ¶
type KonnectCloudGatewayDataPlaneGroupConfiguration struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec defines the desired state of KonnectCloudGatewayDataPlaneGroupConfiguration.
//
// +required
Spec KonnectCloudGatewayDataPlaneGroupConfigurationSpec `json:"spec"`
// Status defines the observed state of KonnectCloudGatewayDataPlaneGroupConfiguration.
//
// +optional
Status KonnectCloudGatewayDataPlaneGroupConfigurationStatus `json:"status,omitempty"`
}
KonnectCloudGatewayDataPlaneGroupConfiguration is the Schema for the Konnect Network API.
+genclient +kubebuilder:resource:scope=Namespaced +kubebuilder:resource:categories=kong;konnect +kubebuilder:object:root=true +kubebuilder:object:generate=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="ID",description="Konnect ID",type=string,JSONPath=`.status.id` +kubebuilder:printcolumn:name="ControlPlaneID",description="ControlPlane ID",type=string,JSONPath=`.status.controlPlaneID` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this resource belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`,description="Age" +kong:channels=kong-operator
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) DeepCopy ¶
func (in *KonnectCloudGatewayDataPlaneGroupConfiguration) DeepCopy() *KonnectCloudGatewayDataPlaneGroupConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectCloudGatewayDataPlaneGroupConfiguration.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) DeepCopyInto ¶
func (in *KonnectCloudGatewayDataPlaneGroupConfiguration) DeepCopyInto(out *KonnectCloudGatewayDataPlaneGroupConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) DeepCopyObject ¶
func (in *KonnectCloudGatewayDataPlaneGroupConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) GetAdoptOptions ¶
func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) GetAdoptOptions() *commonv1alpha1.AdoptOptions
GetAdoptOptions gets the options to adopt the resource from an existing resource.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) GetConditions ¶
func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) GetConditions() []metav1.Condition
GetConditions returns the Status Conditions.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) GetControlPlaneID ¶
func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) GetControlPlaneID() string
GetControlPlaneID returns the ControlPlane ID in the KonnectCloudGatewayDataPlaneGroupConfiguration status.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) GetControlPlaneRef ¶
func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) GetControlPlaneRef() *commonv1alpha1.ControlPlaneRef
GetControlPlaneRef returns the ControlPlaneRef.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) GetKonnectID ¶
func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) GetKonnectID() string
GetKonnectID returns the Konnect ID in the KonnectCloudGatewayDataPlaneGroupConfiguration status.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) GetKonnectStatus ¶
func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the KonnectCloudGatewayDataPlaneGroupConfiguration status.
func (KonnectCloudGatewayDataPlaneGroupConfiguration) GetTypeName ¶
func (obj KonnectCloudGatewayDataPlaneGroupConfiguration) GetTypeName() string
GetTypeName returns the KonnectCloudGatewayDataPlaneGroupConfiguration Kind name.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) PersistsKonnectID ¶ added in v2.2.0
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) PersistsKonnectID() bool
PersistsKonnectID reports whether the KonnectCloudGatewayDataPlaneGroupConfiguration persists a Konnect ID in status.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) SetAdoptOptions ¶
func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) SetAdoptOptions(opts *commonv1alpha1.AdoptOptions)
SetAdoptOptions sets the options to adopt the resource from an existing resource.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) SetConditions ¶
func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) SetConditions(conditions []metav1.Condition)
SetConditions sets the Status Conditions.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) SetControlPlaneID ¶
func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) SetControlPlaneID(id string)
SetControlPlaneID sets the ControlPlane ID in the KonnectCloudGatewayDataPlaneGroupConfiguration status.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) SetControlPlaneRef ¶
func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) SetControlPlaneRef(ref *commonv1alpha1.ControlPlaneRef)
SetControlPlaneRef sets the ControlPlaneRef.
func (*KonnectCloudGatewayDataPlaneGroupConfiguration) SetKonnectID ¶
func (obj *KonnectCloudGatewayDataPlaneGroupConfiguration) SetKonnectID(id string)
SetKonnectID sets the Konnect ID in the KonnectCloudGatewayDataPlaneGroupConfiguration status.
type KonnectCloudGatewayDataPlaneGroupConfigurationList ¶
type KonnectCloudGatewayDataPlaneGroupConfigurationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []KonnectCloudGatewayDataPlaneGroupConfiguration `json:"items"`
}
KonnectCloudGatewayDataPlaneGroupConfigurationList contains a list of KonnectCloudGatewayDataPlaneGroupConfiguration. +kubebuilder:object:root=true
func (*KonnectCloudGatewayDataPlaneGroupConfigurationList) DeepCopy ¶
func (in *KonnectCloudGatewayDataPlaneGroupConfigurationList) DeepCopy() *KonnectCloudGatewayDataPlaneGroupConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectCloudGatewayDataPlaneGroupConfigurationList.
func (*KonnectCloudGatewayDataPlaneGroupConfigurationList) DeepCopyInto ¶
func (in *KonnectCloudGatewayDataPlaneGroupConfigurationList) DeepCopyInto(out *KonnectCloudGatewayDataPlaneGroupConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectCloudGatewayDataPlaneGroupConfigurationList) DeepCopyObject ¶
func (in *KonnectCloudGatewayDataPlaneGroupConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (KonnectCloudGatewayDataPlaneGroupConfigurationList) GetItems ¶
func (obj KonnectCloudGatewayDataPlaneGroupConfigurationList) GetItems() []KonnectCloudGatewayDataPlaneGroupConfiguration
GetItems returns the list of KonnectCloudGatewayDataPlaneGroupConfiguration items.
type KonnectCloudGatewayDataPlaneGroupConfigurationSpec ¶
type KonnectCloudGatewayDataPlaneGroupConfigurationSpec struct {
// Version specifies the desired Kong Gateway version.
//
// +required
Version string `json:"version"`
// DataplaneGroups is a list of desired data-plane groups that describe where
// to deploy instances, along with how many instances.
//
// +optional
DataplaneGroups []KonnectConfigurationDataPlaneGroup `json:"dataplane_groups"`
// APIAccess is the desired type of API access for data-plane groups.
//
// +optional
// +kubebuilder:default=private+public
// +kubebuilder:validation:Enum=private;public;private+public
APIAccess *sdkkonnectcomp.APIAccess `json:"api_access"`
// ControlPlaneRef is a reference to a ControlPlane which DataPlanes from this
// configuration will connect to.
//
// +required
ControlPlaneRef commonv1alpha1.ControlPlaneRef `json:"controlPlaneRef"`
// Adopt is the options for adopting a cloud gateway dataplane group configuration from an existing transit dataplane group configuration in Konnect.
// +optional
Adopt *commonv1alpha1.AdoptOptions `json:"adopt,omitempty"`
}
KonnectCloudGatewayDataPlaneGroupConfigurationSpec defines the desired state of KonnectCloudGatewayDataPlaneGroupConfiguration.
+kubebuilder:validation:XValidation:rule="!has(self.adopt) ? true : (has(self.controlPlaneRef) && self.controlPlaneRef.type == 'konnectNamespacedRef')", message="spec.adopt is allowed only when controlPlaneRef is konnectNamespacedRef" +kubebuilder:validation:XValidation:rule="(has(oldSelf.adopt) && has(self.adopt)) || (!has(oldSelf.adopt) && !has(self.adopt))", message="Cannot set or unset spec.adopt in updates"
func (*KonnectCloudGatewayDataPlaneGroupConfigurationSpec) DeepCopy ¶
func (in *KonnectCloudGatewayDataPlaneGroupConfigurationSpec) DeepCopy() *KonnectCloudGatewayDataPlaneGroupConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectCloudGatewayDataPlaneGroupConfigurationSpec.
func (*KonnectCloudGatewayDataPlaneGroupConfigurationSpec) DeepCopyInto ¶
func (in *KonnectCloudGatewayDataPlaneGroupConfigurationSpec) DeepCopyInto(out *KonnectCloudGatewayDataPlaneGroupConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectCloudGatewayDataPlaneGroupConfigurationStatus ¶
type KonnectCloudGatewayDataPlaneGroupConfigurationStatus struct {
// Conditions describe the current conditions of the KonnectCloudGatewayDataPlaneGroupConfiguration.
//
// Known condition types are:
//
// * "Programmed"
//
// +listType=map
// +listMapKey=type
// +kubebuilder:validation:MaxItems=8
// +kubebuilder:default={{type: "Programmed", status: "Unknown", reason:"Pending", message:"Waiting for controller", lastTransitionTime: "1970-01-01T00:00:00Z"}}
// +optional
// +patchStrategy=merge
// +patchMergeKey=type
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
konnectv1alpha2.KonnectEntityStatusWithControlPlaneRef `json:",inline"` //nolint:embeddedstructfieldcheck
// DataPlaneGroups is a list of deployed data-plane groups.
//
// +optional
DataPlaneGroups []KonnectCloudGatewayDataPlaneGroupConfigurationStatusGroup `json:"dataplane_groups,omitempty"`
}
KonnectCloudGatewayDataPlaneGroupConfigurationStatus defines the observed state of KonnectCloudGatewayDataPlaneGroupConfiguration.
func (*KonnectCloudGatewayDataPlaneGroupConfigurationStatus) DeepCopy ¶
func (in *KonnectCloudGatewayDataPlaneGroupConfigurationStatus) DeepCopy() *KonnectCloudGatewayDataPlaneGroupConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectCloudGatewayDataPlaneGroupConfigurationStatus.
func (*KonnectCloudGatewayDataPlaneGroupConfigurationStatus) DeepCopyInto ¶
func (in *KonnectCloudGatewayDataPlaneGroupConfigurationStatus) DeepCopyInto(out *KonnectCloudGatewayDataPlaneGroupConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectCloudGatewayDataPlaneGroupConfigurationStatusGroup ¶
type KonnectCloudGatewayDataPlaneGroupConfigurationStatusGroup struct {
// ID is the ID of the deployed data-plane group.
//
// +required
ID string `json:"id"`
// CloudGatewayNetworkID is the ID of the cloud gateway network.
//
// +required
CloudGatewayNetworkID string `json:"cloud_gateway_network_id"`
// Name of cloud provider.
//
// +required
Provider sdkkonnectcomp.ProviderName `json:"provider"`
// Region ID for cloud provider region.
//
// +required
Region string `json:"region"`
// PrivateIPAddresses is a list of private IP addresses of the internal load balancer that proxies traffic to this data-plane group.
//
// +optional
PrivateIPAddresses []string `json:"private_ip_addresses,omitempty"`
// EgressIPAddresses is a list of egress IP addresses for the network that this data-plane group runs on.
//
// +optional
EgressIPAddresses []string `json:"egress_ip_addresses,omitempty"`
// State is the current state of the data plane group. Can be e.g. initializing, ready, terminating.
//
// +required
State string `json:"state"`
}
KonnectCloudGatewayDataPlaneGroupConfigurationStatusGroup defines the observed state of a deployed data-plane group.
func (*KonnectCloudGatewayDataPlaneGroupConfigurationStatusGroup) DeepCopy ¶
func (in *KonnectCloudGatewayDataPlaneGroupConfigurationStatusGroup) DeepCopy() *KonnectCloudGatewayDataPlaneGroupConfigurationStatusGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectCloudGatewayDataPlaneGroupConfigurationStatusGroup.
func (*KonnectCloudGatewayDataPlaneGroupConfigurationStatusGroup) DeepCopyInto ¶
func (in *KonnectCloudGatewayDataPlaneGroupConfigurationStatusGroup) DeepCopyInto(out *KonnectCloudGatewayDataPlaneGroupConfigurationStatusGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectCloudGatewayNetwork ¶
type KonnectCloudGatewayNetwork struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec defines the desired state of KonnectCloudGatewayNetwork.
//
// +required
Spec KonnectCloudGatewayNetworkSpec `json:"spec"`
// Status defines the observed state of KonnectCloudGatewayNetwork.
//
// +optional
Status KonnectCloudGatewayNetworkStatus `json:"status,omitempty"`
}
KonnectCloudGatewayNetwork is the Schema for the Konnect Network API.
+genclient +kubebuilder:resource:scope=Namespaced +kubebuilder:resource:categories=kong;konnect +kubebuilder:object:root=true +kubebuilder:object:generate=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="State",description="The state the network is in",type=string,JSONPath=`.status.state` +kubebuilder:printcolumn:name="ID",description="Konnect ID",type=string,JSONPath=`.status.id` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this resource belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:validation:XValidation:rule="(!has(self.status) || !self.status.conditions.exists(c, c.type == 'Programmed' && c.status == 'True')) ? true : oldSelf.spec.name == self.spec.name",message="spec.name is immutable when an entity is already Programmed" +kubebuilder:validation:XValidation:rule="(!has(self.status) || !self.status.conditions.exists(c, c.type == 'Programmed' && c.status == 'True')) ? true : oldSelf.spec.cloud_gateway_provider_account_id == self.spec.cloud_gateway_provider_account_id",message="spec.cloud_gateway_provider_account_id is immutable when an entity is already Programmed" +kubebuilder:validation:XValidation:rule="(!has(self.status) || !self.status.conditions.exists(c, c.type == 'Programmed' && c.status == 'True')) ? true : oldSelf.spec.region == self.spec.region",message="spec.region is immutable when an entity is already Programmed" +kubebuilder:validation:XValidation:rule="(!has(self.status) || !self.status.conditions.exists(c, c.type == 'Programmed' && c.status == 'True')) ? true : oldSelf.spec.availability_zones == self.spec.availability_zones",message="spec.availability_zones is immutable when an entity is already Programmed" +kubebuilder:validation:XValidation:rule="(!has(self.status) || !self.status.conditions.exists(c, c.type == 'Programmed' && c.status == 'True')) ? true : oldSelf.spec.cidr_block == self.spec.cidr_block",message="spec.cidr_block is immutable when an entity is already Programmed" +kubebuilder:validation:XValidation:rule="(!has(self.status) || !self.status.conditions.exists(c, c.type == 'Programmed' && c.status == 'True')) ? true : (!has(self.spec.state) && !has(oldSelf.spec.state)) || self.spec.state == oldSelf.spec.state",message="spec.state is immutable when an entity is already Programmed" +kong:channels=kong-operator
func (*KonnectCloudGatewayNetwork) DeepCopy ¶
func (in *KonnectCloudGatewayNetwork) DeepCopy() *KonnectCloudGatewayNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectCloudGatewayNetwork.
func (*KonnectCloudGatewayNetwork) DeepCopyInto ¶
func (in *KonnectCloudGatewayNetwork) DeepCopyInto(out *KonnectCloudGatewayNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectCloudGatewayNetwork) DeepCopyObject ¶
func (in *KonnectCloudGatewayNetwork) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KonnectCloudGatewayNetwork) GetAdoptOptions ¶
func (obj *KonnectCloudGatewayNetwork) GetAdoptOptions() *commonv1alpha1.AdoptOptions
GetAdoptOptions gets the options to adopt the resource from an existing resource.
func (*KonnectCloudGatewayNetwork) GetConditions ¶
func (obj *KonnectCloudGatewayNetwork) GetConditions() []metav1.Condition
GetConditions returns the Status Conditions.
func (*KonnectCloudGatewayNetwork) GetKonnectAPIAuthConfigurationRef ¶
func (c *KonnectCloudGatewayNetwork) GetKonnectAPIAuthConfigurationRef() konnectv1alpha2.ControlPlaneKonnectAPIAuthConfigurationRef
GetKonnectAPIAuthConfigurationRef returns the Konnect API Auth Configuration Ref.
func (*KonnectCloudGatewayNetwork) GetKonnectID ¶
func (obj *KonnectCloudGatewayNetwork) GetKonnectID() string
GetKonnectID returns the Konnect ID in the KonnectCloudGatewayNetwork status.
func (*KonnectCloudGatewayNetwork) GetKonnectStatus ¶
func (obj *KonnectCloudGatewayNetwork) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the KonnectCloudGatewayNetwork status.
func (KonnectCloudGatewayNetwork) GetTypeName ¶
func (obj KonnectCloudGatewayNetwork) GetTypeName() string
GetTypeName returns the KonnectCloudGatewayNetwork Kind name.
func (*KonnectCloudGatewayNetwork) PersistsKonnectID ¶ added in v2.2.0
func (*KonnectCloudGatewayNetwork) PersistsKonnectID() bool
PersistsKonnectID reports whether the KonnectCloudGatewayNetwork persists a Konnect ID in status.
func (*KonnectCloudGatewayNetwork) SetAdoptOptions ¶
func (obj *KonnectCloudGatewayNetwork) SetAdoptOptions(opts *commonv1alpha1.AdoptOptions)
SetAdoptOptions sets the options to adopt the resource from an existing resource.
func (*KonnectCloudGatewayNetwork) SetConditions ¶
func (obj *KonnectCloudGatewayNetwork) SetConditions(conditions []metav1.Condition)
SetConditions sets the Status Conditions.
func (*KonnectCloudGatewayNetwork) SetKonnectID ¶
func (obj *KonnectCloudGatewayNetwork) SetKonnectID(id string)
SetKonnectID sets the Konnect ID in the KonnectCloudGatewayNetwork status.
type KonnectCloudGatewayNetworkList ¶
type KonnectCloudGatewayNetworkList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []KonnectCloudGatewayNetwork `json:"items"`
}
KonnectCloudGatewayNetworkList contains a list of KonnectCloudGatewayNetwork. +kubebuilder:object:root=true
func (*KonnectCloudGatewayNetworkList) DeepCopy ¶
func (in *KonnectCloudGatewayNetworkList) DeepCopy() *KonnectCloudGatewayNetworkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectCloudGatewayNetworkList.
func (*KonnectCloudGatewayNetworkList) DeepCopyInto ¶
func (in *KonnectCloudGatewayNetworkList) DeepCopyInto(out *KonnectCloudGatewayNetworkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectCloudGatewayNetworkList) DeepCopyObject ¶
func (in *KonnectCloudGatewayNetworkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (KonnectCloudGatewayNetworkList) GetItems ¶
func (obj KonnectCloudGatewayNetworkList) GetItems() []KonnectCloudGatewayNetwork
GetItems returns the list of KonnectCloudGatewayNetwork items.
type KonnectCloudGatewayNetworkSpec ¶
type KonnectCloudGatewayNetworkSpec struct {
// Specifies the name of the network on Konnect.
//
// +required
Name string `json:"name"`
// Specifies the provider Account ID.
//
// +required
CloudGatewayProviderAccountID string `json:"cloud_gateway_provider_account_id"`
// Region ID for cloud provider region.
//
// +required
Region string `json:"region"`
// List of availability zones that the network is attached to.
//
// +required
// +kubebuilder:validation:MinItems=1
// +kubebuilder:validation:MaxItems=5
AvailabilityZones []string `json:"availability_zones"`
// CIDR block configuration for the network.
//
// +required
CidrBlock string `json:"cidr_block"`
// Initial state for creating a network.
//
// +optional
State *sdkkonnectcomp.NetworkCreateState `json:"state"`
// Adopt is the options for adopting a cloud gateway network from an existing network in Konnect.
// +optional
Adopt *commonv1alpha1.AdoptOptions `json:"adopt,omitempty"`
// +required
KonnectConfiguration konnectv1alpha2.KonnectConfiguration `json:"konnect"`
}
KonnectCloudGatewayNetworkSpec defines the desired state of KonnectCloudGatewayNetwork.
+kubebuilder:validation:XValidation:rule="(has(oldSelf.adopt) && has(self.adopt)) || (!has(oldSelf.adopt) && !has(self.adopt))", message="Cannot set or unset spec.adopt in updates"
func (*KonnectCloudGatewayNetworkSpec) DeepCopy ¶
func (in *KonnectCloudGatewayNetworkSpec) DeepCopy() *KonnectCloudGatewayNetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectCloudGatewayNetworkSpec.
func (*KonnectCloudGatewayNetworkSpec) DeepCopyInto ¶
func (in *KonnectCloudGatewayNetworkSpec) DeepCopyInto(out *KonnectCloudGatewayNetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectCloudGatewayNetworkStatus ¶
type KonnectCloudGatewayNetworkStatus struct {
// Conditions describe the current conditions of the KonnectCloudGatewayNetwork.
//
// Known condition types are:
//
// * "Programmed"
//
// +listType=map
// +listMapKey=type
// +kubebuilder:validation:MaxItems=8
// +kubebuilder:default={{type: "Programmed", status: "Unknown", reason:"Pending", message:"Waiting for controller", lastTransitionTime: "1970-01-01T00:00:00Z"}}
// +optional
// +patchStrategy=merge
// +patchMergeKey=type
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
konnectv1alpha2.KonnectEntityStatus `json:",inline"` //nolint:embeddedstructfieldcheck
// State is the current state of the network. Can be e.g. initializing, ready, terminating.
//
// +optional
State string `json:"state,omitempty"`
}
KonnectCloudGatewayNetworkStatus defines the observed state of KonnectCloudGatewayNetwork.
func (*KonnectCloudGatewayNetworkStatus) DeepCopy ¶
func (in *KonnectCloudGatewayNetworkStatus) DeepCopy() *KonnectCloudGatewayNetworkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectCloudGatewayNetworkStatus.
func (*KonnectCloudGatewayNetworkStatus) DeepCopyInto ¶
func (in *KonnectCloudGatewayNetworkStatus) DeepCopyInto(out *KonnectCloudGatewayNetworkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectCloudGatewayTransitGateway ¶
type KonnectCloudGatewayTransitGateway struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec defines the desired state of KonnectCloudGatewayTransitGateway.
//
// +required
Spec KonnectCloudGatewayTransitGatewaySpec `json:"spec"`
// Status defines the observed state of KonnectCloudGatewayTransitGateway.
//
// +optional
Status KonnectCloudGatewayTransitGatewayStatus `json:"status,omitempty"`
}
KonnectCloudGatewayTransitGateway is the Schema for the Konnect Transit Gateway API.
+genclient +kubebuilder:resource:scope=Namespaced +kubebuilder:resource:categories=kong;konnect +kubebuilder:object:root=true +kubebuilder:object:generate=true +kubebuilder:subresource:status +kubebuilder:subresource:finalizer +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="State",description="The state the transit gateway is in",type=string,JSONPath=`.status.state` +kubebuilder:printcolumn:name="ID",description="Konnect ID",type=string,JSONPath=`.status.id` +kubebuilder:printcolumn:name="NetworkID",description="Network ID",type=string,JSONPath=`.status.networkID` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this resource belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:validation:XValidation:rule="(!has(self.status) || !self.status.conditions.exists(c, c.type == 'Programmed' && c.status == 'True')) ? true : (!has(self.spec.awsTransitGateway) ? true : oldSelf.spec.awsTransitGateway.name == self.spec.awsTransitGateway.name)",message="spec.awsTransitGateway.name is immutable when transit gateway is already Programmed" +kubebuilder:validation:XValidation:rule="(!has(self.status) || !self.status.conditions.exists(c, c.type == 'Programmed' && c.status == 'True')) ? true : (!has(self.spec.azureTransitGateway) ? true : oldSelf.spec.azureTransitGateway.name == self.spec.azureTransitGateway.name)",message="spec.azureTransitGateway.name is immutable when transit gateway is already Programmed" +kong:channels=kong-operator
func (*KonnectCloudGatewayTransitGateway) DeepCopy ¶
func (in *KonnectCloudGatewayTransitGateway) DeepCopy() *KonnectCloudGatewayTransitGateway
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectCloudGatewayTransitGateway.
func (*KonnectCloudGatewayTransitGateway) DeepCopyInto ¶
func (in *KonnectCloudGatewayTransitGateway) DeepCopyInto(out *KonnectCloudGatewayTransitGateway)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectCloudGatewayTransitGateway) DeepCopyObject ¶
func (in *KonnectCloudGatewayTransitGateway) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KonnectCloudGatewayTransitGateway) GetAdoptOptions ¶
func (obj *KonnectCloudGatewayTransitGateway) GetAdoptOptions() *commonv1alpha1.AdoptOptions
GetAdoptOptions gets the options to adopt the resource from an existing resource.
func (*KonnectCloudGatewayTransitGateway) GetConditions ¶
func (obj *KonnectCloudGatewayTransitGateway) GetConditions() []metav1.Condition
GetConditions returns the Status Conditions.
func (*KonnectCloudGatewayTransitGateway) GetKonnectID ¶
func (obj *KonnectCloudGatewayTransitGateway) GetKonnectID() string
GetKonnectID returns the Konnect ID in the KonnectCloudGatewayTransitGateway status.
func (*KonnectCloudGatewayTransitGateway) GetKonnectStatus ¶
func (obj *KonnectCloudGatewayTransitGateway) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the KonnectCloudGatewayTransitGateway status.
func (*KonnectCloudGatewayTransitGateway) GetNetworkID ¶
func (obj *KonnectCloudGatewayTransitGateway) GetNetworkID() string
GetNetworkID returns Konnect network ID in the KonnectCloudGatewayTransitGateway status.
func (KonnectCloudGatewayTransitGateway) GetTypeName ¶
func (obj KonnectCloudGatewayTransitGateway) GetTypeName() string
GetTypeName returns the KonnectCloudGatewayTransitGateway Kind name.
func (*KonnectCloudGatewayTransitGateway) PersistsKonnectID ¶ added in v2.2.0
func (*KonnectCloudGatewayTransitGateway) PersistsKonnectID() bool
PersistsKonnectID reports whether the KonnectCloudGatewayTransitGateway persists a Konnect ID in status.
func (*KonnectCloudGatewayTransitGateway) SetAdoptOptions ¶
func (obj *KonnectCloudGatewayTransitGateway) SetAdoptOptions(opts *commonv1alpha1.AdoptOptions)
SetAdoptOptions sets the options to adopt the resource from an existing resource.
func (*KonnectCloudGatewayTransitGateway) SetConditions ¶
func (obj *KonnectCloudGatewayTransitGateway) SetConditions(conditions []metav1.Condition)
SetConditions sets the Status Conditions.
func (*KonnectCloudGatewayTransitGateway) SetKonnectID ¶
func (obj *KonnectCloudGatewayTransitGateway) SetKonnectID(id string)
SetKonnectID sets the Konnect ID in the KonnectCloudGatewayTransitGateway status.
func (*KonnectCloudGatewayTransitGateway) SetNetworkID ¶
func (obj *KonnectCloudGatewayTransitGateway) SetNetworkID(id string)
SetNetworkID returns the Konnect network ID in the KonnectCloudGatewayTransitGateway status.
type KonnectCloudGatewayTransitGatewayList ¶
type KonnectCloudGatewayTransitGatewayList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []KonnectCloudGatewayTransitGateway `json:"items"`
}
KonnectCloudGatewayTransitGatewayList contains a list of KonnectCloudGatewayTransitGateway. +kubebuilder:object:root=true
func (*KonnectCloudGatewayTransitGatewayList) DeepCopy ¶
func (in *KonnectCloudGatewayTransitGatewayList) DeepCopy() *KonnectCloudGatewayTransitGatewayList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectCloudGatewayTransitGatewayList.
func (*KonnectCloudGatewayTransitGatewayList) DeepCopyInto ¶
func (in *KonnectCloudGatewayTransitGatewayList) DeepCopyInto(out *KonnectCloudGatewayTransitGatewayList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectCloudGatewayTransitGatewayList) DeepCopyObject ¶
func (in *KonnectCloudGatewayTransitGatewayList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (KonnectCloudGatewayTransitGatewayList) GetItems ¶
func (obj KonnectCloudGatewayTransitGatewayList) GetItems() []KonnectCloudGatewayTransitGateway
GetItems returns the list of KonnectCloudGatewayTransitGateway items.
type KonnectCloudGatewayTransitGatewaySpec ¶
type KonnectCloudGatewayTransitGatewaySpec struct {
// KonnectTransitGatewayAPISpec is the configuration of the transit gateway on Konnect side.
KonnectTransitGatewayAPISpec `json:",inline"`
// NetworkRef is the schema for the NetworkRef type.
//
// +required
NetworkRef commonv1alpha1.ObjectRef `json:"networkRef"`
// Adopt is the options for adopting a cloud gateway transit gateway from an existing transit gateway in Konnect.
// +optional
Adopt *commonv1alpha1.AdoptOptions `json:"adopt,omitempty"`
}
KonnectCloudGatewayTransitGatewaySpec defines the desired state of KonnectCloudGatewayTransitGateway.
+kubebuilder:validation:XValidation:rule="self.networkRef.type == 'namespacedRef'", message = "only namespacedRef is supported currently"
func (*KonnectCloudGatewayTransitGatewaySpec) DeepCopy ¶
func (in *KonnectCloudGatewayTransitGatewaySpec) DeepCopy() *KonnectCloudGatewayTransitGatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectCloudGatewayTransitGatewaySpec.
func (*KonnectCloudGatewayTransitGatewaySpec) DeepCopyInto ¶
func (in *KonnectCloudGatewayTransitGatewaySpec) DeepCopyInto(out *KonnectCloudGatewayTransitGatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectCloudGatewayTransitGatewayStatus ¶
type KonnectCloudGatewayTransitGatewayStatus struct {
// Conditions describe the current conditions of the KonnectCloudGatewayDataPlaneGroupConfiguration.
//
// Known condition types are:
//
// * "Programmed"
//
// +listType=map
// +listMapKey=type
// +kubebuilder:validation:MaxItems=8
// +kubebuilder:default={{type: "Programmed", status: "Unknown", reason:"Pending", message:"Waiting for controller", lastTransitionTime: "1970-01-01T00:00:00Z"}}
// +patchStrategy=merge
// +patchMergeKey=type
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
konnectv1alpha2.KonnectEntityStatusWithNetworkRef `json:",inline"` //nolint:embeddedstructfieldcheck
// State is the state of the transit gateway on Konnect side.
//
// +optional
State sdkkonnectcomp.TransitGatewayState `json:"state,omitempty"`
}
KonnectCloudGatewayTransitGatewayStatus defines the current state of KonnectCloudGatewayTransitGateway.
func (*KonnectCloudGatewayTransitGatewayStatus) DeepCopy ¶
func (in *KonnectCloudGatewayTransitGatewayStatus) DeepCopy() *KonnectCloudGatewayTransitGatewayStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectCloudGatewayTransitGatewayStatus.
func (*KonnectCloudGatewayTransitGatewayStatus) DeepCopyInto ¶
func (in *KonnectCloudGatewayTransitGatewayStatus) DeepCopyInto(out *KonnectCloudGatewayTransitGatewayStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectConfigurationDataPlaneGroup ¶
type KonnectConfigurationDataPlaneGroup struct {
// Name of cloud provider.
//
// +required
Provider sdkkonnectcomp.ProviderName `json:"provider"`
// Region for cloud provider region.
//
// +required
Region string `json:"region"`
// NetworkRef is the reference to the network that this data-plane group will be deployed on.
//
// Cross namespace references are not supported for networkRef of type namespacedRef.
// This will be enforced in the future but currently (due to limitation in CEL validation
// in Kubernetes 1.31 and older) it is not.
//
// +required
NetworkRef commonv1alpha1.ObjectRef `json:"networkRef"`
// Autoscale configuration for the data-plane group.
//
// +required
Autoscale ConfigurationDataPlaneGroupAutoscale `json:"autoscale"`
// Array of environment variables to set for a data-plane group.
//
// +optional
Environment []ConfigurationDataPlaneGroupEnvironmentField `json:"environment,omitempty"`
}
KonnectConfigurationDataPlaneGroup is the schema for the KonnectConfiguration type.
func (*KonnectConfigurationDataPlaneGroup) DeepCopy ¶
func (in *KonnectConfigurationDataPlaneGroup) DeepCopy() *KonnectConfigurationDataPlaneGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectConfigurationDataPlaneGroup.
func (*KonnectConfigurationDataPlaneGroup) DeepCopyInto ¶
func (in *KonnectConfigurationDataPlaneGroup) DeepCopyInto(out *KonnectConfigurationDataPlaneGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectEndpoints ¶
type KonnectEndpoints struct {
// TelemetryEndpoint is the endpoint for telemetry.
//
// +required
// +kubebuilder:validation:MinLength=1
TelemetryEndpoint string `json:"telemetry"`
// ControlPlaneEndpoint is the endpoint for the control plane.
//
// +required
// +kubebuilder:validation:MinLength=1
ControlPlaneEndpoint string `json:"controlPlane"`
}
KonnectEndpoints defines the Konnect endpoints for the control plane.
func (*KonnectEndpoints) DeepCopy ¶
func (in *KonnectEndpoints) DeepCopy() *KonnectEndpoints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEndpoints.
func (*KonnectEndpoints) DeepCopyInto ¶
func (in *KonnectEndpoints) DeepCopyInto(out *KonnectEndpoints)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectEntityRef ¶ added in v2.2.0
type KonnectEntityRef struct {
// ID is the unique identifier of the Konnect entity as assigned by Konnect API.
//
// +optional
// +kubebuilder:validation:MaxLength=256
ID string `json:"id,omitzero"`
}
KonnectEntityRef is a reference to a Konnect entity.
func (*KonnectEntityRef) DeepCopy ¶ added in v2.2.0
func (in *KonnectEntityRef) DeepCopy() *KonnectEntityRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEntityRef.
func (*KonnectEntityRef) DeepCopyInto ¶ added in v2.2.0
func (in *KonnectEntityRef) DeepCopyInto(out *KonnectEntityRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectEntityStatus ¶ added in v2.2.0
type KonnectEntityStatus = konnectv1alpha2.KonnectEntityStatus
KonnectEntityStatus represents the status of a Konnect entity.
type KonnectEventGateway ¶ added in v2.2.0
type KonnectEventGateway struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitzero"`
// +optional
Spec KonnectEventGatewaySpec `json:"spec,omitzero"`
// +optional
Status KonnectEventGatewayStatus `json:"status,omitzero"`
}
KonnectEventGateway is the Schema for the konnecteventgateways API.
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Namespaced,categories=konnect;kong +kubebuilder:printcolumn:name="ID",description="Konnect ID",type="string",JSONPath=".status.id" +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this resource belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:storageversion +apireference:kgo:include +kong:channels=kong-operator
func (*KonnectEventGateway) DeepCopy ¶ added in v2.2.0
func (in *KonnectEventGateway) DeepCopy() *KonnectEventGateway
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventGateway.
func (*KonnectEventGateway) DeepCopyInto ¶ added in v2.2.0
func (in *KonnectEventGateway) DeepCopyInto(out *KonnectEventGateway)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectEventGateway) DeepCopyObject ¶ added in v2.2.0
func (in *KonnectEventGateway) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KonnectEventGateway) GetConditions ¶ added in v2.2.0
func (obj *KonnectEventGateway) GetConditions() []metav1.Condition
GetConditions returns the Status Conditions.
func (*KonnectEventGateway) GetKonnectAPIAuthConfigurationRef ¶ added in v2.2.0
func (obj *KonnectEventGateway) GetKonnectAPIAuthConfigurationRef() konnectv1alpha2.ControlPlaneKonnectAPIAuthConfigurationRef
GetKonnectAPIAuthConfigurationRef returns the Konnect API Auth Configuration Ref.
func (*KonnectEventGateway) GetKonnectID ¶ added in v2.2.0
func (obj *KonnectEventGateway) GetKonnectID() string
GetKonnectID returns the Konnect ID in the KonnectEventGateway status.
func (*KonnectEventGateway) GetKonnectLabels ¶ added in v2.2.0
func (obj *KonnectEventGateway) GetKonnectLabels() map[string]string
GetKonnectLabels gets the Konnect labels from the object's API spec.
func (*KonnectEventGateway) GetKonnectStatus ¶ added in v2.2.0
func (obj *KonnectEventGateway) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the KonnectEventGateway status.
func (KonnectEventGateway) GetTypeName ¶ added in v2.2.0
func (obj KonnectEventGateway) GetTypeName() string
GetTypeName returns the KonnectEventGateway Kind name.
func (KonnectEventGateway) HasParent ¶ added in v2.2.0
func (obj KonnectEventGateway) HasParent() bool
HasParent returns true if the KonnectEventGateway has a parent entity.
func (*KonnectEventGateway) PersistsKonnectID ¶ added in v2.2.0
func (*KonnectEventGateway) PersistsKonnectID() bool
PersistsKonnectID reports whether KonnectEventGateway persists a Konnect ID in status.
func (*KonnectEventGateway) SetConditions ¶ added in v2.2.0
func (obj *KonnectEventGateway) SetConditions(conditions []metav1.Condition)
SetConditions sets the Status Conditions.
func (*KonnectEventGateway) SetKonnectID ¶ added in v2.2.0
func (obj *KonnectEventGateway) SetKonnectID(id string)
SetKonnectID sets the Konnect ID in the KonnectEventGateway status.
func (*KonnectEventGateway) SetKonnectLabels ¶ added in v2.2.0
func (obj *KonnectEventGateway) SetKonnectLabels(labels map[string]string)
SetKonnectLabels sets the Konnect labels in the object's API spec.
type KonnectEventGatewayAPISpec ¶ added in v2.2.0
type KonnectEventGatewayAPISpec struct {
// A human-readable description of the Gateway.
//
// +optional
// +kubebuilder:validation:MaxLength=512
Description GatewayDescription `json:"description,omitzero"`
// Labels store metadata of an entity that can be used for filtering an entity
// list or for searching across entity types.
//
// Keys must be of length 1-63 characters, and cannot start with "kong",
// "konnect", "mesh", "kic", or "_".
//
//
// +optional
// +kubebuilder:validation:MaxProperties=50
Labels Labels `json:"labels,omitzero"`
// The minimum runtime version supported by the API.
// This is the lowest version of the data plane
// release that can be used with the entity model.
// When not specified, the minimum runtime version will be pinned to the latest
// available release.
//
//
// +optional
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Pattern=`^\d+\.\d+$`
MinRuntimeVersion MinRuntimeVersion `json:"minRuntimeVersion,omitzero"`
// The name of the Gateway.
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=255
Name GatewayName `json:"name,omitzero"`
}
KonnectEventGatewayAPISpec defines the API spec fields for KonnectEventGateway.
func (*KonnectEventGatewayAPISpec) DeepCopy ¶ added in v2.2.0
func (in *KonnectEventGatewayAPISpec) DeepCopy() *KonnectEventGatewayAPISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventGatewayAPISpec.
func (*KonnectEventGatewayAPISpec) DeepCopyInto ¶ added in v2.2.0
func (in *KonnectEventGatewayAPISpec) DeepCopyInto(out *KonnectEventGatewayAPISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectEventGatewayAPISpec) ToCreateGatewayRequest ¶ added in v2.2.0
func (s *KonnectEventGatewayAPISpec) ToCreateGatewayRequest() (*sdkkonnectcomp.CreateGatewayRequest, error)
ToCreateGatewayRequest converts the KonnectEventGatewayAPISpec to the SDK type sdkkonnectcomp.CreateGatewayRequest using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
func (*KonnectEventGatewayAPISpec) ToUpdateGatewayRequest ¶ added in v2.2.0
func (s *KonnectEventGatewayAPISpec) ToUpdateGatewayRequest() (*sdkkonnectcomp.UpdateGatewayRequest, error)
ToUpdateGatewayRequest converts the KonnectEventGatewayAPISpec to the SDK type sdkkonnectcomp.UpdateGatewayRequest using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
type KonnectEventGatewayList ¶ added in v2.2.0
type KonnectEventGatewayList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitzero"`
Items []KonnectEventGateway `json:"items"`
}
KonnectEventGatewayList contains a list of KonnectEventGateway.
+kubebuilder:object:root=true
func (*KonnectEventGatewayList) DeepCopy ¶ added in v2.2.0
func (in *KonnectEventGatewayList) DeepCopy() *KonnectEventGatewayList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventGatewayList.
func (*KonnectEventGatewayList) DeepCopyInto ¶ added in v2.2.0
func (in *KonnectEventGatewayList) DeepCopyInto(out *KonnectEventGatewayList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectEventGatewayList) DeepCopyObject ¶ added in v2.2.0
func (in *KonnectEventGatewayList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (KonnectEventGatewayList) GetItems ¶ added in v2.2.0
func (obj KonnectEventGatewayList) GetItems() []KonnectEventGateway
GetItems returns the list of KonnectEventGateway items.
type KonnectEventGatewaySpec ¶ added in v2.2.0
type KonnectEventGatewaySpec struct {
// KonnectConfiguration is the Konnect configuration for this entity.
//
// +required
KonnectConfiguration konnectv1alpha2.KonnectConfiguration `json:"konnect"`
// APISpec defines the desired state of the resource's API spec fields.
//
// +optional
APISpec KonnectEventGatewayAPISpec `json:"apiSpec,omitzero"`
}
KonnectEventGatewaySpec defines the desired state of KonnectEventGateway.
func (*KonnectEventGatewaySpec) DeepCopy ¶ added in v2.2.0
func (in *KonnectEventGatewaySpec) DeepCopy() *KonnectEventGatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventGatewaySpec.
func (*KonnectEventGatewaySpec) DeepCopyInto ¶ added in v2.2.0
func (in *KonnectEventGatewaySpec) DeepCopyInto(out *KonnectEventGatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectEventGatewayStatus ¶ added in v2.2.0
type KonnectEventGatewayStatus struct {
// Conditions represent the current state of the resource.
//
// +optional
// +listType=map
// +listMapKey=type
// +patchStrategy=merge
// +patchMergeKey=type
// +kubebuilder:validation:MaxItems=8
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
// Konnect contains the Konnect entity status.
//
// +optional
konnectv1alpha2.KonnectEntityStatus `json:",inline"`
// ObservedGeneration is the most recent generation observed
//
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitzero"`
}
KonnectEventGatewayStatus defines the observed state of KonnectEventGateway.
func (*KonnectEventGatewayStatus) DeepCopy ¶ added in v2.2.0
func (in *KonnectEventGatewayStatus) DeepCopy() *KonnectEventGatewayStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventGatewayStatus.
func (*KonnectEventGatewayStatus) DeepCopyInto ¶ added in v2.2.0
func (in *KonnectEventGatewayStatus) DeepCopyInto(out *KonnectEventGatewayStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectExtension ¶
type KonnectExtension struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec is the specification of the KonnectExtension resource.
//
// +required
Spec KonnectExtensionSpec `json:"spec,omitempty"`
// Status is the status of the KonnectExtension resource.
//
// +optional
// +kubebuilder:default={conditions: {{type: "Ready", status: "Unknown", reason:"Pending", message:"Waiting for controller", lastTransitionTime: "1970-01-01T00:00:00Z"}}}
Status KonnectExtensionStatus `json:"status,omitempty"`
}
KonnectExtension is the Schema for the KonnectExtension API, and is intended to be referenced as extension by the DataPlane, ControlPlane or GatewayConfiguration APIs. If one of the above mentioned resources successfully refers a KonnectExtension, the underlying deployment(s) spec gets customized to include the konnect-related configuration.
+genclient +kubebuilder:deprecatedversion:warning="This API has been deprecated in favor of v1alpha2 konnectextensions.konnect.konghq.com and it will be removed in future version." +kubebuilder:unservedversion +kubebuilder:resource:scope=Namespaced +kubebuilder:resource:categories=kong;konnect +kubebuilder:object:root=true +kubebuilder:object:generate=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",description="The Resource is Ready to be used",type=string,JSONPath=`.status.conditions[?(@.type=='Ready')].status` +kubebuilder:validation:XValidation:rule="oldSelf.spec.konnect.controlPlane.ref == self.spec.konnect.controlPlane.ref", message="spec.konnect.controlPlane.ref is immutable." +kubebuilder:validation:XValidation:rule="self.spec.konnect.controlPlane.ref.type == 'konnectID' ? has(self.spec.konnect.configuration) : true",message="konnect must be set when ControlPlaneRef is set to KonnectID." +kubebuilder:validation:XValidation:rule="self.spec.konnect.controlPlane.ref.type == 'konnectNamespacedRef' ? !has(self.spec.konnect.configuration) : true",message="konnect must be unset when ControlPlaneRef is set to konnectNamespacedRef." +kong:channels=kong-operator
func (*KonnectExtension) DeepCopy ¶
func (in *KonnectExtension) DeepCopy() *KonnectExtension
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectExtension.
func (*KonnectExtension) DeepCopyInto ¶
func (in *KonnectExtension) DeepCopyInto(out *KonnectExtension)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectExtension) DeepCopyObject ¶
func (in *KonnectExtension) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KonnectExtensionClientAuth ¶
type KonnectExtensionClientAuth struct {
// CertificateSecret contains the information to access the client certificate.
//
// +required
CertificateSecret CertificateSecret `json:"certificateSecret"`
}
KonnectExtensionClientAuth contains the configuration for the client authentication for the DataPlane. At the moment authentication is only supported through client certificate, but it might be extended in the future, with e.g., token-based authentication.
+kubebuilder:validation:XValidation:rule="self.certificateSecret.provisioning == 'Manual' ? has(self.certificateSecret.secretRef) : true",message="secretRef must be set when provisioning is set to Manual." +kubebuilder:validation:XValidation:rule="self.certificateSecret.provisioning == 'Automatic' ? !has(self.certificateSecret.secretRef) : true",message="secretRef must not be set when provisioning is set to Automatic."
func (*KonnectExtensionClientAuth) DeepCopy ¶
func (in *KonnectExtensionClientAuth) DeepCopy() *KonnectExtensionClientAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectExtensionClientAuth.
func (*KonnectExtensionClientAuth) DeepCopyInto ¶
func (in *KonnectExtensionClientAuth) DeepCopyInto(out *KonnectExtensionClientAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectExtensionClusterType ¶
type KonnectExtensionClusterType string
KonnectExtensionClusterType is the type of the Konnect Control Plane.
const ( // ClusterTypeControlPlane is the type of the Konnect Control Plane. ClusterTypeControlPlane KonnectExtensionClusterType = "ControlPlane" // ClusterTypeK8sIngressController is the type of the Kubernetes Control Plane. ClusterTypeK8sIngressController KonnectExtensionClusterType = "K8SIngressController" )
type KonnectExtensionControlPlane ¶
type KonnectExtensionControlPlane struct {
// Ref is a reference to a Konnect ControlPlane this KonnectExtension is associated with.
//
// +required
// +kubebuilder:validation:XValidation:rule="self.type != 'kic'", message="kic type not supported as controlPlaneRef."
Ref commonv1alpha1.ControlPlaneRef `json:"ref"`
}
KonnectExtensionControlPlane is the configuration for the Konnect Control Plane.
func (*KonnectExtensionControlPlane) DeepCopy ¶
func (in *KonnectExtensionControlPlane) DeepCopy() *KonnectExtensionControlPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectExtensionControlPlane.
func (*KonnectExtensionControlPlane) DeepCopyInto ¶
func (in *KonnectExtensionControlPlane) DeepCopyInto(out *KonnectExtensionControlPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectExtensionControlPlaneStatus ¶
type KonnectExtensionControlPlaneStatus struct {
// ControlPlaneID is the Konnect ID of the ControlPlane this KonnectExtension is associated with.
//
// +required
ControlPlaneID string `json:"controlPlaneID"`
// ClusterType is the type of the Konnect Control Plane.
//
// +required
// +kubebuilder:validation:Enum=ControlPlane;K8SIngressController
ClusterType KonnectExtensionClusterType `json:"clusterType"`
// Endpoints defines the Konnect endpoints for the control plane.
//
// +required
Endpoints KonnectEndpoints `json:"endpoints"`
}
KonnectExtensionControlPlaneStatus contains the Konnect Control Plane status information.
func (*KonnectExtensionControlPlaneStatus) DeepCopy ¶
func (in *KonnectExtensionControlPlaneStatus) DeepCopy() *KonnectExtensionControlPlaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectExtensionControlPlaneStatus.
func (*KonnectExtensionControlPlaneStatus) DeepCopyInto ¶
func (in *KonnectExtensionControlPlaneStatus) DeepCopyInto(out *KonnectExtensionControlPlaneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectExtensionDataPlane ¶
type KonnectExtensionDataPlane struct {
// Labels is a set of labels that will be applied to the Konnect DataPlane.
//
// +optional
// +kubebuilder:validation:MaxItems=5
// +kubebuilder:validation:XValidation:rule="self.all(key, key.matches('^[a-zA-Z0-9]([a-zA-Z0-9._-]*[a-zA-Z0-9])?$'))",message="keys must match the pattern '^[a-zA-Z0-9]([a-zA-Z0-9._-]*[a-zA-Z0-9])?$'."
// +kubebuilder:validation:XValidation:rule="self.all(key, !(key.startsWith('kong') || key.startsWith('konnect') || key.startsWith('insomnia') || key.startsWith('mesh') || key.startsWith('kic') || key.startsWith('_')))",message="keys must not start with 'kong', 'konnect', 'insomnia', 'mesh', 'kic', or '_'."
// +kubebuilder:validation:XValidation:rule="self.all(key, size(key) > 0 && size(key) < 64)",message="Too long: may not be more than 63 bytes"
Labels map[string]DataPlaneLabelValue `json:"labels,omitempty"`
}
KonnectExtensionDataPlane is the configuration for the Konnect DataPlane.
func (*KonnectExtensionDataPlane) DeepCopy ¶
func (in *KonnectExtensionDataPlane) DeepCopy() *KonnectExtensionDataPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectExtensionDataPlane.
func (*KonnectExtensionDataPlane) DeepCopyInto ¶
func (in *KonnectExtensionDataPlane) DeepCopyInto(out *KonnectExtensionDataPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectExtensionKonnectSpec ¶
type KonnectExtensionKonnectSpec struct {
// ControlPlane is the configuration for the Konnect Control Plane.
//
// +required
ControlPlane KonnectExtensionControlPlane `json:"controlPlane"`
// DataPlane is the configuration for the Konnect DataPlane.
//
// +optional
DataPlane *KonnectExtensionDataPlane `json:"dataPlane,omitempty"`
// Configuration holds the information needed to set up the Konnect Configuration.
//
// +optional
Configuration *konnectv1alpha2.KonnectConfiguration `json:"configuration,omitempty"`
}
KonnectExtensionKonnectSpec holds the konnect-related configuration.
func (*KonnectExtensionKonnectSpec) DeepCopy ¶
func (in *KonnectExtensionKonnectSpec) DeepCopy() *KonnectExtensionKonnectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectExtensionKonnectSpec.
func (*KonnectExtensionKonnectSpec) DeepCopyInto ¶
func (in *KonnectExtensionKonnectSpec) DeepCopyInto(out *KonnectExtensionKonnectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectExtensionList ¶
type KonnectExtensionList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []KonnectExtension `json:"items"`
}
KonnectExtensionList contains a list of KonnectExtension.
+kubebuilder:object:root=true
func (*KonnectExtensionList) DeepCopy ¶
func (in *KonnectExtensionList) DeepCopy() *KonnectExtensionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectExtensionList.
func (*KonnectExtensionList) DeepCopyInto ¶
func (in *KonnectExtensionList) DeepCopyInto(out *KonnectExtensionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectExtensionList) DeepCopyObject ¶
func (in *KonnectExtensionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KonnectExtensionSpec ¶
type KonnectExtensionSpec struct {
// Konnect holds the konnect-related configuration
//
// +required
Konnect KonnectExtensionKonnectSpec `json:"konnect"`
// ClientAuth is the configuration for the client certificate authentication.
// In case the ControlPlaneRef is of type KonnectID, it is required to set up the connection with the
// Konnect Platform.
//
// +optional
// +kubebuilder:default={certificateSecret:{provisioning: Automatic}}
ClientAuth *KonnectExtensionClientAuth `json:"clientAuth,omitempty"`
}
KonnectExtensionSpec defines the desired state of KonnectExtension.
func (*KonnectExtensionSpec) DeepCopy ¶
func (in *KonnectExtensionSpec) DeepCopy() *KonnectExtensionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectExtensionSpec.
func (*KonnectExtensionSpec) DeepCopyInto ¶
func (in *KonnectExtensionSpec) DeepCopyInto(out *KonnectExtensionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectExtensionStatus ¶
type KonnectExtensionStatus struct {
// Conditions describe the current conditions of the KonnectExtensionStatus.
//
// +optional
// +listType=map
// +listMapKey=type
// +kubebuilder:validation:MaxItems=8
// +patchStrategy=merge
// +patchMergeKey=type
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
// DataPlaneRefs is the array of DataPlane references this is associated with.
// A new reference is set by the operator when this extension is associated with
// a DataPlane through its extensions spec.
//
// +optional
// +kubebuilder:validation:MaxItems=16
DataPlaneRefs []commonv1alpha1.NamespacedRef `json:"dataPlaneRefs,omitempty"`
// ControlPlaneRefs is the array of ControlPlane references this is associated with.
// A new reference is set by the operator when this extension is associated with
// a ControlPlane through its extensions spec.
//
// +optional
// +kubebuilder:validation:MaxItems=16
ControlPlaneRefs []commonv1alpha1.NamespacedRef `json:"controlPlaneRefs,omitempty"`
// DataPlaneClientAuth contains the configuration for the client certificate authentication for the DataPlane.
//
// +optional
DataPlaneClientAuth *DataPlaneClientAuthStatus `json:"dataPlaneClientAuth,omitempty"`
// Konnect contains the status information related to the Konnect Control Plane.
//
// +optional
Konnect *KonnectExtensionControlPlaneStatus `json:"konnect,omitempty"`
}
KonnectExtensionStatus defines the observed state of KonnectExtension.
func (*KonnectExtensionStatus) DeepCopy ¶
func (in *KonnectExtensionStatus) DeepCopy() *KonnectExtensionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectExtensionStatus.
func (*KonnectExtensionStatus) DeepCopyInto ¶
func (in *KonnectExtensionStatus) DeepCopyInto(out *KonnectExtensionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectGatewayControlPlane ¶
type KonnectGatewayControlPlane struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec defines the desired state of KonnectGatewayControlPlane.
//
// +optional
Spec KonnectGatewayControlPlaneSpec `json:"spec,omitempty"`
// Status defines the observed state of KonnectGatewayControlPlane.
//
// +optional
Status KonnectGatewayControlPlaneStatus `json:"status,omitempty"`
}
KonnectGatewayControlPlane is the Schema for the KonnectGatewayControlplanes API.
+genclient +kubebuilder:deprecatedversion:warning="This API version has been deprecated in favor of v1alpha2 and it will be removed in the future." +kubebuilder:resource:scope=Namespaced +kubebuilder:resource:categories=kong;konnect +kubebuilder:object:root=true +kubebuilder:object:generate=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="ID",description="Konnect ID",type=string,JSONPath=`.status.id` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this resource belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:validation:XValidation:message="spec.konnect.authRef is immutable when an entity is already Programmed", rule="(!has(self.status) || !has(self.status.conditions) || !self.status.conditions.exists(c, c.type == 'Programmed' && c.status == 'True')) ? true : self.spec.konnect.authRef == oldSelf.spec.konnect.authRef" +kubebuilder:validation:XValidation:message="spec.konnect.authRef is immutable when an entity refers to a Valid API Auth Configuration", rule="(!has(self.status) || !has(self.status.conditions) || !self.status.conditions.exists(c, c.type == 'APIAuthValid' && c.status == 'True')) ? true : self.spec.konnect.authRef == oldSelf.spec.konnect.authRef" +kong:channels=kong-operator
func (*KonnectGatewayControlPlane) ConvertFrom ¶
func (kgcp *KonnectGatewayControlPlane) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts the Hub version (v1alpha2) to this KonnectGatewayControlPlane (v1alpha1).
func (*KonnectGatewayControlPlane) ConvertTo ¶
func (kgcp *KonnectGatewayControlPlane) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this KonnectGatewayControlPlane (v1alpha1) to the Hub version (v1alpha2).
func (*KonnectGatewayControlPlane) DeepCopy ¶
func (in *KonnectGatewayControlPlane) DeepCopy() *KonnectGatewayControlPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectGatewayControlPlane.
func (*KonnectGatewayControlPlane) DeepCopyInto ¶
func (in *KonnectGatewayControlPlane) DeepCopyInto(out *KonnectGatewayControlPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectGatewayControlPlane) DeepCopyObject ¶
func (in *KonnectGatewayControlPlane) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KonnectGatewayControlPlane) GetConditions ¶
func (obj *KonnectGatewayControlPlane) GetConditions() []metav1.Condition
GetConditions returns the Status Conditions.
func (*KonnectGatewayControlPlane) GetKonnectAPIAuthConfigurationRef ¶
func (kgcp *KonnectGatewayControlPlane) GetKonnectAPIAuthConfigurationRef() konnectv1alpha2.KonnectAPIAuthConfigurationRef
GetKonnectAPIAuthConfigurationRef returns the Konnect API Auth Configuration Ref.
func (*KonnectGatewayControlPlane) GetKonnectID ¶
func (obj *KonnectGatewayControlPlane) GetKonnectID() string
GetKonnectID returns the Konnect ID in the KonnectGatewayControlPlane status.
func (*KonnectGatewayControlPlane) GetKonnectLabels ¶
func (kgcp *KonnectGatewayControlPlane) GetKonnectLabels() map[string]string
GetKonnectLabels gets the Konnect Labels from object's spec.
func (*KonnectGatewayControlPlane) GetKonnectStatus ¶
func (obj *KonnectGatewayControlPlane) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the KonnectGatewayControlPlane status.
func (KonnectGatewayControlPlane) GetTypeName ¶
func (obj KonnectGatewayControlPlane) GetTypeName() string
GetTypeName returns the KonnectGatewayControlPlane Kind name.
func (*KonnectGatewayControlPlane) PersistsKonnectID ¶ added in v2.2.0
func (*KonnectGatewayControlPlane) PersistsKonnectID() bool
PersistsKonnectID reports whether the KonnectGatewayControlPlane persists a Konnect ID in status.
func (*KonnectGatewayControlPlane) SetConditions ¶
func (obj *KonnectGatewayControlPlane) SetConditions(conditions []metav1.Condition)
SetConditions sets the Status Conditions.
func (*KonnectGatewayControlPlane) SetKonnectID ¶
func (obj *KonnectGatewayControlPlane) SetKonnectID(id string)
SetKonnectID sets the Konnect ID in the KonnectGatewayControlPlane status.
func (*KonnectGatewayControlPlane) SetKonnectLabels ¶
func (kgcp *KonnectGatewayControlPlane) SetKonnectLabels(labels map[string]string)
SetKonnectLabels sets the Konnect Labels in object's spec.
type KonnectGatewayControlPlaneList ¶
type KonnectGatewayControlPlaneList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []KonnectGatewayControlPlane `json:"items"`
}
KonnectGatewayControlPlaneList contains a list of KonnectGatewayControlPlane. +kubebuilder:object:root=true
func (*KonnectGatewayControlPlaneList) DeepCopy ¶
func (in *KonnectGatewayControlPlaneList) DeepCopy() *KonnectGatewayControlPlaneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectGatewayControlPlaneList.
func (*KonnectGatewayControlPlaneList) DeepCopyInto ¶
func (in *KonnectGatewayControlPlaneList) DeepCopyInto(out *KonnectGatewayControlPlaneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KonnectGatewayControlPlaneList) DeepCopyObject ¶
func (in *KonnectGatewayControlPlaneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (KonnectGatewayControlPlaneList) GetItems ¶
func (obj KonnectGatewayControlPlaneList) GetItems() []KonnectGatewayControlPlane
GetItems returns the list of KonnectGatewayControlPlane items.
type KonnectGatewayControlPlaneSpec ¶
type KonnectGatewayControlPlaneSpec struct {
CreateControlPlaneRequest `json:",inline"`
// Mirror is the Konnect Mirror configuration.
// It is only applicable for ControlPlanes that are created as Mirrors.
//
// +optional
Mirror *MirrorSpec `json:"mirror,omitempty"`
// Source represents the source type of the Konnect entity.
//
// +kubebuilder:validation:Enum=Origin;Mirror
// +optional
// +kubebuilder:default=Origin
Source *commonv1alpha1.EntitySource `json:"source,omitempty"`
// Members is a list of references to the KonnectGatewayControlPlaneMembers that are part of this control plane group.
// Only applicable for ControlPlanes that are created as groups.
//
// +optional
Members []corev1.LocalObjectReference `json:"members,omitempty"`
// KonnectConfiguration contains the Konnect configuration for the control plane.
//
// +optional
KonnectConfiguration konnectv1alpha2.KonnectConfiguration `json:"konnect,omitempty"`
}
KonnectGatewayControlPlaneSpec defines the desired state of KonnectGatewayControlPlane. +kubebuilder:validation:XValidation:message="spec.labels must not have more than 40 entries", rule="has(self.labels) ? size(self.labels) <= 40 : true" +kubebuilder:validation:XValidation:message="spec.labels keys must be of length 1-63 characters", rule="has(self.labels) ? self.labels.all(key, size(key) >= 1 && size(key) <= 63) : true" +kubebuilder:validation:XValidation:message="spec.labels values must be of length 1-63 characters", rule="has(self.labels) ? self.labels.all(key, size(self.labels[key]) >= 1 && size(self.labels[key]) <= 63) : true" +kubebuilder:validation:XValidation:message="spec.labels keys must not start with 'k8s', 'kong', 'konnect', 'mesh', 'kic', 'insomnia' or '_'", rule="has(self.labels) ? self.labels.all(key, !key.startsWith('k8s') && !key.startsWith('kong') && !key.startsWith('konnect') && !key.startsWith('mesh') && !key.startsWith('kic') && !key.startsWith('_') && !key.startsWith('insomnia')) : true" +kubebuilder:validation:XValidation:message="spec.labels keys must satisfy the '^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$' pattern", rule="has(self.labels) ? self.labels.all(key, key.matches('^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$')) : true" +kubebuilder:validation:XValidation:message="when specified, spec.cluster_type must be one of 'CLUSTER_TYPE_CONTROL_PLANE_GROUP', 'CLUSTER_TYPE_CONTROL_PLANE' or 'CLUSTER_TYPE_K8S_INGRESS_CONTROLLER'", rule="!has(self.cluster_type) ? true : ['CLUSTER_TYPE_CONTROL_PLANE_GROUP', 'CLUSTER_TYPE_CONTROL_PLANE', 'CLUSTER_TYPE_K8S_INGRESS_CONTROLLER'].exists(ct, ct == self.cluster_type)" +kubebuilder:validation:XValidation:message="spec.members is only applicable for ControlPlanes that are created as groups", rule="(has(self.cluster_type) && self.cluster_type != 'CLUSTER_TYPE_CONTROL_PLANE_GROUP') ? !has(self.members) : true" +kubebuilder:validation:XValidation:message="spec.cluster_type is immutable", rule="!has(self.cluster_type) ? !has(oldSelf.cluster_type) : self.cluster_type == oldSelf.cluster_type" +kubebuilder:validation:XValidation:message="cloud_gateway cannot be set for cluster_type 'CLUSTER_TYPE_K8S_INGRESS_CONTROLLER'", rule="has(self.cluster_type) && self.cluster_type == 'CLUSTER_TYPE_K8S_INGRESS_CONTROLLER' ? !has(self.cloud_gateway) : true" +kubebuilder:validation:XValidation:message="createControlPlaneRequest fields cannot be set for type Mirror", rule="self.source == 'Mirror' ? !has(self.name) && !has(self.description) && !has(self.cluster_type) && !has(self.auth_type) && !has(self.cloud_gateway) && !has(self.proxy_urls) && !has(self.labels) : true" +kubebuilder:validation:XValidation:message="spec.source is immutable", rule="self.source == oldSelf.source" +kubebuilder:validation:XValidation:message="mirror field must be set for type Mirror", rule="self.source == 'Mirror' ? has(self.mirror) : true" +kubebuilder:validation:XValidation:message="mirror field cannot be set for type Origin", rule="self.source == 'Origin' ? !has(self.mirror) : true" +kubebuilder:validation:XValidation:message="Name must be set for type Origin", rule="self.source == 'Origin' ? has(self.name) : true"
func (*KonnectGatewayControlPlaneSpec) DeepCopy ¶
func (in *KonnectGatewayControlPlaneSpec) DeepCopy() *KonnectGatewayControlPlaneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectGatewayControlPlaneSpec.
func (*KonnectGatewayControlPlaneSpec) DeepCopyInto ¶
func (in *KonnectGatewayControlPlaneSpec) DeepCopyInto(out *KonnectGatewayControlPlaneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectGatewayControlPlaneStatus ¶
type KonnectGatewayControlPlaneStatus struct {
// Conditions describe the current conditions of the KonnectGatewayControlPlane.
//
// Known condition types are:
//
// * "Programmed"
//
// +listType=map
// +listMapKey=type
// +kubebuilder:validation:MaxItems=8
// +kubebuilder:default={{type: "Programmed", status: "Unknown", reason:"Pending", message:"Waiting for controller", lastTransitionTime: "1970-01-01T00:00:00Z"}}
// +optional
// +patchStrategy=merge
// +patchMergeKey=type
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
konnectv1alpha2.KonnectEntityStatus `json:",inline"` //nolint:embeddedstructfieldcheck
// Endpoints defines the Konnect endpoints for the control plane.
// They are required by the DataPlane to be properly configured in
// Konnect and connect to the control plane.
//
// +optional
Endpoints *KonnectEndpoints `json:"konnectEndpoints,omitempty"`
}
KonnectGatewayControlPlaneStatus defines the observed state of KonnectGatewayControlPlane.
func (*KonnectGatewayControlPlaneStatus) DeepCopy ¶
func (in *KonnectGatewayControlPlaneStatus) DeepCopy() *KonnectGatewayControlPlaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectGatewayControlPlaneStatus.
func (*KonnectGatewayControlPlaneStatus) DeepCopyInto ¶
func (in *KonnectGatewayControlPlaneStatus) DeepCopyInto(out *KonnectGatewayControlPlaneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KonnectTransitGatewayAPISpec ¶
type KonnectTransitGatewayAPISpec struct {
// Type is the type of the Konnect transit gateway.
//
// +required
// +kubebuilder:validation:Enum=AWSTransitGateway;AzureTransitGateway
Type TransitGatewayType `json:"type"`
// AWSTransitGateway is the configuration of an AWS transit gateway.
// Used when type is "AWS Transit Gateway".
//
// +optional
AWSTransitGateway *AWSTransitGateway `json:"awsTransitGateway,omitempty"`
// AzureTransitGateway is the configuration of an Azure transit gateway.
// Used when type is "Azure Transit Gateway".
//
// +optional
AzureTransitGateway *AzureTransitGateway `json:"azureTransitGateway,omitempty"`
}
KonnectTransitGatewayAPISpec specifies a transit gateway on the Konnect side. The type and all the types it referenced are mostly copied github.com/Kong/sdk-konnect-go/models/components.CreateTransitGatewayRequest.
+kubebuilder:validation:XValidation:rule="self.type == oldSelf.type", message="spec.type is immutable" +kubebuilder:validation:XValidation:rule="self.type == 'AWSTransitGateway' ? has(self.awsTransitGateway) : true", message="must set spec.awsTransitGateway when spec.type is 'AWSTransitGateway'" +kubebuilder:validation:XValidation:rule="self.type != 'AWSTransitGateway' ? !has(self.awsTransitGateway) : true", message="must not set spec.awsTransitGateway when spec.type is not 'AWSTransitGateway'" +kubebuilder:validation:XValidation:rule="self.type == 'AzureTransitGateway' ? has(self.azureTransitGateway) : true", message = "must set spec.azureTransitGateway when spec.type is 'AzureTransitGateway'" +kubebuilder:validation:XValidation:rule="self.type != 'AzureTransitGateway' ? !has(self.azureTransitGateway) : true", message = "must not set spec.azureTransitGateway when spec.type is not 'AzureTransitGateway'"
func (*KonnectTransitGatewayAPISpec) DeepCopy ¶
func (in *KonnectTransitGatewayAPISpec) DeepCopy() *KonnectTransitGatewayAPISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectTransitGatewayAPISpec.
func (*KonnectTransitGatewayAPISpec) DeepCopyInto ¶
func (in *KonnectTransitGatewayAPISpec) DeepCopyInto(out *KonnectTransitGatewayAPISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Labels ¶ added in v2.2.0
type Labels map[string]LabelsValue
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
func (Labels) DeepCopy ¶ added in v2.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Labels.
func (Labels) DeepCopyInto ¶ added in v2.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabelsUpdate ¶ added in v2.2.0
type LabelsUpdate map[string]LabelsUpdateValue
LabelsUpdate Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Labels are intended to store **INTERNAL** metadata.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
func (LabelsUpdate) DeepCopy ¶ added in v2.2.0
func (in LabelsUpdate) DeepCopy() LabelsUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsUpdate.
func (LabelsUpdate) DeepCopyInto ¶ added in v2.2.0
func (in LabelsUpdate) DeepCopyInto(out *LabelsUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabelsUpdateValue ¶ added in v2.2.0
type LabelsUpdateValue string
LabelsUpdateValue is the value type for LabelsUpdate.
+kubebuilder:validation:MinLength=1 +kubebuilder:validation:MaxLength=63 +kubebuilder:validation:Pattern=`^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$`
type LabelsValue ¶ added in v2.2.0
type LabelsValue string
LabelsValue is the value type for Labels.
+kubebuilder:validation:MinLength=1 +kubebuilder:validation:MaxLength=63 +kubebuilder:validation:Pattern=`^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$`
type MCPServer ¶ added in v2.2.0
type MCPServer struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +optional
Spec MCPServerSpec `json:"spec,omitempty"`
// +optional
Status MCPServerStatus `json:"status,omitempty"`
}
MCPServer is the Schema for the MCPServer API.
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:resource:scope=Namespaced +kubebuilder:resource:categories=kong;konnect +kubebuilder:object:root=true +kubebuilder:object:generate=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="ID",description="Konnect ID",type=string,JSONPath=`.status.id` +kubebuilder:printcolumn:name="Konnect Name",description="Konnect Name",type=string,JSONPath=`.status.konnectSpec.name` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`,description="Age" +kubebuilder:validation:XValidation:rule="oldSelf.spec.controlPlaneRef == self.spec.controlPlaneRef", message="spec.controlPlaneRef is immutable." +kong:channels=kong-operator
func (*MCPServer) DeepCopy ¶ added in v2.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServer.
func (*MCPServer) DeepCopyInto ¶ added in v2.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MCPServer) DeepCopyObject ¶ added in v2.2.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MCPServer) GetConditions ¶ added in v2.2.0
GetConditions returns the Status Conditions.
func (*MCPServer) GetControlPlaneID ¶ added in v2.2.0
GetControlPlaneID returns the ControlPlane ID in the MCPServer status.
func (*MCPServer) GetControlPlaneRef ¶ added in v2.2.0
func (obj *MCPServer) GetControlPlaneRef() *commonv1alpha1.ControlPlaneRef
GetControlPlaneRef returns the ControlPlaneRef.
func (*MCPServer) GetKonnectID ¶ added in v2.2.0
GetKonnectID returns the Konnect ID in the MCPServer status.
func (*MCPServer) GetKonnectStatus ¶ added in v2.2.0
func (obj *MCPServer) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the MCPServer status.
func (MCPServer) GetTypeName ¶ added in v2.2.0
GetTypeName returns the MCPServer Kind name.
func (*MCPServer) PersistsKonnectID ¶ added in v2.2.0
PersistsKonnectID reports whether the MCPServer persists a Konnect ID in status.
func (*MCPServer) SetConditions ¶ added in v2.2.0
SetConditions sets the Status Conditions.
func (*MCPServer) SetControlPlaneID ¶ added in v2.2.0
SetControlPlaneID sets the ControlPlane ID in the MCPServer status.
func (*MCPServer) SetControlPlaneRef ¶ added in v2.2.0
func (obj *MCPServer) SetControlPlaneRef(ref *commonv1alpha1.ControlPlaneRef)
SetControlPlaneRef sets the ControlPlaneRef.
func (*MCPServer) SetKonnectID ¶ added in v2.2.0
SetKonnectID sets the Konnect ID in the MCPServer status.
type MCPServerKonnectSpec ¶ added in v2.2.0
type MCPServerKonnectSpec struct {
// Name is the name of the MCPServer on Konnect.
//
// +optional
Name *string `json:"name,omitempty"`
// Version is the version of the MCPServer on Konnect.
//
// +optional
Version *string `json:"version,omitempty"`
}
MCPServerKonnectSpec defines the observed state of the MCPServer on Konnect.
func (*MCPServerKonnectSpec) DeepCopy ¶ added in v2.2.0
func (in *MCPServerKonnectSpec) DeepCopy() *MCPServerKonnectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerKonnectSpec.
func (*MCPServerKonnectSpec) DeepCopyInto ¶ added in v2.2.0
func (in *MCPServerKonnectSpec) DeepCopyInto(out *MCPServerKonnectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MCPServerList ¶ added in v2.2.0
type MCPServerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MCPServer `json:"items"`
}
MCPServerList contains a list of MCPServer resources.
+kubebuilder:object:root=true
func (*MCPServerList) DeepCopy ¶ added in v2.2.0
func (in *MCPServerList) DeepCopy() *MCPServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerList.
func (*MCPServerList) DeepCopyInto ¶ added in v2.2.0
func (in *MCPServerList) DeepCopyInto(out *MCPServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MCPServerList) DeepCopyObject ¶ added in v2.2.0
func (in *MCPServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (MCPServerList) GetItems ¶ added in v2.2.0
func (obj MCPServerList) GetItems() []MCPServer
GetItems returns the list of MCPServer items.
type MCPServerSpec ¶ added in v2.2.0
type MCPServerSpec struct {
// Mirror is the Konnect Mirror configuration.
// It is only applicable for ControlPlanes that are created as Mirrors.
//
// +required
Mirror MirrorSpec `json:"mirror"`
// Source represents the source type of the Konnect entity.
//
// +kubebuilder:validation:Enum=Mirror
// +optional
// +kubebuilder:default=Mirror
Source *commonv1alpha1.EntitySource `json:"source,omitempty"`
// ControlPlaneRef is a reference to a Konnect ControlPlane this MCP server belongs to.
// The auth token is inferred from the referenced control plane's KonnectAPIAuthConfiguration.
//
// +kubebuilder:validation:XValidation:message="'konnectID' type is not supported", rule="self.type != 'konnectID'"
// +required
ControlPlaneRef commonv1alpha1.ControlPlaneRef `json:"controlPlaneRef"`
}
MCPServerSpec is the specification of the MCPServer resource.
func (*MCPServerSpec) DeepCopy ¶ added in v2.2.0
func (in *MCPServerSpec) DeepCopy() *MCPServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerSpec.
func (*MCPServerSpec) DeepCopyInto ¶ added in v2.2.0
func (in *MCPServerSpec) DeepCopyInto(out *MCPServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MCPServerStatus ¶ added in v2.2.0
type MCPServerStatus struct {
// Conditions describe the current conditions of the MCPServer.
//
// Known condition types are:
//
// * "Programmed"
// * "Mirrored"
//
// +listType=map
// +listMapKey=type
// +kubebuilder:validation:MaxItems=8
// +kubebuilder:default={{type: "Programmed", status: "Unknown", reason:"Pending", message:"Waiting for controller", lastTransitionTime: "1970-01-01T00:00:00Z"}}
// +optional
// +patchStrategy=merge
// +patchMergeKey=type
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
konnectv1alpha2.KonnectEntityStatusWithControlPlaneRef `json:",inline"` //nolint:embeddedstructfieldcheck
// KonnectSpec holds MCPServer-specific status fields related to its state on Konnect, such as the remote name and version.
//
// +optional
KonnectSpec *MCPServerKonnectSpec `json:"konnectSpec,omitempty"`
}
MCPServerStatus defines the observed state of MCPServer.
func (*MCPServerStatus) DeepCopy ¶ added in v2.2.0
func (in *MCPServerStatus) DeepCopy() *MCPServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MCPServerStatus.
func (*MCPServerStatus) DeepCopyInto ¶ added in v2.2.0
func (in *MCPServerStatus) DeepCopyInto(out *MCPServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Menu ¶ added in v2.2.0
type Menu struct {
//
// +optional
FooterBottom []PortalMenuItem `json:"footerBottom,omitempty"`
//
// +optional
FooterSections []PortalFooterMenuSection `json:"footerSections,omitempty"`
//
//
// +optional
Main []PortalMenuItem `json:"main,omitempty"`
}
Menu is a type alias.
func (*Menu) DeepCopy ¶ added in v2.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Menu.
func (*Menu) DeepCopyInto ¶ added in v2.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MinRuntimeVersion ¶ added in v2.2.0
type MinRuntimeVersion string
MinRuntimeVersion The minimum runtime version supported by the API. This is the lowest version of the data plane release that can be used with the entity model. When not specified, the minimum runtime version will be pinned to the latest available release.
type MirrorKonnect ¶
type MirrorKonnect struct {
// ID is the ID of the Konnect entity. It can be set only in case
// the ControlPlane type is Mirror.
//
// +required
ID commonv1alpha1.KonnectIDType `json:"id"`
}
MirrorKonnect contains the Konnect Mirror configuration.
func (*MirrorKonnect) DeepCopy ¶
func (in *MirrorKonnect) DeepCopy() *MirrorKonnect
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MirrorKonnect.
func (*MirrorKonnect) DeepCopyInto ¶
func (in *MirrorKonnect) DeepCopyInto(out *MirrorKonnect)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MirrorSpec ¶
type MirrorSpec struct {
// Konnect contains the KonnectID of the KonnectGatewayControlPlane that
// is mirrored.
//
// +required
Konnect MirrorKonnect `json:"konnect"`
}
MirrorSpec contains the Konnect Mirror configuration.
func (*MirrorSpec) DeepCopy ¶
func (in *MirrorSpec) DeepCopy() *MirrorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MirrorSpec.
func (*MirrorSpec) DeepCopyInto ¶
func (in *MirrorSpec) DeepCopyInto(out *MirrorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OIDCIdentityProviderClaimMappings ¶ added in v2.2.0
type OIDCIdentityProviderClaimMappings struct {
// The claim mapping for the user's email address.
//
// +optional
// +kubebuilder:validation:MaxLength=253
Email string `json:"email,omitzero"`
// The claim mapping for the user's group membership information.
//
// +optional
// +kubebuilder:validation:MaxLength=253
Groups string `json:"groups,omitzero"`
// The claim mapping for the user's name.
//
// +optional
// +kubebuilder:validation:MaxLength=253
Name string `json:"name,omitzero"`
}
OIDCIdentityProviderClaimMappings Defines the mappings between OpenID Connect (OIDC) claims and local claims used by your application for authentication.
func (*OIDCIdentityProviderClaimMappings) DeepCopy ¶ added in v2.2.0
func (in *OIDCIdentityProviderClaimMappings) DeepCopy() *OIDCIdentityProviderClaimMappings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCIdentityProviderClaimMappings.
func (*OIDCIdentityProviderClaimMappings) DeepCopyInto ¶ added in v2.2.0
func (in *OIDCIdentityProviderClaimMappings) DeepCopyInto(out *OIDCIdentityProviderClaimMappings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OIDCIdentityProviderClientID ¶ added in v2.2.0
type OIDCIdentityProviderClientID string
OIDCIdentityProviderClientID The client ID assigned to your application by the identity provider.
type OIDCIdentityProviderClientSecret ¶ added in v2.2.0
type OIDCIdentityProviderClientSecret string
OIDCIdentityProviderClientSecret The Client Secret assigned to your application by the identity provider.
type OIDCIdentityProviderConfig ¶ added in v2.2.0
type OIDCIdentityProviderConfig struct {
// Defines the mappings between OpenID Connect (OIDC) claims and local claims
// used by your application for
// authentication.
//
//
// +optional
ClaimMappings OIDCIdentityProviderClaimMappings `json:"claimMappings,omitzero"`
// The client ID assigned to your application by the identity provider.
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
ClientID OIDCIdentityProviderClientID `json:"clientID,omitzero"`
// The Client Secret assigned to your application by the identity provider.
//
// +optional
// +kubebuilder:validation:MaxLength=253
ClientSecret OIDCIdentityProviderClientSecret `json:"clientSecret,omitzero"`
// The issuer URI of the identity provider.
// This is the URL where the provider's metadata can be obtained.
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
IssuerURL OIDCIdentityProviderIssuer `json:"issuerURL,omitzero"`
// The scopes requested by your application when authenticating with the
// identity provider.
//
// +optional
Scopes []string `json:"scopes,omitempty"`
}
OIDCIdentityProviderConfig The identity provider that contains configuration data for the OIDC authentication integration.
func (*OIDCIdentityProviderConfig) DeepCopy ¶ added in v2.2.0
func (in *OIDCIdentityProviderConfig) DeepCopy() *OIDCIdentityProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCIdentityProviderConfig.
func (*OIDCIdentityProviderConfig) DeepCopyInto ¶ added in v2.2.0
func (in *OIDCIdentityProviderConfig) DeepCopyInto(out *OIDCIdentityProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OIDCIdentityProviderIssuer ¶ added in v2.2.0
type OIDCIdentityProviderIssuer string
OIDCIdentityProviderIssuer The issuer URI of the identity provider. This is the URL where the provider's metadata can be obtained.
type PageContent ¶ added in v2.2.0
type PageContent string
PageContent The renderable markdown content of a page in a portal.
type PageSlug ¶ added in v2.2.0
type PageSlug string
PageSlug The slug of a page in a portal, used to compute its full URL path within the portal hierarchy. When a page has a `parent_page_id`, its full path is built by joining the parent’s slug with its own. For example, if a parent page has the slug `slug1` and this page’s slug is `slug2`, the resulting path will be `/slug1/slug2`. This enables nested page structures like `/slug1/slug2/slug3`.
type PageVisibilityStatus ¶ added in v2.2.0
type PageVisibilityStatus string
PageVisibilityStatus Whether a page is publicly accessible to non-authenticated users. If not provided, the default_page_visibility value of the portal will be used.
type Portal ¶ added in v2.2.0
type Portal struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitzero"`
// +optional
Spec PortalSpec `json:"spec,omitzero"`
// +optional
Status PortalStatus `json:"status,omitzero"`
}
Portal is the Schema for the portals API.
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Namespaced,categories=konnect;kong +kubebuilder:printcolumn:name="ID",description="Konnect ID",type="string",JSONPath=".status.id" +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this resource belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:storageversion +apireference:kgo:include +kong:channels=kong-operator
func (*Portal) DeepCopy ¶ added in v2.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Portal.
func (*Portal) DeepCopyInto ¶ added in v2.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Portal) DeepCopyObject ¶ added in v2.2.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Portal) GetConditions ¶ added in v2.2.0
GetConditions returns the Status Conditions.
func (*Portal) GetKonnectAPIAuthConfigurationRef ¶ added in v2.2.0
func (obj *Portal) GetKonnectAPIAuthConfigurationRef() konnectv1alpha2.ControlPlaneKonnectAPIAuthConfigurationRef
GetKonnectAPIAuthConfigurationRef returns the Konnect API Auth Configuration Ref.
func (*Portal) GetKonnectID ¶ added in v2.2.0
GetKonnectID returns the Konnect ID in the Portal status.
func (*Portal) GetKonnectLabels ¶ added in v2.2.0
GetKonnectLabels gets the Konnect labels from the object's API spec.
func (*Portal) GetKonnectStatus ¶ added in v2.2.0
func (obj *Portal) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the Portal status.
func (Portal) GetTypeName ¶ added in v2.2.0
GetTypeName returns the Portal Kind name.
func (*Portal) PersistsKonnectID ¶ added in v2.2.0
PersistsKonnectID reports whether Portal persists a Konnect ID in status.
func (*Portal) SetConditions ¶ added in v2.2.0
SetConditions sets the Status Conditions.
func (*Portal) SetKonnectID ¶ added in v2.2.0
SetKonnectID sets the Konnect ID in the Portal status.
func (*Portal) SetKonnectLabels ¶ added in v2.2.0
SetKonnectLabels sets the Konnect labels in the object's API spec.
type PortalAPISpec ¶ added in v2.2.0
type PortalAPISpec struct {
// Whether the portal supports developer authentication.
// If disabled, developers cannot register for accounts or create applications.
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
AuthenticationEnabled string `json:"authenticationEnabled,omitzero"`
// Whether requests from applications to register for APIs will be
// automatically approved, or if they will be set to pending until approved by
// an admin.
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
AutoApproveApplications string `json:"autoApproveApplications,omitzero"`
// Whether developer account registrations will be automatically approved, or
// if they will be set to pending until approved by an admin.
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
AutoApproveDevelopers string `json:"autoApproveDevelopers,omitzero"`
// The default visibility of APIs in the portal.
// If set to `public`, newly published APIs are visible to unauthenticated
// developers.
// If set to `private`, newly published APIs are hidden from unauthenticated
// developers.
//
// +optional
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Enum=public;private
DefaultAPIVisibility string `json:"defaultAPIVisibility,omitzero"`
// The default authentication strategy for APIs published to the portal.
// Newly published APIs will use this authentication strategy unless overridden
// during publication.
// If set to `null`, API publications will not use an authentication strategy
// unless set during publication.
//
// +optional
DefaultApplicationAuthStrategyIDRef *commonv1alpha1.ObjectRef `json:"defaultApplicationAuthStrategyIDRef,omitempty"`
// The default visibility of pages in the portal.
// If set to `public`, newly created pages are visible to unauthenticated
// developers.
// If set to `private`, newly created pages are hidden from unauthenticated
// developers.
//
// +optional
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Enum=public;private
DefaultPageVisibility string `json:"defaultPageVisibility,omitzero"`
// A description of the portal.
//
// +optional
// +kubebuilder:validation:MaxLength=512
Description *string `json:"description,omitempty"`
// The display name of the portal.
// This value will be the portal's `name` in Portal API.
//
// +optional
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=255
DisplayName string `json:"displayName,omitzero"`
// Labels store metadata of an entity that can be used for filtering an entity
// list or for searching across entity types.
//
// Labels are intended to store **INTERNAL** metadata.
//
// Keys must be of length 1-63 characters, and cannot start with "kong",
// "konnect", "mesh", "kic", or "_".
//
//
// +optional
// +kubebuilder:validation:MaxProperties=50
Labels LabelsUpdate `json:"labels,omitzero"`
// The name of the portal, used to distinguish it from other portals.
// Name must be unique.
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=255
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="name is immutable"
Name string `json:"name,omitzero"`
// Whether the portal resources are protected by Role Based Access Control
// (RBAC).
// If enabled, developers view or register for APIs until unless assigned to
// teams with access to view and consume specific APIs.
// Authentication must be enabled to use RBAC.
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
RBACEnabled string `json:"rbacEnabled,omitzero"`
// Whether ip allow list is enabled for the portal.
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
SiprEnabled string `json:"siprEnabled,omitzero"`
}
PortalAPISpec defines the API spec fields for Portal.
func (*PortalAPISpec) DeepCopy ¶ added in v2.2.0
func (in *PortalAPISpec) DeepCopy() *PortalAPISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalAPISpec.
func (*PortalAPISpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalAPISpec) DeepCopyInto(out *PortalAPISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalAPISpec) ToCreatePortal ¶ added in v2.2.0
func (s *PortalAPISpec) ToCreatePortal() (*sdkkonnectcomp.CreatePortal, error)
ToCreatePortal converts the PortalAPISpec to the SDK type sdkkonnectcomp.CreatePortal using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
func (*PortalAPISpec) ToUpdatePortal ¶ added in v2.2.0
func (s *PortalAPISpec) ToUpdatePortal() (*sdkkonnectcomp.UpdatePortal, error)
ToUpdatePortal converts the PortalAPISpec to the SDK type sdkkonnectcomp.UpdatePortal using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
type PortalCustomDomain ¶ added in v2.2.0
type PortalCustomDomain struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitzero"`
// +optional
Spec PortalCustomDomainSpec `json:"spec,omitzero"`
// +optional
Status PortalCustomDomainStatus `json:"status,omitzero"`
}
PortalCustomDomain is the Schema for the portalcustomdomains API.
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Namespaced,categories=konnect;kong +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this resource belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:storageversion +apireference:kgo:include +kong:channels=kong-operator
func (*PortalCustomDomain) DeepCopy ¶ added in v2.2.0
func (in *PortalCustomDomain) DeepCopy() *PortalCustomDomain
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalCustomDomain.
func (*PortalCustomDomain) DeepCopyInto ¶ added in v2.2.0
func (in *PortalCustomDomain) DeepCopyInto(out *PortalCustomDomain)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalCustomDomain) DeepCopyObject ¶ added in v2.2.0
func (in *PortalCustomDomain) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PortalCustomDomain) GetAncestorIDs ¶ added in v2.2.0
func (obj *PortalCustomDomain) GetAncestorIDs() map[string]string
GetAncestorIDs returns the Konnect IDs of the ancestor entities keyed by their Kind.
func (*PortalCustomDomain) GetConditions ¶ added in v2.2.0
func (obj *PortalCustomDomain) GetConditions() []metav1.Condition
GetConditions returns the Status Conditions.
func (*PortalCustomDomain) GetKonnectID ¶ added in v2.2.0
func (obj *PortalCustomDomain) GetKonnectID() string
GetKonnectID returns the Konnect ID in the PortalCustomDomain status.
func (*PortalCustomDomain) GetKonnectStatus ¶ added in v2.2.0
func (obj *PortalCustomDomain) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the PortalCustomDomain status.
func (*PortalCustomDomain) GetParentGVK ¶ added in v2.2.0
func (obj *PortalCustomDomain) GetParentGVK() schema.GroupVersionKind
GetParentGVK returns the GroupVersionKind of the parent entity.
func (*PortalCustomDomain) GetParentRef ¶ added in v2.2.0
func (obj *PortalCustomDomain) GetParentRef() commonv1alpha1.ObjectRef
GetParentRef returns the reference to the parent entity.
func (*PortalCustomDomain) GetPortalID ¶ added in v2.2.0
func (obj *PortalCustomDomain) GetPortalID() string
GetPortalID returns the Konnect ID of the parent Portal.
func (*PortalCustomDomain) GetPortalRef ¶ added in v2.2.0
func (obj *PortalCustomDomain) GetPortalRef() commonv1alpha1.ObjectRef
GetPortalRef returns the reference to the root Portal.
func (*PortalCustomDomain) GetStatusConditionReasonParentRefInvalid ¶ added in v2.2.0
func (obj *PortalCustomDomain) GetStatusConditionReasonParentRefInvalid() string
GetStatusConditionReasonParentRefInvalid returns the status condition reason indicating that the parent reference is invalid.
func (*PortalCustomDomain) GetStatusConditionReasonParentRefNotProgrammed ¶ added in v2.2.0
func (obj *PortalCustomDomain) GetStatusConditionReasonParentRefNotProgrammed() string
GetStatusConditionReasonParentRefNotProgrammed returns the status condition reason indicating that the referenced parent exists but is not yet programmed in Konnect.
func (*PortalCustomDomain) GetStatusConditionReasonParentRefValid ¶ added in v2.2.0
func (obj *PortalCustomDomain) GetStatusConditionReasonParentRefValid() string
GetStatusConditionReasonParentRefValid returns the status condition reason indicating that the parent reference is valid.
func (*PortalCustomDomain) GetStatusConditionTypeParentRefValid ¶ added in v2.2.0
func (obj *PortalCustomDomain) GetStatusConditionTypeParentRefValid() string
GetStatusConditionTypeParentRefValid returns the status condition type indicating whether the parent reference is valid.
func (PortalCustomDomain) GetTypeName ¶ added in v2.2.0
func (obj PortalCustomDomain) GetTypeName() string
GetTypeName returns the PortalCustomDomain Kind name.
func (PortalCustomDomain) HasParent ¶ added in v2.2.0
func (obj PortalCustomDomain) HasParent() bool
HasParent returns true if the PortalCustomDomain has a parent entity.
func (*PortalCustomDomain) PersistsKonnectID ¶ added in v2.2.0
func (*PortalCustomDomain) PersistsKonnectID() bool
PersistsKonnectID reports whether PortalCustomDomain persists a Konnect ID in status.
func (*PortalCustomDomain) SetConditions ¶ added in v2.2.0
func (obj *PortalCustomDomain) SetConditions(conditions []metav1.Condition)
SetConditions sets the Status Conditions.
func (*PortalCustomDomain) SetKonnectID ¶ added in v2.2.0
func (obj *PortalCustomDomain) SetKonnectID(id string)
SetKonnectID sets the Konnect ID in the PortalCustomDomain status.
func (*PortalCustomDomain) SetParentID ¶ added in v2.2.0
func (obj *PortalCustomDomain) SetParentID(id string)
SetParentID sets the Konnect ID of the immediate parent entity.
func (*PortalCustomDomain) SetPortalID ¶ added in v2.2.0
func (obj *PortalCustomDomain) SetPortalID(id string)
SetPortalID sets the Konnect ID of the parent Portal.
type PortalCustomDomainAPISpec ¶ added in v2.2.0
type PortalCustomDomainAPISpec struct {
//
//
// +required
// +kubebuilder:validation:Enum=Enabled;Disabled
Enabled string `json:"enabled,omitzero"`
//
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
Hostname string `json:"hostname,omitzero"`
//
//
// +required
SSL *PortalCustomDomainSSL `json:"ssl,omitempty"`
}
PortalCustomDomainAPISpec defines the API spec fields for PortalCustomDomain.
func (*PortalCustomDomainAPISpec) DeepCopy ¶ added in v2.2.0
func (in *PortalCustomDomainAPISpec) DeepCopy() *PortalCustomDomainAPISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalCustomDomainAPISpec.
func (*PortalCustomDomainAPISpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalCustomDomainAPISpec) DeepCopyInto(out *PortalCustomDomainAPISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalCustomDomainAPISpec) ToCreatePortalCustomDomainRequest ¶ added in v2.2.0
func (s *PortalCustomDomainAPISpec) ToCreatePortalCustomDomainRequest() (*sdkkonnectcomp.CreatePortalCustomDomainRequest, error)
ToCreatePortalCustomDomainRequest converts the PortalCustomDomainAPISpec to the SDK type sdkkonnectcomp.CreatePortalCustomDomainRequest using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
func (*PortalCustomDomainAPISpec) ToUpdatePortalCustomDomainRequest ¶ added in v2.2.0
func (s *PortalCustomDomainAPISpec) ToUpdatePortalCustomDomainRequest() (*sdkkonnectcomp.UpdatePortalCustomDomainRequest, error)
ToUpdatePortalCustomDomainRequest converts the PortalCustomDomainAPISpec to the SDK type sdkkonnectcomp.UpdatePortalCustomDomainRequest using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
func (*PortalCustomDomainAPISpec) UnmarshalJSON ¶ added in v2.2.0
func (s *PortalCustomDomainAPISpec) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler.
type PortalCustomDomainList ¶ added in v2.2.0
type PortalCustomDomainList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitzero"`
Items []PortalCustomDomain `json:"items"`
}
PortalCustomDomainList contains a list of PortalCustomDomain.
+kubebuilder:object:root=true
func (*PortalCustomDomainList) DeepCopy ¶ added in v2.2.0
func (in *PortalCustomDomainList) DeepCopy() *PortalCustomDomainList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalCustomDomainList.
func (*PortalCustomDomainList) DeepCopyInto ¶ added in v2.2.0
func (in *PortalCustomDomainList) DeepCopyInto(out *PortalCustomDomainList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalCustomDomainList) DeepCopyObject ¶ added in v2.2.0
func (in *PortalCustomDomainList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (PortalCustomDomainList) GetItems ¶ added in v2.2.0
func (obj PortalCustomDomainList) GetItems() []PortalCustomDomain
GetItems returns the list of PortalCustomDomain items.
type PortalCustomDomainSDKOpsBoolField ¶ added in v2.2.0
PortalCustomDomainSDKOpsBoolField describes a boolean enum field that must be normalized for SDK payloads.
func (*PortalCustomDomainSDKOpsBoolField) DeepCopy ¶ added in v2.2.0
func (in *PortalCustomDomainSDKOpsBoolField) DeepCopy() *PortalCustomDomainSDKOpsBoolField
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalCustomDomainSDKOpsBoolField.
func (*PortalCustomDomainSDKOpsBoolField) DeepCopyInto ¶ added in v2.2.0
func (in *PortalCustomDomainSDKOpsBoolField) DeepCopyInto(out *PortalCustomDomainSDKOpsBoolField)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalCustomDomainSSL ¶ added in v2.2.0
type PortalCustomDomainSSL struct {
// Type designates the type of configuration.
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:Enum=withCustomCertificate;standard
Type PortalCustomDomainSSLType `json:"type,omitempty"`
// WithCustomCertificate configuration.
//
// +optional
WithCustomCertificate *CreatePortalCustomDomainSSLWithCustomCertificate `json:"withCustomCertificate,omitempty"`
// Standard configuration.
//
// +optional
Standard *CreatePortalCustomDomainSSLStandard `json:"standard,omitempty"`
}
PortalCustomDomainSSL represents a union type for ssl. Only one of the fields should be set based on the Type.
func (*PortalCustomDomainSSL) DeepCopy ¶ added in v2.2.0
func (in *PortalCustomDomainSSL) DeepCopy() *PortalCustomDomainSSL
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalCustomDomainSSL.
func (*PortalCustomDomainSSL) DeepCopyInto ¶ added in v2.2.0
func (in *PortalCustomDomainSSL) DeepCopyInto(out *PortalCustomDomainSSL)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PortalCustomDomainSSL) MarshalJSON ¶ added in v2.2.0
func (u PortalCustomDomainSSL) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*PortalCustomDomainSSL) UnmarshalJSON ¶ added in v2.2.0
func (u *PortalCustomDomainSSL) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler.
type PortalCustomDomainSSLType ¶ added in v2.2.0
type PortalCustomDomainSSLType string
PortalCustomDomainSSLType represents the type of ssl.
const ( PortalCustomDomainSSLTypeWithCustomCertificate PortalCustomDomainSSLType = "withCustomCertificate" PortalCustomDomainSSLTypeStandard PortalCustomDomainSSLType = "standard" )
PortalCustomDomainSSLType values.
type PortalCustomDomainSpec ¶ added in v2.2.0
type PortalCustomDomainSpec struct {
// PortalRef is the reference to the parent Portal object.
//
// +required
PortalRef commonv1alpha1.ObjectRef `json:"portalRef,omitzero"`
// APISpec defines the desired state of the resource's API spec fields.
//
// +optional
APISpec PortalCustomDomainAPISpec `json:"apiSpec,omitzero"`
}
PortalCustomDomainSpec defines the desired state of PortalCustomDomain.
func (*PortalCustomDomainSpec) DeepCopy ¶ added in v2.2.0
func (in *PortalCustomDomainSpec) DeepCopy() *PortalCustomDomainSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalCustomDomainSpec.
func (*PortalCustomDomainSpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalCustomDomainSpec) DeepCopyInto(out *PortalCustomDomainSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalCustomDomainStatus ¶ added in v2.2.0
type PortalCustomDomainStatus struct {
// Conditions represent the current state of the resource.
//
// +optional
// +listType=map
// +listMapKey=type
// +patchStrategy=merge
// +patchMergeKey=type
// +kubebuilder:validation:MaxItems=8
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
// Konnect contains the Konnect entity status.
//
// +optional
KonnectEntityStatus `json:",inline"`
// PortalID is the Konnect ID of the parent Portal.
//
// +optional
PortalID *KonnectEntityRef `json:"portalID,omitempty"`
// ObservedGeneration is the most recent generation observed
//
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitzero"`
}
PortalCustomDomainStatus defines the observed state of PortalCustomDomain.
func (*PortalCustomDomainStatus) DeepCopy ¶ added in v2.2.0
func (in *PortalCustomDomainStatus) DeepCopy() *PortalCustomDomainStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalCustomDomainStatus.
func (*PortalCustomDomainStatus) DeepCopyInto ¶ added in v2.2.0
func (in *PortalCustomDomainStatus) DeepCopyInto(out *PortalCustomDomainStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalCustomization ¶ added in v2.2.0
type PortalCustomization struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitzero"`
// +optional
Spec PortalCustomizationSpec `json:"spec,omitzero"`
// +optional
Status PortalCustomizationStatus `json:"status,omitzero"`
}
PortalCustomization is the Schema for the portalcustomizations API.
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Namespaced,categories=konnect;kong +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this resource belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:storageversion +apireference:kgo:include +kong:channels=kong-operator
func (*PortalCustomization) DeepCopy ¶ added in v2.2.0
func (in *PortalCustomization) DeepCopy() *PortalCustomization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalCustomization.
func (*PortalCustomization) DeepCopyInto ¶ added in v2.2.0
func (in *PortalCustomization) DeepCopyInto(out *PortalCustomization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalCustomization) DeepCopyObject ¶ added in v2.2.0
func (in *PortalCustomization) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PortalCustomization) GetAncestorIDs ¶ added in v2.2.0
func (obj *PortalCustomization) GetAncestorIDs() map[string]string
GetAncestorIDs returns the Konnect IDs of the ancestor entities keyed by their Kind.
func (*PortalCustomization) GetConditions ¶ added in v2.2.0
func (obj *PortalCustomization) GetConditions() []metav1.Condition
GetConditions returns the Status Conditions.
func (*PortalCustomization) GetKonnectID ¶ added in v2.2.0
func (obj *PortalCustomization) GetKonnectID() string
GetKonnectID returns the Konnect ID in the PortalCustomization status.
func (*PortalCustomization) GetKonnectStatus ¶ added in v2.2.0
func (obj *PortalCustomization) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the PortalCustomization status.
func (*PortalCustomization) GetParentGVK ¶ added in v2.2.0
func (obj *PortalCustomization) GetParentGVK() schema.GroupVersionKind
GetParentGVK returns the GroupVersionKind of the parent entity.
func (*PortalCustomization) GetParentRef ¶ added in v2.2.0
func (obj *PortalCustomization) GetParentRef() commonv1alpha1.ObjectRef
GetParentRef returns the reference to the parent entity.
func (*PortalCustomization) GetPortalID ¶ added in v2.2.0
func (obj *PortalCustomization) GetPortalID() string
GetPortalID returns the Konnect ID of the parent Portal.
func (*PortalCustomization) GetPortalRef ¶ added in v2.2.0
func (obj *PortalCustomization) GetPortalRef() commonv1alpha1.ObjectRef
GetPortalRef returns the reference to the root Portal.
func (*PortalCustomization) GetStatusConditionReasonParentRefInvalid ¶ added in v2.2.0
func (obj *PortalCustomization) GetStatusConditionReasonParentRefInvalid() string
GetStatusConditionReasonParentRefInvalid returns the status condition reason indicating that the parent reference is invalid.
func (*PortalCustomization) GetStatusConditionReasonParentRefNotProgrammed ¶ added in v2.2.0
func (obj *PortalCustomization) GetStatusConditionReasonParentRefNotProgrammed() string
GetStatusConditionReasonParentRefNotProgrammed returns the status condition reason indicating that the referenced parent exists but is not yet programmed in Konnect.
func (*PortalCustomization) GetStatusConditionReasonParentRefValid ¶ added in v2.2.0
func (obj *PortalCustomization) GetStatusConditionReasonParentRefValid() string
GetStatusConditionReasonParentRefValid returns the status condition reason indicating that the parent reference is valid.
func (*PortalCustomization) GetStatusConditionTypeParentRefValid ¶ added in v2.2.0
func (obj *PortalCustomization) GetStatusConditionTypeParentRefValid() string
GetStatusConditionTypeParentRefValid returns the status condition type indicating whether the parent reference is valid.
func (PortalCustomization) GetTypeName ¶ added in v2.2.0
func (obj PortalCustomization) GetTypeName() string
GetTypeName returns the PortalCustomization Kind name.
func (PortalCustomization) HasParent ¶ added in v2.2.0
func (obj PortalCustomization) HasParent() bool
HasParent returns true if the PortalCustomization has a parent entity.
func (*PortalCustomization) PersistsKonnectID ¶ added in v2.2.0
func (*PortalCustomization) PersistsKonnectID() bool
PersistsKonnectID reports whether PortalCustomization persists a Konnect ID in status.
func (*PortalCustomization) SetConditions ¶ added in v2.2.0
func (obj *PortalCustomization) SetConditions(conditions []metav1.Condition)
SetConditions sets the Status Conditions.
func (*PortalCustomization) SetKonnectID ¶ added in v2.2.0
func (obj *PortalCustomization) SetKonnectID(id string)
SetKonnectID sets the Konnect ID in the PortalCustomization status.
func (*PortalCustomization) SetParentID ¶ added in v2.2.0
func (obj *PortalCustomization) SetParentID(id string)
SetParentID sets the Konnect ID of the immediate parent entity.
func (*PortalCustomization) SetPortalID ¶ added in v2.2.0
func (obj *PortalCustomization) SetPortalID(id string)
SetPortalID sets the Konnect ID of the parent Portal.
type PortalCustomizationAPISpec ¶ added in v2.2.0
type PortalCustomizationAPISpec struct {
//
//
// +optional
// +kubebuilder:validation:MaxLength=253
Css *string `json:"css,omitempty"`
//
//
// +optional
// +kubebuilder:validation:MaxLength=253
Layout string `json:"layout,omitzero"`
//
//
// +optional
Menu Menu `json:"menu,omitzero"`
//
//
// +optional
// +kubebuilder:validation:MaxLength=253
Robots *string `json:"robots,omitempty"`
//
//
// +optional
SpecRenderer SpecRenderer `json:"specRenderer,omitzero"`
//
//
// +optional
Theme Theme `json:"theme,omitzero"`
}
PortalCustomizationAPISpec defines the API spec fields for PortalCustomization.
func (*PortalCustomizationAPISpec) DeepCopy ¶ added in v2.2.0
func (in *PortalCustomizationAPISpec) DeepCopy() *PortalCustomizationAPISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalCustomizationAPISpec.
func (*PortalCustomizationAPISpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalCustomizationAPISpec) DeepCopyInto(out *PortalCustomizationAPISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalCustomizationAPISpec) ToCreatePortalCustomization ¶ added in v2.2.0
func (s *PortalCustomizationAPISpec) ToCreatePortalCustomization() (*sdkkonnectcomp.PortalCustomization, error)
ToCreatePortalCustomization converts the PortalCustomizationAPISpec to the SDK type sdkkonnectcomp.PortalCustomization using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
func (*PortalCustomizationAPISpec) ToUpdatePortalCustomization ¶ added in v2.2.0
func (s *PortalCustomizationAPISpec) ToUpdatePortalCustomization() (*sdkkonnectcomp.PortalCustomization, error)
ToUpdatePortalCustomization converts the PortalCustomizationAPISpec to the SDK type sdkkonnectcomp.PortalCustomization using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
type PortalCustomizationList ¶ added in v2.2.0
type PortalCustomizationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitzero"`
Items []PortalCustomization `json:"items"`
}
PortalCustomizationList contains a list of PortalCustomization.
+kubebuilder:object:root=true
func (*PortalCustomizationList) DeepCopy ¶ added in v2.2.0
func (in *PortalCustomizationList) DeepCopy() *PortalCustomizationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalCustomizationList.
func (*PortalCustomizationList) DeepCopyInto ¶ added in v2.2.0
func (in *PortalCustomizationList) DeepCopyInto(out *PortalCustomizationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalCustomizationList) DeepCopyObject ¶ added in v2.2.0
func (in *PortalCustomizationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (PortalCustomizationList) GetItems ¶ added in v2.2.0
func (obj PortalCustomizationList) GetItems() []PortalCustomization
GetItems returns the list of PortalCustomization items.
type PortalCustomizationSDKOpsBoolField ¶ added in v2.2.0
PortalCustomizationSDKOpsBoolField describes a boolean enum field that must be normalized for SDK payloads.
func (*PortalCustomizationSDKOpsBoolField) DeepCopy ¶ added in v2.2.0
func (in *PortalCustomizationSDKOpsBoolField) DeepCopy() *PortalCustomizationSDKOpsBoolField
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalCustomizationSDKOpsBoolField.
func (*PortalCustomizationSDKOpsBoolField) DeepCopyInto ¶ added in v2.2.0
func (in *PortalCustomizationSDKOpsBoolField) DeepCopyInto(out *PortalCustomizationSDKOpsBoolField)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalCustomizationSpec ¶ added in v2.2.0
type PortalCustomizationSpec struct {
// PortalRef is the reference to the parent Portal object.
//
// +required
PortalRef commonv1alpha1.ObjectRef `json:"portalRef,omitzero"`
// APISpec defines the desired state of the resource's API spec fields.
//
// +optional
APISpec PortalCustomizationAPISpec `json:"apiSpec,omitzero"`
}
PortalCustomizationSpec defines the desired state of PortalCustomization.
func (*PortalCustomizationSpec) DeepCopy ¶ added in v2.2.0
func (in *PortalCustomizationSpec) DeepCopy() *PortalCustomizationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalCustomizationSpec.
func (*PortalCustomizationSpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalCustomizationSpec) DeepCopyInto(out *PortalCustomizationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalCustomizationStatus ¶ added in v2.2.0
type PortalCustomizationStatus struct {
// Conditions represent the current state of the resource.
//
// +optional
// +listType=map
// +listMapKey=type
// +patchStrategy=merge
// +patchMergeKey=type
// +kubebuilder:validation:MaxItems=8
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
// Konnect contains the Konnect entity status.
//
// +optional
KonnectEntityStatus `json:",inline"`
// PortalID is the Konnect ID of the parent Portal.
//
// +optional
PortalID *KonnectEntityRef `json:"portalID,omitempty"`
// ObservedGeneration is the most recent generation observed
//
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitzero"`
}
PortalCustomizationStatus defines the observed state of PortalCustomization.
func (*PortalCustomizationStatus) DeepCopy ¶ added in v2.2.0
func (in *PortalCustomizationStatus) DeepCopy() *PortalCustomizationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalCustomizationStatus.
func (*PortalCustomizationStatus) DeepCopyInto ¶ added in v2.2.0
func (in *PortalCustomizationStatus) DeepCopyInto(out *PortalCustomizationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalEmailConfig ¶ added in v2.2.0
type PortalEmailConfig struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitzero"`
// +optional
Spec PortalEmailConfigSpec `json:"spec,omitzero"`
// +optional
Status PortalEmailConfigStatus `json:"status,omitzero"`
}
PortalEmailConfig is the Schema for the portalemailconfigs API.
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Namespaced,categories=konnect;kong +kubebuilder:printcolumn:name="ID",description="Konnect ID",type="string",JSONPath=".status.id" +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this resource belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:storageversion +apireference:kgo:include +kong:channels=kong-operator
func (*PortalEmailConfig) DeepCopy ¶ added in v2.2.0
func (in *PortalEmailConfig) DeepCopy() *PortalEmailConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalEmailConfig.
func (*PortalEmailConfig) DeepCopyInto ¶ added in v2.2.0
func (in *PortalEmailConfig) DeepCopyInto(out *PortalEmailConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalEmailConfig) DeepCopyObject ¶ added in v2.2.0
func (in *PortalEmailConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PortalEmailConfig) GetAncestorIDs ¶ added in v2.2.0
func (obj *PortalEmailConfig) GetAncestorIDs() map[string]string
GetAncestorIDs returns the Konnect IDs of the ancestor entities keyed by their Kind.
func (*PortalEmailConfig) GetConditions ¶ added in v2.2.0
func (obj *PortalEmailConfig) GetConditions() []metav1.Condition
GetConditions returns the Status Conditions.
func (*PortalEmailConfig) GetKonnectID ¶ added in v2.2.0
func (obj *PortalEmailConfig) GetKonnectID() string
GetKonnectID returns the Konnect ID in the PortalEmailConfig status.
func (*PortalEmailConfig) GetKonnectStatus ¶ added in v2.2.0
func (obj *PortalEmailConfig) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the PortalEmailConfig status.
func (*PortalEmailConfig) GetParentGVK ¶ added in v2.2.0
func (obj *PortalEmailConfig) GetParentGVK() schema.GroupVersionKind
GetParentGVK returns the GroupVersionKind of the parent entity.
func (*PortalEmailConfig) GetParentRef ¶ added in v2.2.0
func (obj *PortalEmailConfig) GetParentRef() commonv1alpha1.ObjectRef
GetParentRef returns the reference to the parent entity.
func (*PortalEmailConfig) GetPortalID ¶ added in v2.2.0
func (obj *PortalEmailConfig) GetPortalID() string
GetPortalID returns the Konnect ID of the parent Portal.
func (*PortalEmailConfig) GetPortalRef ¶ added in v2.2.0
func (obj *PortalEmailConfig) GetPortalRef() commonv1alpha1.ObjectRef
GetPortalRef returns the reference to the root Portal.
func (*PortalEmailConfig) GetStatusConditionReasonParentRefInvalid ¶ added in v2.2.0
func (obj *PortalEmailConfig) GetStatusConditionReasonParentRefInvalid() string
GetStatusConditionReasonParentRefInvalid returns the status condition reason indicating that the parent reference is invalid.
func (*PortalEmailConfig) GetStatusConditionReasonParentRefNotProgrammed ¶ added in v2.2.0
func (obj *PortalEmailConfig) GetStatusConditionReasonParentRefNotProgrammed() string
GetStatusConditionReasonParentRefNotProgrammed returns the status condition reason indicating that the referenced parent exists but is not yet programmed in Konnect.
func (*PortalEmailConfig) GetStatusConditionReasonParentRefValid ¶ added in v2.2.0
func (obj *PortalEmailConfig) GetStatusConditionReasonParentRefValid() string
GetStatusConditionReasonParentRefValid returns the status condition reason indicating that the parent reference is valid.
func (*PortalEmailConfig) GetStatusConditionTypeParentRefValid ¶ added in v2.2.0
func (obj *PortalEmailConfig) GetStatusConditionTypeParentRefValid() string
GetStatusConditionTypeParentRefValid returns the status condition type indicating whether the parent reference is valid.
func (PortalEmailConfig) GetTypeName ¶ added in v2.2.0
func (obj PortalEmailConfig) GetTypeName() string
GetTypeName returns the PortalEmailConfig Kind name.
func (PortalEmailConfig) HasParent ¶ added in v2.2.0
func (obj PortalEmailConfig) HasParent() bool
HasParent returns true if the PortalEmailConfig has a parent entity.
func (*PortalEmailConfig) PersistsKonnectID ¶ added in v2.2.0
func (*PortalEmailConfig) PersistsKonnectID() bool
PersistsKonnectID reports whether PortalEmailConfig persists a Konnect ID in status.
func (*PortalEmailConfig) SetConditions ¶ added in v2.2.0
func (obj *PortalEmailConfig) SetConditions(conditions []metav1.Condition)
SetConditions sets the Status Conditions.
func (*PortalEmailConfig) SetKonnectID ¶ added in v2.2.0
func (obj *PortalEmailConfig) SetKonnectID(id string)
SetKonnectID sets the Konnect ID in the PortalEmailConfig status.
func (*PortalEmailConfig) SetParentID ¶ added in v2.2.0
func (obj *PortalEmailConfig) SetParentID(id string)
SetParentID sets the Konnect ID of the immediate parent entity.
func (*PortalEmailConfig) SetPortalID ¶ added in v2.2.0
func (obj *PortalEmailConfig) SetPortalID(id string)
SetPortalID sets the Konnect ID of the parent Portal.
type PortalEmailConfigAPISpec ¶ added in v2.2.0
type PortalEmailConfigAPISpec struct {
// The domain name to use for sending emails. Null means default.
//
// +optional
// +kubebuilder:validation:MaxLength=253
DomainName *string `json:"domainName,omitempty"`
// The email address to use in the 'From' field.
//
// +optional
// +kubebuilder:validation:MaxLength=253
FromEmail *string `json:"fromEmail,omitempty"`
// The name to display in the 'From' field of emails.
//
// +optional
// +kubebuilder:validation:MaxLength=253
FromName *string `json:"fromName,omitempty"`
// The email address to use in the 'Reply-To' field.
// 'Reply-To' header is omitted if omitted or null.
//
// +optional
// +kubebuilder:validation:MaxLength=253
ReplyToEmail *string `json:"replyToEmail,omitempty"`
}
PortalEmailConfigAPISpec defines the API spec fields for PortalEmailConfig.
func (*PortalEmailConfigAPISpec) DeepCopy ¶ added in v2.2.0
func (in *PortalEmailConfigAPISpec) DeepCopy() *PortalEmailConfigAPISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalEmailConfigAPISpec.
func (*PortalEmailConfigAPISpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalEmailConfigAPISpec) DeepCopyInto(out *PortalEmailConfigAPISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalEmailConfigAPISpec) ToPatchPortalEmailConfig ¶ added in v2.2.0
func (s *PortalEmailConfigAPISpec) ToPatchPortalEmailConfig() (*sdkkonnectcomp.PatchPortalEmailConfig, error)
ToPatchPortalEmailConfig converts the PortalEmailConfigAPISpec to the SDK type sdkkonnectcomp.PatchPortalEmailConfig using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
func (*PortalEmailConfigAPISpec) ToPostPortalEmailConfig ¶ added in v2.2.0
func (s *PortalEmailConfigAPISpec) ToPostPortalEmailConfig() (*sdkkonnectcomp.PostPortalEmailConfig, error)
ToPostPortalEmailConfig converts the PortalEmailConfigAPISpec to the SDK type sdkkonnectcomp.PostPortalEmailConfig using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
type PortalEmailConfigList ¶ added in v2.2.0
type PortalEmailConfigList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitzero"`
Items []PortalEmailConfig `json:"items"`
}
PortalEmailConfigList contains a list of PortalEmailConfig.
+kubebuilder:object:root=true
func (*PortalEmailConfigList) DeepCopy ¶ added in v2.2.0
func (in *PortalEmailConfigList) DeepCopy() *PortalEmailConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalEmailConfigList.
func (*PortalEmailConfigList) DeepCopyInto ¶ added in v2.2.0
func (in *PortalEmailConfigList) DeepCopyInto(out *PortalEmailConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalEmailConfigList) DeepCopyObject ¶ added in v2.2.0
func (in *PortalEmailConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (PortalEmailConfigList) GetItems ¶ added in v2.2.0
func (obj PortalEmailConfigList) GetItems() []PortalEmailConfig
GetItems returns the list of PortalEmailConfig items.
type PortalEmailConfigSpec ¶ added in v2.2.0
type PortalEmailConfigSpec struct {
// PortalRef is the reference to the parent Portal object.
//
// +required
PortalRef commonv1alpha1.ObjectRef `json:"portalRef,omitzero"`
// APISpec defines the desired state of the resource's API spec fields.
//
// +optional
APISpec PortalEmailConfigAPISpec `json:"apiSpec,omitzero"`
}
PortalEmailConfigSpec defines the desired state of PortalEmailConfig.
func (*PortalEmailConfigSpec) DeepCopy ¶ added in v2.2.0
func (in *PortalEmailConfigSpec) DeepCopy() *PortalEmailConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalEmailConfigSpec.
func (*PortalEmailConfigSpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalEmailConfigSpec) DeepCopyInto(out *PortalEmailConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalEmailConfigStatus ¶ added in v2.2.0
type PortalEmailConfigStatus struct {
// Conditions represent the current state of the resource.
//
// +optional
// +listType=map
// +listMapKey=type
// +patchStrategy=merge
// +patchMergeKey=type
// +kubebuilder:validation:MaxItems=8
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
// Konnect contains the Konnect entity status.
//
// +optional
KonnectEntityStatus `json:",inline"`
// PortalID is the Konnect ID of the parent Portal.
//
// +optional
PortalID *KonnectEntityRef `json:"portalID,omitempty"`
// ObservedGeneration is the most recent generation observed
//
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitzero"`
}
PortalEmailConfigStatus defines the observed state of PortalEmailConfig.
func (*PortalEmailConfigStatus) DeepCopy ¶ added in v2.2.0
func (in *PortalEmailConfigStatus) DeepCopy() *PortalEmailConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalEmailConfigStatus.
func (*PortalEmailConfigStatus) DeepCopyInto ¶ added in v2.2.0
func (in *PortalEmailConfigStatus) DeepCopyInto(out *PortalEmailConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalFooterMenuSection ¶ added in v2.2.0
type PortalFooterMenuSection struct {
//
// +required
Items []PortalMenuItem `json:"items,omitempty"`
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=512
Title string `json:"title,omitzero"`
}
PortalFooterMenuSection is a type alias.
func (*PortalFooterMenuSection) DeepCopy ¶ added in v2.2.0
func (in *PortalFooterMenuSection) DeepCopy() *PortalFooterMenuSection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalFooterMenuSection.
func (*PortalFooterMenuSection) DeepCopyInto ¶ added in v2.2.0
func (in *PortalFooterMenuSection) DeepCopyInto(out *PortalFooterMenuSection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalIPAllowList ¶ added in v2.2.0
type PortalIPAllowList struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitzero"`
// +optional
Spec PortalIPAllowListSpec `json:"spec,omitzero"`
// +optional
Status PortalIPAllowListStatus `json:"status,omitzero"`
}
PortalIPAllowList is the Schema for the portalipallowlists API.
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Namespaced,categories=konnect;kong +kubebuilder:printcolumn:name="ID",description="Konnect ID",type="string",JSONPath=".status.id" +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this resource belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:storageversion +apireference:kgo:include +kong:channels=kong-operator
func (*PortalIPAllowList) DeepCopy ¶ added in v2.2.0
func (in *PortalIPAllowList) DeepCopy() *PortalIPAllowList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalIPAllowList.
func (*PortalIPAllowList) DeepCopyInto ¶ added in v2.2.0
func (in *PortalIPAllowList) DeepCopyInto(out *PortalIPAllowList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalIPAllowList) DeepCopyObject ¶ added in v2.2.0
func (in *PortalIPAllowList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PortalIPAllowList) GetAncestorIDs ¶ added in v2.2.0
func (obj *PortalIPAllowList) GetAncestorIDs() map[string]string
GetAncestorIDs returns the Konnect IDs of the ancestor entities keyed by their Kind.
func (*PortalIPAllowList) GetConditions ¶ added in v2.2.0
func (obj *PortalIPAllowList) GetConditions() []metav1.Condition
GetConditions returns the Status Conditions.
func (*PortalIPAllowList) GetKonnectID ¶ added in v2.2.0
func (obj *PortalIPAllowList) GetKonnectID() string
GetKonnectID returns the Konnect ID in the PortalIPAllowList status.
func (*PortalIPAllowList) GetKonnectStatus ¶ added in v2.2.0
func (obj *PortalIPAllowList) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the PortalIPAllowList status.
func (*PortalIPAllowList) GetParentGVK ¶ added in v2.2.0
func (obj *PortalIPAllowList) GetParentGVK() schema.GroupVersionKind
GetParentGVK returns the GroupVersionKind of the parent entity.
func (*PortalIPAllowList) GetParentRef ¶ added in v2.2.0
func (obj *PortalIPAllowList) GetParentRef() commonv1alpha1.ObjectRef
GetParentRef returns the reference to the parent entity.
func (*PortalIPAllowList) GetPortalID ¶ added in v2.2.0
func (obj *PortalIPAllowList) GetPortalID() string
GetPortalID returns the Konnect ID of the parent Portal.
func (*PortalIPAllowList) GetPortalRef ¶ added in v2.2.0
func (obj *PortalIPAllowList) GetPortalRef() commonv1alpha1.ObjectRef
GetPortalRef returns the reference to the root Portal.
func (*PortalIPAllowList) GetStatusConditionReasonParentRefInvalid ¶ added in v2.2.0
func (obj *PortalIPAllowList) GetStatusConditionReasonParentRefInvalid() string
GetStatusConditionReasonParentRefInvalid returns the status condition reason indicating that the parent reference is invalid.
func (*PortalIPAllowList) GetStatusConditionReasonParentRefNotProgrammed ¶ added in v2.2.0
func (obj *PortalIPAllowList) GetStatusConditionReasonParentRefNotProgrammed() string
GetStatusConditionReasonParentRefNotProgrammed returns the status condition reason indicating that the referenced parent exists but is not yet programmed in Konnect.
func (*PortalIPAllowList) GetStatusConditionReasonParentRefValid ¶ added in v2.2.0
func (obj *PortalIPAllowList) GetStatusConditionReasonParentRefValid() string
GetStatusConditionReasonParentRefValid returns the status condition reason indicating that the parent reference is valid.
func (*PortalIPAllowList) GetStatusConditionTypeParentRefValid ¶ added in v2.2.0
func (obj *PortalIPAllowList) GetStatusConditionTypeParentRefValid() string
GetStatusConditionTypeParentRefValid returns the status condition type indicating whether the parent reference is valid.
func (PortalIPAllowList) GetTypeName ¶ added in v2.2.0
func (obj PortalIPAllowList) GetTypeName() string
GetTypeName returns the PortalIPAllowList Kind name.
func (PortalIPAllowList) HasParent ¶ added in v2.2.0
func (obj PortalIPAllowList) HasParent() bool
HasParent returns true if the PortalIPAllowList has a parent entity.
func (*PortalIPAllowList) PersistsKonnectID ¶ added in v2.2.0
func (*PortalIPAllowList) PersistsKonnectID() bool
PersistsKonnectID reports whether PortalIPAllowList persists a Konnect ID in status.
func (*PortalIPAllowList) SetConditions ¶ added in v2.2.0
func (obj *PortalIPAllowList) SetConditions(conditions []metav1.Condition)
SetConditions sets the Status Conditions.
func (*PortalIPAllowList) SetKonnectID ¶ added in v2.2.0
func (obj *PortalIPAllowList) SetKonnectID(id string)
SetKonnectID sets the Konnect ID in the PortalIPAllowList status.
func (*PortalIPAllowList) SetParentID ¶ added in v2.2.0
func (obj *PortalIPAllowList) SetParentID(id string)
SetParentID sets the Konnect ID of the immediate parent entity.
func (*PortalIPAllowList) SetPortalID ¶ added in v2.2.0
func (obj *PortalIPAllowList) SetPortalID(id string)
SetPortalID sets the Konnect ID of the parent Portal.
type PortalIPAllowListAPISpec ¶ added in v2.2.0
type PortalIPAllowListAPISpec struct {
// The list of allowed ips for the portal.
//
// +required
AllowedIps []string `json:"allowedIps,omitempty"`
}
PortalIPAllowListAPISpec defines the API spec fields for PortalIPAllowList.
func (*PortalIPAllowListAPISpec) DeepCopy ¶ added in v2.2.0
func (in *PortalIPAllowListAPISpec) DeepCopy() *PortalIPAllowListAPISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalIPAllowListAPISpec.
func (*PortalIPAllowListAPISpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalIPAllowListAPISpec) DeepCopyInto(out *PortalIPAllowListAPISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalIPAllowListAPISpec) ToCreatePortalSourceIPRestriction ¶ added in v2.2.0
func (s *PortalIPAllowListAPISpec) ToCreatePortalSourceIPRestriction() (*sdkkonnectcomp.CreatePortalSourceIPRestriction, error)
ToCreatePortalSourceIPRestriction converts the PortalIPAllowListAPISpec to the SDK type sdkkonnectcomp.CreatePortalSourceIPRestriction using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
func (*PortalIPAllowListAPISpec) ToPutPortalIPAllowListRequest ¶ added in v2.2.0
func (s *PortalIPAllowListAPISpec) ToPutPortalIPAllowListRequest() (*sdkkonnectoper.PutPortalIPAllowListRequest, error)
ToPutPortalIPAllowListRequest converts the PortalIPAllowListAPISpec to the SDK type sdkkonnectoper.PutPortalIPAllowListRequest using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
type PortalIPAllowListList ¶ added in v2.2.0
type PortalIPAllowListList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitzero"`
Items []PortalIPAllowList `json:"items"`
}
PortalIPAllowListList contains a list of PortalIPAllowList.
+kubebuilder:object:root=true
func (*PortalIPAllowListList) DeepCopy ¶ added in v2.2.0
func (in *PortalIPAllowListList) DeepCopy() *PortalIPAllowListList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalIPAllowListList.
func (*PortalIPAllowListList) DeepCopyInto ¶ added in v2.2.0
func (in *PortalIPAllowListList) DeepCopyInto(out *PortalIPAllowListList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalIPAllowListList) DeepCopyObject ¶ added in v2.2.0
func (in *PortalIPAllowListList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (PortalIPAllowListList) GetItems ¶ added in v2.2.0
func (obj PortalIPAllowListList) GetItems() []PortalIPAllowList
GetItems returns the list of PortalIPAllowList items.
type PortalIPAllowListSpec ¶ added in v2.2.0
type PortalIPAllowListSpec struct {
// PortalRef is the reference to the parent Portal object.
//
// +required
PortalRef commonv1alpha1.ObjectRef `json:"portalRef,omitzero"`
// APISpec defines the desired state of the resource's API spec fields.
//
// +optional
APISpec PortalIPAllowListAPISpec `json:"apiSpec,omitzero"`
}
PortalIPAllowListSpec defines the desired state of PortalIPAllowList.
func (*PortalIPAllowListSpec) DeepCopy ¶ added in v2.2.0
func (in *PortalIPAllowListSpec) DeepCopy() *PortalIPAllowListSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalIPAllowListSpec.
func (*PortalIPAllowListSpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalIPAllowListSpec) DeepCopyInto(out *PortalIPAllowListSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalIPAllowListStatus ¶ added in v2.2.0
type PortalIPAllowListStatus struct {
// Conditions represent the current state of the resource.
//
// +optional
// +listType=map
// +listMapKey=type
// +patchStrategy=merge
// +patchMergeKey=type
// +kubebuilder:validation:MaxItems=8
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
// Konnect contains the Konnect entity status.
//
// +optional
KonnectEntityStatus `json:",inline"`
// PortalID is the Konnect ID of the parent Portal.
//
// +optional
PortalID *KonnectEntityRef `json:"portalID,omitempty"`
// ObservedGeneration is the most recent generation observed
//
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitzero"`
}
PortalIPAllowListStatus defines the observed state of PortalIPAllowList.
func (*PortalIPAllowListStatus) DeepCopy ¶ added in v2.2.0
func (in *PortalIPAllowListStatus) DeepCopy() *PortalIPAllowListStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalIPAllowListStatus.
func (*PortalIPAllowListStatus) DeepCopyInto ¶ added in v2.2.0
func (in *PortalIPAllowListStatus) DeepCopyInto(out *PortalIPAllowListStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalIdentityProviderRequest ¶ added in v2.2.0
type PortalIdentityProviderRequest struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitzero"`
// +optional
Spec PortalIdentityProviderRequestSpec `json:"spec,omitzero"`
// +optional
Status PortalIdentityProviderRequestStatus `json:"status,omitzero"`
}
PortalIdentityProviderRequest is the Schema for the portalidentityproviderrequests API.
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Namespaced,categories=konnect;kong +kubebuilder:printcolumn:name="ID",description="Konnect ID",type="string",JSONPath=".status.id" +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this resource belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:storageversion +apireference:kgo:include +kong:channels=kong-operator
func (*PortalIdentityProviderRequest) DeepCopy ¶ added in v2.2.0
func (in *PortalIdentityProviderRequest) DeepCopy() *PortalIdentityProviderRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalIdentityProviderRequest.
func (*PortalIdentityProviderRequest) DeepCopyInto ¶ added in v2.2.0
func (in *PortalIdentityProviderRequest) DeepCopyInto(out *PortalIdentityProviderRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalIdentityProviderRequest) DeepCopyObject ¶ added in v2.2.0
func (in *PortalIdentityProviderRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PortalIdentityProviderRequest) GetAncestorIDs ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) GetAncestorIDs() map[string]string
GetAncestorIDs returns the Konnect IDs of the ancestor entities keyed by their Kind.
func (*PortalIdentityProviderRequest) GetConditions ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) GetConditions() []metav1.Condition
GetConditions returns the Status Conditions.
func (*PortalIdentityProviderRequest) GetKonnectID ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) GetKonnectID() string
GetKonnectID returns the Konnect ID in the PortalIdentityProviderRequest status.
func (*PortalIdentityProviderRequest) GetKonnectStatus ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the PortalIdentityProviderRequest status.
func (*PortalIdentityProviderRequest) GetParentGVK ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) GetParentGVK() schema.GroupVersionKind
GetParentGVK returns the GroupVersionKind of the parent entity.
func (*PortalIdentityProviderRequest) GetParentRef ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) GetParentRef() commonv1alpha1.ObjectRef
GetParentRef returns the reference to the parent entity.
func (*PortalIdentityProviderRequest) GetPortalID ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) GetPortalID() string
GetPortalID returns the Konnect ID of the parent Portal.
func (*PortalIdentityProviderRequest) GetPortalRef ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) GetPortalRef() commonv1alpha1.ObjectRef
GetPortalRef returns the reference to the root Portal.
func (*PortalIdentityProviderRequest) GetStatusConditionReasonParentRefInvalid ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) GetStatusConditionReasonParentRefInvalid() string
GetStatusConditionReasonParentRefInvalid returns the status condition reason indicating that the parent reference is invalid.
func (*PortalIdentityProviderRequest) GetStatusConditionReasonParentRefNotProgrammed ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) GetStatusConditionReasonParentRefNotProgrammed() string
GetStatusConditionReasonParentRefNotProgrammed returns the status condition reason indicating that the referenced parent exists but is not yet programmed in Konnect.
func (*PortalIdentityProviderRequest) GetStatusConditionReasonParentRefValid ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) GetStatusConditionReasonParentRefValid() string
GetStatusConditionReasonParentRefValid returns the status condition reason indicating that the parent reference is valid.
func (*PortalIdentityProviderRequest) GetStatusConditionTypeParentRefValid ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) GetStatusConditionTypeParentRefValid() string
GetStatusConditionTypeParentRefValid returns the status condition type indicating whether the parent reference is valid.
func (PortalIdentityProviderRequest) GetTypeName ¶ added in v2.2.0
func (obj PortalIdentityProviderRequest) GetTypeName() string
GetTypeName returns the PortalIdentityProviderRequest Kind name.
func (PortalIdentityProviderRequest) HasParent ¶ added in v2.2.0
func (obj PortalIdentityProviderRequest) HasParent() bool
HasParent returns true if the PortalIdentityProviderRequest has a parent entity.
func (*PortalIdentityProviderRequest) PersistsKonnectID ¶ added in v2.2.0
func (*PortalIdentityProviderRequest) PersistsKonnectID() bool
PersistsKonnectID reports whether PortalIdentityProviderRequest persists a Konnect ID in status.
func (*PortalIdentityProviderRequest) SetConditions ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) SetConditions(conditions []metav1.Condition)
SetConditions sets the Status Conditions.
func (*PortalIdentityProviderRequest) SetKonnectID ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) SetKonnectID(id string)
SetKonnectID sets the Konnect ID in the PortalIdentityProviderRequest status.
func (*PortalIdentityProviderRequest) SetParentID ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) SetParentID(id string)
SetParentID sets the Konnect ID of the immediate parent entity.
func (*PortalIdentityProviderRequest) SetPortalID ¶ added in v2.2.0
func (obj *PortalIdentityProviderRequest) SetPortalID(id string)
SetPortalID sets the Konnect ID of the parent Portal.
type PortalIdentityProviderRequestAPISpec ¶ added in v2.2.0
type PortalIdentityProviderRequestAPISpec struct {
//
//
// +optional
Config *PortalIdentityProviderRequestConfig `json:"config,omitempty"`
// Indicates whether the identity provider is enabled.
// Only one identity provider can be active at a time, such as SAML or OIDC.
//
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
Enabled string `json:"enabled,omitzero"`
// Specifies the type of identity provider.
//
// +optional
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Enum=oidc;saml
Type IdentityProviderType `json:"type,omitzero"`
}
PortalIdentityProviderRequestAPISpec defines the API spec fields for PortalIdentityProviderRequest.
func (*PortalIdentityProviderRequestAPISpec) DeepCopy ¶ added in v2.2.0
func (in *PortalIdentityProviderRequestAPISpec) DeepCopy() *PortalIdentityProviderRequestAPISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalIdentityProviderRequestAPISpec.
func (*PortalIdentityProviderRequestAPISpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalIdentityProviderRequestAPISpec) DeepCopyInto(out *PortalIdentityProviderRequestAPISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalIdentityProviderRequestAPISpec) ToPortalCreateIdentityProvider ¶ added in v2.2.0
func (s *PortalIdentityProviderRequestAPISpec) ToPortalCreateIdentityProvider() (*sdkkonnectcomp.PortalCreateIdentityProvider, error)
ToPortalCreateIdentityProvider converts the PortalIdentityProviderRequestAPISpec to the SDK type sdkkonnectcomp.PortalCreateIdentityProvider using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
func (*PortalIdentityProviderRequestAPISpec) ToPortalUpdateIdentityProvider ¶ added in v2.2.0
func (s *PortalIdentityProviderRequestAPISpec) ToPortalUpdateIdentityProvider() (*sdkkonnectcomp.PortalUpdateIdentityProvider, error)
ToPortalUpdateIdentityProvider converts the PortalIdentityProviderRequestAPISpec to the SDK type sdkkonnectcomp.PortalUpdateIdentityProvider using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
func (*PortalIdentityProviderRequestAPISpec) UnmarshalJSON ¶ added in v2.2.0
func (s *PortalIdentityProviderRequestAPISpec) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler.
type PortalIdentityProviderRequestConfig ¶ added in v2.2.0
type PortalIdentityProviderRequestConfig struct {
// Type designates the type of configuration.
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:Enum=oIDC;portalSAML
Type PortalIdentityProviderRequestConfigType `json:"type,omitempty"`
// OIDC configuration.
//
// +optional
OIDC *OIDCIdentityProviderConfig `json:"oIDC,omitempty"`
// PortalSAML configuration.
//
// +optional
PortalSAML *PortalSAMLIdentityProviderConfig `json:"portalSAML,omitempty"`
}
PortalIdentityProviderRequestConfig represents a union type for config. Only one of the fields should be set based on the Type.
func (*PortalIdentityProviderRequestConfig) DeepCopy ¶ added in v2.2.0
func (in *PortalIdentityProviderRequestConfig) DeepCopy() *PortalIdentityProviderRequestConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalIdentityProviderRequestConfig.
func (*PortalIdentityProviderRequestConfig) DeepCopyInto ¶ added in v2.2.0
func (in *PortalIdentityProviderRequestConfig) DeepCopyInto(out *PortalIdentityProviderRequestConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PortalIdentityProviderRequestConfig) MarshalJSON ¶ added in v2.2.0
func (u PortalIdentityProviderRequestConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*PortalIdentityProviderRequestConfig) UnmarshalJSON ¶ added in v2.2.0
func (u *PortalIdentityProviderRequestConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler.
type PortalIdentityProviderRequestConfigType ¶ added in v2.2.0
type PortalIdentityProviderRequestConfigType string
PortalIdentityProviderRequestConfigType represents the type of config.
const ( PortalIdentityProviderRequestConfigTypeOIDC PortalIdentityProviderRequestConfigType = "oIDC" PortalIdentityProviderRequestConfigTypePortalSAML PortalIdentityProviderRequestConfigType = "portalSAML" )
PortalIdentityProviderRequestConfigType values.
type PortalIdentityProviderRequestList ¶ added in v2.2.0
type PortalIdentityProviderRequestList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitzero"`
Items []PortalIdentityProviderRequest `json:"items"`
}
PortalIdentityProviderRequestList contains a list of PortalIdentityProviderRequest.
+kubebuilder:object:root=true
func (*PortalIdentityProviderRequestList) DeepCopy ¶ added in v2.2.0
func (in *PortalIdentityProviderRequestList) DeepCopy() *PortalIdentityProviderRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalIdentityProviderRequestList.
func (*PortalIdentityProviderRequestList) DeepCopyInto ¶ added in v2.2.0
func (in *PortalIdentityProviderRequestList) DeepCopyInto(out *PortalIdentityProviderRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalIdentityProviderRequestList) DeepCopyObject ¶ added in v2.2.0
func (in *PortalIdentityProviderRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (PortalIdentityProviderRequestList) GetItems ¶ added in v2.2.0
func (obj PortalIdentityProviderRequestList) GetItems() []PortalIdentityProviderRequest
GetItems returns the list of PortalIdentityProviderRequest items.
type PortalIdentityProviderRequestSDKOpsBoolField ¶ added in v2.2.0
PortalIdentityProviderRequestSDKOpsBoolField describes a boolean enum field that must be normalized for SDK payloads.
func (*PortalIdentityProviderRequestSDKOpsBoolField) DeepCopy ¶ added in v2.2.0
func (in *PortalIdentityProviderRequestSDKOpsBoolField) DeepCopy() *PortalIdentityProviderRequestSDKOpsBoolField
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalIdentityProviderRequestSDKOpsBoolField.
func (*PortalIdentityProviderRequestSDKOpsBoolField) DeepCopyInto ¶ added in v2.2.0
func (in *PortalIdentityProviderRequestSDKOpsBoolField) DeepCopyInto(out *PortalIdentityProviderRequestSDKOpsBoolField)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalIdentityProviderRequestSpec ¶ added in v2.2.0
type PortalIdentityProviderRequestSpec struct {
// PortalRef is the reference to the parent Portal object.
//
// +required
PortalRef commonv1alpha1.ObjectRef `json:"portalRef,omitzero"`
// APISpec defines the desired state of the resource's API spec fields.
//
// +optional
APISpec PortalIdentityProviderRequestAPISpec `json:"apiSpec,omitzero"`
}
PortalIdentityProviderRequestSpec defines the desired state of PortalIdentityProviderRequest.
func (*PortalIdentityProviderRequestSpec) DeepCopy ¶ added in v2.2.0
func (in *PortalIdentityProviderRequestSpec) DeepCopy() *PortalIdentityProviderRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalIdentityProviderRequestSpec.
func (*PortalIdentityProviderRequestSpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalIdentityProviderRequestSpec) DeepCopyInto(out *PortalIdentityProviderRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalIdentityProviderRequestStatus ¶ added in v2.2.0
type PortalIdentityProviderRequestStatus struct {
// Conditions represent the current state of the resource.
//
// +optional
// +listType=map
// +listMapKey=type
// +patchStrategy=merge
// +patchMergeKey=type
// +kubebuilder:validation:MaxItems=8
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
// Konnect contains the Konnect entity status.
//
// +optional
KonnectEntityStatus `json:",inline"`
// PortalID is the Konnect ID of the parent Portal.
//
// +optional
PortalID *KonnectEntityRef `json:"portalID,omitempty"`
// ObservedGeneration is the most recent generation observed
//
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitzero"`
}
PortalIdentityProviderRequestStatus defines the observed state of PortalIdentityProviderRequest.
func (*PortalIdentityProviderRequestStatus) DeepCopy ¶ added in v2.2.0
func (in *PortalIdentityProviderRequestStatus) DeepCopy() *PortalIdentityProviderRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalIdentityProviderRequestStatus.
func (*PortalIdentityProviderRequestStatus) DeepCopyInto ¶ added in v2.2.0
func (in *PortalIdentityProviderRequestStatus) DeepCopyInto(out *PortalIdentityProviderRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalList ¶ added in v2.2.0
type PortalList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitzero"`
Items []Portal `json:"items"`
}
PortalList contains a list of Portal.
+kubebuilder:object:root=true
func (*PortalList) DeepCopy ¶ added in v2.2.0
func (in *PortalList) DeepCopy() *PortalList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalList.
func (*PortalList) DeepCopyInto ¶ added in v2.2.0
func (in *PortalList) DeepCopyInto(out *PortalList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalList) DeepCopyObject ¶ added in v2.2.0
func (in *PortalList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (PortalList) GetItems ¶ added in v2.2.0
func (obj PortalList) GetItems() []Portal
GetItems returns the list of Portal items.
type PortalMenuItem ¶ added in v2.2.0
type PortalMenuItem struct {
// When clicked, open the link in a new window
//
// +required
// +kubebuilder:validation:Enum=Enabled;Disabled
External string `json:"external,omitzero"`
// The absolute path of a page in a portal with a leading slash.
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=512
Path string `json:"path,omitzero"`
// The link display text
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
Title string `json:"title,omitzero"`
// Whether a menu item is public or private.
// Private menu items are only accessible to authenticated users.
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Enum=public;private
Visibility string `json:"visibility,omitzero"`
}
PortalMenuItem is a type alias.
func (*PortalMenuItem) DeepCopy ¶ added in v2.2.0
func (in *PortalMenuItem) DeepCopy() *PortalMenuItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalMenuItem.
func (*PortalMenuItem) DeepCopyInto ¶ added in v2.2.0
func (in *PortalMenuItem) DeepCopyInto(out *PortalMenuItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalPage ¶ added in v2.2.0
type PortalPage struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitzero"`
// +optional
Spec PortalPageSpec `json:"spec,omitzero"`
// +optional
Status PortalPageStatus `json:"status,omitzero"`
}
PortalPage is the Schema for the portalpages API.
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Namespaced,categories=konnect;kong +kubebuilder:printcolumn:name="ID",description="Konnect ID",type="string",JSONPath=".status.id" +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this resource belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:storageversion +apireference:kgo:include +kong:channels=kong-operator
func (*PortalPage) DeepCopy ¶ added in v2.2.0
func (in *PortalPage) DeepCopy() *PortalPage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalPage.
func (*PortalPage) DeepCopyInto ¶ added in v2.2.0
func (in *PortalPage) DeepCopyInto(out *PortalPage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalPage) DeepCopyObject ¶ added in v2.2.0
func (in *PortalPage) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PortalPage) GetAncestorIDs ¶ added in v2.2.0
func (obj *PortalPage) GetAncestorIDs() map[string]string
GetAncestorIDs returns the Konnect IDs of the ancestor entities keyed by their Kind.
func (*PortalPage) GetConditions ¶ added in v2.2.0
func (obj *PortalPage) GetConditions() []metav1.Condition
GetConditions returns the Status Conditions.
func (*PortalPage) GetKonnectID ¶ added in v2.2.0
func (obj *PortalPage) GetKonnectID() string
GetKonnectID returns the Konnect ID in the PortalPage status.
func (*PortalPage) GetKonnectStatus ¶ added in v2.2.0
func (obj *PortalPage) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the PortalPage status.
func (*PortalPage) GetParentGVK ¶ added in v2.2.0
func (obj *PortalPage) GetParentGVK() schema.GroupVersionKind
GetParentGVK returns the GroupVersionKind of the parent entity.
func (*PortalPage) GetParentRef ¶ added in v2.2.0
func (obj *PortalPage) GetParentRef() commonv1alpha1.ObjectRef
GetParentRef returns the reference to the parent entity.
func (*PortalPage) GetPortalID ¶ added in v2.2.0
func (obj *PortalPage) GetPortalID() string
GetPortalID returns the Konnect ID of the parent Portal.
func (*PortalPage) GetPortalRef ¶ added in v2.2.0
func (obj *PortalPage) GetPortalRef() commonv1alpha1.ObjectRef
GetPortalRef returns the reference to the root Portal.
func (*PortalPage) GetStatusConditionReasonParentRefInvalid ¶ added in v2.2.0
func (obj *PortalPage) GetStatusConditionReasonParentRefInvalid() string
GetStatusConditionReasonParentRefInvalid returns the status condition reason indicating that the parent reference is invalid.
func (*PortalPage) GetStatusConditionReasonParentRefNotProgrammed ¶ added in v2.2.0
func (obj *PortalPage) GetStatusConditionReasonParentRefNotProgrammed() string
GetStatusConditionReasonParentRefNotProgrammed returns the status condition reason indicating that the referenced parent exists but is not yet programmed in Konnect.
func (*PortalPage) GetStatusConditionReasonParentRefValid ¶ added in v2.2.0
func (obj *PortalPage) GetStatusConditionReasonParentRefValid() string
GetStatusConditionReasonParentRefValid returns the status condition reason indicating that the parent reference is valid.
func (*PortalPage) GetStatusConditionTypeParentRefValid ¶ added in v2.2.0
func (obj *PortalPage) GetStatusConditionTypeParentRefValid() string
GetStatusConditionTypeParentRefValid returns the status condition type indicating whether the parent reference is valid.
func (PortalPage) GetTypeName ¶ added in v2.2.0
func (obj PortalPage) GetTypeName() string
GetTypeName returns the PortalPage Kind name.
func (PortalPage) HasParent ¶ added in v2.2.0
func (obj PortalPage) HasParent() bool
HasParent returns true if the PortalPage has a parent entity.
func (*PortalPage) PersistsKonnectID ¶ added in v2.2.0
func (*PortalPage) PersistsKonnectID() bool
PersistsKonnectID reports whether PortalPage persists a Konnect ID in status.
func (*PortalPage) SetConditions ¶ added in v2.2.0
func (obj *PortalPage) SetConditions(conditions []metav1.Condition)
SetConditions sets the Status Conditions.
func (*PortalPage) SetKonnectID ¶ added in v2.2.0
func (obj *PortalPage) SetKonnectID(id string)
SetKonnectID sets the Konnect ID in the PortalPage status.
func (*PortalPage) SetParentID ¶ added in v2.2.0
func (obj *PortalPage) SetParentID(id string)
SetParentID sets the Konnect ID of the immediate parent entity.
func (*PortalPage) SetPortalID ¶ added in v2.2.0
func (obj *PortalPage) SetPortalID(id string)
SetPortalID sets the Konnect ID of the parent Portal.
type PortalPageAPISpec ¶ added in v2.2.0
type PortalPageAPISpec struct {
// The renderable markdown content of a page in a portal.
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=1000000
Content PageContent `json:"content,omitzero"`
//
//
// +optional
// +kubebuilder:validation:MaxLength=160
Description Description `json:"description,omitzero"`
// Pages may be rendered as a tree of files.
//
// Specify the `id` of another page as the `parent_page_id` to add some
// hierarchy to your pages.
//
//
// +optional
// +kubebuilder:validation:XValidation:rule="self == null",message="cannot set parentPageIDRef"
ParentPageIDRef *commonv1alpha1.ObjectRef `json:"parentPageIDRef,omitempty"`
// The slug of a page in a portal, used to compute its full URL path within the
// portal hierarchy.
// When a page has a `parent_page_id`, its full path is built by joining the
// parent’s slug with its own.
// For example, if a parent page has the slug `slug1` and this page’s slug is
// `slug2`, the resulting path will be `/slug1/slug2`.
// This enables nested page structures like `/slug1/slug2/slug3`.
//
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=512
Slug PageSlug `json:"slug,omitzero"`
// Whether the resource is visible on a given portal. Defaults to unpublished.
//
// +optional
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Enum=published;unpublished
Status PublishedStatus `json:"status,omitzero"`
// The title of a page in a portal.
//
// +optional
// +kubebuilder:validation:MaxLength=512
Title PageTitle `json:"title,omitzero"`
// Whether a page is publicly accessible to non-authenticated users.
// If not provided, the default_page_visibility value of the portal will be
// used.
//
//
// +optional
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Enum=public;private
Visibility PageVisibilityStatus `json:"visibility,omitzero"`
}
PortalPageAPISpec defines the API spec fields for PortalPage.
func (*PortalPageAPISpec) DeepCopy ¶ added in v2.2.0
func (in *PortalPageAPISpec) DeepCopy() *PortalPageAPISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalPageAPISpec.
func (*PortalPageAPISpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalPageAPISpec) DeepCopyInto(out *PortalPageAPISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalPageAPISpec) ToCreatePortalPageRequest ¶ added in v2.2.0
func (s *PortalPageAPISpec) ToCreatePortalPageRequest() (*sdkkonnectcomp.CreatePortalPageRequest, error)
ToCreatePortalPageRequest converts the PortalPageAPISpec to the SDK type sdkkonnectcomp.CreatePortalPageRequest using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
func (*PortalPageAPISpec) ToUpdatePortalPageRequest ¶ added in v2.2.0
func (s *PortalPageAPISpec) ToUpdatePortalPageRequest() (*sdkkonnectcomp.UpdatePortalPageRequest, error)
ToUpdatePortalPageRequest converts the PortalPageAPISpec to the SDK type sdkkonnectcomp.UpdatePortalPageRequest using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
type PortalPageList ¶ added in v2.2.0
type PortalPageList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitzero"`
Items []PortalPage `json:"items"`
}
PortalPageList contains a list of PortalPage.
+kubebuilder:object:root=true
func (*PortalPageList) DeepCopy ¶ added in v2.2.0
func (in *PortalPageList) DeepCopy() *PortalPageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalPageList.
func (*PortalPageList) DeepCopyInto ¶ added in v2.2.0
func (in *PortalPageList) DeepCopyInto(out *PortalPageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalPageList) DeepCopyObject ¶ added in v2.2.0
func (in *PortalPageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (PortalPageList) GetItems ¶ added in v2.2.0
func (obj PortalPageList) GetItems() []PortalPage
GetItems returns the list of PortalPage items.
type PortalPageSpec ¶ added in v2.2.0
type PortalPageSpec struct {
// PortalRef is the reference to the parent Portal object.
//
// +required
PortalRef commonv1alpha1.ObjectRef `json:"portalRef,omitzero"`
// APISpec defines the desired state of the resource's API spec fields.
//
// +optional
APISpec PortalPageAPISpec `json:"apiSpec,omitzero"`
}
PortalPageSpec defines the desired state of PortalPage.
func (*PortalPageSpec) DeepCopy ¶ added in v2.2.0
func (in *PortalPageSpec) DeepCopy() *PortalPageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalPageSpec.
func (*PortalPageSpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalPageSpec) DeepCopyInto(out *PortalPageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalPageStatus ¶ added in v2.2.0
type PortalPageStatus struct {
// Conditions represent the current state of the resource.
//
// +optional
// +listType=map
// +listMapKey=type
// +patchStrategy=merge
// +patchMergeKey=type
// +kubebuilder:validation:MaxItems=8
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
// Konnect contains the Konnect entity status.
//
// +optional
KonnectEntityStatus `json:",inline"`
// PortalID is the Konnect ID of the parent Portal.
//
// +optional
PortalID *KonnectEntityRef `json:"portalID,omitempty"`
// ObservedGeneration is the most recent generation observed
//
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitzero"`
}
PortalPageStatus defines the observed state of PortalPage.
func (*PortalPageStatus) DeepCopy ¶ added in v2.2.0
func (in *PortalPageStatus) DeepCopy() *PortalPageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalPageStatus.
func (*PortalPageStatus) DeepCopyInto ¶ added in v2.2.0
func (in *PortalPageStatus) DeepCopyInto(out *PortalPageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalSAMLIdentityProviderConfig ¶ added in v2.2.0
type PortalSAMLIdentityProviderConfig struct {
// The identity provider's metadata URL where the identity provider's metadata
// can be obtained.
//
// +optional
// +kubebuilder:validation:MaxLength=253
IdpMetadataURL SAMLIdentityProviderMetadataURL `json:"idpMetadataURL,omitzero"`
// The identity provider's SAML metadata.
// If the identity provider supports a metadata URL, you can use the
// `idp_metadata_url` field instead.
//
//
// +optional
// +kubebuilder:validation:MaxLength=253
IdpMetadataXML SAMLIdentityProviderMetadata `json:"idpMetadataXML,omitzero"`
}
PortalSAMLIdentityProviderConfig The identity provider that contains configuration data for the SAML authentication integration.
func (*PortalSAMLIdentityProviderConfig) DeepCopy ¶ added in v2.2.0
func (in *PortalSAMLIdentityProviderConfig) DeepCopy() *PortalSAMLIdentityProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalSAMLIdentityProviderConfig.
func (*PortalSAMLIdentityProviderConfig) DeepCopyInto ¶ added in v2.2.0
func (in *PortalSAMLIdentityProviderConfig) DeepCopyInto(out *PortalSAMLIdentityProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalSDKOpsBoolField ¶ added in v2.2.0
PortalSDKOpsBoolField describes a boolean enum field that must be normalized for SDK payloads.
func (*PortalSDKOpsBoolField) DeepCopy ¶ added in v2.2.0
func (in *PortalSDKOpsBoolField) DeepCopy() *PortalSDKOpsBoolField
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalSDKOpsBoolField.
func (*PortalSDKOpsBoolField) DeepCopyInto ¶ added in v2.2.0
func (in *PortalSDKOpsBoolField) DeepCopyInto(out *PortalSDKOpsBoolField)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalSpec ¶ added in v2.2.0
type PortalSpec struct {
// KonnectConfiguration is the Konnect configuration for this entity.
//
// +required
KonnectConfiguration konnectv1alpha2.KonnectConfiguration `json:"konnect"`
// APISpec defines the desired state of the resource's API spec fields.
//
// +optional
APISpec PortalAPISpec `json:"apiSpec,omitzero"`
}
PortalSpec defines the desired state of Portal.
func (*PortalSpec) DeepCopy ¶ added in v2.2.0
func (in *PortalSpec) DeepCopy() *PortalSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalSpec.
func (*PortalSpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalSpec) DeepCopyInto(out *PortalSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalStatus ¶ added in v2.2.0
type PortalStatus struct {
// Conditions represent the current state of the resource.
//
// +optional
// +listType=map
// +listMapKey=type
// +patchStrategy=merge
// +patchMergeKey=type
// +kubebuilder:validation:MaxItems=8
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
// Konnect contains the Konnect entity status.
//
// +optional
konnectv1alpha2.KonnectEntityStatus `json:",inline"`
// ObservedGeneration is the most recent generation observed
//
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitzero"`
}
PortalStatus defines the observed state of Portal.
func (*PortalStatus) DeepCopy ¶ added in v2.2.0
func (in *PortalStatus) DeepCopy() *PortalStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalStatus.
func (*PortalStatus) DeepCopyInto ¶ added in v2.2.0
func (in *PortalStatus) DeepCopyInto(out *PortalStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalTeam ¶ added in v2.2.0
type PortalTeam struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitzero"`
// +optional
Spec PortalTeamSpec `json:"spec,omitzero"`
// +optional
Status PortalTeamStatus `json:"status,omitzero"`
}
PortalTeam is the Schema for the portalteams API.
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Namespaced,categories=konnect;kong +kubebuilder:printcolumn:name="ID",description="Konnect ID",type="string",JSONPath=".status.id" +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed on Konnect",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status` +kubebuilder:printcolumn:name="OrgID",description="Konnect Organization ID this resource belongs to.",type=string,JSONPath=`.status.organizationID` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:storageversion +apireference:kgo:include +kong:channels=kong-operator
func (*PortalTeam) DeepCopy ¶ added in v2.2.0
func (in *PortalTeam) DeepCopy() *PortalTeam
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalTeam.
func (*PortalTeam) DeepCopyInto ¶ added in v2.2.0
func (in *PortalTeam) DeepCopyInto(out *PortalTeam)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalTeam) DeepCopyObject ¶ added in v2.2.0
func (in *PortalTeam) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PortalTeam) GetAncestorIDs ¶ added in v2.2.0
func (obj *PortalTeam) GetAncestorIDs() map[string]string
GetAncestorIDs returns the Konnect IDs of the ancestor entities keyed by their Kind.
func (*PortalTeam) GetConditions ¶ added in v2.2.0
func (obj *PortalTeam) GetConditions() []metav1.Condition
GetConditions returns the Status Conditions.
func (*PortalTeam) GetKonnectID ¶ added in v2.2.0
func (obj *PortalTeam) GetKonnectID() string
GetKonnectID returns the Konnect ID in the PortalTeam status.
func (*PortalTeam) GetKonnectStatus ¶ added in v2.2.0
func (obj *PortalTeam) GetKonnectStatus() *konnectv1alpha2.KonnectEntityStatus
GetKonnectStatus returns the Konnect status contained in the PortalTeam status.
func (*PortalTeam) GetParentGVK ¶ added in v2.2.0
func (obj *PortalTeam) GetParentGVK() schema.GroupVersionKind
GetParentGVK returns the GroupVersionKind of the parent entity.
func (*PortalTeam) GetParentRef ¶ added in v2.2.0
func (obj *PortalTeam) GetParentRef() commonv1alpha1.ObjectRef
GetParentRef returns the reference to the parent entity.
func (*PortalTeam) GetPortalID ¶ added in v2.2.0
func (obj *PortalTeam) GetPortalID() string
GetPortalID returns the Konnect ID of the parent Portal.
func (*PortalTeam) GetPortalRef ¶ added in v2.2.0
func (obj *PortalTeam) GetPortalRef() commonv1alpha1.ObjectRef
GetPortalRef returns the reference to the root Portal.
func (*PortalTeam) GetStatusConditionReasonParentRefInvalid ¶ added in v2.2.0
func (obj *PortalTeam) GetStatusConditionReasonParentRefInvalid() string
GetStatusConditionReasonParentRefInvalid returns the status condition reason indicating that the parent reference is invalid.
func (*PortalTeam) GetStatusConditionReasonParentRefNotProgrammed ¶ added in v2.2.0
func (obj *PortalTeam) GetStatusConditionReasonParentRefNotProgrammed() string
GetStatusConditionReasonParentRefNotProgrammed returns the status condition reason indicating that the referenced parent exists but is not yet programmed in Konnect.
func (*PortalTeam) GetStatusConditionReasonParentRefValid ¶ added in v2.2.0
func (obj *PortalTeam) GetStatusConditionReasonParentRefValid() string
GetStatusConditionReasonParentRefValid returns the status condition reason indicating that the parent reference is valid.
func (*PortalTeam) GetStatusConditionTypeParentRefValid ¶ added in v2.2.0
func (obj *PortalTeam) GetStatusConditionTypeParentRefValid() string
GetStatusConditionTypeParentRefValid returns the status condition type indicating whether the parent reference is valid.
func (PortalTeam) GetTypeName ¶ added in v2.2.0
func (obj PortalTeam) GetTypeName() string
GetTypeName returns the PortalTeam Kind name.
func (PortalTeam) HasParent ¶ added in v2.2.0
func (obj PortalTeam) HasParent() bool
HasParent returns true if the PortalTeam has a parent entity.
func (*PortalTeam) PersistsKonnectID ¶ added in v2.2.0
func (*PortalTeam) PersistsKonnectID() bool
PersistsKonnectID reports whether PortalTeam persists a Konnect ID in status.
func (*PortalTeam) SetConditions ¶ added in v2.2.0
func (obj *PortalTeam) SetConditions(conditions []metav1.Condition)
SetConditions sets the Status Conditions.
func (*PortalTeam) SetKonnectID ¶ added in v2.2.0
func (obj *PortalTeam) SetKonnectID(id string)
SetKonnectID sets the Konnect ID in the PortalTeam status.
func (*PortalTeam) SetParentID ¶ added in v2.2.0
func (obj *PortalTeam) SetParentID(id string)
SetParentID sets the Konnect ID of the immediate parent entity.
func (*PortalTeam) SetPortalID ¶ added in v2.2.0
func (obj *PortalTeam) SetPortalID(id string)
SetPortalID sets the Konnect ID of the parent Portal.
type PortalTeamAPISpec ¶ added in v2.2.0
type PortalTeamAPISpec struct {
// Whether the team is allowed to own applications
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
CanOwnApplications string `json:"canOwnApplications,omitzero"`
//
//
// +optional
// +kubebuilder:validation:MaxLength=250
Description string `json:"description,omitzero"`
//
//
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Pattern=`^[\w \W]+$`
Name string `json:"name,omitzero"`
}
PortalTeamAPISpec defines the API spec fields for PortalTeam.
func (*PortalTeamAPISpec) DeepCopy ¶ added in v2.2.0
func (in *PortalTeamAPISpec) DeepCopy() *PortalTeamAPISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalTeamAPISpec.
func (*PortalTeamAPISpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalTeamAPISpec) DeepCopyInto(out *PortalTeamAPISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalTeamAPISpec) ToPortalCreateTeamRequest ¶ added in v2.2.0
func (s *PortalTeamAPISpec) ToPortalCreateTeamRequest() (*sdkkonnectcomp.PortalCreateTeamRequest, error)
ToPortalCreateTeamRequest converts the PortalTeamAPISpec to the SDK type sdkkonnectcomp.PortalCreateTeamRequest using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
func (*PortalTeamAPISpec) ToPortalUpdateTeamRequest ¶ added in v2.2.0
func (s *PortalTeamAPISpec) ToPortalUpdateTeamRequest() (*sdkkonnectcomp.PortalUpdateTeamRequest, error)
ToPortalUpdateTeamRequest converts the PortalTeamAPISpec to the SDK type sdkkonnectcomp.PortalUpdateTeamRequest using JSON marshal/unmarshal. Fields that exist in the CRD spec but not in the SDK type (e.g., Kubernetes object references) are naturally excluded because they have different JSON names.
type PortalTeamList ¶ added in v2.2.0
type PortalTeamList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitzero"`
Items []PortalTeam `json:"items"`
}
PortalTeamList contains a list of PortalTeam.
+kubebuilder:object:root=true
func (*PortalTeamList) DeepCopy ¶ added in v2.2.0
func (in *PortalTeamList) DeepCopy() *PortalTeamList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalTeamList.
func (*PortalTeamList) DeepCopyInto ¶ added in v2.2.0
func (in *PortalTeamList) DeepCopyInto(out *PortalTeamList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortalTeamList) DeepCopyObject ¶ added in v2.2.0
func (in *PortalTeamList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (PortalTeamList) GetItems ¶ added in v2.2.0
func (obj PortalTeamList) GetItems() []PortalTeam
GetItems returns the list of PortalTeam items.
type PortalTeamSDKOpsBoolField ¶ added in v2.2.0
PortalTeamSDKOpsBoolField describes a boolean enum field that must be normalized for SDK payloads.
func (*PortalTeamSDKOpsBoolField) DeepCopy ¶ added in v2.2.0
func (in *PortalTeamSDKOpsBoolField) DeepCopy() *PortalTeamSDKOpsBoolField
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalTeamSDKOpsBoolField.
func (*PortalTeamSDKOpsBoolField) DeepCopyInto ¶ added in v2.2.0
func (in *PortalTeamSDKOpsBoolField) DeepCopyInto(out *PortalTeamSDKOpsBoolField)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalTeamSpec ¶ added in v2.2.0
type PortalTeamSpec struct {
// PortalRef is the reference to the parent Portal object.
//
// +required
PortalRef commonv1alpha1.ObjectRef `json:"portalRef,omitzero"`
// APISpec defines the desired state of the resource's API spec fields.
//
// +optional
APISpec PortalTeamAPISpec `json:"apiSpec,omitzero"`
}
PortalTeamSpec defines the desired state of PortalTeam.
func (*PortalTeamSpec) DeepCopy ¶ added in v2.2.0
func (in *PortalTeamSpec) DeepCopy() *PortalTeamSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalTeamSpec.
func (*PortalTeamSpec) DeepCopyInto ¶ added in v2.2.0
func (in *PortalTeamSpec) DeepCopyInto(out *PortalTeamSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortalTeamStatus ¶ added in v2.2.0
type PortalTeamStatus struct {
// Conditions represent the current state of the resource.
//
// +optional
// +listType=map
// +listMapKey=type
// +patchStrategy=merge
// +patchMergeKey=type
// +kubebuilder:validation:MaxItems=8
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
// Konnect contains the Konnect entity status.
//
// +optional
KonnectEntityStatus `json:",inline"`
// PortalID is the Konnect ID of the parent Portal.
//
// +optional
PortalID *KonnectEntityRef `json:"portalID,omitempty"`
// ObservedGeneration is the most recent generation observed
//
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitzero"`
}
PortalTeamStatus defines the observed state of PortalTeam.
func (*PortalTeamStatus) DeepCopy ¶ added in v2.2.0
func (in *PortalTeamStatus) DeepCopy() *PortalTeamStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalTeamStatus.
func (*PortalTeamStatus) DeepCopyInto ¶ added in v2.2.0
func (in *PortalTeamStatus) DeepCopyInto(out *PortalTeamStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProvisioningMethod ¶
type ProvisioningMethod string
ProvisioningMethod is the type of the provisioning methods available to provision the certificate.
const ( // ManualSecretProvisioning is the method used to provision the certificate manually. ManualSecretProvisioning ProvisioningMethod = "Manual" // AutomaticSecretProvisioning is the method used to provision the certificate automatically. AutomaticSecretProvisioning ProvisioningMethod = "Automatic" )
type PublishedStatus ¶ added in v2.2.0
type PublishedStatus string
PublishedStatus Whether the resource is visible on a given portal. Defaults to unpublished.
type SAMLIdentityProviderMetadata ¶ added in v2.2.0
type SAMLIdentityProviderMetadata string
SAMLIdentityProviderMetadata The identity provider's SAML metadata. If the identity provider supports a metadata URL, you can use the `idp_metadata_url` field instead.
type SAMLIdentityProviderMetadataURL ¶ added in v2.2.0
type SAMLIdentityProviderMetadataURL string
SAMLIdentityProviderMetadataURL The identity provider's metadata URL where the identity provider's metadata can be obtained.
type SecretKeyRef ¶ added in v2.2.0
type SecretKeyRef struct {
// Name is the name of the Secret
//
// +required
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:MinLength=1
Name string `json:"name,omitzero"`
// Key is the key within the Secret
//
// +required
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:MinLength=1
Key string `json:"key,omitzero"`
// Namespace is the namespace of the Secret
//
// +optional
// +kubebuilder:validation:MaxLength=63
Namespace string `json:"namespace,omitzero"`
}
SecretKeyRef is a reference to a key in a Secret
func (*SecretKeyRef) DeepCopy ¶ added in v2.2.0
func (in *SecretKeyRef) DeepCopy() *SecretKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeyRef.
func (*SecretKeyRef) DeepCopyInto ¶ added in v2.2.0
func (in *SecretKeyRef) DeepCopyInto(out *SecretKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretRef ¶
type SecretRef struct {
// Name is the name of the Secret containing the Konnect Control Plane's cluster certificate.
//
// +required
Name string `json:"name"`
}
SecretRef contains the reference to the Secret containing the Konnect Control Plane's cluster certificate.
func (*SecretRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRef.
func (*SecretRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SensitiveDataSecretRef ¶ added in v2.2.0
type SensitiveDataSecretRef struct {
// Ref is the namespaced reference to the Secret.
// +optional
Ref commonv1alpha1.NamespacedRef `json:"ref,omitzero"`
// Key is the data key within the Secret.
// +optional
Key string `json:"key,omitzero"`
}
SensitiveDataSecretRef identifies a specific key inside a Kubernetes Secret that holds a sensitive value for a CRD field.
func (*SensitiveDataSecretRef) DeepCopy ¶ added in v2.2.0
func (in *SensitiveDataSecretRef) DeepCopy() *SensitiveDataSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensitiveDataSecretRef.
func (*SensitiveDataSecretRef) DeepCopyInto ¶ added in v2.2.0
func (in *SensitiveDataSecretRef) DeepCopyInto(out *SensitiveDataSecretRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecRenderer ¶ added in v2.2.0
type SpecRenderer struct {
// Let users define a custom server URL for endpoints.
// This will be used to generate code snippets and to test the API.
// The URL is client-side only and is not saved.
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
AllowCustomServerUrls string `json:"allowCustomServerUrls,omitzero"`
// Manage visibility of deprecated endpoints and models.
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
HideDeprecated string `json:"hideDeprecated,omitzero"`
// Manage visibility of internal endpoints and models.
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
HideInternal string `json:"hideInternal,omitzero"`
// Display the full spec on a single, scrollable page.
// If disabled, documentation, endpoints, and schemas appear on separate pages.
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
InfiniteScroll string `json:"infiniteScroll,omitzero"`
// Control whether schemas are visible in your API specs.
// When enabled, schemas appear in the side navigation below the endpoints.
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
ShowSchemas string `json:"showSchemas,omitzero"`
// Enables users to open API specifications in Insomnia to explore and send
// requests with the native client.
// Only public API specifications are supported.
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
TryItInsomnia string `json:"tryItInsomnia,omitzero"`
// Enable in-browser testing for your APIs.
// All linked gateways must have the CORS plugin configured.
//
// +optional
// +kubebuilder:validation:Enum=Enabled;Disabled
TryItUi string `json:"tryItUi,omitzero"`
}
SpecRenderer is a type alias.
func (*SpecRenderer) DeepCopy ¶ added in v2.2.0
func (in *SpecRenderer) DeepCopy() *SpecRenderer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecRenderer.
func (*SpecRenderer) DeepCopyInto ¶ added in v2.2.0
func (in *SpecRenderer) DeepCopyInto(out *SpecRenderer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Theme ¶ added in v2.2.0
type Theme struct {
//
//
// +optional
Colors Colors `json:"colors,omitzero"`
//
//
// +optional
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Enum=light;dark;system
Mode string `json:"mode,omitzero"`
//
//
// +optional
// +kubebuilder:validation:MaxLength=253
Name string `json:"name,omitzero"`
}
Theme is a type alias.
func (*Theme) DeepCopy ¶ added in v2.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Theme.
func (*Theme) DeepCopyInto ¶ added in v2.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TransitGatewayDNSConfig ¶
type TransitGatewayDNSConfig struct {
// RemoteDNSServerIPAddresses is the list of remote DNS server IP Addresses to connect to for resolving internal DNS via a transit gateway.
//
// +required
RemoteDNSServerIPAddresses []string `json:"remote_dns_server_ip_addresses,omitempty"`
// DomainProxyList is the list of internal domain names to proxy for DNS resolution from the listed remote DNS server IP addresses,
// for a transit gateway.
//
// +required
DomainProxyList []string `json:"domain_proxy_list,omitempty"`
}
TransitGatewayDNSConfig is the DNS configuration of a tansit gateway.
func (*TransitGatewayDNSConfig) DeepCopy ¶
func (in *TransitGatewayDNSConfig) DeepCopy() *TransitGatewayDNSConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransitGatewayDNSConfig.
func (*TransitGatewayDNSConfig) DeepCopyInto ¶
func (in *TransitGatewayDNSConfig) DeepCopyInto(out *TransitGatewayDNSConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TransitGatewayType ¶
type TransitGatewayType string
TransitGatewayType defines the type of Konnect transit gateway.
const ( // TransitGatewayTypeAWSTransitGateway defines the AWS transit gateway type. TransitGatewayTypeAWSTransitGateway TransitGatewayType = "AWSTransitGateway" // TransitGatewayTypeAzureTransitGateway defines the Azure transit gateway type. TransitGatewayTypeAzureTransitGateway TransitGatewayType = "AzureTransitGateway" )
Source Files
¶
- common_types.go
- doc.go
- groupversion_info.go
- konnect_apiauthconfiguration_types.go
- konnect_cloudgateway_dataplane_configuration_types.go
- konnect_cloudgateway_network_types.go
- konnect_cloudgateway_transitgateway_types.go
- konnect_conditions.go
- konnect_extension_types.go
- konnect_gateway_controlplane_conversion.go
- konnect_gateway_controlplane_types.go
- konnect_mcpserver_types.go
- schema_types.go
- sensitive_data_source.go
- zz_generated.deepcopy.go
- zz_generated_adopt_funcs.go
- zz_generated_funcs.go
- zz_generated_funcs_cloud_gateway.go
- zz_generated_funcs_standalone.go
- zz_generated_groupversion_info.go
- zz_generated_konnect_entity_persistence.go
- zz_generated_konnect_eventgateway_funcs.go
- zz_generated_konnect_eventgateway_sdkops.go
- zz_generated_konnect_eventgateway_types.go
- zz_generated_list_funcs.go
- zz_generated_portal_funcs.go
- zz_generated_portal_sdkops.go
- zz_generated_portal_types.go
- zz_generated_portalcustomdomain_funcs.go
- zz_generated_portalcustomdomain_sdkops.go
- zz_generated_portalcustomdomain_types.go
- zz_generated_portalcustomization_funcs.go
- zz_generated_portalcustomization_sdkops.go
- zz_generated_portalcustomization_types.go
- zz_generated_portalemailconfig_funcs.go
- zz_generated_portalemailconfig_sdkops.go
- zz_generated_portalemailconfig_types.go
- zz_generated_portalidentityproviderrequest_funcs.go
- zz_generated_portalidentityproviderrequest_sdkops.go
- zz_generated_portalidentityproviderrequest_types.go
- zz_generated_portalipallowlist_funcs.go
- zz_generated_portalipallowlist_sdkops.go
- zz_generated_portalipallowlist_types.go
- zz_generated_portalpage_funcs.go
- zz_generated_portalpage_sdkops.go
- zz_generated_portalpage_types.go
- zz_generated_portalteam_funcs.go
- zz_generated_portalteam_sdkops.go
- zz_generated_portalteam_types.go
- zz_generated_reconciler_conditions.go