Documentation
¶
Index ¶
- Constants
- func AIGatewayAgentDisplayName(agent any) string
- func AIGatewayAgentEnabled(agent any) *bool
- func AIGatewayAgentID(agent any) string
- func AIGatewayAgentLabels(agent any) map[string]string
- func AIGatewayAgentMutablePayloadMap(agent kkComps.AIGatewayAgent) (map[string]any, error)
- func AIGatewayAgentName(agent any) string
- func AIGatewayAgentType(agent any) string
- func AIGatewayAgentUpdatedAt(agent any) time.Time
- func AIGatewayCACertificateID(value any) string
- func AIGatewayCACertificateName(value any) string
- func AIGatewayCertificateID(value any) string
- func AIGatewayCertificateName(value any) string
- func AIGatewayConfigStoreID(resource any) string
- func AIGatewayConfigStoreName(resource any) string
- func AIGatewayConsumerCredentialDisplayName(credential any) string
- func AIGatewayConsumerCredentialID(credential any) string
- func AIGatewayConsumerCredentialLabels(credential any) map[string]string
- func AIGatewayConsumerCredentialMutablePayloadMap(credential kkComps.AIGatewayConsumerCredential) (map[string]any, error)
- func AIGatewayConsumerCredentialName(credential any) string
- func AIGatewayConsumerCredentialUpdatedAt(credential any) time.Time
- func AIGatewayConsumerDisplayName(consumer any) string
- func AIGatewayConsumerGroupConsumers(group any) ([]string, bool, error)
- func AIGatewayConsumerGroupDisplayName(group any) string
- func AIGatewayConsumerGroupID(group any) string
- func AIGatewayConsumerGroupLabels(group any) map[string]string
- func AIGatewayConsumerGroupMutablePayloadMap(group kkComps.AIGatewayConsumerGroup) (map[string]any, error)
- func AIGatewayConsumerGroupName(group any) string
- func AIGatewayConsumerGroupUpdatedAt(group any) time.Time
- func AIGatewayConsumerID(consumer any) string
- func AIGatewayConsumerLabels(consumer any) map[string]string
- func AIGatewayConsumerMutablePayloadMap(consumer kkComps.AIGatewayConsumer) (map[string]any, error)
- func AIGatewayConsumerName(consumer any) string
- func AIGatewayConsumerUpdatedAt(consumer any) time.Time
- func AIGatewayCustomPolicyID(policy any) string
- func AIGatewayCustomPolicyLabels(policy any) map[string]string
- func AIGatewayCustomPolicyManagedBy(policy any) map[string]string
- func AIGatewayCustomPolicyMutablePayloadMap(policy kkComps.AIGatewayCustomPolicy) (map[string]any, error)
- func AIGatewayCustomPolicyName(policy any) string
- func AIGatewayDataPlaneCertificateID(cert any) string
- func AIGatewayDataPlaneCertificateTitle(cert any) string
- func AIGatewayDatastoreDescription(datastore any) string
- func AIGatewayDatastoreID(datastore any) string
- func AIGatewayDatastoreLabels(datastore any) map[string]string
- func AIGatewayDatastoreMutablePayloadMap(datastore kkComps.AIGatewayDatastore) (map[string]any, error)
- func AIGatewayDatastoreName(datastore any) string
- func AIGatewayDatastoreType(datastore any) string
- func AIGatewayDatastoreUpdatedAt(datastore any) time.Time
- func AIGatewayMCPServerDisplayName(server any) string
- func AIGatewayMCPServerEnabled(server any) *bool
- func AIGatewayMCPServerID(server any) string
- func AIGatewayMCPServerLabels(server any) map[string]string
- func AIGatewayMCPServerManagedBy(value any) map[string]string
- func AIGatewayMCPServerMutablePayloadMap(server kkComps.AIGatewayMCPServer) (map[string]any, error)
- func AIGatewayMCPServerName(server any) string
- func AIGatewayMCPServerType(server any) string
- func AIGatewayMCPServerUpdatedAt(server any) time.Time
- func AIGatewayModelDisplayName(model kkComps.AIGatewayModel) string
- func AIGatewayModelEnabled(model kkComps.AIGatewayModel) *bool
- func AIGatewayModelID(model any) string
- func AIGatewayModelLabels(model any) map[string]string
- func AIGatewayModelManagedBy(model kkComps.AIGatewayModel) map[string]string
- func AIGatewayModelMutablePayloadMap(model kkComps.AIGatewayModel) (map[string]any, error)
- func AIGatewayModelName(model any) string
- func AIGatewayModelType(model kkComps.AIGatewayModel) string
- func AIGatewayModelUpdatedAt(model kkComps.AIGatewayModel) time.Time
- func AIGatewayPolicyDisplayName(policy any) string
- func AIGatewayPolicyEnabled(policy any) *bool
- func AIGatewayPolicyGlobal(policy any) *bool
- func AIGatewayPolicyID(policy any) string
- func AIGatewayPolicyLabels(policy any) map[string]string
- func AIGatewayPolicyMutablePayloadMap(policy kkComps.AIGatewayPolicy) (map[string]any, error)
- func AIGatewayPolicyName(policy any) string
- func AIGatewayPolicyType(policy any) string
- func AIGatewayPolicyUpdatedAt(policy any) time.Time
- func AIGatewaySNIID(value any) string
- func AIGatewaySNIName(value any) string
- func AIGatewayTokenVaultFields(datastores []kkComps.AIGatewayDatastoreRef, vault any) (map[string]any, error)
- func AIGatewayVaultDescription(vault any) string
- func AIGatewayVaultID(vault any) string
- func AIGatewayVaultLabels(vault any) map[string]string
- func AIGatewayVaultManagedBy(value any) map[string]string
- func AIGatewayVaultMutablePayloadMap(vault kkComps.AIGatewayVault) (map[string]any, error)
- func AIGatewayVaultName(vault any) string
- func AIGatewayVaultType(vault any) string
- func AIGatewayVaultUpdatedAt(vault any) time.Time
- func BuildChildManagedBy(namespace string, protected bool, version string) map[string]string
- func BuildModelManagedBy(namespace string, protected bool, version string) map[string]string
- func BuildPrincipalManagedBy(namespace, ref string, protected bool, version string) map[string]string
- func CaptureOwnedChildCollection(scope *SyncScope, kind ResourceType, parent, defaultNamespace string, ...)
- func ChildUnprotectionMetadataOnly(current, desired map[string]string) bool
- func ControlPlaneDataPlaneCertificateIdentity(cert string) string
- func ExplainResourcePaths() []string
- func ExternalUnsupportedReason(rt ResourceType) (string, bool)
- func GetNamespace(kongctl *KongctlMeta) string
- func GetResourcesByNamespace[R any, RPtr interface{ ... }](rs *ResourceSet, namespace string) []R
- func HasIndependentChildOwnership(kind ResourceType) bool
- func IdentityAPIKeyRef(metadata map[string]string) (string, bool, error)
- func IdentityVaultCredentialSlot(priority *int64) string
- func IsChildProtected(metadata map[string]string) bool
- func IsEventGatewayReferencePath(resource Resource, path string) bool
- func IsRegistered(rt ResourceType) bool
- func IsRelationshipPath(resource Resource, path string) bool
- func ManagedByWithProvenance(metadata map[string]string, version string) map[string]string
- func MaturityFor(resourceType ResourceType, operations ...Operation) (capmaturity.Resolution, error)
- func MergeIdentityMetadata(current any, updates map[string]any) (map[string]any, error)
- func NormalizeDCRProviderIssuer(issuer string) string
- func NormalizeResourceRef(value string) string
- func NormalizedChildOwnership(metadata map[string]string) map[string]string
- func NormalizedModelOwnership(model kkComps.AIGatewayModel) map[string]string
- func OmitAIGatewayModelDatastoreConnections(payload map[string]any)
- func OmitAPIDefaults(data []byte) ([]byte, error)
- func PortalAuthSettingsDeprecatedFieldMessage(field string) string
- func PortalSingletonScopeKeys() []string
- func PrepareManagedBy(kind ResourceType, metadata map[string]string, version string) (map[string]string, error)
- func RenderExplainText(subject *ExplainSubject, extended bool) string
- func RenderScaffoldYAML(subject *ExplainSubject) (string, error)
- func ShortControlPlaneDataPlaneCertificateIdentity(cert string) string
- func StripAIGatewayConsumerGroupMembershipFields(payload map[string]any)
- func SupportsManagedBy(kind ResourceType) bool
- func UpdatesManagedBy(kind ResourceType) bool
- func UsesManagedByOwnership(kind ResourceType) bool
- func ValidateAIGatewayMCPServerACLs(payload map[string]any) error
- func ValidateChildManagedBy(metadata map[string]string, raw bool) error
- func ValidateChildOwnership(kind string, metadata map[string]string, namespace string) error
- func ValidateIdentityMetadata(metadata map[string]any) error
- func ValidateManagedBy(metadata map[string]string, policy ManagedByPolicy) error
- func ValidateManagedResourceCoverage(consumer string, kinds []ResourceType) error
- func ValidateManagedRootCoverage(consumer string, kinds []ResourceType) error
- func ValidateModelOwnership(metadata map[string]string, namespace string) error
- func ValidateOrganizationTeamRoles(rs *ResourceSet, roles []OrganizationTeamRoleResource) error
- func ValidateRef(ref string) error
- func ValidateResourceCollection[R any, RPtr interface{ ... }](rs *ResourceSet, values []R) error
- func ValidateRoleEntityReference(roleType ResourceType, roleRef string, entityID string, entityTypeName string, ...) error
- type AIGatewayAgentResource
- func (a AIGatewayAgentResource) CreateRequest() kkComps.CreateAIGatewayAgentRequest
- func (a AIGatewayAgentResource) GetDependencies() []ResourceRef
- func (a AIGatewayAgentResource) GetKonnectMonikerFilter() string
- func (a AIGatewayAgentResource) GetMoniker() string
- func (a AIGatewayAgentResource) GetParentRef() *ResourceRef
- func (a AIGatewayAgentResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayAgentResource) GetType() ResourceType
- func (a AIGatewayAgentResource) MarshalJSON() ([]byte, error)
- func (a AIGatewayAgentResource) MarshalYAML() (any, error)
- func (a AIGatewayAgentResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayAgentResource) PayloadMap() (map[string]any, error)
- func (a AIGatewayAgentResource) Protected() bool
- func (a *AIGatewayAgentResource) SetDefaults()
- func (a *AIGatewayAgentResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *AIGatewayAgentResource) UnmarshalJSON(data []byte) error
- func (a AIGatewayAgentResource) UpdateRequest() kkComps.UpdateAIGatewayAgentRequest
- func (a AIGatewayAgentResource) Validate() error
- type AIGatewayAuthStrategyResource
- func (a AIGatewayAuthStrategyResource) GetDependencies() []ResourceRef
- func (a AIGatewayAuthStrategyResource) GetKonnectMonikerFilter() string
- func (a AIGatewayAuthStrategyResource) GetMoniker() string
- func (a AIGatewayAuthStrategyResource) GetParentRef() *ResourceRef
- func (a AIGatewayAuthStrategyResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayAuthStrategyResource) GetType() ResourceType
- func (a AIGatewayAuthStrategyResource) MarshalJSON() ([]byte, error)
- func (a AIGatewayAuthStrategyResource) MarshalYAML() (any, error)
- func (a AIGatewayAuthStrategyResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayAuthStrategyResource) PayloadMap() (map[string]any, error)
- func (a AIGatewayAuthStrategyResource) Protected() bool
- func (a *AIGatewayAuthStrategyResource) SetDefaults()
- func (a *AIGatewayAuthStrategyResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *AIGatewayAuthStrategyResource) UnmarshalJSON(data []byte) error
- func (a AIGatewayAuthStrategyResource) Validate() error
- type AIGatewayCACertificateResource
- func (a AIGatewayCACertificateResource) GetDependencies() []ResourceRef
- func (a AIGatewayCACertificateResource) GetKonnectMonikerFilter() string
- func (a AIGatewayCACertificateResource) GetLabels() map[string]string
- func (a AIGatewayCACertificateResource) GetMoniker() string
- func (a AIGatewayCACertificateResource) GetParentRef() *ResourceRef
- func (a AIGatewayCACertificateResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayCACertificateResource) GetType() ResourceType
- func (a AIGatewayCACertificateResource) PayloadMap() map[string]any
- func (a AIGatewayCACertificateResource) Protected() bool
- func (a *AIGatewayCACertificateResource) SetDefaults()
- func (a *AIGatewayCACertificateResource) SetLabels(labels map[string]string)
- func (a *AIGatewayCACertificateResource) TryMatchKonnectResource(value any) bool
- func (a AIGatewayCACertificateResource) Validate() error
- type AIGatewayCertificateResource
- func (a AIGatewayCertificateResource) GetDependencies() []ResourceRef
- func (a AIGatewayCertificateResource) GetKonnectMonikerFilter() string
- func (a AIGatewayCertificateResource) GetLabels() map[string]string
- func (a AIGatewayCertificateResource) GetMoniker() string
- func (a AIGatewayCertificateResource) GetParentRef() *ResourceRef
- func (a AIGatewayCertificateResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayCertificateResource) GetType() ResourceType
- func (a AIGatewayCertificateResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayCertificateResource) PayloadMap() map[string]any
- func (a *AIGatewayCertificateResource) SetDefaults()
- func (a *AIGatewayCertificateResource) SetLabels(labels map[string]string)
- func (a *AIGatewayCertificateResource) TryMatchKonnectResource(value any) bool
- func (a AIGatewayCertificateResource) Validate() error
- type AIGatewayConfigStoreResource
- func (a AIGatewayConfigStoreResource) CreateRequest() kkComps.CreateAIGatewayConfigStoreRequest
- func (a AIGatewayConfigStoreResource) GetDependencies() []ResourceRef
- func (a AIGatewayConfigStoreResource) GetKonnectMonikerFilter() string
- func (a AIGatewayConfigStoreResource) GetMoniker() string
- func (a AIGatewayConfigStoreResource) GetParentRef() *ResourceRef
- func (a AIGatewayConfigStoreResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayConfigStoreResource) GetType() ResourceType
- func (a AIGatewayConfigStoreResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayConfigStoreResource) PayloadMap() (map[string]any, error)
- func (a *AIGatewayConfigStoreResource) SetDefaults()
- func (a *AIGatewayConfigStoreResource) TryMatchKonnectResource(konnectResource any) bool
- func (a AIGatewayConfigStoreResource) Validate() error
- type AIGatewayConfigStoreSecretResource
- func (a AIGatewayConfigStoreSecretResource) GetDependencies() []ResourceRef
- func (a AIGatewayConfigStoreSecretResource) GetKonnectMonikerFilter() string
- func (a AIGatewayConfigStoreSecretResource) GetMoniker() string
- func (a AIGatewayConfigStoreSecretResource) GetParentRef() *ResourceRef
- func (a AIGatewayConfigStoreSecretResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayConfigStoreSecretResource) GetType() ResourceType
- func (a AIGatewayConfigStoreSecretResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayConfigStoreSecretResource) PayloadMap() (map[string]any, error)
- func (a *AIGatewayConfigStoreSecretResource) SetDefaults()
- func (a *AIGatewayConfigStoreSecretResource) TryMatchKonnectResource(resource any) bool
- func (a AIGatewayConfigStoreSecretResource) Validate() error
- type AIGatewayConsumerCredentialResource
- func (a AIGatewayConsumerCredentialResource) CreateRequest() kkComps.CreateAIGatewayConsumerCredentialRequest
- func (a AIGatewayConsumerCredentialResource) GetDependencies() []ResourceRef
- func (a AIGatewayConsumerCredentialResource) GetKonnectMonikerFilter() string
- func (a AIGatewayConsumerCredentialResource) GetMoniker() string
- func (a AIGatewayConsumerCredentialResource) GetParentRef() *ResourceRef
- func (a AIGatewayConsumerCredentialResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayConsumerCredentialResource) GetType() ResourceType
- func (a AIGatewayConsumerCredentialResource) MarshalJSON() ([]byte, error)
- func (a AIGatewayConsumerCredentialResource) MarshalYAML() (any, error)
- func (a AIGatewayConsumerCredentialResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayConsumerCredentialResource) PayloadMap() (map[string]any, error)
- func (a *AIGatewayConsumerCredentialResource) SetDefaults()
- func (a *AIGatewayConsumerCredentialResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *AIGatewayConsumerCredentialResource) UnmarshalJSON(data []byte) error
- func (a AIGatewayConsumerCredentialResource) Validate() error
- type AIGatewayConsumerGroupResource
- func (a AIGatewayConsumerGroupResource) ConsumerNames() ([]string, bool, error)
- func (a AIGatewayConsumerGroupResource) CreateRequest() kkComps.CreateAIGatewayConsumerGroupRequest
- func (a AIGatewayConsumerGroupResource) GetDependencies() []ResourceRef
- func (a AIGatewayConsumerGroupResource) GetKonnectMonikerFilter() string
- func (a AIGatewayConsumerGroupResource) GetMoniker() string
- func (a AIGatewayConsumerGroupResource) GetParentRef() *ResourceRef
- func (a AIGatewayConsumerGroupResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayConsumerGroupResource) GetType() ResourceType
- func (a AIGatewayConsumerGroupResource) MarshalJSON() ([]byte, error)
- func (a AIGatewayConsumerGroupResource) MarshalYAML() (any, error)
- func (a AIGatewayConsumerGroupResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayConsumerGroupResource) PayloadMap() (map[string]any, error)
- func (a AIGatewayConsumerGroupResource) Protected() bool
- func (a *AIGatewayConsumerGroupResource) SetDefaults()
- func (a *AIGatewayConsumerGroupResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *AIGatewayConsumerGroupResource) UnmarshalJSON(data []byte) error
- func (a AIGatewayConsumerGroupResource) UpdateRequest() kkComps.UpdateAIGatewayConsumerGroupRequest
- func (a AIGatewayConsumerGroupResource) Validate() error
- type AIGatewayConsumerResource
- func (a AIGatewayConsumerResource) CreateRequest() kkComps.CreateAIGatewayConsumerRequest
- func (a AIGatewayConsumerResource) GetDependencies() []ResourceRef
- func (a AIGatewayConsumerResource) GetKonnectMonikerFilter() string
- func (a AIGatewayConsumerResource) GetMoniker() string
- func (a AIGatewayConsumerResource) GetParentRef() *ResourceRef
- func (a AIGatewayConsumerResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayConsumerResource) GetType() ResourceType
- func (a AIGatewayConsumerResource) MarshalJSON() ([]byte, error)
- func (a AIGatewayConsumerResource) MarshalYAML() (any, error)
- func (a AIGatewayConsumerResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayConsumerResource) PayloadMap() (map[string]any, error)
- func (a AIGatewayConsumerResource) Protected() bool
- func (a *AIGatewayConsumerResource) SetDefaults()
- func (a *AIGatewayConsumerResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *AIGatewayConsumerResource) UnmarshalJSON(data []byte) error
- func (a AIGatewayConsumerResource) UpdateRequest() kkComps.UpdateAIGatewayConsumerRequest
- func (a AIGatewayConsumerResource) Validate() error
- type AIGatewayCustomPolicyResource
- func (a AIGatewayCustomPolicyResource) GetDependencies() []ResourceRef
- func (a AIGatewayCustomPolicyResource) GetKonnectMonikerFilter() string
- func (a AIGatewayCustomPolicyResource) GetMoniker() string
- func (a AIGatewayCustomPolicyResource) GetParentRef() *ResourceRef
- func (a AIGatewayCustomPolicyResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayCustomPolicyResource) GetType() ResourceType
- func (a AIGatewayCustomPolicyResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayCustomPolicyResource) Protected() bool
- func (a *AIGatewayCustomPolicyResource) SetDefaults()
- func (a *AIGatewayCustomPolicyResource) TryMatchKonnectResource(remote any) bool
- func (a AIGatewayCustomPolicyResource) Validate() error
- type AIGatewayDataPlaneCertificateResource
- func (a AIGatewayDataPlaneCertificateResource) CreateRequest() kkComps.CreateAIGatewayDataPlaneCertificateRequest
- func (a AIGatewayDataPlaneCertificateResource) GetDependencies() []ResourceRef
- func (a AIGatewayDataPlaneCertificateResource) GetKonnectMonikerFilter() string
- func (a AIGatewayDataPlaneCertificateResource) GetMoniker() string
- func (a AIGatewayDataPlaneCertificateResource) GetParentRef() *ResourceRef
- func (a AIGatewayDataPlaneCertificateResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayDataPlaneCertificateResource) GetType() ResourceType
- func (a AIGatewayDataPlaneCertificateResource) MarshalJSON() ([]byte, error)
- func (a AIGatewayDataPlaneCertificateResource) MarshalYAML() (any, error)
- func (a AIGatewayDataPlaneCertificateResource) PayloadMap() map[string]any
- func (a *AIGatewayDataPlaneCertificateResource) SetDefaults()
- func (a *AIGatewayDataPlaneCertificateResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *AIGatewayDataPlaneCertificateResource) UnmarshalJSON(data []byte) error
- func (a *AIGatewayDataPlaneCertificateResource) UnmarshalYAML(unmarshal func(any) error) error
- func (a AIGatewayDataPlaneCertificateResource) Validate() error
- type AIGatewayDatastoreResource
- func (a AIGatewayDatastoreResource) CreateRequest() kkComps.CreateAIGatewayDatastoreRequest
- func (a AIGatewayDatastoreResource) DatastoreType() string
- func (a AIGatewayDatastoreResource) GetDependencies() []ResourceRef
- func (a AIGatewayDatastoreResource) GetKonnectMonikerFilter() string
- func (a AIGatewayDatastoreResource) GetMoniker() string
- func (a AIGatewayDatastoreResource) GetParentRef() *ResourceRef
- func (a AIGatewayDatastoreResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayDatastoreResource) GetType() ResourceType
- func (a AIGatewayDatastoreResource) MarshalJSON() ([]byte, error)
- func (a AIGatewayDatastoreResource) MarshalYAML() (any, error)
- func (a AIGatewayDatastoreResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayDatastoreResource) Name() string
- func (a AIGatewayDatastoreResource) PayloadMap() (map[string]any, error)
- func (a *AIGatewayDatastoreResource) SetDefaults()
- func (a *AIGatewayDatastoreResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *AIGatewayDatastoreResource) UnmarshalJSON(data []byte) error
- func (a AIGatewayDatastoreResource) UpdateRequest() kkComps.UpdateAIGatewayDatastoreRequest
- func (a AIGatewayDatastoreResource) Validate() error
- type AIGatewayMCPServerResource
- func (a AIGatewayMCPServerResource) CreateRequest() kkComps.CreateAIGatewayMCPServerRequest
- func (a AIGatewayMCPServerResource) DisplayName() string
- func (a AIGatewayMCPServerResource) GetDependencies() []ResourceRef
- func (a AIGatewayMCPServerResource) GetKonnectMonikerFilter() string
- func (a AIGatewayMCPServerResource) GetMoniker() string
- func (a AIGatewayMCPServerResource) GetParentRef() *ResourceRef
- func (a AIGatewayMCPServerResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayMCPServerResource) GetType() ResourceType
- func (a AIGatewayMCPServerResource) MCPServerType() string
- func (a AIGatewayMCPServerResource) MarshalJSON() ([]byte, error)
- func (a AIGatewayMCPServerResource) MarshalYAML() (any, error)
- func (a AIGatewayMCPServerResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayMCPServerResource) Name() string
- func (a AIGatewayMCPServerResource) PayloadMap() (map[string]any, error)
- func (a AIGatewayMCPServerResource) Protected() bool
- func (a AIGatewayMCPServerResource) PublicLabels() map[string]string
- func (a *AIGatewayMCPServerResource) SetChildManagedBy(metadata map[string]string)
- func (a *AIGatewayMCPServerResource) SetDefaults()
- func (a *AIGatewayMCPServerResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *AIGatewayMCPServerResource) UnmarshalJSON(data []byte) error
- func (a AIGatewayMCPServerResource) UpdateRequest() kkComps.UpdateAIGatewayMCPServerRequest
- func (a AIGatewayMCPServerResource) Validate() error
- type AIGatewayModelResource
- func (a AIGatewayModelResource) CreateRequest() kkComps.CreateAIGatewayModelRequest
- func (a AIGatewayModelResource) DisplayName() string
- func (a AIGatewayModelResource) GetDependencies() []ResourceRef
- func (a AIGatewayModelResource) GetKonnectMonikerFilter() string
- func (a AIGatewayModelResource) GetMoniker() string
- func (a AIGatewayModelResource) GetParentRef() *ResourceRef
- func (a AIGatewayModelResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayModelResource) GetType() ResourceType
- func (a AIGatewayModelResource) ManagedBy() map[string]string
- func (a AIGatewayModelResource) MarshalJSON() ([]byte, error)
- func (a AIGatewayModelResource) MarshalYAML() (any, error)
- func (a AIGatewayModelResource) ModelType() string
- func (a AIGatewayModelResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayModelResource) Name() string
- func (a AIGatewayModelResource) PayloadMap() (map[string]any, error)
- func (a AIGatewayModelResource) Protected() bool
- func (a *AIGatewayModelResource) SetDefaults()
- func (a *AIGatewayModelResource) SetManagedBy(metadata map[string]string)
- func (a *AIGatewayModelResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *AIGatewayModelResource) UnmarshalJSON(data []byte) error
- func (a AIGatewayModelResource) UpdateRequest() kkComps.UpdateAIGatewayModelRequest
- func (a AIGatewayModelResource) Validate() error
- type AIGatewayPolicyResource
- func (a AIGatewayPolicyResource) CreateRequest() kkComps.CreateAIGatewayPolicyRequest
- func (a AIGatewayPolicyResource) GetDependencies() []ResourceRef
- func (a AIGatewayPolicyResource) GetKonnectMonikerFilter() string
- func (a AIGatewayPolicyResource) GetMoniker() string
- func (a AIGatewayPolicyResource) GetParentRef() *ResourceRef
- func (a AIGatewayPolicyResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayPolicyResource) GetType() ResourceType
- func (a AIGatewayPolicyResource) MarshalJSON() ([]byte, error)
- func (a AIGatewayPolicyResource) MarshalYAML() (any, error)
- func (a AIGatewayPolicyResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayPolicyResource) PayloadMap() (map[string]any, error)
- func (a AIGatewayPolicyResource) Protected() bool
- func (a *AIGatewayPolicyResource) SetDefaults()
- func (a *AIGatewayPolicyResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *AIGatewayPolicyResource) UnmarshalJSON(data []byte) error
- func (a AIGatewayPolicyResource) UpdateRequest() kkComps.UpdateAIGatewayPolicyRequest
- func (a AIGatewayPolicyResource) Validate() error
- type AIGatewayProviderResource
- func (a AIGatewayProviderResource) GetDependencies() []ResourceRef
- func (a AIGatewayProviderResource) GetKonnectMonikerFilter() string
- func (a AIGatewayProviderResource) GetMoniker() string
- func (a AIGatewayProviderResource) GetParentRef() *ResourceRef
- func (a AIGatewayProviderResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayProviderResource) GetType() ResourceType
- func (a AIGatewayProviderResource) MarshalJSON() ([]byte, error)
- func (a AIGatewayProviderResource) MarshalYAML() (any, error)
- func (a AIGatewayProviderResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayProviderResource) PayloadMap() (map[string]any, error)
- func (a AIGatewayProviderResource) Protected() bool
- func (a *AIGatewayProviderResource) SetDefaults()
- func (a *AIGatewayProviderResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *AIGatewayProviderResource) UnmarshalJSON(data []byte) error
- func (a AIGatewayProviderResource) Validate() error
- type AIGatewayResource
- func (a AIGatewayResource) GetDependencies() []ResourceRef
- func (a *AIGatewayResource) GetExternalBlock() *ExternalBlock
- func (a AIGatewayResource) GetKonnectMonikerFilter() string
- func (a AIGatewayResource) GetLabels() map[string]string
- func (a AIGatewayResource) GetMoniker() string
- func (a AIGatewayResource) GetType() ResourceType
- func (a AIGatewayResource) IsExternal() bool
- func (a AIGatewayResource) MarshalJSON() ([]byte, error)
- func (a AIGatewayResource) MarshalYAML() (any, error)
- func (a *AIGatewayResource) SetDefaults()
- func (a *AIGatewayResource) SetLabels(labels map[string]string)
- func (a *AIGatewayResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *AIGatewayResource) UnmarshalJSON(data []byte) error
- func (a *AIGatewayResource) UnmarshalYAML(unmarshal func(any) error) error
- func (a AIGatewayResource) Validate() error
- type AIGatewaySNIResource
- func (a AIGatewaySNIResource) GetDependencies() []ResourceRef
- func (a AIGatewaySNIResource) GetKonnectMonikerFilter() string
- func (a AIGatewaySNIResource) GetLabels() map[string]string
- func (a AIGatewaySNIResource) GetMoniker() string
- func (a AIGatewaySNIResource) GetParentRef() *ResourceRef
- func (a AIGatewaySNIResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewaySNIResource) GetType() ResourceType
- func (a AIGatewaySNIResource) PayloadMap() map[string]any
- func (a AIGatewaySNIResource) Protected() bool
- func (a *AIGatewaySNIResource) SetDefaults()
- func (a *AIGatewaySNIResource) SetLabels(labels map[string]string)
- func (a *AIGatewaySNIResource) TryMatchKonnectResource(value any) bool
- func (a AIGatewaySNIResource) Validate() error
- type AIGatewayVaultResource
- func (a AIGatewayVaultResource) CreateRequest() kkComps.CreateAIGatewayVaultRequest
- func (a AIGatewayVaultResource) GetDependencies() []ResourceRef
- func (a AIGatewayVaultResource) GetKonnectMonikerFilter() string
- func (a AIGatewayVaultResource) GetMoniker() string
- func (a AIGatewayVaultResource) GetParentRef() *ResourceRef
- func (a AIGatewayVaultResource) GetReferenceFieldMappings() map[string]string
- func (a AIGatewayVaultResource) GetType() ResourceType
- func (a AIGatewayVaultResource) MarshalJSON() ([]byte, error)
- func (a AIGatewayVaultResource) MarshalYAML() (any, error)
- func (a AIGatewayVaultResource) MutablePayloadMap() (map[string]any, error)
- func (a AIGatewayVaultResource) Name() string
- func (a AIGatewayVaultResource) PayloadMap() (map[string]any, error)
- func (a AIGatewayVaultResource) Protected() bool
- func (a AIGatewayVaultResource) PublicLabels() map[string]string
- func (a *AIGatewayVaultResource) SetChildManagedBy(metadata map[string]string)
- func (a *AIGatewayVaultResource) SetDefaults()
- func (a *AIGatewayVaultResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *AIGatewayVaultResource) UnmarshalJSON(data []byte) error
- func (a AIGatewayVaultResource) UpdateRequest() kkComps.UpdateAIGatewayVaultRequest
- func (a AIGatewayVaultResource) Validate() error
- func (a AIGatewayVaultResource) VaultType() string
- type APIDocumentResource
- func (d APIDocumentResource) GetDependencies() []ResourceRef
- func (d APIDocumentResource) GetKonnectID() string
- func (d APIDocumentResource) GetKonnectMonikerFilter() string
- func (d APIDocumentResource) GetMoniker() string
- func (d APIDocumentResource) GetParentRef() *ResourceRef
- func (d APIDocumentResource) GetRef() string
- func (d APIDocumentResource) GetReferenceFieldMappings() map[string]string
- func (d APIDocumentResource) GetType() ResourceType
- func (d APIDocumentResource) MarshalJSON() ([]byte, error)
- func (d *APIDocumentResource) SetDefaults()
- func (d *APIDocumentResource) TryMatchKonnectResource(konnectResource any) bool
- func (d *APIDocumentResource) UnmarshalJSON(data []byte) error
- func (d APIDocumentResource) Validate() error
- type APIImplementationResource
- func (i APIImplementationResource) GetDependencies() []ResourceRef
- func (i APIImplementationResource) GetKonnectID() string
- func (i APIImplementationResource) GetKonnectMonikerFilter() string
- func (i APIImplementationResource) GetMoniker() string
- func (i APIImplementationResource) GetParentRef() *ResourceRef
- func (i APIImplementationResource) GetRef() string
- func (i APIImplementationResource) GetReferenceFieldMappings() map[string]string
- func (i APIImplementationResource) GetType() ResourceType
- func (i APIImplementationResource) MarshalJSON() ([]byte, error)
- func (i *APIImplementationResource) SetDefaults()
- func (i *APIImplementationResource) TryMatchKonnectResource(konnectResource any) bool
- func (i *APIImplementationResource) UnmarshalJSON(data []byte) error
- func (i APIImplementationResource) Validate() error
- type APIPublicationResource
- func (p APIPublicationResource) GetDependencies() []ResourceRef
- func (p APIPublicationResource) GetKonnectID() string
- func (p APIPublicationResource) GetKonnectMonikerFilter() string
- func (p APIPublicationResource) GetMoniker() string
- func (p APIPublicationResource) GetParentRef() *ResourceRef
- func (p APIPublicationResource) GetRef() string
- func (p APIPublicationResource) GetReferenceFieldMappings() map[string]string
- func (p APIPublicationResource) GetType() ResourceType
- func (p APIPublicationResource) MarshalJSON() ([]byte, error)
- func (p *APIPublicationResource) SetDefaults()
- func (p *APIPublicationResource) TryMatchKonnectResource(konnectResource any) bool
- func (p *APIPublicationResource) UnmarshalJSON(data []byte) error
- func (p APIPublicationResource) Validate() error
- type APIResource
- func (a APIResource) GetDependencies() []ResourceRef
- func (a *APIResource) GetExternalBlock() *ExternalBlock
- func (a APIResource) GetKonnectMonikerFilter() string
- func (a APIResource) GetLabels() map[string]string
- func (a APIResource) GetMoniker() string
- func (a APIResource) GetReferenceFieldMappings() map[string]string
- func (a APIResource) GetType() ResourceType
- func (a APIResource) IsExternal() bool
- func (a *APIResource) SetDefaults()
- func (a *APIResource) SetLabels(labels map[string]string)
- func (a *APIResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *APIResource) UnmarshalJSON(data []byte) error
- func (a APIResource) Validate() error
- type APIVersionResource
- func (v APIVersionResource) GetDependencies() []ResourceRef
- func (v APIVersionResource) GetKonnectID() string
- func (v APIVersionResource) GetKonnectMonikerFilter() string
- func (v APIVersionResource) GetMoniker() string
- func (v APIVersionResource) GetParentRef() *ResourceRef
- func (v APIVersionResource) GetRef() string
- func (v APIVersionResource) GetReferenceFieldMappings() map[string]string
- func (v APIVersionResource) GetType() ResourceType
- func (v *APIVersionResource) SetDefaults()
- func (v *APIVersionResource) TryMatchKonnectResource(konnectResource any) bool
- func (v *APIVersionResource) UnmarshalJSON(data []byte) error
- func (v APIVersionResource) Validate() error
- type AnalyticsResource
- type ApplicationAuthStrategyResource
- func (a ApplicationAuthStrategyResource) GetDCRProviderID() string
- func (a ApplicationAuthStrategyResource) GetDependencies() []ResourceRef
- func (a *ApplicationAuthStrategyResource) GetExternalBlock() *ExternalBlock
- func (a ApplicationAuthStrategyResource) GetKonnectMonikerFilter() string
- func (a ApplicationAuthStrategyResource) GetLabels() map[string]string
- func (a ApplicationAuthStrategyResource) GetMoniker() string
- func (a ApplicationAuthStrategyResource) GetReferenceFieldMappings() map[string]string
- func (a ApplicationAuthStrategyResource) GetType() ResourceType
- func (a ApplicationAuthStrategyResource) IsExternal() bool
- func (a ApplicationAuthStrategyResource) MarshalJSON() ([]byte, error)
- func (a *ApplicationAuthStrategyResource) SetDefaults()
- func (a *ApplicationAuthStrategyResource) SetLabels(labels map[string]string)
- func (a *ApplicationAuthStrategyResource) TryMatchKonnectResource(konnectResource any) bool
- func (a *ApplicationAuthStrategyResource) UnmarshalJSON(data []byte) error
- func (a ApplicationAuthStrategyResource) Validate() error
- type AuditLogWebhookDestinationResource
- func (d AuditLogWebhookDestinationResource) GetDependencies() []ResourceRef
- func (d *AuditLogWebhookDestinationResource) GetExternalBlock() *ExternalBlock
- func (d AuditLogWebhookDestinationResource) GetKonnectMonikerFilter() string
- func (d AuditLogWebhookDestinationResource) GetMoniker() string
- func (d AuditLogWebhookDestinationResource) GetType() ResourceType
- func (d *AuditLogWebhookDestinationResource) IsExternal() bool
- func (d *AuditLogWebhookDestinationResource) SetDefaults()
- func (d *AuditLogWebhookDestinationResource) TryMatchKonnectResource(konnectResource any) bool
- func (d AuditLogWebhookDestinationResource) Validate() error
- type AuditLogsResource
- type BaseResource
- func (b BaseResource) GetKonnectID() string
- func (b BaseResource) GetKonnectMonikerFilter(name string) string
- func (b BaseResource) GetRef() string
- func (b BaseResource) IsExternal() bool
- func (b *BaseResource) SetKonnectID(id string)
- func (b *BaseResource) TryMatchByName(resourceName string, konnectResource any, opts matchOptions) bool
- type CatalogServiceResource
- func (c CatalogServiceResource) GetDependencies() []ResourceRef
- func (c CatalogServiceResource) GetKonnectMonikerFilter() string
- func (c CatalogServiceResource) GetLabels() map[string]string
- func (c CatalogServiceResource) GetMoniker() string
- func (c CatalogServiceResource) GetType() ResourceType
- func (c *CatalogServiceResource) SetDefaults()
- func (c *CatalogServiceResource) SetLabels(labels map[string]string)
- func (c *CatalogServiceResource) TryMatchKonnectResource(konnectResource any) bool
- func (c *CatalogServiceResource) UnmarshalJSON(data []byte) error
- func (c *CatalogServiceResource) UnmarshalYAML(unmarshal func(any) error) error
- func (c CatalogServiceResource) Validate() error
- type ChildSyncScope
- type ChildSyncScopeOption
- type ControlPlaneDataPlaneCertificateResource
- func (c ControlPlaneDataPlaneCertificateResource) GetDependencies() []ResourceRef
- func (c ControlPlaneDataPlaneCertificateResource) GetKonnectID() string
- func (c ControlPlaneDataPlaneCertificateResource) GetKonnectMonikerFilter() string
- func (c ControlPlaneDataPlaneCertificateResource) GetMoniker() string
- func (c ControlPlaneDataPlaneCertificateResource) GetParentRef() *ResourceRef
- func (c ControlPlaneDataPlaneCertificateResource) GetRef() string
- func (c ControlPlaneDataPlaneCertificateResource) GetReferenceFieldMappings() map[string]string
- func (c ControlPlaneDataPlaneCertificateResource) GetType() ResourceType
- func (c *ControlPlaneDataPlaneCertificateResource) SetDefaults()
- func (c *ControlPlaneDataPlaneCertificateResource) TryMatchKonnectResource(konnectResource any) bool
- func (c ControlPlaneDataPlaneCertificateResource) Validate() error
- type ControlPlaneGroupMember
- type ControlPlaneResource
- func (c ControlPlaneResource) DeckBaseDir() string
- func (c ControlPlaneResource) GetDependencies() []ResourceRef
- func (c *ControlPlaneResource) GetExternalBlock() *ExternalBlock
- func (c ControlPlaneResource) GetKonnectMonikerFilter() string
- func (c ControlPlaneResource) GetMoniker() string
- func (c ControlPlaneResource) GetReferenceFieldMappings() map[string]string
- func (c ControlPlaneResource) GetType() ResourceType
- func (c ControlPlaneResource) HasDeckConfig() bool
- func (c *ControlPlaneResource) IsExternal() bool
- func (c *ControlPlaneResource) IsGroup() bool
- func (c *ControlPlaneResource) MemberIDs() []string
- func (c *ControlPlaneResource) SetDeckBaseDir(dir string)
- func (c *ControlPlaneResource) SetDefaults()
- func (c *ControlPlaneResource) TryMatchKonnectResource(konnectResource any) bool
- func (c ControlPlaneResource) Validate() error
- type DCRProviderResource
- func (d DCRProviderResource) GetDependencies() []ResourceRef
- func (d DCRProviderResource) GetKonnectMonikerFilter() string
- func (d DCRProviderResource) GetLabels() map[string]string
- func (d DCRProviderResource) GetMoniker() string
- func (d DCRProviderResource) GetReferenceFieldMappings() map[string]string
- func (d DCRProviderResource) GetType() ResourceType
- func (d *DCRProviderResource) SetDefaults()
- func (d *DCRProviderResource) SetLabels(labels map[string]string)
- func (d DCRProviderResource) ToCreatePayload() map[string]any
- func (d DCRProviderResource) ToSDKRequest() (kkComps.CreateDcrProviderRequest, error)
- func (d DCRProviderResource) ToUpdatePayload() map[string]any
- func (d *DCRProviderResource) TryMatchKonnectResource(konnectResource any) bool
- func (d DCRProviderResource) Validate() error
- type DashboardResource
- func (d DashboardResource) GetDependencies() []ResourceRef
- func (d DashboardResource) GetKonnectMonikerFilter() string
- func (d DashboardResource) GetLabels() map[string]string
- func (d DashboardResource) GetMoniker() string
- func (d DashboardResource) GetType() ResourceType
- func (d DashboardResource) MarshalJSON() ([]byte, error)
- func (d *DashboardResource) SetDefaults()
- func (d *DashboardResource) SetLabels(labels map[string]string)
- func (d *DashboardResource) TryMatchKonnectResource(konnectResource any) bool
- func (d *DashboardResource) UnmarshalJSON(data []byte) error
- func (d *DashboardResource) UnmarshalYAML(unmarshal func(any) error) error
- func (d DashboardResource) Validate() error
- type DeckConfig
- type EventGatewayBackendClusterResource
- func (e EventGatewayBackendClusterResource) GetDependencies() []ResourceRef
- func (e EventGatewayBackendClusterResource) GetKonnectID() string
- func (e EventGatewayBackendClusterResource) GetKonnectMonikerFilter() string
- func (e EventGatewayBackendClusterResource) GetMoniker() string
- func (e EventGatewayBackendClusterResource) GetParentRef() *ResourceRef
- func (e EventGatewayBackendClusterResource) GetRef() string
- func (e EventGatewayBackendClusterResource) GetType() ResourceType
- func (e EventGatewayBackendClusterResource) MarshalJSON() ([]byte, error)
- func (e *EventGatewayBackendClusterResource) SetDefaults()
- func (e *EventGatewayBackendClusterResource) TryMatchKonnectResource(konnectResource any) bool
- func (e *EventGatewayBackendClusterResource) UnmarshalJSON(data []byte) error
- func (e EventGatewayBackendClusterResource) Validate() error
- type EventGatewayClusterPolicyResource
- func (e EventGatewayClusterPolicyResource) GetDependencies() []ResourceRef
- func (e EventGatewayClusterPolicyResource) GetKonnectID() string
- func (e EventGatewayClusterPolicyResource) GetKonnectMonikerFilter() string
- func (e EventGatewayClusterPolicyResource) GetMoniker() string
- func (e EventGatewayClusterPolicyResource) GetParentRef() *ResourceRef
- func (e EventGatewayClusterPolicyResource) GetRef() string
- func (e EventGatewayClusterPolicyResource) GetType() ResourceType
- func (e EventGatewayClusterPolicyResource) MarshalJSON() ([]byte, error)
- func (e *EventGatewayClusterPolicyResource) SetDefaults()
- func (e *EventGatewayClusterPolicyResource) TryMatchKonnectResource(konnectResource any) bool
- func (e *EventGatewayClusterPolicyResource) UnmarshalJSON(data []byte) error
- func (e EventGatewayClusterPolicyResource) Validate() error
- type EventGatewayConsumePolicyResource
- func (e EventGatewayConsumePolicyResource) GetDependencies() []ResourceRef
- func (e EventGatewayConsumePolicyResource) GetKonnectID() string
- func (e EventGatewayConsumePolicyResource) GetKonnectMonikerFilter() string
- func (e EventGatewayConsumePolicyResource) GetMoniker() string
- func (e EventGatewayConsumePolicyResource) GetParentRef() *ResourceRef
- func (e EventGatewayConsumePolicyResource) GetRef() string
- func (e EventGatewayConsumePolicyResource) GetType() ResourceType
- func (e EventGatewayConsumePolicyResource) MarshalJSON() ([]byte, error)
- func (e *EventGatewayConsumePolicyResource) SetDefaults()
- func (e *EventGatewayConsumePolicyResource) TryMatchKonnectResource(konnectResource any) bool
- func (e *EventGatewayConsumePolicyResource) UnmarshalJSON(data []byte) error
- func (e EventGatewayConsumePolicyResource) Validate() error
- type EventGatewayControlPlaneResource
- func (e EventGatewayControlPlaneResource) GetDependencies() []ResourceRef
- func (e *EventGatewayControlPlaneResource) GetExternalBlock() *ExternalBlock
- func (e EventGatewayControlPlaneResource) GetKonnectMonikerFilter() string
- func (e EventGatewayControlPlaneResource) GetLabels() map[string]string
- func (e EventGatewayControlPlaneResource) GetMoniker() string
- func (e EventGatewayControlPlaneResource) GetType() ResourceType
- func (e *EventGatewayControlPlaneResource) IsExternal() bool
- func (e *EventGatewayControlPlaneResource) SetDefaults()
- func (e *EventGatewayControlPlaneResource) SetLabels(labels map[string]string)
- func (e *EventGatewayControlPlaneResource) TryMatchKonnectResource(konnectResource any) bool
- func (e EventGatewayControlPlaneResource) Validate() error
- type EventGatewayDataPlaneCertificateResource
- func (e EventGatewayDataPlaneCertificateResource) GetDependencies() []ResourceRef
- func (e EventGatewayDataPlaneCertificateResource) GetKonnectID() string
- func (e EventGatewayDataPlaneCertificateResource) GetKonnectMonikerFilter() string
- func (e EventGatewayDataPlaneCertificateResource) GetMoniker() string
- func (e EventGatewayDataPlaneCertificateResource) GetParentRef() *ResourceRef
- func (e EventGatewayDataPlaneCertificateResource) GetRef() string
- func (e EventGatewayDataPlaneCertificateResource) GetType() ResourceType
- func (e EventGatewayDataPlaneCertificateResource) MarshalJSON() ([]byte, error)
- func (e *EventGatewayDataPlaneCertificateResource) SetDefaults()
- func (e *EventGatewayDataPlaneCertificateResource) TryMatchKonnectResource(konnectResource any) bool
- func (e *EventGatewayDataPlaneCertificateResource) UnmarshalJSON(data []byte) error
- func (e EventGatewayDataPlaneCertificateResource) Validate() error
- type EventGatewayListenerPolicyResource
- func (e EventGatewayListenerPolicyResource) GetDependencies() []ResourceRef
- func (e EventGatewayListenerPolicyResource) GetKonnectID() string
- func (e EventGatewayListenerPolicyResource) GetKonnectMonikerFilter() string
- func (e EventGatewayListenerPolicyResource) GetMoniker() string
- func (e EventGatewayListenerPolicyResource) GetParentRef() *ResourceRef
- func (e EventGatewayListenerPolicyResource) GetRef() string
- func (e EventGatewayListenerPolicyResource) GetType() ResourceType
- func (e EventGatewayListenerPolicyResource) MarshalJSON() ([]byte, error)
- func (e *EventGatewayListenerPolicyResource) SetDefaults()
- func (e *EventGatewayListenerPolicyResource) TryMatchKonnectResource(konnectResource any) bool
- func (e *EventGatewayListenerPolicyResource) UnmarshalJSON(data []byte) error
- func (e EventGatewayListenerPolicyResource) Validate() error
- type EventGatewayListenerResource
- func (e EventGatewayListenerResource) GetDependencies() []ResourceRef
- func (e EventGatewayListenerResource) GetKonnectID() string
- func (e EventGatewayListenerResource) GetKonnectMonikerFilter() string
- func (e EventGatewayListenerResource) GetMoniker() string
- func (e EventGatewayListenerResource) GetParentRef() *ResourceRef
- func (e EventGatewayListenerResource) GetRef() string
- func (e EventGatewayListenerResource) GetType() ResourceType
- func (e EventGatewayListenerResource) MarshalJSON() ([]byte, error)
- func (e *EventGatewayListenerResource) SetDefaults()
- func (e *EventGatewayListenerResource) TryMatchKonnectResource(konnectResource any) bool
- func (e *EventGatewayListenerResource) UnmarshalJSON(data []byte) error
- func (e EventGatewayListenerResource) Validate() error
- type EventGatewayProducePolicyResource
- func (e EventGatewayProducePolicyResource) GetDependencies() []ResourceRef
- func (e EventGatewayProducePolicyResource) GetKonnectID() string
- func (e EventGatewayProducePolicyResource) GetKonnectMonikerFilter() string
- func (e EventGatewayProducePolicyResource) GetMoniker() string
- func (e EventGatewayProducePolicyResource) GetParentRef() *ResourceRef
- func (e EventGatewayProducePolicyResource) GetRef() string
- func (e EventGatewayProducePolicyResource) GetType() ResourceType
- func (e EventGatewayProducePolicyResource) MarshalJSON() ([]byte, error)
- func (e *EventGatewayProducePolicyResource) SetDefaults()
- func (e *EventGatewayProducePolicyResource) TryMatchKonnectResource(konnectResource any) bool
- func (e *EventGatewayProducePolicyResource) UnmarshalJSON(data []byte) error
- func (e EventGatewayProducePolicyResource) Validate() error
- type EventGatewaySchemaRegistryResource
- func (e EventGatewaySchemaRegistryResource) GetDependencies() []ResourceRef
- func (e EventGatewaySchemaRegistryResource) GetKonnectID() string
- func (e EventGatewaySchemaRegistryResource) GetKonnectMonikerFilter() string
- func (e EventGatewaySchemaRegistryResource) GetMoniker() string
- func (e EventGatewaySchemaRegistryResource) GetParentRef() *ResourceRef
- func (e EventGatewaySchemaRegistryResource) GetRef() string
- func (e EventGatewaySchemaRegistryResource) GetType() ResourceType
- func (e EventGatewaySchemaRegistryResource) MarshalJSON() ([]byte, error)
- func (e *EventGatewaySchemaRegistryResource) SetDefaults()
- func (e *EventGatewaySchemaRegistryResource) TryMatchKonnectResource(konnectResource any) bool
- func (e *EventGatewaySchemaRegistryResource) UnmarshalJSON(data []byte) error
- func (e EventGatewaySchemaRegistryResource) Validate() error
- type EventGatewayStaticKeyResource
- func (e EventGatewayStaticKeyResource) GetDependencies() []ResourceRef
- func (e EventGatewayStaticKeyResource) GetKonnectID() string
- func (e EventGatewayStaticKeyResource) GetKonnectMonikerFilter() string
- func (e EventGatewayStaticKeyResource) GetMoniker() string
- func (e EventGatewayStaticKeyResource) GetParentRef() *ResourceRef
- func (e EventGatewayStaticKeyResource) GetRef() string
- func (e EventGatewayStaticKeyResource) GetType() ResourceType
- func (e EventGatewayStaticKeyResource) MarshalJSON() ([]byte, error)
- func (e *EventGatewayStaticKeyResource) SetDefaults()
- func (e *EventGatewayStaticKeyResource) TryMatchKonnectResource(konnectResource any) bool
- func (e *EventGatewayStaticKeyResource) UnmarshalJSON(data []byte) error
- func (e EventGatewayStaticKeyResource) Validate() error
- type EventGatewayTLSTrustBundleResource
- func (e EventGatewayTLSTrustBundleResource) GetDependencies() []ResourceRef
- func (e EventGatewayTLSTrustBundleResource) GetKonnectID() string
- func (e EventGatewayTLSTrustBundleResource) GetKonnectMonikerFilter() string
- func (e EventGatewayTLSTrustBundleResource) GetMoniker() string
- func (e EventGatewayTLSTrustBundleResource) GetParentRef() *ResourceRef
- func (e EventGatewayTLSTrustBundleResource) GetRef() string
- func (e EventGatewayTLSTrustBundleResource) GetType() ResourceType
- func (e EventGatewayTLSTrustBundleResource) MarshalJSON() ([]byte, error)
- func (e *EventGatewayTLSTrustBundleResource) SetDefaults()
- func (e *EventGatewayTLSTrustBundleResource) TryMatchKonnectResource(konnectResource any) bool
- func (e *EventGatewayTLSTrustBundleResource) UnmarshalJSON(data []byte) error
- func (e EventGatewayTLSTrustBundleResource) Validate() error
- type EventGatewayVirtualClusterResource
- func (e EventGatewayVirtualClusterResource) GetDependencies() []ResourceRef
- func (e *EventGatewayVirtualClusterResource) GetExternalBlock() *ExternalBlock
- func (e EventGatewayVirtualClusterResource) GetKonnectID() string
- func (e EventGatewayVirtualClusterResource) GetKonnectMonikerFilter() string
- func (e EventGatewayVirtualClusterResource) GetMoniker() string
- func (e EventGatewayVirtualClusterResource) GetParentRef() *ResourceRef
- func (e EventGatewayVirtualClusterResource) GetRef() string
- func (e EventGatewayVirtualClusterResource) GetType() ResourceType
- func (e *EventGatewayVirtualClusterResource) IsExternal() bool
- func (e EventGatewayVirtualClusterResource) MarshalJSON() ([]byte, error)
- func (e *EventGatewayVirtualClusterResource) SetDefaults()
- func (e *EventGatewayVirtualClusterResource) SetKonnectID(id string)
- func (e *EventGatewayVirtualClusterResource) TryMatchKonnectResource(konnectResource any) bool
- func (e *EventGatewayVirtualClusterResource) UnmarshalJSON(data []byte) error
- func (e EventGatewayVirtualClusterResource) Validate() error
- type ExplainBuildContext
- type ExplainDoc
- type ExplainField
- type ExplainFieldHint
- type ExplainMaturity
- type ExplainNode
- type ExplainOption
- type ExplainRegistration
- type ExplainRelation
- type ExplainRelationship
- type ExplainScaffoldNode
- type ExplainScaffoldStep
- type ExplainSchemaPlacement
- type ExplainSchemaResource
- type ExplainSchemaSubject
- type ExplainSubject
- type ExternalBlock
- type ExternalResolutionRegistration
- type ExternalSelector
- type ExternallyResolvableResource
- type FileDefaults
- type GatewayServiceResource
- func (s GatewayServiceResource) GetDependencies() []ResourceRef
- func (s *GatewayServiceResource) GetExternalBlock() *ExternalBlock
- func (s GatewayServiceResource) GetKonnectID() string
- func (s GatewayServiceResource) GetKonnectMonikerFilter() string
- func (s GatewayServiceResource) GetMoniker() string
- func (s GatewayServiceResource) GetParentRef() *ResourceRef
- func (s GatewayServiceResource) GetRef() string
- func (s GatewayServiceResource) GetReferenceFieldMappings() map[string]string
- func (s GatewayServiceResource) GetType() ResourceType
- func (s *GatewayServiceResource) IsExternal() bool
- func (s GatewayServiceResource) ResolvedControlPlaneID() string
- func (s *GatewayServiceResource) SetDefaults()
- func (s *GatewayServiceResource) SetKonnectID(id string)
- func (s *GatewayServiceResource) SetResolvedControlPlaneID(id string)
- func (s *GatewayServiceResource) TryMatchKonnectResource(konnectResource any) bool
- func (s *GatewayServiceResource) UnmarshalYAML(unmarshal func(any) error) error
- func (s GatewayServiceResource) Validate() error
- type IdentityAPIKeyFields
- func (k *IdentityAPIKeyFields) DeclareNoExpiration()
- func (k IdentityAPIKeyFields) ExpirationDeclared() bool
- func (k IdentityAPIKeyFields) GetKonnectID() string
- func (k IdentityAPIKeyFields) GetKonnectMonikerFilter() string
- func (k IdentityAPIKeyFields) GetMoniker() string
- func (k IdentityAPIKeyFields) GetRef() string
- func (k IdentityAPIKeyFields) NameDeclared() bool
- func (k *IdentityAPIKeyFields) SetDefaults()
- func (k *IdentityAPIKeyFields) SetKonnectID(id string)
- func (k *IdentityAPIKeyFields) TryMatchKonnectResource(any) bool
- func (k IdentityAPIKeyFields) Validate() error
- type IdentityAuthServerChild
- func (c IdentityAuthServerChild) GetDependencies() []ResourceRef
- func (c IdentityAuthServerChild) GetKonnectID() string
- func (c IdentityAuthServerChild) GetKonnectMonikerFilter() string
- func (c IdentityAuthServerChild) GetMoniker() string
- func (c IdentityAuthServerChild) GetParentRef() *ResourceRef
- func (c IdentityAuthServerChild) GetRef() string
- func (c IdentityAuthServerChild) GetReferenceFieldMappings() map[string]string
- func (c *IdentityAuthServerChild) SetDefaults()
- func (c *IdentityAuthServerChild) SetKonnectID(id string)
- func (c *IdentityAuthServerChild) TryMatchKonnectResource(value any) bool
- func (c IdentityAuthServerChild) Validate() error
- type IdentityAuthServerClaimResource
- type IdentityAuthServerClientResource
- func (c IdentityAuthServerClientResource) GetDependencies() []ResourceRef
- func (c IdentityAuthServerClientResource) GetKonnectMonikerFilter() string
- func (c IdentityAuthServerClientResource) GetLabels() map[string]string
- func (c IdentityAuthServerClientResource) GetMoniker() string
- func (c IdentityAuthServerClientResource) GetParentRef() *ResourceRef
- func (c IdentityAuthServerClientResource) GetReferenceFieldMappings() map[string]string
- func (c IdentityAuthServerClientResource) GetType() ResourceType
- func (c IdentityAuthServerClientResource) Protected() bool
- func (c *IdentityAuthServerClientResource) SetDefaults()
- func (c *IdentityAuthServerClientResource) SetLabels(value map[string]string)
- func (c *IdentityAuthServerClientResource) TryMatchKonnectResource(value any) bool
- func (c IdentityAuthServerClientResource) Validate() error
- type IdentityAuthServerDCR
- type IdentityAuthServerResource
- func (a IdentityAuthServerResource) GetDependencies() []ResourceRef
- func (a *IdentityAuthServerResource) GetExternalBlock() *ExternalBlock
- func (a IdentityAuthServerResource) GetKonnectMonikerFilter() string
- func (a IdentityAuthServerResource) GetLabels() map[string]string
- func (a IdentityAuthServerResource) GetMoniker() string
- func (a IdentityAuthServerResource) GetType() ResourceType
- func (a *IdentityAuthServerResource) IsExternal() bool
- func (a IdentityAuthServerResource) Protected() bool
- func (a *IdentityAuthServerResource) SetDefaults()
- func (a *IdentityAuthServerResource) SetLabels(value map[string]string)
- func (a *IdentityAuthServerResource) TryMatchKonnectResource(value any) bool
- func (a IdentityAuthServerResource) Validate() error
- type IdentityAuthServerScopeResource
- type IdentityBasicAuthResource
- func (b IdentityBasicAuthResource) GetDependencies() []ResourceRef
- func (b *IdentityBasicAuthResource) GetExternalBlock() *ExternalBlock
- func (b IdentityBasicAuthResource) GetKonnectMonikerFilter() string
- func (b IdentityBasicAuthResource) GetLabels() map[string]string
- func (b IdentityBasicAuthResource) GetMoniker() string
- func (b IdentityBasicAuthResource) GetParentRef() *ResourceRef
- func (b IdentityBasicAuthResource) GetReferenceFieldMappings() map[string]string
- func (b IdentityBasicAuthResource) GetType() ResourceType
- func (b *IdentityBasicAuthResource) IsExternal() bool
- func (b IdentityBasicAuthResource) Protected() bool
- func (b *IdentityBasicAuthResource) SetDefaults()
- func (b *IdentityBasicAuthResource) SetLabels(map[string]string)
- func (b *IdentityBasicAuthResource) TryMatchKonnectResource(value any) bool
- func (b IdentityBasicAuthResource) Validate() error
- type IdentityDirectoryResource
- func (d IdentityDirectoryResource) GetDependencies() []ResourceRef
- func (d *IdentityDirectoryResource) GetExternalBlock() *ExternalBlock
- func (d IdentityDirectoryResource) GetKonnectMonikerFilter() string
- func (d IdentityDirectoryResource) GetLabels() map[string]string
- func (d IdentityDirectoryResource) GetMoniker() string
- func (d IdentityDirectoryResource) GetReferenceFieldMappings() map[string]string
- func (d IdentityDirectoryResource) GetType() ResourceType
- func (d *IdentityDirectoryResource) IsExternal() bool
- func (d IdentityDirectoryResource) Protected() bool
- func (d *IdentityDirectoryResource) SetDefaults()
- func (d *IdentityDirectoryResource) SetLabels(value map[string]string)
- func (d *IdentityDirectoryResource) TryMatchKonnectResource(value any) bool
- func (d IdentityDirectoryResource) Validate() error
- type IdentityDirectoryVault
- type IdentityGroupAPIKeyResource
- func (k IdentityGroupAPIKeyResource) GetDependencies() []ResourceRef
- func (k IdentityGroupAPIKeyResource) GetParentRef() *ResourceRef
- func (k IdentityGroupAPIKeyResource) GetReferenceFieldMappings() map[string]string
- func (k IdentityGroupAPIKeyResource) GetType() ResourceType
- func (k IdentityGroupAPIKeyResource) MarshalJSON() ([]byte, error)
- func (k *IdentityGroupAPIKeyResource) UnmarshalJSON(data []byte) error
- type IdentityGroupMemberResource
- type IdentityGroupMembershipResource
- func (m IdentityGroupMembershipResource) GetDependencies() []ResourceRef
- func (m IdentityGroupMembershipResource) GetKonnectID() string
- func (m IdentityGroupMembershipResource) GetKonnectMonikerFilter() string
- func (m IdentityGroupMembershipResource) GetMoniker() string
- func (m IdentityGroupMembershipResource) GetParentRef() *ResourceRef
- func (m IdentityGroupMembershipResource) GetRef() string
- func (m IdentityGroupMembershipResource) GetReferenceFieldMappings() map[string]string
- func (m IdentityGroupMembershipResource) GetType() ResourceType
- func (m *IdentityGroupMembershipResource) SetDefaults()
- func (m *IdentityGroupMembershipResource) SetKonnectID(id string)
- func (m *IdentityGroupMembershipResource) TryMatchKonnectResource(value any) bool
- func (m IdentityGroupMembershipResource) Validate() error
- type IdentityGroupResource
- func (g IdentityGroupResource) GetDependencies() []ResourceRef
- func (g *IdentityGroupResource) GetExternalBlock() *ExternalBlock
- func (g IdentityGroupResource) GetKonnectMonikerFilter() string
- func (g IdentityGroupResource) GetLabels() map[string]string
- func (g IdentityGroupResource) GetMoniker() string
- func (g IdentityGroupResource) GetParentRef() *ResourceRef
- func (g IdentityGroupResource) GetReferenceFieldMappings() map[string]string
- func (g IdentityGroupResource) GetType() ResourceType
- func (g *IdentityGroupResource) IsExternal() bool
- func (g IdentityGroupResource) Protected() bool
- func (g *IdentityGroupResource) SetDefaults()
- func (g *IdentityGroupResource) SetLabels(v map[string]string)
- func (g *IdentityGroupResource) TryMatchKonnectResource(value any) bool
- func (g *IdentityGroupResource) UnmarshalJSON(data []byte) error
- func (g IdentityGroupResource) Validate() error
- type IdentityPrincipalAPIKeyResource
- func (k IdentityPrincipalAPIKeyResource) GetDependencies() []ResourceRef
- func (k IdentityPrincipalAPIKeyResource) GetParentRef() *ResourceRef
- func (k IdentityPrincipalAPIKeyResource) GetReferenceFieldMappings() map[string]string
- func (k IdentityPrincipalAPIKeyResource) GetType() ResourceType
- func (k IdentityPrincipalAPIKeyResource) MarshalJSON() ([]byte, error)
- func (k *IdentityPrincipalAPIKeyResource) UnmarshalJSON(data []byte) error
- type IdentityPrincipalIdentityResource
- func (i IdentityPrincipalIdentityResource) GetDependencies() []ResourceRef
- func (i *IdentityPrincipalIdentityResource) GetExternalBlock() *ExternalBlock
- func (i IdentityPrincipalIdentityResource) GetKonnectMonikerFilter() string
- func (i IdentityPrincipalIdentityResource) GetLabels() map[string]string
- func (i IdentityPrincipalIdentityResource) GetMoniker() string
- func (i IdentityPrincipalIdentityResource) GetParentRef() *ResourceRef
- func (i IdentityPrincipalIdentityResource) GetReferenceFieldMappings() map[string]string
- func (i IdentityPrincipalIdentityResource) GetType() ResourceType
- func (i *IdentityPrincipalIdentityResource) IsExternal() bool
- func (i IdentityPrincipalIdentityResource) Protected() bool
- func (i IdentityPrincipalIdentityResource) PublicFields() map[string]any
- func (i IdentityPrincipalIdentityResource) ReferencesTarget(kind ResourceType, id, parentID string) bool
- func (i *IdentityPrincipalIdentityResource) SetDefaults()
- func (i *IdentityPrincipalIdentityResource) SetLabels(v map[string]string)
- func (i *IdentityPrincipalIdentityResource) TryMatchKonnectResource(value any) bool
- func (i IdentityPrincipalIdentityResource) Validate() error
- type IdentityPrincipalResource
- func (p *IdentityPrincipalResource) DeclareUnclassified()
- func (p IdentityPrincipalResource) GetDependencies() []ResourceRef
- func (p *IdentityPrincipalResource) GetExternalBlock() *ExternalBlock
- func (p IdentityPrincipalResource) GetKonnectMonikerFilter() string
- func (p IdentityPrincipalResource) GetLabels() map[string]string
- func (p IdentityPrincipalResource) GetMoniker() string
- func (p IdentityPrincipalResource) GetParentRef() *ResourceRef
- func (p IdentityPrincipalResource) GetReferenceFieldMappings() map[string]string
- func (p IdentityPrincipalResource) GetType() ResourceType
- func (p *IdentityPrincipalResource) IsExternal() bool
- func (p IdentityPrincipalResource) MarshalJSON() ([]byte, error)
- func (p IdentityPrincipalResource) Protected() bool
- func (p *IdentityPrincipalResource) SetDefaults()
- func (p *IdentityPrincipalResource) SetLabels(v map[string]string)
- func (p *IdentityPrincipalResource) TryMatchKonnectResource(value any) bool
- func (p IdentityPrincipalResource) TypeDeclared() bool
- func (p *IdentityPrincipalResource) UnmarshalJSON(data []byte) error
- func (p IdentityPrincipalResource) Validate() error
- type IdentityResource
- type IdentityTrustedIDPResource
- func (p IdentityTrustedIDPResource) CreateBody() kkComps.CreateTrustedIdpPayload
- func (p *IdentityTrustedIDPResource) DeclareDiscoveryJWKS()
- func (p *IdentityTrustedIDPResource) DeclareNullDisplayName()
- func (p IdentityTrustedIDPResource) DisplayNameDeclared() bool
- func (p IdentityTrustedIDPResource) GetDependencies() []ResourceRef
- func (p IdentityTrustedIDPResource) GetKonnectID() string
- func (p IdentityTrustedIDPResource) GetKonnectMonikerFilter() string
- func (p IdentityTrustedIDPResource) GetMoniker() string
- func (p IdentityTrustedIDPResource) GetParentRef() *ResourceRef
- func (p IdentityTrustedIDPResource) GetRef() string
- func (p IdentityTrustedIDPResource) GetReferenceFieldMappings() map[string]string
- func (p IdentityTrustedIDPResource) GetType() ResourceType
- func (p IdentityTrustedIDPResource) JwksURIDeclared() bool
- func (p IdentityTrustedIDPResource) MarshalJSON() ([]byte, error)
- func (p *IdentityTrustedIDPResource) SetDefaults()
- func (p *IdentityTrustedIDPResource) SetKonnectID(id string)
- func (p *IdentityTrustedIDPResource) TryMatchKonnectResource(any) bool
- func (p *IdentityTrustedIDPResource) UnmarshalJSON(data []byte) error
- func (p IdentityTrustedIDPResource) Validate() error
- type IdentityVaultKeyResource
- func (k IdentityVaultKeyResource) GetDependencies() []ResourceRef
- func (k IdentityVaultKeyResource) GetKonnectID() string
- func (k IdentityVaultKeyResource) GetKonnectMonikerFilter() string
- func (k IdentityVaultKeyResource) GetMoniker() string
- func (k IdentityVaultKeyResource) GetParentRef() *ResourceRef
- func (k IdentityVaultKeyResource) GetRef() string
- func (k IdentityVaultKeyResource) GetReferenceFieldMappings() map[string]string
- func (k IdentityVaultKeyResource) GetType() ResourceType
- func (k *IdentityVaultKeyResource) SetDefaults()
- func (k *IdentityVaultKeyResource) SetKonnectID(id string)
- func (k *IdentityVaultKeyResource) TryMatchKonnectResource(any) bool
- func (k IdentityVaultKeyResource) Validate() error
- type IdentityVaultProviderCredentialResource
- func (c IdentityVaultProviderCredentialResource) GetDependencies() []ResourceRef
- func (c IdentityVaultProviderCredentialResource) GetKonnectID() string
- func (c IdentityVaultProviderCredentialResource) GetKonnectMonikerFilter() string
- func (c IdentityVaultProviderCredentialResource) GetMoniker() string
- func (c IdentityVaultProviderCredentialResource) GetParentRef() *ResourceRef
- func (c IdentityVaultProviderCredentialResource) GetRef() string
- func (c IdentityVaultProviderCredentialResource) GetReferenceFieldMappings() map[string]string
- func (c IdentityVaultProviderCredentialResource) GetType() ResourceType
- func (c IdentityVaultProviderCredentialResource) MutablePayloadMap() (map[string]any, error)
- func (c *IdentityVaultProviderCredentialResource) SetDefaults()
- func (c *IdentityVaultProviderCredentialResource) SetKonnectID(id string)
- func (c *IdentityVaultProviderCredentialResource) TryMatchKonnectResource(any) bool
- func (c IdentityVaultProviderCredentialResource) Validate() error
- type IdentityVaultProviderResource
- func (p IdentityVaultProviderResource) CreateBody() kkComps.CreateVaultProviderBody
- func (p IdentityVaultProviderResource) GetDependencies() []ResourceRef
- func (p IdentityVaultProviderResource) GetKonnectID() string
- func (p IdentityVaultProviderResource) GetKonnectMonikerFilter() string
- func (p IdentityVaultProviderResource) GetMoniker() string
- func (p IdentityVaultProviderResource) GetParentRef() *ResourceRef
- func (p IdentityVaultProviderResource) GetRef() string
- func (p IdentityVaultProviderResource) GetReferenceFieldMappings() map[string]string
- func (p IdentityVaultProviderResource) GetType() ResourceType
- func (p *IdentityVaultProviderResource) SetDefaults()
- func (p *IdentityVaultProviderResource) SetKonnectID(id string)
- func (p *IdentityVaultProviderResource) TryMatchKonnectResource(any) bool
- func (p IdentityVaultProviderResource) Validate() error
- type IdentityVaultResources
- type JSONSchema
- type KongctlMeta
- type KongctlMetaDefaults
- type LoadSchemaProfile
- type ManagedByPolicy
- type NamespaceOrigin
- type NamespaceParticipant
- type Operation
- type OrganizationResource
- type OrganizationSystemAccountResource
- type OrganizationSystemAccountRoleResource
- func (r OrganizationSystemAccountRoleResource) GetDependencies() []ResourceRef
- func (r OrganizationSystemAccountRoleResource) GetKonnectID() string
- func (r OrganizationSystemAccountRoleResource) GetKonnectMonikerFilter() string
- func (r OrganizationSystemAccountRoleResource) GetMoniker() string
- func (r OrganizationSystemAccountRoleResource) GetRef() string
- func (r OrganizationSystemAccountRoleResource) GetType() ResourceType
- func (r *OrganizationSystemAccountRoleResource) SetDefaults()
- func (r *OrganizationSystemAccountRoleResource) TryMatchKonnectResource(_ any) bool
- func (r OrganizationSystemAccountRoleResource) Validate() error
- type OrganizationSystemAccountTeamMembershipResource
- func (r OrganizationSystemAccountTeamMembershipResource) GetDependencies() []ResourceRef
- func (r OrganizationSystemAccountTeamMembershipResource) GetKonnectID() string
- func (r OrganizationSystemAccountTeamMembershipResource) GetKonnectMonikerFilter() string
- func (r OrganizationSystemAccountTeamMembershipResource) GetMoniker() string
- func (r OrganizationSystemAccountTeamMembershipResource) GetRef() string
- func (r OrganizationSystemAccountTeamMembershipResource) GetType() ResourceType
- func (r *OrganizationSystemAccountTeamMembershipResource) SetDefaults()
- func (r *OrganizationSystemAccountTeamMembershipResource) TryMatchKonnectResource(_ any) bool
- func (r OrganizationSystemAccountTeamMembershipResource) Validate() error
- func (r OrganizationSystemAccountTeamMembershipResource) ValidateNested() error
- type OrganizationTeamResource
- func (t OrganizationTeamResource) GetDependencies() []ResourceRef
- func (t *OrganizationTeamResource) GetExternalBlock() *ExternalBlock
- func (t OrganizationTeamResource) GetKonnectMonikerFilter() string
- func (t OrganizationTeamResource) GetLabels() map[string]string
- func (t OrganizationTeamResource) GetMoniker() string
- func (t OrganizationTeamResource) GetReferenceFieldMappings() map[string]string
- func (t OrganizationTeamResource) GetType() ResourceType
- func (t *OrganizationTeamResource) IsExternal() bool
- func (t OrganizationTeamResource) MarshalJSON() ([]byte, error)
- func (t OrganizationTeamResource) MarshalYAML() (any, error)
- func (t *OrganizationTeamResource) SetDefaults()
- func (t *OrganizationTeamResource) SetLabels(labels map[string]string)
- func (t *OrganizationTeamResource) TryMatchKonnectResource(konnectResource any) bool
- func (t *OrganizationTeamResource) UnmarshalJSON(data []byte) error
- func (t OrganizationTeamResource) Validate() error
- type OrganizationTeamRoleResource
- func (r OrganizationTeamRoleResource) GetDependencies() []ResourceRef
- func (r OrganizationTeamRoleResource) GetKonnectID() string
- func (r OrganizationTeamRoleResource) GetKonnectMonikerFilter() string
- func (r OrganizationTeamRoleResource) GetMoniker() string
- func (r OrganizationTeamRoleResource) GetParentRef() *ResourceRef
- func (r OrganizationTeamRoleResource) GetRef() string
- func (r OrganizationTeamRoleResource) GetType() ResourceType
- func (r OrganizationTeamRoleResource) MarshalJSON() ([]byte, error)
- func (r OrganizationTeamRoleResource) MarshalYAML() (any, error)
- func (r *OrganizationTeamRoleResource) SetDefaults()
- func (r *OrganizationTeamRoleResource) TryMatchKonnectResource(konnectResource any) bool
- func (r *OrganizationTeamRoleResource) UnmarshalJSON(data []byte) error
- func (r OrganizationTeamRoleResource) Validate() error
- type OrganizationUserResource
- type OrganizationUserRoleResource
- func (r OrganizationUserRoleResource) GetDependencies() []ResourceRef
- func (r OrganizationUserRoleResource) GetKonnectID() string
- func (r OrganizationUserRoleResource) GetKonnectMonikerFilter() string
- func (r OrganizationUserRoleResource) GetMoniker() string
- func (r OrganizationUserRoleResource) GetRef() string
- func (r OrganizationUserRoleResource) GetType() ResourceType
- func (r *OrganizationUserRoleResource) SetDefaults()
- func (r *OrganizationUserRoleResource) TryMatchKonnectResource(_ any) bool
- func (r OrganizationUserRoleResource) Validate() error
- type OrganizationUserTeamMembershipResource
- func (r OrganizationUserTeamMembershipResource) GetDependencies() []ResourceRef
- func (r OrganizationUserTeamMembershipResource) GetKonnectID() string
- func (r OrganizationUserTeamMembershipResource) GetKonnectMonikerFilter() string
- func (r OrganizationUserTeamMembershipResource) GetMoniker() string
- func (r OrganizationUserTeamMembershipResource) GetRef() string
- func (r OrganizationUserTeamMembershipResource) GetType() ResourceType
- func (r *OrganizationUserTeamMembershipResource) SetDefaults()
- func (r *OrganizationUserTeamMembershipResource) TryMatchKonnectResource(_ any) bool
- func (r OrganizationUserTeamMembershipResource) Validate() error
- func (r OrganizationUserTeamMembershipResource) ValidateNested() error
- type PortalAssetFaviconResource
- func (r PortalAssetFaviconResource) GetDependencies() []ResourceRef
- func (r PortalAssetFaviconResource) GetKonnectID() string
- func (r PortalAssetFaviconResource) GetKonnectMonikerFilter() string
- func (r PortalAssetFaviconResource) GetMoniker() string
- func (r PortalAssetFaviconResource) GetParentRef() *ResourceRef
- func (r PortalAssetFaviconResource) GetRef() string
- func (r PortalAssetFaviconResource) GetType() ResourceType
- func (r *PortalAssetFaviconResource) SetDefaults()
- func (r *PortalAssetFaviconResource) TryMatchKonnectResource(_ any) bool
- func (r PortalAssetFaviconResource) Validate() error
- type PortalAssetLogoResource
- func (r PortalAssetLogoResource) GetDependencies() []ResourceRef
- func (r PortalAssetLogoResource) GetKonnectID() string
- func (r PortalAssetLogoResource) GetKonnectMonikerFilter() string
- func (r PortalAssetLogoResource) GetMoniker() string
- func (r PortalAssetLogoResource) GetParentRef() *ResourceRef
- func (r PortalAssetLogoResource) GetRef() string
- func (r PortalAssetLogoResource) GetType() ResourceType
- func (r *PortalAssetLogoResource) SetDefaults()
- func (r *PortalAssetLogoResource) TryMatchKonnectResource(_ any) bool
- func (r PortalAssetLogoResource) Validate() error
- type PortalAssetsResource
- type PortalAuditLogWebhookResource
- func (w PortalAuditLogWebhookResource) GetDependencies() []ResourceRef
- func (w PortalAuditLogWebhookResource) GetKonnectID() string
- func (w PortalAuditLogWebhookResource) GetKonnectMonikerFilter() string
- func (w PortalAuditLogWebhookResource) GetMoniker() string
- func (w PortalAuditLogWebhookResource) GetParentRef() *ResourceRef
- func (w PortalAuditLogWebhookResource) GetRef() string
- func (w PortalAuditLogWebhookResource) GetReferenceFieldMappings() map[string]string
- func (w PortalAuditLogWebhookResource) GetType() ResourceType
- func (w *PortalAuditLogWebhookResource) SetDefaults()
- func (w *PortalAuditLogWebhookResource) TryMatchKonnectResource(konnectResource any) bool
- func (w PortalAuditLogWebhookResource) Validate() error
- type PortalAuthSettingsResource
- func (a PortalAuthSettingsResource) GetDependencies() []ResourceRef
- func (a PortalAuthSettingsResource) GetKonnectID() string
- func (a PortalAuthSettingsResource) GetKonnectMonikerFilter() string
- func (a PortalAuthSettingsResource) GetMoniker() string
- func (a PortalAuthSettingsResource) GetParentRef() *ResourceRef
- func (a PortalAuthSettingsResource) GetRef() string
- func (a PortalAuthSettingsResource) GetType() ResourceType
- func (a *PortalAuthSettingsResource) SetDefaults()
- func (a *PortalAuthSettingsResource) TryMatchKonnectResource(_ any) bool
- func (a *PortalAuthSettingsResource) UnmarshalJSON(data []byte) error
- func (a PortalAuthSettingsResource) Validate() error
- type PortalCustomDomainResource
- func (d PortalCustomDomainResource) GetDependencies() []ResourceRef
- func (d PortalCustomDomainResource) GetKonnectID() string
- func (d PortalCustomDomainResource) GetKonnectMonikerFilter() string
- func (d PortalCustomDomainResource) GetMoniker() string
- func (d PortalCustomDomainResource) GetParentRef() *ResourceRef
- func (d PortalCustomDomainResource) GetRef() string
- func (d PortalCustomDomainResource) GetType() ResourceType
- func (d *PortalCustomDomainResource) SetDefaults()
- func (d *PortalCustomDomainResource) TryMatchKonnectResource(konnectResource any) bool
- func (d PortalCustomDomainResource) Validate() error
- type PortalCustomizationResource
- func (c PortalCustomizationResource) GetDependencies() []ResourceRef
- func (c PortalCustomizationResource) GetKonnectID() string
- func (c PortalCustomizationResource) GetKonnectMonikerFilter() string
- func (c PortalCustomizationResource) GetMoniker() string
- func (c PortalCustomizationResource) GetRef() string
- func (c PortalCustomizationResource) GetType() ResourceType
- func (c *PortalCustomizationResource) SetDefaults()
- func (c *PortalCustomizationResource) TryMatchKonnectResource(_ any) bool
- func (c PortalCustomizationResource) Validate() error
- type PortalEmailConfigResource
- func (c PortalEmailConfigResource) GetDependencies() []ResourceRef
- func (c PortalEmailConfigResource) GetKonnectID() string
- func (c PortalEmailConfigResource) GetKonnectMonikerFilter() string
- func (c PortalEmailConfigResource) GetMoniker() string
- func (c PortalEmailConfigResource) GetParentRef() *ResourceRef
- func (c PortalEmailConfigResource) GetRef() string
- func (c PortalEmailConfigResource) GetReferenceFieldMappings() map[string]string
- func (c PortalEmailConfigResource) GetType() ResourceType
- func (c *PortalEmailConfigResource) SetDefaults()
- func (c *PortalEmailConfigResource) TryMatchKonnectResource(konnectResource any) bool
- func (c *PortalEmailConfigResource) UnmarshalJSON(data []byte) error
- func (c PortalEmailConfigResource) Validate() error
- type PortalEmailTemplateContent
- type PortalEmailTemplateResource
- func (t PortalEmailTemplateResource) GetDependencies() []ResourceRef
- func (t PortalEmailTemplateResource) GetKonnectID() string
- func (t PortalEmailTemplateResource) GetKonnectMonikerFilter() string
- func (t PortalEmailTemplateResource) GetMoniker() string
- func (t PortalEmailTemplateResource) GetParentRef() *ResourceRef
- func (t PortalEmailTemplateResource) GetRef() string
- func (t PortalEmailTemplateResource) GetReferenceFieldMappings() map[string]string
- func (t PortalEmailTemplateResource) GetType() ResourceType
- func (t *PortalEmailTemplateResource) SetDefaults()
- func (t *PortalEmailTemplateResource) TryMatchKonnectResource(konnectResource any) bool
- func (t *PortalEmailTemplateResource) UnmarshalJSON(data []byte) error
- func (t PortalEmailTemplateResource) Validate() error
- type PortalIPAllowListResource
- func (l PortalIPAllowListResource) GetDependencies() []ResourceRef
- func (l PortalIPAllowListResource) GetKonnectID() string
- func (l PortalIPAllowListResource) GetKonnectMonikerFilter() string
- func (l PortalIPAllowListResource) GetMoniker() string
- func (l PortalIPAllowListResource) GetParentRef() *ResourceRef
- func (l PortalIPAllowListResource) GetRef() string
- func (l PortalIPAllowListResource) GetReferenceFieldMappings() map[string]string
- func (l PortalIPAllowListResource) GetType() ResourceType
- func (l *PortalIPAllowListResource) SetDefaults()
- func (l *PortalIPAllowListResource) TryMatchKonnectResource(_ any) bool
- func (l *PortalIPAllowListResource) UnmarshalJSON(data []byte) error
- func (l PortalIPAllowListResource) Validate() error
- type PortalIdentityProviderResource
- func (p PortalIdentityProviderResource) GetDependencies() []ResourceRef
- func (p PortalIdentityProviderResource) GetKonnectID() string
- func (p PortalIdentityProviderResource) GetKonnectMonikerFilter() string
- func (p PortalIdentityProviderResource) GetMoniker() string
- func (p PortalIdentityProviderResource) GetParentRef() *ResourceRef
- func (p PortalIdentityProviderResource) GetRef() string
- func (p PortalIdentityProviderResource) GetType() ResourceType
- func (p PortalIdentityProviderResource) MarshalJSON() ([]byte, error)
- func (p PortalIdentityProviderResource) MarshalYAML() (any, error)
- func (p *PortalIdentityProviderResource) SetDefaults()
- func (p *PortalIdentityProviderResource) TryMatchKonnectResource(_ any) bool
- func (p *PortalIdentityProviderResource) UnmarshalJSON(data []byte) error
- func (p PortalIdentityProviderResource) Validate() error
- type PortalIntegrationResource
- func (i PortalIntegrationResource) GetDependencies() []ResourceRef
- func (i PortalIntegrationResource) GetKonnectID() string
- func (i PortalIntegrationResource) GetKonnectMonikerFilter() string
- func (i PortalIntegrationResource) GetMoniker() string
- func (i PortalIntegrationResource) GetParentRef() *ResourceRef
- func (i PortalIntegrationResource) GetRef() string
- func (i PortalIntegrationResource) GetReferenceFieldMappings() map[string]string
- func (i PortalIntegrationResource) GetType() ResourceType
- func (i *PortalIntegrationResource) SetDefaults()
- func (i *PortalIntegrationResource) TryMatchKonnectResource(_ any) bool
- func (i *PortalIntegrationResource) UnmarshalJSON(data []byte) error
- func (i PortalIntegrationResource) Validate() error
- type PortalPageResource
- func (p PortalPageResource) GetDependencies() []ResourceRef
- func (p PortalPageResource) GetKonnectID() string
- func (p PortalPageResource) GetKonnectMonikerFilter() string
- func (p PortalPageResource) GetMoniker() string
- func (p PortalPageResource) GetRef() string
- func (p PortalPageResource) GetReferenceFieldMappings() map[string]string
- func (p PortalPageResource) GetType() ResourceType
- func (p *PortalPageResource) SetDefaults()
- func (p *PortalPageResource) TryMatchKonnectResource(konnectResource any) bool
- func (p PortalPageResource) Validate() error
- type PortalResource
- func (p PortalResource) GetDependencies() []ResourceRef
- func (p *PortalResource) GetExternalBlock() *ExternalBlock
- func (p PortalResource) GetKonnectMonikerFilter() string
- func (p PortalResource) GetLabels() map[string]string
- func (p PortalResource) GetMoniker() string
- func (p PortalResource) GetReferenceFieldMappings() map[string]string
- func (p PortalResource) GetType() ResourceType
- func (p *PortalResource) IsExternal() bool
- func (p PortalResource) MarshalJSON() ([]byte, error)
- func (p PortalResource) MarshalYAML() (any, error)
- func (p *PortalResource) SetDefaults()
- func (p *PortalResource) SetLabels(labels map[string]string)
- func (p *PortalResource) TryMatchKonnectResource(konnectResource any) bool
- func (p *PortalResource) UnmarshalJSON(data []byte) error
- func (p PortalResource) Validate() error
- type PortalSnippetResource
- func (s PortalSnippetResource) GetDependencies() []ResourceRef
- func (s PortalSnippetResource) GetKonnectID() string
- func (s PortalSnippetResource) GetKonnectMonikerFilter() string
- func (s PortalSnippetResource) GetMoniker() string
- func (s PortalSnippetResource) GetRef() string
- func (s PortalSnippetResource) GetReferenceFieldMappings() map[string]string
- func (s PortalSnippetResource) GetType() ResourceType
- func (s *PortalSnippetResource) SetDefaults()
- func (s *PortalSnippetResource) TryMatchKonnectResource(konnectResource any) bool
- func (s PortalSnippetResource) Validate() error
- type PortalTeamGroupMappingResource
- func (p PortalTeamGroupMappingResource) GetDependencies() []ResourceRef
- func (p PortalTeamGroupMappingResource) GetKonnectID() string
- func (p PortalTeamGroupMappingResource) GetKonnectMonikerFilter() string
- func (p PortalTeamGroupMappingResource) GetMoniker() string
- func (p PortalTeamGroupMappingResource) GetParentRef() *ResourceRef
- func (p PortalTeamGroupMappingResource) GetRef() string
- func (p PortalTeamGroupMappingResource) GetType() ResourceType
- func (p PortalTeamGroupMappingResource) MarshalJSON() ([]byte, error)
- func (p *PortalTeamGroupMappingResource) SetDefaults()
- func (p *PortalTeamGroupMappingResource) TryMatchKonnectResource(_ any) bool
- func (p *PortalTeamGroupMappingResource) UnmarshalJSON(data []byte) error
- func (p PortalTeamGroupMappingResource) Validate() error
- type PortalTeamResource
- func (p PortalTeamResource) GetDependencies() []ResourceRef
- func (p PortalTeamResource) GetKonnectID() string
- func (p PortalTeamResource) GetKonnectMonikerFilter() string
- func (p PortalTeamResource) GetMoniker() string
- func (p PortalTeamResource) GetParentRef() *ResourceRef
- func (p PortalTeamResource) GetRef() string
- func (p PortalTeamResource) GetType() ResourceType
- func (p PortalTeamResource) MarshalJSON() ([]byte, error)
- func (p PortalTeamResource) MarshalYAML() (any, error)
- func (p *PortalTeamResource) SetDefaults()
- func (p *PortalTeamResource) TryMatchKonnectResource(konnectResource any) bool
- func (p *PortalTeamResource) UnmarshalJSON(data []byte) error
- func (p PortalTeamResource) Validate() error
- type PortalTeamRoleResource
- func (r PortalTeamRoleResource) GetDependencies() []ResourceRef
- func (r PortalTeamRoleResource) GetKonnectID() string
- func (r PortalTeamRoleResource) GetKonnectMonikerFilter() string
- func (r PortalTeamRoleResource) GetMoniker() string
- func (r PortalTeamRoleResource) GetParentRef() *ResourceRef
- func (r PortalTeamRoleResource) GetRef() string
- func (r PortalTeamRoleResource) GetType() ResourceType
- func (r PortalTeamRoleResource) MarshalJSON() ([]byte, error)
- func (r PortalTeamRoleResource) MarshalYAML() (any, error)
- func (r *PortalTeamRoleResource) SetDefaults()
- func (r *PortalTeamRoleResource) TryMatchKonnectResource(konnectResource any) bool
- func (r *PortalTeamRoleResource) UnmarshalJSON(data []byte) error
- func (r PortalTeamRoleResource) Validate() error
- type RefReader
- type ReferenceMapping
- type ReferencedResource
- type RelationshipCardinality
- type RelationshipDescriptor
- type RelationshipKind
- type RelationshipResultField
- type Resource
- type ResourceRef
- type ResourceRegistrationOption
- func WithAIGatewayOwnedChildNamespace[R any](order int, kind ResourceType, nested func(*AIGatewayResource) *[]R, ...) ResourceRegistrationOption
- func WithChildSyncScope(parentType ResourceType, options ...ChildSyncScopeOption) ResourceRegistrationOption
- func WithChildSyncScopeFrom[R any](parentType ResourceType, parentRef func(*R) string, ...) ResourceRegistrationOption
- func WithDumpDefaultExclusion(path, reason string) ResourceRegistrationOption
- func WithDumpDefaultOverride(path string, value any, reason string) ResourceRegistrationOption
- func WithExternalUnsupportedReason(reason string) ResourceRegistrationOption
- func WithIndependentChildLabelOwnership[R any](capture func(*ResourceSet, string), metadata func(*R) *KongctlMeta) ResourceRegistrationOption
- func WithIndependentChildOwnership[R any](capture func(*ResourceSet, string), metadata func(*R) *KongctlMeta) ResourceRegistrationOption
- func WithManagedBy(policy ManagedByPolicy) ResourceRegistrationOption
- func WithMaturity(metadata capmaturity.Metadata) ResourceRegistrationOption
- func WithNamespace[R any](order int, participant func(*R) NamespaceParticipant, ...) ResourceRegistrationOption
- func WithNamespaceFrom[R, P any, PPtr interface{ ... }](owner func(*ResourceSet, *R) *P) ResourceRegistrationOption
- func WithNestedNamespaceGroups[R any](source func(*ResourceSet) [][]R, participant func(*R) NamespaceParticipant) ResourceRegistrationOption
- func WithNestedSyncScopeCapture(capture nestedSyncScopeCapture) ResourceRegistrationOption
- func WithOperationMaturity(operation Operation, metadata capmaturity.Metadata) ResourceRegistrationOption
- func WithRootSyncScope() ResourceRegistrationOption
- func WithSelectorAssignmentSyncScope(selectorType ResourceType) ResourceRegistrationOption
- type ResourceSet
- func (rs *ResourceSet) AddDefaultNamespace(namespace string)
- func (rs *ResourceSet) AddEnvSource(resourceRef, fieldPath, placeholder string)
- func (rs *ResourceSet) AddLiteralSource(ref, path, value string)
- func (rs *ResourceSet) AddSecretSource(resourceRef string, fieldPath string, expression tags.SecretExpression, ...)
- func (rs *ResourceSet) AllResources() []Resource
- func (rs *ResourceSet) AllResourcesByType(rt ResourceType) []Resource
- func (rs *ResourceSet) AppendAll(src *ResourceSet)
- func (rs *ResourceSet) CaptureAIGatewayNamespaceScopes(defaultNamespace string)
- func (rs *ResourceSet) EnsureSyncScope() *SyncScope
- func (rs *ResourceSet) ExtractRegisteredChildren(parent Resource)
- func (rs *ResourceSet) ExtractRegisteredSelectorChildren(kind ResourceType)
- func (rs *ResourceSet) FlattenRootAPIDocuments()
- func (rs *ResourceSet) ForEachNamespaceParticipant(fn func(NamespaceParticipant) error) error
- func (rs *ResourceSet) ForEachResource(fn func(Resource) bool) bool
- func (rs *ResourceSet) GetAIGatewayAgentByRef(ref string) *AIGatewayAgentResource
- func (rs *ResourceSet) GetAIGatewayAgentsForGateway(gatewayRef string) []AIGatewayAgentResource
- func (rs *ResourceSet) GetAIGatewayAuthStrategiesForGateway(gatewayRef string) []AIGatewayAuthStrategyResource
- func (rs *ResourceSet) GetAIGatewayAuthStrategyByRef(ref string) *AIGatewayAuthStrategyResource
- func (rs *ResourceSet) GetAIGatewayByRef(ref string) *AIGatewayResource
- func (rs *ResourceSet) GetAIGatewayCACertificatesForGateway(gatewayRef string) []AIGatewayCACertificateResource
- func (rs *ResourceSet) GetAIGatewayCertificatesForGateway(gatewayRef string) []AIGatewayCertificateResource
- func (rs *ResourceSet) GetAIGatewayConfigStoreByRef(ref string) *AIGatewayConfigStoreResource
- func (rs *ResourceSet) GetAIGatewayConfigStoreSecretByRef(ref string) *AIGatewayConfigStoreSecretResource
- func (rs *ResourceSet) GetAIGatewayConfigStoreSecretsForStore(storeRef string) []AIGatewayConfigStoreSecretResource
- func (rs *ResourceSet) GetAIGatewayConfigStoresForGateway(gatewayRef string) []AIGatewayConfigStoreResource
- func (rs *ResourceSet) GetAIGatewayConsumerByRef(ref string) *AIGatewayConsumerResource
- func (rs *ResourceSet) GetAIGatewayConsumerCredentialByRef(ref string) *AIGatewayConsumerCredentialResource
- func (rs *ResourceSet) GetAIGatewayConsumerCredentialsForConsumer(consumerRef string) []AIGatewayConsumerCredentialResource
- func (rs *ResourceSet) GetAIGatewayConsumerGroupByRef(ref string) *AIGatewayConsumerGroupResource
- func (rs *ResourceSet) GetAIGatewayConsumerGroupsForGateway(gatewayRef string) []AIGatewayConsumerGroupResource
- func (rs *ResourceSet) GetAIGatewayConsumersForGateway(gatewayRef string) []AIGatewayConsumerResource
- func (rs *ResourceSet) GetAIGatewayCustomPoliciesForGateway(gatewayRef string) []AIGatewayCustomPolicyResource
- func (rs *ResourceSet) GetAIGatewayCustomPolicyByRef(ref string) *AIGatewayCustomPolicyResource
- func (rs *ResourceSet) GetAIGatewayDataPlaneCertificateByRef(ref string) *AIGatewayDataPlaneCertificateResource
- func (rs *ResourceSet) GetAIGatewayDataPlaneCertificatesForGateway(gatewayRef string) []AIGatewayDataPlaneCertificateResource
- func (rs *ResourceSet) GetAIGatewayDatastoreByRef(ref string) *AIGatewayDatastoreResource
- func (rs *ResourceSet) GetAIGatewayDatastoresForGateway(gatewayRef string) []AIGatewayDatastoreResource
- func (rs *ResourceSet) GetAIGatewayMCPServerByRef(ref string) *AIGatewayMCPServerResource
- func (rs *ResourceSet) GetAIGatewayMCPServersForGateway(gatewayRef string) []AIGatewayMCPServerResource
- func (rs *ResourceSet) GetAIGatewayModelByRef(ref string) *AIGatewayModelResource
- func (rs *ResourceSet) GetAIGatewayModelsForGateway(gatewayRef string) []AIGatewayModelResource
- func (rs *ResourceSet) GetAIGatewayPoliciesForGateway(gatewayRef string) []AIGatewayPolicyResource
- func (rs *ResourceSet) GetAIGatewayPolicyByRef(ref string) *AIGatewayPolicyResource
- func (rs *ResourceSet) GetAIGatewayProviderByRef(ref string) *AIGatewayProviderResource
- func (rs *ResourceSet) GetAIGatewayProvidersForGateway(gatewayRef string) []AIGatewayProviderResource
- func (rs *ResourceSet) GetAIGatewaySNIsForGateway(gatewayRef string) []AIGatewaySNIResource
- func (rs *ResourceSet) GetAIGatewayVaultByRef(ref string) *AIGatewayVaultResource
- func (rs *ResourceSet) GetAIGatewayVaultsForGateway(gatewayRef string) []AIGatewayVaultResource
- func (rs *ResourceSet) GetAIGatewaysByNamespace(namespace string) []AIGatewayResource
- func (rs *ResourceSet) GetAPIByRef(ref string) *APIResource
- func (rs *ResourceSet) GetAPIDocumentsByNamespace(namespace string) []APIDocumentResource
- func (rs *ResourceSet) GetAPIImplementationsByNamespace(namespace string) []APIImplementationResource
- func (rs *ResourceSet) GetAPIPublicationsByNamespace(namespace string) []APIPublicationResource
- func (rs *ResourceSet) GetAPIVersionsByNamespace(namespace string) []APIVersionResource
- func (rs *ResourceSet) GetAPIsByNamespace(namespace string) []APIResource
- func (rs *ResourceSet) GetAuthStrategiesByNamespace(namespace string) []ApplicationAuthStrategyResource
- func (rs *ResourceSet) GetAuthStrategyByRef(ref string) *ApplicationAuthStrategyResource
- func (rs *ResourceSet) GetBackendClusterByRef(ref string) *EventGatewayBackendClusterResource
- func (rs *ResourceSet) GetBackendClustersForGateway(gatewayRef string) []EventGatewayBackendClusterResource
- func (rs *ResourceSet) GetCatalogServiceByRef(ref string) *CatalogServiceResource
- func (rs *ResourceSet) GetCatalogServicesByNamespace(namespace string) []CatalogServiceResource
- func (rs *ResourceSet) GetClusterPoliciesForVirtualCluster(virtualClusterRef string) []EventGatewayClusterPolicyResource
- func (rs *ResourceSet) GetConsumePoliciesForVirtualCluster(virtualClusterRef string) []EventGatewayConsumePolicyResource
- func (rs *ResourceSet) GetControlPlaneByRef(ref string) *ControlPlaneResource
- func (rs *ResourceSet) GetControlPlanesByNamespace(namespace string) []ControlPlaneResource
- func (rs *ResourceSet) GetDCRProviderByRef(ref string) *DCRProviderResource
- func (rs *ResourceSet) GetDCRProvidersByNamespace(namespace string) []DCRProviderResource
- func (rs *ResourceSet) GetDashboardByRef(ref string) *DashboardResource
- func (rs *ResourceSet) GetDashboardsByNamespace(namespace string) []DashboardResource
- func (rs *ResourceSet) GetDataPlaneCertificatesForControlPlane(controlPlaneRef string) []ControlPlaneDataPlaneCertificateResource
- func (rs *ResourceSet) GetDataPlaneCertificatesForGateway(gatewayRef string) []EventGatewayDataPlaneCertificateResource
- func (rs *ResourceSet) GetEnvSources(resourceRef string) map[string]string
- func (rs *ResourceSet) GetEventGatewayControlPlaneByRef(ref string) *EventGatewayControlPlaneResource
- func (rs *ResourceSet) GetEventGatewayControlPlanesByNamespace(namespace string) []EventGatewayControlPlaneResource
- func (rs *ResourceSet) GetListenersForEventGateway(gatewayRef string) []EventGatewayListenerResource
- func (rs *ResourceSet) GetOrganizationSystemAccountRolesByNamespace(namespace string) []OrganizationSystemAccountRoleResource
- func (rs *ResourceSet) GetOrganizationSystemAccountTeamMembershipsByNamespace(namespace string) []OrganizationSystemAccountTeamMembershipResource
- func (rs *ResourceSet) GetOrganizationTeamRolesByNamespace(namespace string) []OrganizationTeamRoleResource
- func (rs *ResourceSet) GetOrganizationTeamsByNamespace(namespace string) []OrganizationTeamResource
- func (rs *ResourceSet) GetOrganizationUserRolesByNamespace(namespace string) []OrganizationUserRoleResource
- func (rs *ResourceSet) GetOrganizationUserTeamMembershipsByNamespace(namespace string) []OrganizationUserTeamMembershipResource
- func (rs *ResourceSet) GetPoliciesForListener(listenerRef string) []EventGatewayListenerPolicyResource
- func (rs *ResourceSet) GetPortalByRef(ref string) *PortalResource
- func (rs *ResourceSet) GetPortalPagesByNamespace(namespace string) []PortalPageResource
- func (rs *ResourceSet) GetPortalsByNamespace(namespace string) []PortalResource
- func (rs *ResourceSet) GetProducePoliciesForVirtualCluster(virtualClusterRef string) []EventGatewayProducePolicyResource
- func (rs *ResourceSet) GetResourceByRef(ref string) (Resource, bool)
- func (rs *ResourceSet) GetResourceTypeByRef(ref string) (ResourceType, bool)
- func (rs *ResourceSet) GetSchemaRegistriesForGateway(gatewayRef string) []EventGatewaySchemaRegistryResource
- func (rs *ResourceSet) GetSecretSources(resourceRef string) map[string]SecretSourceDeclaration
- func (rs *ResourceSet) GetStaticKeysForGateway(gatewayRef string) []EventGatewayStaticKeyResource
- func (rs *ResourceSet) GetTrustBundlesForGateway(gatewayRef string) []EventGatewayTLSTrustBundleResource
- func (rs *ResourceSet) GetVirtualClusterByRef(ref string) *EventGatewayVirtualClusterResource
- func (rs *ResourceSet) GetVirtualClustersForGateway(gatewayRef string) []EventGatewayVirtualClusterResource
- func (rs *ResourceSet) HasEnvSources() bool
- func (rs *ResourceSet) HasRef(ref string) bool
- func (rs *ResourceSet) HasSecretSources() bool
- func (rs *ResourceSet) HasSyncScopeSelectors() bool
- func (rs *ResourceSet) InferRegisteredSyncScope(scope *SyncScope)
- func (rs *ResourceSet) IsEmpty() bool
- func (rs *ResourceSet) MergeEnvSources(other *ResourceSet)
- func (rs *ResourceSet) MergeSecretSources(other *ResourceSet)
- func (rs *ResourceSet) MergeSyncScope(other *ResourceSet)
- func (rs *ResourceSet) NamespaceValues() []string
- func (rs *ResourceSet) PayloadReferenceEnvSource(expression string) string
- func (rs *ResourceSet) PayloadReferenceLiteralSource(expression string) string
- func (rs *ResourceSet) ReferenceTarget(ref string) (Resource, error)
- func (rs *ResourceSet) ResolvePayloadReference(expression string) (any, error)
- func (rs *ResourceSet) ResourceCount() int
- func (rs *ResourceSet) ValidateRegisteredChildren(family ResourceType) error
- func (rs *ResourceSet) ValidateRegisteredCollections() error
- func (rs *ResourceSet) ValidateRegisteredNestedChildren(parent Resource) error
- func (rs *ResourceSet) ValidateRegisteredReferences(validate func(Resource) error) error
- func (rs *ResourceSet) ValidateRegisteredResource(kind ResourceType) error
- func (rs *ResourceSet) ValidateRegisteredSelectorChildren(kind ResourceType) error
- type ResourceType
- type ResourceValidator
- type ResourceWithLabels
- type ResourceWithParent
- type SecretSourceDeclaration
- type SyncCollection
- type SyncScope
- func (s *SyncScope) AddChild(parentType ResourceType, parentRef string, rt ResourceType)
- func (s *SyncScope) AddChildNamespace(kind ResourceType, parentRef, namespace string)
- func (s *SyncScope) AddModelNamespace(parentRef, namespace string)
- func (s *SyncScope) AddRoot(rt ResourceType)
- func (s *SyncScope) AddRootChildCollection(rt ResourceType)
- func (s *SyncScope) CaptureDeclared(raw map[string]any) error
- func (s *SyncScope) ChildInScope(parentType ResourceType, parentRef string, rt ResourceType) bool
- func (s *SyncScope) ChildScopes() []ChildSyncScope
- func (s *SyncScope) HasAny() bool
- func (s *SyncScope) MarkOrganizationSystemAccountsScoped()
- func (s *SyncScope) MarkOrganizationUsersScoped()
- func (s *SyncScope) Merge(other *SyncScope)
- func (s *SyncScope) OrganizationSystemAccountsInScope() bool
- func (s *SyncScope) OrganizationUsersInScope() bool
- func (s *SyncScope) OwnedChildNamespaces(kind ResourceType, parentRef string) map[string]struct{}
- func (s *SyncScope) ParentHasChildScope(parentType ResourceType) bool
- func (s *SyncScope) RebindChildParent(parentType ResourceType, oldRef, newRef string)
- func (s *SyncScope) RemoveRoot(rt ResourceType)
- func (s *SyncScope) RootChildCollectionTypes() []ResourceType
- func (s *SyncScope) RootInScope(rt ResourceType) bool
- func (s *SyncScope) RootTypes() []ResourceType
Constants ¶
const ( ChildNamespaceKey = "kongctl-namespace" ChildProtectedKey = "kongctl-protected" ChildManagedByLimit = 5 )
These keys are lifecycle metadata, independent of gateway ownership.
const ( ModelNamespaceKey = ChildNamespaceKey ModelProtectedKey = ChildProtectedKey )
AI Gateway models use lifecycle metadata rather than restricted public labels.
const ( IdentityAPIKeyCreateTypeKey = "kongctl-create-type" //nolint:gosec // Public metadata key, not credential material. IdentityAPIKeyGeneratedType = "v1" )
const ( IdentityMetadataModeMerge = "merge" IdentityMetadataModeSync = "sync" )
const ( ManagedByToolKey = "tool" ManagedByVersionKey = "version" ManagedByTool = "kongctl" ManagedByRefKey = "kongctl-ref" )
const ( RelationshipKindAPIForeignKey RelationshipKind = "api_foreign_key" RelationshipKindKongctlParentSelector RelationshipKind = "kongctl_parent_selector" RelationshipCardinalityScalar RelationshipCardinality = "scalar" RelationshipCardinalityList RelationshipCardinality = "list" RelationshipResultFieldID RelationshipResultField = "id" RelationshipResultFieldRef RelationshipResultField = "ref" RelationshipResultFieldName RelationshipResultField = "name" )
const ( SchemaFieldDirectory = "directory" SchemaFieldRef = "ref" SchemaFieldName = "name" SchemaFieldUsername = "username" SchemaFieldPrincipal = "principal" SchemaFieldGroup = "group" SchemaFieldPortal = "portal" SchemaFieldOrganization = "organization" SchemaFieldTeam = "team" SchemaFieldTeams = "teams" SchemaFieldRoles = "roles" SchemaFieldUser = "user" SchemaFieldSystemAccount = "system_account" SchemaFieldAIGateway = "ai_gateway" SchemaFieldEventGateway = "event_gateway" SchemaFieldAIGatewayConsumer = "ai_gateway_consumer" SchemaFieldAIGatewayConfigStore = "ai_gateway_config_store" SchemaFieldDisplayName = "display_name" SchemaFieldAccess = "access" SchemaFieldAuthStrategies = "auth_strategies" SchemaFieldIdentityProviders = "identity_providers" SchemaFieldConfig = "config" SchemaFieldConfigStoreID = "config_store_id" SchemaFieldKongctl = "kongctl" SchemaFieldID = "id" SchemaFieldCreatedAt = "created_at" SchemaFieldUpdatedAt = "updated_at" SchemaFieldCertificate = "certificate" SchemaFieldCert = "cert" SchemaFieldCertAlt = "cert_alt" SchemaFieldKey = "key" SchemaFieldKeyAlt = "key_alt" )
const ( // MaxRefLength is the maximum allowed length for a ref MaxRefLength = 63 // MinRefLength is the minimum allowed length for a ref MinRefLength = 1 )
const (
// NamespaceExternal is a sentinel (empty string) used internally when handling external resources.
NamespaceExternal = ""
)
const UnknownReferenceID = "[unknown]"
UnknownReferenceID is the sentinel value used when a resource reference or name cannot be resolved.
Variables ¶
This section is empty.
Functions ¶
func AIGatewayAgentDisplayName ¶ added in v1.5.0
func AIGatewayAgentEnabled ¶ added in v1.5.0
func AIGatewayAgentID ¶ added in v1.5.0
func AIGatewayAgentLabels ¶ added in v1.5.0
func AIGatewayAgentMutablePayloadMap ¶ added in v1.5.0
func AIGatewayAgentMutablePayloadMap(agent kkComps.AIGatewayAgent) (map[string]any, error)
func AIGatewayAgentName ¶ added in v1.5.0
func AIGatewayAgentType ¶ added in v1.5.0
func AIGatewayAgentUpdatedAt ¶ added in v1.5.0
func AIGatewayCACertificateID ¶ added in v1.15.0
func AIGatewayCACertificateName ¶ added in v1.15.0
func AIGatewayCertificateID ¶ added in v1.15.0
func AIGatewayCertificateName ¶ added in v1.15.0
func AIGatewayConfigStoreID ¶ added in v1.9.0
func AIGatewayConfigStoreName ¶ added in v1.9.0
func AIGatewayConsumerCredentialDisplayName ¶ added in v1.5.0
func AIGatewayConsumerCredentialID ¶ added in v1.5.0
func AIGatewayConsumerCredentialLabels ¶ added in v1.5.0
func AIGatewayConsumerCredentialMutablePayloadMap ¶ added in v1.5.0
func AIGatewayConsumerCredentialMutablePayloadMap( credential kkComps.AIGatewayConsumerCredential, ) (map[string]any, error)
func AIGatewayConsumerCredentialName ¶ added in v1.5.0
func AIGatewayConsumerCredentialUpdatedAt ¶ added in v1.5.0
func AIGatewayConsumerDisplayName ¶ added in v1.5.0
func AIGatewayConsumerGroupConsumers ¶ added in v1.5.0
func AIGatewayConsumerGroupDisplayName ¶ added in v1.5.0
func AIGatewayConsumerGroupID ¶ added in v1.5.0
func AIGatewayConsumerGroupLabels ¶ added in v1.5.0
func AIGatewayConsumerGroupMutablePayloadMap ¶ added in v1.5.0
func AIGatewayConsumerGroupMutablePayloadMap(group kkComps.AIGatewayConsumerGroup) (map[string]any, error)
func AIGatewayConsumerGroupName ¶ added in v1.5.0
func AIGatewayConsumerGroupUpdatedAt ¶ added in v1.5.0
func AIGatewayConsumerID ¶ added in v1.5.0
func AIGatewayConsumerLabels ¶ added in v1.5.0
func AIGatewayConsumerMutablePayloadMap ¶ added in v1.5.0
func AIGatewayConsumerMutablePayloadMap(consumer kkComps.AIGatewayConsumer) (map[string]any, error)
func AIGatewayConsumerName ¶ added in v1.5.0
func AIGatewayConsumerUpdatedAt ¶ added in v1.5.0
func AIGatewayCustomPolicyID ¶ added in v1.20.0
func AIGatewayCustomPolicyLabels ¶ added in v1.22.0
func AIGatewayCustomPolicyManagedBy ¶ added in v1.22.0
func AIGatewayCustomPolicyMutablePayloadMap ¶ added in v1.20.0
func AIGatewayCustomPolicyMutablePayloadMap(policy kkComps.AIGatewayCustomPolicy) (map[string]any, error)
func AIGatewayCustomPolicyName ¶ added in v1.20.0
func AIGatewayDataPlaneCertificateID ¶ added in v1.5.0
func AIGatewayDataPlaneCertificateTitle ¶ added in v1.5.0
func AIGatewayDatastoreDescription ¶ added in v1.22.0
func AIGatewayDatastoreID ¶ added in v1.22.0
func AIGatewayDatastoreLabels ¶ added in v1.22.0
func AIGatewayDatastoreMutablePayloadMap ¶ added in v1.22.0
func AIGatewayDatastoreMutablePayloadMap( datastore kkComps.AIGatewayDatastore, ) (map[string]any, error)
func AIGatewayDatastoreName ¶ added in v1.22.0
func AIGatewayDatastoreType ¶ added in v1.22.0
func AIGatewayDatastoreUpdatedAt ¶ added in v1.22.0
func AIGatewayMCPServerDisplayName ¶ added in v1.5.0
func AIGatewayMCPServerEnabled ¶ added in v1.5.0
func AIGatewayMCPServerID ¶ added in v1.5.0
func AIGatewayMCPServerLabels ¶ added in v1.5.0
func AIGatewayMCPServerManagedBy ¶ added in v1.22.0
func AIGatewayMCPServerMutablePayloadMap ¶ added in v1.5.0
func AIGatewayMCPServerMutablePayloadMap( server kkComps.AIGatewayMCPServer, ) (map[string]any, error)
func AIGatewayMCPServerName ¶ added in v1.5.0
func AIGatewayMCPServerType ¶ added in v1.5.0
func AIGatewayMCPServerUpdatedAt ¶ added in v1.5.0
func AIGatewayModelDisplayName ¶ added in v1.5.0
func AIGatewayModelDisplayName(model kkComps.AIGatewayModel) string
func AIGatewayModelEnabled ¶ added in v1.5.0
func AIGatewayModelEnabled(model kkComps.AIGatewayModel) *bool
func AIGatewayModelID ¶ added in v1.5.0
func AIGatewayModelLabels ¶ added in v1.5.0
func AIGatewayModelManagedBy ¶ added in v1.22.0
func AIGatewayModelManagedBy(model kkComps.AIGatewayModel) map[string]string
func AIGatewayModelMutablePayloadMap ¶ added in v1.5.0
func AIGatewayModelMutablePayloadMap(model kkComps.AIGatewayModel) (map[string]any, error)
func AIGatewayModelName ¶ added in v1.5.0
func AIGatewayModelType ¶ added in v1.5.0
func AIGatewayModelType(model kkComps.AIGatewayModel) string
func AIGatewayModelUpdatedAt ¶ added in v1.5.0
func AIGatewayModelUpdatedAt(model kkComps.AIGatewayModel) time.Time
func AIGatewayPolicyDisplayName ¶ added in v1.5.0
func AIGatewayPolicyEnabled ¶ added in v1.5.0
func AIGatewayPolicyGlobal ¶ added in v1.5.0
func AIGatewayPolicyID ¶ added in v1.5.0
func AIGatewayPolicyLabels ¶ added in v1.5.0
func AIGatewayPolicyMutablePayloadMap ¶ added in v1.5.0
func AIGatewayPolicyMutablePayloadMap(policy kkComps.AIGatewayPolicy) (map[string]any, error)
func AIGatewayPolicyName ¶ added in v1.5.0
func AIGatewayPolicyType ¶ added in v1.5.0
func AIGatewayPolicyUpdatedAt ¶ added in v1.5.0
func AIGatewaySNIID ¶ added in v1.15.0
func AIGatewaySNIName ¶ added in v1.15.0
func AIGatewayTokenVaultFields ¶ added in v1.22.0
func AIGatewayTokenVaultFields( datastores []kkComps.AIGatewayDatastoreRef, vault any, ) (map[string]any, error)
AIGatewayTokenVaultFields returns writable Token Vault fields in their JSON representation.
func AIGatewayVaultDescription ¶ added in v1.5.0
func AIGatewayVaultID ¶ added in v1.5.0
func AIGatewayVaultLabels ¶ added in v1.5.0
func AIGatewayVaultManagedBy ¶ added in v1.22.0
func AIGatewayVaultMutablePayloadMap ¶ added in v1.5.0
func AIGatewayVaultMutablePayloadMap(vault kkComps.AIGatewayVault) (map[string]any, error)
func AIGatewayVaultName ¶ added in v1.5.0
func AIGatewayVaultType ¶ added in v1.5.0
func AIGatewayVaultUpdatedAt ¶ added in v1.5.0
func BuildChildManagedBy ¶ added in v1.22.0
BuildChildManagedBy generates the complete map from kongctl ownership settings.
func BuildModelManagedBy ¶ added in v1.22.0
BuildModelManagedBy generates ownership metadata from kongctl configuration.
func BuildPrincipalManagedBy ¶ added in v1.27.0
func CaptureOwnedChildCollection ¶ added in v1.22.0
func CaptureOwnedChildCollection(scope *SyncScope, kind ResourceType, parent, defaultNamespace string, present bool, namespaces []string, )
CaptureOwnedChildCollection applies source defaults only to explicitly empty collections. Nonempty collections contribute each child's own namespace.
func ChildUnprotectionMetadataOnly ¶ added in v1.22.0
ChildUnprotectionMetadataOnly allows only unprotection among lifecycle fields. Canonicalization may discard outside keys; payload and secret checks are separate.
func ControlPlaneDataPlaneCertificateIdentity ¶ added in v0.10.0
ControlPlaneDataPlaneCertificateIdentity returns the stable identity for a certificate. The exact certificate contents are the remote identity; hashing keeps map keys and plan labels compact without changing matching semantics.
func ExplainResourcePaths ¶ added in v1.7.0
func ExplainResourcePaths() []string
ExplainResourcePaths returns the preferred resource paths that explain and scaffold accept, sorted. Child resources use their nested path when one is available.
func ExternalUnsupportedReason ¶ added in v1.14.0
func ExternalUnsupportedReason(rt ResourceType) (string, bool)
ExternalUnsupportedReason reports the reviewed reason a relationship target does not currently support external resolution.
func GetNamespace ¶ added in v0.1.4
func GetNamespace(kongctl *KongctlMeta) string
GetNamespace safely extracts namespace from kongctl metadata
func GetResourcesByNamespace ¶ added in v1.16.0
func GetResourcesByNamespace[R any, RPtr interface { *R Resource }](rs *ResourceSet, namespace string) []R
GetResourcesByNamespace returns shallow copies from the registered collection, in source order. Grouping locations used only before extraction are excluded. A resource must register namespace selection through WithNamespace or WithNamespaceFrom; asking for an unsupported kind is a programming error.
func HasIndependentChildOwnership ¶ added in v1.22.0
func HasIndependentChildOwnership(kind ResourceType) bool
func IdentityAPIKeyRef ¶ added in v1.27.0
IdentityAPIKeyRef recognizes the generated-key convention without granting lifecycle authority. Unknown and legacy maps stay outside this convention.
func IdentityVaultCredentialSlot ¶ added in v1.27.0
func IsChildProtected ¶ added in v1.22.0
IsChildProtected reads protection from the child's ownership metadata.
func IsEventGatewayReferencePath ¶ added in v1.18.0
IsEventGatewayReferencePath identifies payload fields handled by specialized Event Gateway reference handlers. This applies to !ref binding only: typed !lookup values still resolve through the generic payload lookup path.
func IsRegistered ¶ added in v0.5.0
func IsRegistered(rt ResourceType) bool
IsRegistered returns true if a resource type is registered in the registry.
func IsRelationshipPath ¶ added in v1.18.0
IsRelationshipPath identifies declared relationships, whose established parent/ref/name semantics are handled separately from arbitrary values.
func ManagedByWithProvenance ¶ added in v1.22.0
ManagedByWithProvenance builds the complete tool-owned map without adopting a resource.
func MaturityFor ¶ added in v1.5.0
func MaturityFor(resourceType ResourceType, operations ...Operation) (capmaturity.Resolution, error)
MaturityFor resolves a resource's default maturity or one operation's maturity. With no operation it resolves the resource. Exactly one operation may be supplied.
func MergeIdentityMetadata ¶ added in v1.27.0
MergeIdentityMetadata retains unmentioned public keys, preserving integer precision when converting an SDK observation to declarative values.
func NormalizeDCRProviderIssuer ¶ added in v0.8.0
func NormalizeResourceRef ¶ added in v1.5.0
NormalizeResourceRef returns the declarative ref for either a plain ref or a deferred !ref placeholder.
func NormalizedChildOwnership ¶ added in v1.22.0
func NormalizedModelOwnership ¶ added in v1.22.0
func NormalizedModelOwnership(model kkComps.AIGatewayModel) map[string]string
func OmitAIGatewayModelDatastoreConnections ¶ added in v1.26.0
OmitAIGatewayModelDatastoreConnections removes connection settings resolved from a pgvector datastore. The API expands these fields and overrides inline connection values; exporting them would pin inherited settings in manifests.
func OmitAPIDefaults ¶ added in v1.11.0
OmitAPIDefaults removes fields equal to SDK-declared API defaults. All reflection and schema construction is intentionally lazy behind this call.
func PortalAuthSettingsDeprecatedFieldMessage ¶ added in v1.10.0
PortalAuthSettingsDeprecatedFieldMessage returns the shared migration guidance for an unsupported legacy portal authentication field.
func PortalSingletonScopeKeys ¶ added in v1.16.0
func PortalSingletonScopeKeys() []string
PortalSingletonScopeKeys shares the declaration-derived singleton/map keys with load-schema diagnostics without exposing mutable cached metadata.
func PrepareManagedBy ¶ added in v1.22.0
func PrepareManagedBy(kind ResourceType, metadata map[string]string, version string) (map[string]string, error)
PrepareManagedBy replaces the map with the registered resource's generated metadata. Unenrolled resource types remain unchanged.
func RenderExplainText ¶ added in v0.8.0
func RenderExplainText(subject *ExplainSubject, extended bool) string
func RenderScaffoldYAML ¶ added in v0.8.0
func RenderScaffoldYAML(subject *ExplainSubject) (string, error)
func ShortControlPlaneDataPlaneCertificateIdentity ¶ added in v0.10.0
func StripAIGatewayConsumerGroupMembershipFields ¶ added in v1.5.0
func SupportsManagedBy ¶ added in v1.22.0
func SupportsManagedBy(kind ResourceType) bool
SupportsManagedBy reports explicit write enrollment, not inferred SDK support.
func UpdatesManagedBy ¶ added in v1.27.0
func UpdatesManagedBy(kind ResourceType) bool
UpdatesManagedBy separates mutable ownership from create-only provenance.
func UsesManagedByOwnership ¶ added in v1.27.0
func UsesManagedByOwnership(kind ResourceType) bool
UsesManagedByOwnership distinguishes metadata ownership from legacy label ownership.
func ValidateAIGatewayMCPServerACLs ¶ added in v1.25.0
ValidateAIGatewayMCPServerACLs checks server-level ACL exclusivity before SDK union decoding.
func ValidateChildManagedBy ¶ added in v1.22.0
func ValidateChildOwnership ¶ added in v1.22.0
Unowned objects require explicit out-of-band adoption. Structural parenthood and source defaults never authorize a write or an ownership transfer.
func ValidateIdentityMetadata ¶ added in v1.27.0
ValidateIdentityMetadata checks the shared public value shapes and the signed integer range supported by the API.
func ValidateManagedBy ¶ added in v1.22.0
func ValidateManagedBy(metadata map[string]string, policy ManagedByPolicy) error
ValidateManagedBy validates Konnect metadata keys and a resource-specific limit.
func ValidateManagedResourceCoverage ¶ added in v1.17.0
func ValidateManagedResourceCoverage(consumer string, kinds []ResourceType) error
ValidateManagedResourceCoverage checks that a consumer covers exactly the kinds opted into managed sync scope. External-only and decK-backed declarations without that scope remain outside SDK resource execution.
func ValidateManagedRootCoverage ¶ added in v1.17.0
func ValidateManagedRootCoverage(consumer string, kinds []ResourceType) error
ValidateManagedRootCoverage checks that a consumer accounts for every managed root, either with an implementation or an explicit omission.
func ValidateModelOwnership ¶ added in v1.22.0
func ValidateOrganizationTeamRoles ¶ added in v1.17.0
func ValidateOrganizationTeamRoles(rs *ResourceSet, roles []OrganizationTeamRoleResource) error
ValidateOrganizationTeamRoles checks flattened role identities and references.
func ValidateRef ¶
ValidateRef validates that a resource ref follows naming conventions
func ValidateResourceCollection ¶ added in v1.17.0
func ValidateResourceCollection[R any, RPtr interface { *R Resource }](rs *ResourceSet, values []R) error
ValidateResourceCollection applies a kind's registered collection rules to an explicit slice. Retained loader entry points use it without duplicating policy.
func ValidateRoleEntityReference ¶ added in v1.17.0
func ValidateRoleEntityReference( roleType ResourceType, roleRef string, entityID string, entityTypeName string, rs *ResourceSet, ) error
ValidateRoleEntityReference checks a declarative entity selector against the Konnect role entity type. Literal entity IDs require no resource lookup.
Types ¶
type AIGatewayAgentResource ¶ added in v1.5.0
type AIGatewayAgentResource struct {
BaseResource ` yaml:",inline" json:",inline"`
// Parent AI Gateway reference for root-level declarations.
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
kkComps.CreateAIGatewayAgentRequest `yaml:",inline" json:",inline"`
}
AIGatewayAgentResource represents an Agent nested under a Konnect AI Gateway.
func AIGatewayAgentResourceFromResponse ¶ added in v1.5.0
func AIGatewayAgentResourceFromResponse( gatewayRef string, agent kkComps.AIGatewayAgent, ) (AIGatewayAgentResource, error)
func (AIGatewayAgentResource) CreateRequest ¶ added in v1.5.0
func (a AIGatewayAgentResource) CreateRequest() kkComps.CreateAIGatewayAgentRequest
func (AIGatewayAgentResource) GetDependencies ¶ added in v1.5.0
func (a AIGatewayAgentResource) GetDependencies() []ResourceRef
func (AIGatewayAgentResource) GetKonnectMonikerFilter ¶ added in v1.5.0
func (a AIGatewayAgentResource) GetKonnectMonikerFilter() string
func (AIGatewayAgentResource) GetMoniker ¶ added in v1.5.0
func (a AIGatewayAgentResource) GetMoniker() string
func (AIGatewayAgentResource) GetParentRef ¶ added in v1.5.0
func (a AIGatewayAgentResource) GetParentRef() *ResourceRef
func (AIGatewayAgentResource) GetReferenceFieldMappings ¶ added in v1.5.0
func (a AIGatewayAgentResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayAgentResource) GetType ¶ added in v1.5.0
func (a AIGatewayAgentResource) GetType() ResourceType
func (AIGatewayAgentResource) MarshalJSON ¶ added in v1.5.0
func (a AIGatewayAgentResource) MarshalJSON() ([]byte, error)
func (AIGatewayAgentResource) MarshalYAML ¶ added in v1.5.0
func (a AIGatewayAgentResource) MarshalYAML() (any, error)
func (AIGatewayAgentResource) MutablePayloadMap ¶ added in v1.5.0
func (a AIGatewayAgentResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayAgentResource) PayloadMap ¶ added in v1.5.0
func (a AIGatewayAgentResource) PayloadMap() (map[string]any, error)
func (AIGatewayAgentResource) Protected ¶ added in v1.22.0
func (a AIGatewayAgentResource) Protected() bool
func (*AIGatewayAgentResource) SetDefaults ¶ added in v1.5.0
func (a *AIGatewayAgentResource) SetDefaults()
func (*AIGatewayAgentResource) TryMatchKonnectResource ¶ added in v1.5.0
func (a *AIGatewayAgentResource) TryMatchKonnectResource(konnectResource any) bool
func (*AIGatewayAgentResource) UnmarshalJSON ¶ added in v1.5.0
func (a *AIGatewayAgentResource) UnmarshalJSON(data []byte) error
func (AIGatewayAgentResource) UpdateRequest ¶ added in v1.5.0
func (a AIGatewayAgentResource) UpdateRequest() kkComps.UpdateAIGatewayAgentRequest
func (AIGatewayAgentResource) Validate ¶ added in v1.5.0
func (a AIGatewayAgentResource) Validate() error
type AIGatewayAuthStrategyResource ¶ added in v1.14.0
type AIGatewayAuthStrategyResource struct {
BaseResource `yaml:",inline" json:",inline"`
// Parent AI Gateway reference for root-level auth strategy declarations.
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
Name string `yaml:"name" json:"name"`
Type string `yaml:"type" json:"type"`
DisplayName string `yaml:"display_name" json:"display_name"`
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitempty"`
ManagedBy map[string]string `yaml:"managed_by,omitempty" json:"managed_by,omitempty"`
Config map[string]any `yaml:"config" json:"config"`
Datastores []kkComps.AIGatewayDatastoreRef `yaml:"datastores,omitempty" json:"datastores,omitempty"`
TokenVault *kkComps.AIGatewayTokenVaultEnrollmentProtectionInput `yaml:"token_vault,omitempty" json:"token_vault,omitempty"` //nolint:lll
}
AIGatewayAuthStrategyResource represents a Konnect AI Gateway Auth Strategy in declarative configuration.
func (AIGatewayAuthStrategyResource) GetDependencies ¶ added in v1.14.0
func (a AIGatewayAuthStrategyResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this provider depends on.
func (AIGatewayAuthStrategyResource) GetKonnectMonikerFilter ¶ added in v1.14.0
func (a AIGatewayAuthStrategyResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup.
func (AIGatewayAuthStrategyResource) GetMoniker ¶ added in v1.14.0
func (a AIGatewayAuthStrategyResource) GetMoniker() string
GetMoniker returns the provider name used for matching within the parent gateway.
func (AIGatewayAuthStrategyResource) GetParentRef ¶ added in v1.14.0
func (a AIGatewayAuthStrategyResource) GetParentRef() *ResourceRef
GetParentRef returns the parent AI Gateway reference.
func (AIGatewayAuthStrategyResource) GetReferenceFieldMappings ¶ added in v1.14.0
func (a AIGatewayAuthStrategyResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayAuthStrategyResource) GetType ¶ added in v1.14.0
func (a AIGatewayAuthStrategyResource) GetType() ResourceType
GetType returns the resource type.
func (AIGatewayAuthStrategyResource) MarshalJSON ¶ added in v1.14.0
func (a AIGatewayAuthStrategyResource) MarshalJSON() ([]byte, error)
func (AIGatewayAuthStrategyResource) MarshalYAML ¶ added in v1.14.0
func (a AIGatewayAuthStrategyResource) MarshalYAML() (any, error)
func (AIGatewayAuthStrategyResource) MutablePayloadMap ¶ added in v1.14.0
func (a AIGatewayAuthStrategyResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayAuthStrategyResource) PayloadMap ¶ added in v1.14.0
func (a AIGatewayAuthStrategyResource) PayloadMap() (map[string]any, error)
func (AIGatewayAuthStrategyResource) Protected ¶ added in v1.22.0
func (a AIGatewayAuthStrategyResource) Protected() bool
func (*AIGatewayAuthStrategyResource) SetDefaults ¶ added in v1.14.0
func (a *AIGatewayAuthStrategyResource) SetDefaults()
SetDefaults applies default values to AI Gateway Auth Strategy resources.
func (*AIGatewayAuthStrategyResource) TryMatchKonnectResource ¶ added in v1.14.0
func (a *AIGatewayAuthStrategyResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this provider with a Konnect resource.
func (*AIGatewayAuthStrategyResource) UnmarshalJSON ¶ added in v1.14.0
func (a *AIGatewayAuthStrategyResource) UnmarshalJSON(data []byte) error
UnmarshalJSON decodes the declaration separately from its SDK payload.
func (AIGatewayAuthStrategyResource) Validate ¶ added in v1.14.0
func (a AIGatewayAuthStrategyResource) Validate() error
Validate ensures the AI Gateway Auth Strategy resource is valid.
type AIGatewayCACertificateResource ¶ added in v1.15.0
type AIGatewayCACertificateResource struct {
BaseResource ` yaml:",inline" json:",inline"`
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
Name string `yaml:"name" json:"name"`
Cert string `yaml:"cert" json:"cert"`
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitempty"`
ManagedBy map[string]string `yaml:"managed_by,omitempty" json:"managed_by,omitempty"`
}
func AIGatewayCACertificateResourceFromResponse ¶ added in v1.15.0
func AIGatewayCACertificateResourceFromResponse( gatewayRef string, value kkComps.AIGatewayCACertificate, ) AIGatewayCACertificateResource
func (AIGatewayCACertificateResource) GetDependencies ¶ added in v1.15.0
func (a AIGatewayCACertificateResource) GetDependencies() []ResourceRef
func (AIGatewayCACertificateResource) GetKonnectMonikerFilter ¶ added in v1.15.0
func (a AIGatewayCACertificateResource) GetKonnectMonikerFilter() string
func (AIGatewayCACertificateResource) GetLabels ¶ added in v1.15.0
func (a AIGatewayCACertificateResource) GetLabels() map[string]string
func (AIGatewayCACertificateResource) GetMoniker ¶ added in v1.15.0
func (a AIGatewayCACertificateResource) GetMoniker() string
func (AIGatewayCACertificateResource) GetParentRef ¶ added in v1.15.0
func (a AIGatewayCACertificateResource) GetParentRef() *ResourceRef
func (AIGatewayCACertificateResource) GetReferenceFieldMappings ¶ added in v1.15.0
func (a AIGatewayCACertificateResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayCACertificateResource) GetType ¶ added in v1.15.0
func (a AIGatewayCACertificateResource) GetType() ResourceType
func (AIGatewayCACertificateResource) PayloadMap ¶ added in v1.15.0
func (a AIGatewayCACertificateResource) PayloadMap() map[string]any
func (AIGatewayCACertificateResource) Protected ¶ added in v1.22.0
func (a AIGatewayCACertificateResource) Protected() bool
func (*AIGatewayCACertificateResource) SetDefaults ¶ added in v1.15.0
func (a *AIGatewayCACertificateResource) SetDefaults()
func (*AIGatewayCACertificateResource) SetLabels ¶ added in v1.15.0
func (a *AIGatewayCACertificateResource) SetLabels(labels map[string]string)
func (*AIGatewayCACertificateResource) TryMatchKonnectResource ¶ added in v1.15.0
func (a *AIGatewayCACertificateResource) TryMatchKonnectResource(value any) bool
func (AIGatewayCACertificateResource) Validate ¶ added in v1.15.0
func (a AIGatewayCACertificateResource) Validate() error
type AIGatewayCertificateResource ¶ added in v1.15.0
type AIGatewayCertificateResource struct {
BaseResource ` yaml:",inline" json:",inline"`
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
Name string `yaml:"name" json:"name"`
Cert string `yaml:"cert" json:"cert"`
Key string `yaml:"key,omitempty" json:"key,omitempty"`
CertAlt *string `yaml:"cert_alt,omitempty" json:"cert_alt,omitempty"`
KeyAlt *string `yaml:"key_alt,omitempty" json:"key_alt,omitempty"`
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitempty"`
ManagedBy map[string]string `yaml:"managed_by,omitempty" json:"managed_by,omitempty"`
}
func AIGatewayCertificateResourceFromResponse ¶ added in v1.15.0
func AIGatewayCertificateResourceFromResponse( gatewayRef string, value kkComps.AIGatewayCertificate, ) AIGatewayCertificateResource
func (AIGatewayCertificateResource) GetDependencies ¶ added in v1.15.0
func (a AIGatewayCertificateResource) GetDependencies() []ResourceRef
func (AIGatewayCertificateResource) GetKonnectMonikerFilter ¶ added in v1.15.0
func (a AIGatewayCertificateResource) GetKonnectMonikerFilter() string
func (AIGatewayCertificateResource) GetLabels ¶ added in v1.15.0
func (a AIGatewayCertificateResource) GetLabels() map[string]string
func (AIGatewayCertificateResource) GetMoniker ¶ added in v1.15.0
func (a AIGatewayCertificateResource) GetMoniker() string
func (AIGatewayCertificateResource) GetParentRef ¶ added in v1.15.0
func (a AIGatewayCertificateResource) GetParentRef() *ResourceRef
func (AIGatewayCertificateResource) GetReferenceFieldMappings ¶ added in v1.15.0
func (a AIGatewayCertificateResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayCertificateResource) GetType ¶ added in v1.15.0
func (a AIGatewayCertificateResource) GetType() ResourceType
func (AIGatewayCertificateResource) MutablePayloadMap ¶ added in v1.15.0
func (a AIGatewayCertificateResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayCertificateResource) PayloadMap ¶ added in v1.15.0
func (a AIGatewayCertificateResource) PayloadMap() map[string]any
func (*AIGatewayCertificateResource) SetDefaults ¶ added in v1.15.0
func (a *AIGatewayCertificateResource) SetDefaults()
func (*AIGatewayCertificateResource) SetLabels ¶ added in v1.15.0
func (a *AIGatewayCertificateResource) SetLabels(labels map[string]string)
func (*AIGatewayCertificateResource) TryMatchKonnectResource ¶ added in v1.15.0
func (a *AIGatewayCertificateResource) TryMatchKonnectResource(value any) bool
func (AIGatewayCertificateResource) Validate ¶ added in v1.15.0
func (a AIGatewayCertificateResource) Validate() error
type AIGatewayConfigStoreResource ¶ added in v1.9.0
type AIGatewayConfigStoreResource struct {
BaseResource `yaml:",inline" json:",inline"`
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
Name string `yaml:"name" json:"name"`
DisplayName *string `yaml:"display_name,omitempty" json:"display_name,omitempty"`
Secrets []AIGatewayConfigStoreSecretResource `yaml:"secrets,omitempty" json:"secrets,omitempty"`
}
AIGatewayConfigStoreResource represents a Config Store nested under a Konnect AI Gateway.
func AIGatewayConfigStoreResourceFromResponse ¶ added in v1.9.0
func AIGatewayConfigStoreResourceFromResponse( gatewayRef string, store kkComps.AIGatewayConfigStore, ) AIGatewayConfigStoreResource
AIGatewayConfigStoreResourceFromResponse maps a Config Store API response to declarative form.
func (AIGatewayConfigStoreResource) CreateRequest ¶ added in v1.9.0
func (a AIGatewayConfigStoreResource) CreateRequest() kkComps.CreateAIGatewayConfigStoreRequest
func (AIGatewayConfigStoreResource) GetDependencies ¶ added in v1.9.0
func (a AIGatewayConfigStoreResource) GetDependencies() []ResourceRef
func (AIGatewayConfigStoreResource) GetKonnectMonikerFilter ¶ added in v1.9.0
func (a AIGatewayConfigStoreResource) GetKonnectMonikerFilter() string
func (AIGatewayConfigStoreResource) GetMoniker ¶ added in v1.9.0
func (a AIGatewayConfigStoreResource) GetMoniker() string
func (AIGatewayConfigStoreResource) GetParentRef ¶ added in v1.9.0
func (a AIGatewayConfigStoreResource) GetParentRef() *ResourceRef
func (AIGatewayConfigStoreResource) GetReferenceFieldMappings ¶ added in v1.9.0
func (a AIGatewayConfigStoreResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayConfigStoreResource) GetType ¶ added in v1.9.0
func (a AIGatewayConfigStoreResource) GetType() ResourceType
func (AIGatewayConfigStoreResource) MutablePayloadMap ¶ added in v1.9.0
func (a AIGatewayConfigStoreResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayConfigStoreResource) PayloadMap ¶ added in v1.9.0
func (a AIGatewayConfigStoreResource) PayloadMap() (map[string]any, error)
func (*AIGatewayConfigStoreResource) SetDefaults ¶ added in v1.9.0
func (a *AIGatewayConfigStoreResource) SetDefaults()
func (*AIGatewayConfigStoreResource) TryMatchKonnectResource ¶ added in v1.9.0
func (a *AIGatewayConfigStoreResource) TryMatchKonnectResource(konnectResource any) bool
func (AIGatewayConfigStoreResource) Validate ¶ added in v1.9.0
func (a AIGatewayConfigStoreResource) Validate() error
type AIGatewayConfigStoreSecretResource ¶ added in v1.14.0
type AIGatewayConfigStoreSecretResource struct {
BaseResource `yaml:",inline" json:",inline"`
AIGatewayConfigStore string `yaml:"ai_gateway_config_store,omitempty" json:"ai_gateway_config_store,omitempty"`
Key string `yaml:"key" json:"key"`
Value string `yaml:"value,omitempty" json:"value,omitempty"`
}
AIGatewayConfigStoreSecretResource represents a write-only secret in an AI Gateway Config Store.
func AIGatewayConfigStoreSecretResourceFromResponse ¶ added in v1.14.0
func AIGatewayConfigStoreSecretResourceFromResponse( storeRef string, secret kkComps.AIGatewayConfigStoreSecret, ) AIGatewayConfigStoreSecretResource
AIGatewayConfigStoreSecretResourceFromResponse maps public secret metadata to declarative form.
func (AIGatewayConfigStoreSecretResource) GetDependencies ¶ added in v1.14.0
func (a AIGatewayConfigStoreSecretResource) GetDependencies() []ResourceRef
func (AIGatewayConfigStoreSecretResource) GetKonnectMonikerFilter ¶ added in v1.14.0
func (a AIGatewayConfigStoreSecretResource) GetKonnectMonikerFilter() string
func (AIGatewayConfigStoreSecretResource) GetMoniker ¶ added in v1.14.0
func (a AIGatewayConfigStoreSecretResource) GetMoniker() string
func (AIGatewayConfigStoreSecretResource) GetParentRef ¶ added in v1.14.0
func (a AIGatewayConfigStoreSecretResource) GetParentRef() *ResourceRef
func (AIGatewayConfigStoreSecretResource) GetReferenceFieldMappings ¶ added in v1.14.0
func (a AIGatewayConfigStoreSecretResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayConfigStoreSecretResource) GetType ¶ added in v1.14.0
func (a AIGatewayConfigStoreSecretResource) GetType() ResourceType
func (AIGatewayConfigStoreSecretResource) MutablePayloadMap ¶ added in v1.14.0
func (a AIGatewayConfigStoreSecretResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayConfigStoreSecretResource) PayloadMap ¶ added in v1.14.0
func (a AIGatewayConfigStoreSecretResource) PayloadMap() (map[string]any, error)
func (*AIGatewayConfigStoreSecretResource) SetDefaults ¶ added in v1.14.0
func (a *AIGatewayConfigStoreSecretResource) SetDefaults()
func (*AIGatewayConfigStoreSecretResource) TryMatchKonnectResource ¶ added in v1.14.0
func (a *AIGatewayConfigStoreSecretResource) TryMatchKonnectResource(resource any) bool
func (AIGatewayConfigStoreSecretResource) Validate ¶ added in v1.14.0
func (a AIGatewayConfigStoreSecretResource) Validate() error
type AIGatewayConsumerCredentialResource ¶ added in v1.5.0
type AIGatewayConsumerCredentialResource struct {
BaseResource `yaml:",inline" json:",inline"`
// Parent AI Gateway Consumer reference for root-level declarations.
AIGatewayConsumer string `yaml:"ai_gateway_consumer,omitempty" json:"ai_gateway_consumer,omitempty"`
kkComps.CreateAIGatewayConsumerCredentialRequest `yaml:",inline" json:",inline"`
}
AIGatewayConsumerCredentialResource represents a Credential nested under a Konnect AI Gateway Consumer.
func AIGatewayConsumerCredentialResourceFromResponse ¶ added in v1.5.0
func AIGatewayConsumerCredentialResourceFromResponse( consumerRef string, credential kkComps.AIGatewayConsumerCredential, ) (AIGatewayConsumerCredentialResource, error)
func (AIGatewayConsumerCredentialResource) CreateRequest ¶ added in v1.5.0
func (a AIGatewayConsumerCredentialResource) CreateRequest() kkComps.CreateAIGatewayConsumerCredentialRequest
func (AIGatewayConsumerCredentialResource) GetDependencies ¶ added in v1.5.0
func (a AIGatewayConsumerCredentialResource) GetDependencies() []ResourceRef
func (AIGatewayConsumerCredentialResource) GetKonnectMonikerFilter ¶ added in v1.5.0
func (a AIGatewayConsumerCredentialResource) GetKonnectMonikerFilter() string
func (AIGatewayConsumerCredentialResource) GetMoniker ¶ added in v1.5.0
func (a AIGatewayConsumerCredentialResource) GetMoniker() string
func (AIGatewayConsumerCredentialResource) GetParentRef ¶ added in v1.5.0
func (a AIGatewayConsumerCredentialResource) GetParentRef() *ResourceRef
func (AIGatewayConsumerCredentialResource) GetReferenceFieldMappings ¶ added in v1.5.0
func (a AIGatewayConsumerCredentialResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayConsumerCredentialResource) GetType ¶ added in v1.5.0
func (a AIGatewayConsumerCredentialResource) GetType() ResourceType
func (AIGatewayConsumerCredentialResource) MarshalJSON ¶ added in v1.5.0
func (a AIGatewayConsumerCredentialResource) MarshalJSON() ([]byte, error)
func (AIGatewayConsumerCredentialResource) MarshalYAML ¶ added in v1.5.0
func (a AIGatewayConsumerCredentialResource) MarshalYAML() (any, error)
func (AIGatewayConsumerCredentialResource) MutablePayloadMap ¶ added in v1.5.0
func (a AIGatewayConsumerCredentialResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayConsumerCredentialResource) PayloadMap ¶ added in v1.5.0
func (a AIGatewayConsumerCredentialResource) PayloadMap() (map[string]any, error)
func (*AIGatewayConsumerCredentialResource) SetDefaults ¶ added in v1.5.0
func (a *AIGatewayConsumerCredentialResource) SetDefaults()
func (*AIGatewayConsumerCredentialResource) TryMatchKonnectResource ¶ added in v1.5.0
func (a *AIGatewayConsumerCredentialResource) TryMatchKonnectResource(konnectResource any) bool
func (*AIGatewayConsumerCredentialResource) UnmarshalJSON ¶ added in v1.5.0
func (a *AIGatewayConsumerCredentialResource) UnmarshalJSON(data []byte) error
func (AIGatewayConsumerCredentialResource) Validate ¶ added in v1.5.0
func (a AIGatewayConsumerCredentialResource) Validate() error
type AIGatewayConsumerGroupResource ¶ added in v1.5.0
type AIGatewayConsumerGroupResource struct {
BaseResource ` yaml:",inline" json:",inline"`
// Parent AI Gateway reference for root-level declarations.
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
Consumers []string `yaml:"consumers,omitempty" json:"consumers,omitempty"`
kkComps.CreateAIGatewayConsumerGroupRequest `yaml:",inline" json:",inline"`
}
AIGatewayConsumerGroupResource represents a Consumer Group nested under a Konnect AI Gateway.
func AIGatewayConsumerGroupResourceFromResponse ¶ added in v1.5.0
func AIGatewayConsumerGroupResourceFromResponse( gatewayRef string, group kkComps.AIGatewayConsumerGroup, ) (AIGatewayConsumerGroupResource, error)
func (AIGatewayConsumerGroupResource) ConsumerNames ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) ConsumerNames() ([]string, bool, error)
func (AIGatewayConsumerGroupResource) CreateRequest ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) CreateRequest() kkComps.CreateAIGatewayConsumerGroupRequest
func (AIGatewayConsumerGroupResource) GetDependencies ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) GetDependencies() []ResourceRef
func (AIGatewayConsumerGroupResource) GetKonnectMonikerFilter ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) GetKonnectMonikerFilter() string
func (AIGatewayConsumerGroupResource) GetMoniker ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) GetMoniker() string
func (AIGatewayConsumerGroupResource) GetParentRef ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) GetParentRef() *ResourceRef
func (AIGatewayConsumerGroupResource) GetReferenceFieldMappings ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayConsumerGroupResource) GetType ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) GetType() ResourceType
func (AIGatewayConsumerGroupResource) MarshalJSON ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) MarshalJSON() ([]byte, error)
func (AIGatewayConsumerGroupResource) MarshalYAML ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) MarshalYAML() (any, error)
func (AIGatewayConsumerGroupResource) MutablePayloadMap ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayConsumerGroupResource) PayloadMap ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) PayloadMap() (map[string]any, error)
func (AIGatewayConsumerGroupResource) Protected ¶ added in v1.22.0
func (a AIGatewayConsumerGroupResource) Protected() bool
func (*AIGatewayConsumerGroupResource) SetDefaults ¶ added in v1.5.0
func (a *AIGatewayConsumerGroupResource) SetDefaults()
func (*AIGatewayConsumerGroupResource) TryMatchKonnectResource ¶ added in v1.5.0
func (a *AIGatewayConsumerGroupResource) TryMatchKonnectResource(konnectResource any) bool
func (*AIGatewayConsumerGroupResource) UnmarshalJSON ¶ added in v1.5.0
func (a *AIGatewayConsumerGroupResource) UnmarshalJSON(data []byte) error
func (AIGatewayConsumerGroupResource) UpdateRequest ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) UpdateRequest() kkComps.UpdateAIGatewayConsumerGroupRequest
func (AIGatewayConsumerGroupResource) Validate ¶ added in v1.5.0
func (a AIGatewayConsumerGroupResource) Validate() error
type AIGatewayConsumerResource ¶ added in v1.5.0
type AIGatewayConsumerResource struct {
BaseResource ` yaml:",inline" json:",inline"`
// Parent AI Gateway reference for root-level declarations.
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
Credentials []AIGatewayConsumerCredentialResource `yaml:"credentials,omitempty" json:"credentials,omitempty"`
kkComps.CreateAIGatewayConsumerRequest `yaml:",inline" json:",inline"`
}
AIGatewayConsumerResource represents a Consumer nested under a Konnect AI Gateway.
func AIGatewayConsumerResourceFromResponse ¶ added in v1.5.0
func AIGatewayConsumerResourceFromResponse( gatewayRef string, consumer kkComps.AIGatewayConsumer, ) (AIGatewayConsumerResource, error)
func (AIGatewayConsumerResource) CreateRequest ¶ added in v1.5.0
func (a AIGatewayConsumerResource) CreateRequest() kkComps.CreateAIGatewayConsumerRequest
func (AIGatewayConsumerResource) GetDependencies ¶ added in v1.5.0
func (a AIGatewayConsumerResource) GetDependencies() []ResourceRef
func (AIGatewayConsumerResource) GetKonnectMonikerFilter ¶ added in v1.5.0
func (a AIGatewayConsumerResource) GetKonnectMonikerFilter() string
func (AIGatewayConsumerResource) GetMoniker ¶ added in v1.5.0
func (a AIGatewayConsumerResource) GetMoniker() string
func (AIGatewayConsumerResource) GetParentRef ¶ added in v1.5.0
func (a AIGatewayConsumerResource) GetParentRef() *ResourceRef
func (AIGatewayConsumerResource) GetReferenceFieldMappings ¶ added in v1.5.0
func (a AIGatewayConsumerResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayConsumerResource) GetType ¶ added in v1.5.0
func (a AIGatewayConsumerResource) GetType() ResourceType
func (AIGatewayConsumerResource) MarshalJSON ¶ added in v1.5.0
func (a AIGatewayConsumerResource) MarshalJSON() ([]byte, error)
func (AIGatewayConsumerResource) MarshalYAML ¶ added in v1.5.0
func (a AIGatewayConsumerResource) MarshalYAML() (any, error)
func (AIGatewayConsumerResource) MutablePayloadMap ¶ added in v1.5.0
func (a AIGatewayConsumerResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayConsumerResource) PayloadMap ¶ added in v1.5.0
func (a AIGatewayConsumerResource) PayloadMap() (map[string]any, error)
func (AIGatewayConsumerResource) Protected ¶ added in v1.22.0
func (a AIGatewayConsumerResource) Protected() bool
func (*AIGatewayConsumerResource) SetDefaults ¶ added in v1.5.0
func (a *AIGatewayConsumerResource) SetDefaults()
func (*AIGatewayConsumerResource) TryMatchKonnectResource ¶ added in v1.5.0
func (a *AIGatewayConsumerResource) TryMatchKonnectResource(konnectResource any) bool
func (*AIGatewayConsumerResource) UnmarshalJSON ¶ added in v1.5.0
func (a *AIGatewayConsumerResource) UnmarshalJSON(data []byte) error
func (AIGatewayConsumerResource) UpdateRequest ¶ added in v1.5.0
func (a AIGatewayConsumerResource) UpdateRequest() kkComps.UpdateAIGatewayConsumerRequest
func (AIGatewayConsumerResource) Validate ¶ added in v1.5.0
func (a AIGatewayConsumerResource) Validate() error
type AIGatewayCustomPolicyResource ¶ added in v1.20.0
type AIGatewayCustomPolicyResource struct {
BaseResource ` yaml:",inline" json:",inline"`
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
Name string `yaml:"name" json:"name"`
Type string `yaml:"type" json:"type"`
DisplayName string `yaml:"display_name" json:"display_name"`
Schema string `yaml:"schema" json:"schema"`
Handler *string `yaml:"handler,omitempty" json:"handler,omitempty"`
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitempty"`
ManagedBy map[string]string `yaml:"managed_by,omitempty" json:"managed_by,omitempty"`
}
AIGatewayCustomPolicyResource defines an installed or streaming plugin.
func AIGatewayCustomPolicyResourceFromResponse ¶ added in v1.20.0
func AIGatewayCustomPolicyResourceFromResponse( gatewayRef string, policy kkComps.AIGatewayCustomPolicy, ) (AIGatewayCustomPolicyResource, error)
func (AIGatewayCustomPolicyResource) GetDependencies ¶ added in v1.20.0
func (a AIGatewayCustomPolicyResource) GetDependencies() []ResourceRef
func (AIGatewayCustomPolicyResource) GetKonnectMonikerFilter ¶ added in v1.20.0
func (a AIGatewayCustomPolicyResource) GetKonnectMonikerFilter() string
func (AIGatewayCustomPolicyResource) GetMoniker ¶ added in v1.20.0
func (a AIGatewayCustomPolicyResource) GetMoniker() string
func (AIGatewayCustomPolicyResource) GetParentRef ¶ added in v1.20.0
func (a AIGatewayCustomPolicyResource) GetParentRef() *ResourceRef
func (AIGatewayCustomPolicyResource) GetReferenceFieldMappings ¶ added in v1.20.0
func (a AIGatewayCustomPolicyResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayCustomPolicyResource) GetType ¶ added in v1.20.0
func (a AIGatewayCustomPolicyResource) GetType() ResourceType
func (AIGatewayCustomPolicyResource) MutablePayloadMap ¶ added in v1.20.0
func (a AIGatewayCustomPolicyResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayCustomPolicyResource) Protected ¶ added in v1.22.0
func (a AIGatewayCustomPolicyResource) Protected() bool
func (*AIGatewayCustomPolicyResource) SetDefaults ¶ added in v1.20.0
func (a *AIGatewayCustomPolicyResource) SetDefaults()
func (*AIGatewayCustomPolicyResource) TryMatchKonnectResource ¶ added in v1.20.0
func (a *AIGatewayCustomPolicyResource) TryMatchKonnectResource(remote any) bool
func (AIGatewayCustomPolicyResource) Validate ¶ added in v1.20.0
func (a AIGatewayCustomPolicyResource) Validate() error
type AIGatewayDataPlaneCertificateResource ¶ added in v1.5.0
type AIGatewayDataPlaneCertificateResource struct {
BaseResource `yaml:",inline" json:",inline"`
// Parent AI Gateway reference for root-level declarations.
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
kkComps.CreateAIGatewayDataPlaneCertificateRequest `yaml:",inline" json:",inline"`
}
AIGatewayDataPlaneCertificateResource represents a data plane certificate nested under a Konnect AI Gateway.
func AIGatewayDataPlaneCertificateResourceFromResponse ¶ added in v1.5.0
func AIGatewayDataPlaneCertificateResourceFromResponse( gatewayRef string, cert kkComps.AIGatewayDataPlaneClientCertificate, ) AIGatewayDataPlaneCertificateResource
func (AIGatewayDataPlaneCertificateResource) CreateRequest ¶ added in v1.5.0
func (a AIGatewayDataPlaneCertificateResource) CreateRequest() kkComps.CreateAIGatewayDataPlaneCertificateRequest
func (AIGatewayDataPlaneCertificateResource) GetDependencies ¶ added in v1.5.0
func (a AIGatewayDataPlaneCertificateResource) GetDependencies() []ResourceRef
func (AIGatewayDataPlaneCertificateResource) GetKonnectMonikerFilter ¶ added in v1.5.0
func (a AIGatewayDataPlaneCertificateResource) GetKonnectMonikerFilter() string
func (AIGatewayDataPlaneCertificateResource) GetMoniker ¶ added in v1.5.0
func (a AIGatewayDataPlaneCertificateResource) GetMoniker() string
func (AIGatewayDataPlaneCertificateResource) GetParentRef ¶ added in v1.5.0
func (a AIGatewayDataPlaneCertificateResource) GetParentRef() *ResourceRef
func (AIGatewayDataPlaneCertificateResource) GetReferenceFieldMappings ¶ added in v1.5.0
func (a AIGatewayDataPlaneCertificateResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayDataPlaneCertificateResource) GetType ¶ added in v1.5.0
func (a AIGatewayDataPlaneCertificateResource) GetType() ResourceType
func (AIGatewayDataPlaneCertificateResource) MarshalJSON ¶ added in v1.5.0
func (a AIGatewayDataPlaneCertificateResource) MarshalJSON() ([]byte, error)
func (AIGatewayDataPlaneCertificateResource) MarshalYAML ¶ added in v1.5.0
func (a AIGatewayDataPlaneCertificateResource) MarshalYAML() (any, error)
func (AIGatewayDataPlaneCertificateResource) PayloadMap ¶ added in v1.5.0
func (a AIGatewayDataPlaneCertificateResource) PayloadMap() map[string]any
func (*AIGatewayDataPlaneCertificateResource) SetDefaults ¶ added in v1.5.0
func (a *AIGatewayDataPlaneCertificateResource) SetDefaults()
func (*AIGatewayDataPlaneCertificateResource) TryMatchKonnectResource ¶ added in v1.5.0
func (a *AIGatewayDataPlaneCertificateResource) TryMatchKonnectResource(konnectResource any) bool
func (*AIGatewayDataPlaneCertificateResource) UnmarshalJSON ¶ added in v1.5.0
func (a *AIGatewayDataPlaneCertificateResource) UnmarshalJSON(data []byte) error
func (*AIGatewayDataPlaneCertificateResource) UnmarshalYAML ¶ added in v1.5.0
func (a *AIGatewayDataPlaneCertificateResource) UnmarshalYAML(unmarshal func(any) error) error
func (AIGatewayDataPlaneCertificateResource) Validate ¶ added in v1.5.0
func (a AIGatewayDataPlaneCertificateResource) Validate() error
type AIGatewayDatastoreResource ¶ added in v1.22.0
type AIGatewayDatastoreResource struct {
BaseResource `yaml:",inline" json:",inline"`
// Parent AI Gateway reference for root-level declarations.
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
kkComps.CreateAIGatewayDatastoreRequest `yaml:",inline" json:",inline"`
}
AIGatewayDatastoreResource represents a Datastore nested under a Konnect AI Gateway.
func AIGatewayDatastoreResourceFromResponse ¶ added in v1.22.0
func AIGatewayDatastoreResourceFromResponse( gatewayRef string, datastore kkComps.AIGatewayDatastore, ) (AIGatewayDatastoreResource, error)
func (AIGatewayDatastoreResource) CreateRequest ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) CreateRequest() kkComps.CreateAIGatewayDatastoreRequest
func (AIGatewayDatastoreResource) DatastoreType ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) DatastoreType() string
func (AIGatewayDatastoreResource) GetDependencies ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) GetDependencies() []ResourceRef
func (AIGatewayDatastoreResource) GetKonnectMonikerFilter ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) GetKonnectMonikerFilter() string
func (AIGatewayDatastoreResource) GetMoniker ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) GetMoniker() string
func (AIGatewayDatastoreResource) GetParentRef ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) GetParentRef() *ResourceRef
func (AIGatewayDatastoreResource) GetReferenceFieldMappings ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayDatastoreResource) GetType ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) GetType() ResourceType
func (AIGatewayDatastoreResource) MarshalJSON ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) MarshalJSON() ([]byte, error)
func (AIGatewayDatastoreResource) MarshalYAML ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) MarshalYAML() (any, error)
func (AIGatewayDatastoreResource) MutablePayloadMap ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayDatastoreResource) Name ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) Name() string
func (AIGatewayDatastoreResource) PayloadMap ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) PayloadMap() (map[string]any, error)
func (*AIGatewayDatastoreResource) SetDefaults ¶ added in v1.22.0
func (a *AIGatewayDatastoreResource) SetDefaults()
func (*AIGatewayDatastoreResource) TryMatchKonnectResource ¶ added in v1.22.0
func (a *AIGatewayDatastoreResource) TryMatchKonnectResource(konnectResource any) bool
func (*AIGatewayDatastoreResource) UnmarshalJSON ¶ added in v1.22.0
func (a *AIGatewayDatastoreResource) UnmarshalJSON(data []byte) error
func (AIGatewayDatastoreResource) UpdateRequest ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) UpdateRequest() kkComps.UpdateAIGatewayDatastoreRequest
func (AIGatewayDatastoreResource) Validate ¶ added in v1.22.0
func (a AIGatewayDatastoreResource) Validate() error
type AIGatewayMCPServerResource ¶ added in v1.5.0
type AIGatewayMCPServerResource struct {
BaseResource ` yaml:",inline" json:",inline"`
// Parent AI Gateway reference for root-level declarations.
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
kkComps.CreateAIGatewayMCPServerRequest `yaml:",inline" json:",inline"`
}
AIGatewayMCPServerResource represents an MCP Server nested under a Konnect AI Gateway.
func AIGatewayMCPServerResourceFromResponse ¶ added in v1.5.0
func AIGatewayMCPServerResourceFromResponse( gatewayRef string, server kkComps.AIGatewayMCPServer, ) (AIGatewayMCPServerResource, error)
func (AIGatewayMCPServerResource) CreateRequest ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) CreateRequest() kkComps.CreateAIGatewayMCPServerRequest
func (AIGatewayMCPServerResource) DisplayName ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) DisplayName() string
func (AIGatewayMCPServerResource) GetDependencies ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) GetDependencies() []ResourceRef
func (AIGatewayMCPServerResource) GetKonnectMonikerFilter ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) GetKonnectMonikerFilter() string
func (AIGatewayMCPServerResource) GetMoniker ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) GetMoniker() string
func (AIGatewayMCPServerResource) GetParentRef ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) GetParentRef() *ResourceRef
func (AIGatewayMCPServerResource) GetReferenceFieldMappings ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayMCPServerResource) GetType ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) GetType() ResourceType
func (AIGatewayMCPServerResource) MCPServerType ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) MCPServerType() string
func (AIGatewayMCPServerResource) MarshalJSON ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) MarshalJSON() ([]byte, error)
func (AIGatewayMCPServerResource) MarshalYAML ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) MarshalYAML() (any, error)
func (AIGatewayMCPServerResource) MutablePayloadMap ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayMCPServerResource) Name ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) Name() string
func (AIGatewayMCPServerResource) PayloadMap ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) PayloadMap() (map[string]any, error)
func (AIGatewayMCPServerResource) Protected ¶ added in v1.22.0
func (a AIGatewayMCPServerResource) Protected() bool
func (AIGatewayMCPServerResource) PublicLabels ¶ added in v1.22.0
func (a AIGatewayMCPServerResource) PublicLabels() map[string]string
func (*AIGatewayMCPServerResource) SetChildManagedBy ¶ added in v1.22.0
func (a *AIGatewayMCPServerResource) SetChildManagedBy(metadata map[string]string)
func (*AIGatewayMCPServerResource) SetDefaults ¶ added in v1.5.0
func (a *AIGatewayMCPServerResource) SetDefaults()
func (*AIGatewayMCPServerResource) TryMatchKonnectResource ¶ added in v1.5.0
func (a *AIGatewayMCPServerResource) TryMatchKonnectResource(konnectResource any) bool
func (*AIGatewayMCPServerResource) UnmarshalJSON ¶ added in v1.5.0
func (a *AIGatewayMCPServerResource) UnmarshalJSON(data []byte) error
func (AIGatewayMCPServerResource) UpdateRequest ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) UpdateRequest() kkComps.UpdateAIGatewayMCPServerRequest
func (AIGatewayMCPServerResource) Validate ¶ added in v1.5.0
func (a AIGatewayMCPServerResource) Validate() error
type AIGatewayModelResource ¶ added in v1.5.0
type AIGatewayModelResource struct {
BaseResource `yaml:",inline" json:",inline"`
// Parent AI Gateway reference for root-level declarations.
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
kkComps.CreateAIGatewayModelRequest `yaml:",inline" json:",inline"`
}
AIGatewayModelResource represents a model nested under a Konnect AI Gateway.
func AIGatewayModelResourceFromResponse ¶ added in v1.5.0
func AIGatewayModelResourceFromResponse( gatewayRef string, model kkComps.AIGatewayModel, ) (AIGatewayModelResource, error)
func (AIGatewayModelResource) CreateRequest ¶ added in v1.5.0
func (a AIGatewayModelResource) CreateRequest() kkComps.CreateAIGatewayModelRequest
func (AIGatewayModelResource) DisplayName ¶ added in v1.5.0
func (a AIGatewayModelResource) DisplayName() string
func (AIGatewayModelResource) GetDependencies ¶ added in v1.5.0
func (a AIGatewayModelResource) GetDependencies() []ResourceRef
func (AIGatewayModelResource) GetKonnectMonikerFilter ¶ added in v1.5.0
func (a AIGatewayModelResource) GetKonnectMonikerFilter() string
func (AIGatewayModelResource) GetMoniker ¶ added in v1.5.0
func (a AIGatewayModelResource) GetMoniker() string
func (AIGatewayModelResource) GetParentRef ¶ added in v1.5.0
func (a AIGatewayModelResource) GetParentRef() *ResourceRef
func (AIGatewayModelResource) GetReferenceFieldMappings ¶ added in v1.5.0
func (a AIGatewayModelResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayModelResource) GetType ¶ added in v1.5.0
func (a AIGatewayModelResource) GetType() ResourceType
func (AIGatewayModelResource) ManagedBy ¶ added in v1.22.0
func (a AIGatewayModelResource) ManagedBy() map[string]string
func (AIGatewayModelResource) MarshalJSON ¶ added in v1.5.0
func (a AIGatewayModelResource) MarshalJSON() ([]byte, error)
func (AIGatewayModelResource) MarshalYAML ¶ added in v1.5.0
func (a AIGatewayModelResource) MarshalYAML() (any, error)
func (AIGatewayModelResource) ModelType ¶ added in v1.5.0
func (a AIGatewayModelResource) ModelType() string
func (AIGatewayModelResource) MutablePayloadMap ¶ added in v1.5.0
func (a AIGatewayModelResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayModelResource) Name ¶ added in v1.5.0
func (a AIGatewayModelResource) Name() string
func (AIGatewayModelResource) PayloadMap ¶ added in v1.5.0
func (a AIGatewayModelResource) PayloadMap() (map[string]any, error)
func (AIGatewayModelResource) Protected ¶ added in v1.22.0
func (a AIGatewayModelResource) Protected() bool
func (*AIGatewayModelResource) SetDefaults ¶ added in v1.5.0
func (a *AIGatewayModelResource) SetDefaults()
func (*AIGatewayModelResource) SetManagedBy ¶ added in v1.22.0
func (a *AIGatewayModelResource) SetManagedBy(metadata map[string]string)
func (*AIGatewayModelResource) TryMatchKonnectResource ¶ added in v1.5.0
func (a *AIGatewayModelResource) TryMatchKonnectResource(konnectResource any) bool
func (*AIGatewayModelResource) UnmarshalJSON ¶ added in v1.5.0
func (a *AIGatewayModelResource) UnmarshalJSON(data []byte) error
func (AIGatewayModelResource) UpdateRequest ¶ added in v1.5.0
func (a AIGatewayModelResource) UpdateRequest() kkComps.UpdateAIGatewayModelRequest
func (AIGatewayModelResource) Validate ¶ added in v1.5.0
func (a AIGatewayModelResource) Validate() error
type AIGatewayPolicyResource ¶ added in v1.5.0
type AIGatewayPolicyResource struct {
BaseResource `yaml:",inline" json:",inline"`
// Parent AI Gateway reference for root-level declarations.
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
kkComps.CreateAIGatewayPolicyRequest `yaml:",inline" json:",inline"`
}
AIGatewayPolicyResource represents a Policy nested under a Konnect AI Gateway.
func AIGatewayPolicyResourceFromResponse ¶ added in v1.5.0
func AIGatewayPolicyResourceFromResponse( gatewayRef string, policy kkComps.AIGatewayPolicy, ) (AIGatewayPolicyResource, error)
func (AIGatewayPolicyResource) CreateRequest ¶ added in v1.5.0
func (a AIGatewayPolicyResource) CreateRequest() kkComps.CreateAIGatewayPolicyRequest
func (AIGatewayPolicyResource) GetDependencies ¶ added in v1.5.0
func (a AIGatewayPolicyResource) GetDependencies() []ResourceRef
func (AIGatewayPolicyResource) GetKonnectMonikerFilter ¶ added in v1.5.0
func (a AIGatewayPolicyResource) GetKonnectMonikerFilter() string
func (AIGatewayPolicyResource) GetMoniker ¶ added in v1.5.0
func (a AIGatewayPolicyResource) GetMoniker() string
func (AIGatewayPolicyResource) GetParentRef ¶ added in v1.5.0
func (a AIGatewayPolicyResource) GetParentRef() *ResourceRef
func (AIGatewayPolicyResource) GetReferenceFieldMappings ¶ added in v1.5.0
func (a AIGatewayPolicyResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayPolicyResource) GetType ¶ added in v1.5.0
func (a AIGatewayPolicyResource) GetType() ResourceType
func (AIGatewayPolicyResource) MarshalJSON ¶ added in v1.5.0
func (a AIGatewayPolicyResource) MarshalJSON() ([]byte, error)
func (AIGatewayPolicyResource) MarshalYAML ¶ added in v1.5.0
func (a AIGatewayPolicyResource) MarshalYAML() (any, error)
func (AIGatewayPolicyResource) MutablePayloadMap ¶ added in v1.5.0
func (a AIGatewayPolicyResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayPolicyResource) PayloadMap ¶ added in v1.5.0
func (a AIGatewayPolicyResource) PayloadMap() (map[string]any, error)
func (AIGatewayPolicyResource) Protected ¶ added in v1.22.0
func (a AIGatewayPolicyResource) Protected() bool
func (*AIGatewayPolicyResource) SetDefaults ¶ added in v1.5.0
func (a *AIGatewayPolicyResource) SetDefaults()
func (*AIGatewayPolicyResource) TryMatchKonnectResource ¶ added in v1.5.0
func (a *AIGatewayPolicyResource) TryMatchKonnectResource(konnectResource any) bool
func (*AIGatewayPolicyResource) UnmarshalJSON ¶ added in v1.5.0
func (a *AIGatewayPolicyResource) UnmarshalJSON(data []byte) error
func (AIGatewayPolicyResource) UpdateRequest ¶ added in v1.5.0
func (a AIGatewayPolicyResource) UpdateRequest() kkComps.UpdateAIGatewayPolicyRequest
func (AIGatewayPolicyResource) Validate ¶ added in v1.5.0
func (a AIGatewayPolicyResource) Validate() error
type AIGatewayProviderResource ¶ added in v1.5.0
type AIGatewayProviderResource struct {
BaseResource `yaml:",inline" json:",inline"`
// Parent AI Gateway reference for root-level model provider declarations.
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
Name string `yaml:"name" json:"name"`
Type string `yaml:"type" json:"type"`
DisplayName string `yaml:"display_name" json:"display_name"`
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitempty"`
ManagedBy map[string]string `yaml:"managed_by,omitempty" json:"managed_by,omitempty"`
Config map[string]any `yaml:"config" json:"config"`
Datastores []kkComps.AIGatewayDatastoreRef `yaml:"datastores,omitempty" json:"datastores,omitempty"`
TokenVault *kkComps.AIGatewayTokenVaultInput `yaml:"token_vault,omitempty" json:"token_vault,omitempty"`
}
AIGatewayProviderResource represents a Konnect AI Gateway Model Provider in declarative configuration.
func (AIGatewayProviderResource) GetDependencies ¶ added in v1.5.0
func (a AIGatewayProviderResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this provider depends on.
func (AIGatewayProviderResource) GetKonnectMonikerFilter ¶ added in v1.5.0
func (a AIGatewayProviderResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup.
func (AIGatewayProviderResource) GetMoniker ¶ added in v1.5.0
func (a AIGatewayProviderResource) GetMoniker() string
GetMoniker returns the provider name used for matching within the parent gateway.
func (AIGatewayProviderResource) GetParentRef ¶ added in v1.5.0
func (a AIGatewayProviderResource) GetParentRef() *ResourceRef
GetParentRef returns the parent AI Gateway reference.
func (AIGatewayProviderResource) GetReferenceFieldMappings ¶ added in v1.5.0
func (a AIGatewayProviderResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayProviderResource) GetType ¶ added in v1.5.0
func (a AIGatewayProviderResource) GetType() ResourceType
GetType returns the resource type.
func (AIGatewayProviderResource) MarshalJSON ¶ added in v1.5.0
func (a AIGatewayProviderResource) MarshalJSON() ([]byte, error)
func (AIGatewayProviderResource) MarshalYAML ¶ added in v1.5.0
func (a AIGatewayProviderResource) MarshalYAML() (any, error)
func (AIGatewayProviderResource) MutablePayloadMap ¶ added in v1.5.0
func (a AIGatewayProviderResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayProviderResource) PayloadMap ¶ added in v1.5.0
func (a AIGatewayProviderResource) PayloadMap() (map[string]any, error)
func (AIGatewayProviderResource) Protected ¶ added in v1.22.0
func (a AIGatewayProviderResource) Protected() bool
func (*AIGatewayProviderResource) SetDefaults ¶ added in v1.5.0
func (a *AIGatewayProviderResource) SetDefaults()
SetDefaults applies default values to AI Gateway Model Provider resources.
func (*AIGatewayProviderResource) TryMatchKonnectResource ¶ added in v1.5.0
func (a *AIGatewayProviderResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this provider with a Konnect resource.
func (*AIGatewayProviderResource) UnmarshalJSON ¶ added in v1.5.0
func (a *AIGatewayProviderResource) UnmarshalJSON(data []byte) error
UnmarshalJSON decodes the handwritten provider declaration separately from its SDK payload.
func (AIGatewayProviderResource) Validate ¶ added in v1.5.0
func (a AIGatewayProviderResource) Validate() error
Validate ensures the AI Gateway Model Provider resource is valid.
type AIGatewayResource ¶ added in v1.5.0
type AIGatewayResource struct {
BaseResource `yaml:",inline" json:",inline"`
kkComps.CreateAIGatewayRequest
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
Providers []AIGatewayProviderResource `yaml:"model_providers,omitempty" json:"model_providers,omitempty"` //nolint:lll
AuthStrategies []AIGatewayAuthStrategyResource `yaml:"auth_strategies,omitempty" json:"auth_strategies,omitempty"` //nolint:lll
CustomPolicies []AIGatewayCustomPolicyResource `yaml:"custom_policies,omitempty" json:"custom_policies,omitempty"` //nolint:lll
Policies []AIGatewayPolicyResource `yaml:"policies,omitempty" json:"policies,omitempty"`
Agents []AIGatewayAgentResource `yaml:"agents,omitempty" json:"agents,omitempty"`
Consumers []AIGatewayConsumerResource `yaml:"consumers,omitempty" json:"consumers,omitempty"`
ConsumerGroups []AIGatewayConsumerGroupResource `yaml:"consumer_groups,omitempty" json:"consumer_groups,omitempty"` //nolint:lll
Models []AIGatewayModelResource `yaml:"models,omitempty" json:"models,omitempty"`
MCPServers []AIGatewayMCPServerResource `yaml:"mcp_servers,omitempty" json:"mcp_servers,omitempty"` //nolint:lll
ConfigStores []AIGatewayConfigStoreResource `yaml:"config_stores,omitempty" json:"config_stores,omitempty"` //nolint:lll
Vaults []AIGatewayVaultResource `yaml:"vaults,omitempty" json:"vaults,omitempty"`
Datastores []AIGatewayDatastoreResource `yaml:"datastores,omitempty" json:"datastores,omitempty"`
DataPlaneCertificates []AIGatewayDataPlaneCertificateResource `yaml:"data_plane_certificates,omitempty" json:"data_plane_certificates,omitempty"` //nolint:lll
Certificates []AIGatewayCertificateResource `yaml:"certificates,omitempty" json:"certificates,omitempty"` //nolint:lll
CACertificates []AIGatewayCACertificateResource `yaml:"ca_certificates,omitempty" json:"ca_certificates,omitempty"` //nolint:lll
SNIs []AIGatewaySNIResource `yaml:"snis,omitempty" json:"snis,omitempty"`
}
AIGatewayResource represents a Konnect AI Gateway in declarative configuration.
func (AIGatewayResource) GetDependencies ¶ added in v1.5.0
func (a AIGatewayResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this gateway depends on.
func (*AIGatewayResource) GetExternalBlock ¶ added in v1.8.0
func (a *AIGatewayResource) GetExternalBlock() *ExternalBlock
func (AIGatewayResource) GetKonnectMonikerFilter ¶ added in v1.5.0
func (a AIGatewayResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup.
func (AIGatewayResource) GetLabels ¶ added in v1.5.0
func (a AIGatewayResource) GetLabels() map[string]string
GetLabels returns the labels for this resource.
func (AIGatewayResource) GetMoniker ¶ added in v1.5.0
func (a AIGatewayResource) GetMoniker() string
GetMoniker returns the resource moniker.
func (AIGatewayResource) GetType ¶ added in v1.5.0
func (a AIGatewayResource) GetType() ResourceType
GetType returns the resource type.
func (AIGatewayResource) IsExternal ¶ added in v1.5.0
func (a AIGatewayResource) IsExternal() bool
IsExternal returns true if this AI Gateway is externally managed.
func (AIGatewayResource) MarshalJSON ¶ added in v1.5.0
func (a AIGatewayResource) MarshalJSON() ([]byte, error)
func (AIGatewayResource) MarshalYAML ¶ added in v1.5.0
func (a AIGatewayResource) MarshalYAML() (any, error)
MarshalYAML ensures YAML output mirrors the custom JSON encoding.
func (*AIGatewayResource) SetDefaults ¶ added in v1.5.0
func (a *AIGatewayResource) SetDefaults()
SetDefaults applies default values to AI Gateway resource.
func (*AIGatewayResource) SetLabels ¶ added in v1.5.0
func (a *AIGatewayResource) SetLabels(labels map[string]string)
SetLabels sets the labels for this resource.
func (*AIGatewayResource) TryMatchKonnectResource ¶ added in v1.5.0
func (a *AIGatewayResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource.
func (*AIGatewayResource) UnmarshalJSON ¶ added in v1.5.0
func (a *AIGatewayResource) UnmarshalJSON(data []byte) error
UnmarshalJSON decodes AI Gateways explicitly because YAML loading goes through JSON tags and the embedded SDK request type has a custom unmarshaler.
func (*AIGatewayResource) UnmarshalYAML ¶ added in v1.5.0
func (a *AIGatewayResource) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML decodes AI Gateway fields explicitly because the SDK request type only carries JSON tags.
func (AIGatewayResource) Validate ¶ added in v1.5.0
func (a AIGatewayResource) Validate() error
Validate ensures the AI Gateway resource is valid.
type AIGatewaySNIResource ¶ added in v1.15.0
type AIGatewaySNIResource struct {
BaseResource ` yaml:",inline" json:",inline"`
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
Name string `yaml:"name" json:"name"`
DisplayName string `yaml:"display_name" json:"display_name"`
Hostname string `yaml:"hostname" json:"hostname"`
Certificate string `yaml:"certificate" json:"certificate"`
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitempty"`
ManagedBy map[string]string `yaml:"managed_by,omitempty" json:"managed_by,omitempty"`
}
func AIGatewaySNIResourceFromResponse ¶ added in v1.15.0
func AIGatewaySNIResourceFromResponse(gatewayRef string, value kkComps.AIGatewaySNI) (AIGatewaySNIResource, error)
func (AIGatewaySNIResource) GetDependencies ¶ added in v1.15.0
func (a AIGatewaySNIResource) GetDependencies() []ResourceRef
func (AIGatewaySNIResource) GetKonnectMonikerFilter ¶ added in v1.15.0
func (a AIGatewaySNIResource) GetKonnectMonikerFilter() string
func (AIGatewaySNIResource) GetLabels ¶ added in v1.15.0
func (a AIGatewaySNIResource) GetLabels() map[string]string
func (AIGatewaySNIResource) GetMoniker ¶ added in v1.15.0
func (a AIGatewaySNIResource) GetMoniker() string
func (AIGatewaySNIResource) GetParentRef ¶ added in v1.15.0
func (a AIGatewaySNIResource) GetParentRef() *ResourceRef
func (AIGatewaySNIResource) GetReferenceFieldMappings ¶ added in v1.15.0
func (a AIGatewaySNIResource) GetReferenceFieldMappings() map[string]string
func (AIGatewaySNIResource) GetType ¶ added in v1.15.0
func (a AIGatewaySNIResource) GetType() ResourceType
func (AIGatewaySNIResource) PayloadMap ¶ added in v1.15.0
func (a AIGatewaySNIResource) PayloadMap() map[string]any
func (AIGatewaySNIResource) Protected ¶ added in v1.22.0
func (a AIGatewaySNIResource) Protected() bool
func (*AIGatewaySNIResource) SetDefaults ¶ added in v1.15.0
func (a *AIGatewaySNIResource) SetDefaults()
func (*AIGatewaySNIResource) SetLabels ¶ added in v1.15.0
func (a *AIGatewaySNIResource) SetLabels(labels map[string]string)
func (*AIGatewaySNIResource) TryMatchKonnectResource ¶ added in v1.15.0
func (a *AIGatewaySNIResource) TryMatchKonnectResource(value any) bool
func (AIGatewaySNIResource) Validate ¶ added in v1.15.0
func (a AIGatewaySNIResource) Validate() error
type AIGatewayVaultResource ¶ added in v1.5.0
type AIGatewayVaultResource struct {
BaseResource ` yaml:",inline" json:",inline"`
// Parent AI Gateway reference for root-level declarations.
AIGateway string `yaml:"ai_gateway,omitempty" json:"ai_gateway,omitempty"`
kkComps.CreateAIGatewayVaultRequest `yaml:",inline" json:",inline"`
}
AIGatewayVaultResource represents a Vault nested under a Konnect AI Gateway.
func AIGatewayVaultResourceFromResponse ¶ added in v1.5.0
func AIGatewayVaultResourceFromResponse( gatewayRef string, vault kkComps.AIGatewayVault, ) (AIGatewayVaultResource, error)
func (AIGatewayVaultResource) CreateRequest ¶ added in v1.5.0
func (a AIGatewayVaultResource) CreateRequest() kkComps.CreateAIGatewayVaultRequest
func (AIGatewayVaultResource) GetDependencies ¶ added in v1.5.0
func (a AIGatewayVaultResource) GetDependencies() []ResourceRef
func (AIGatewayVaultResource) GetKonnectMonikerFilter ¶ added in v1.5.0
func (a AIGatewayVaultResource) GetKonnectMonikerFilter() string
func (AIGatewayVaultResource) GetMoniker ¶ added in v1.5.0
func (a AIGatewayVaultResource) GetMoniker() string
func (AIGatewayVaultResource) GetParentRef ¶ added in v1.5.0
func (a AIGatewayVaultResource) GetParentRef() *ResourceRef
func (AIGatewayVaultResource) GetReferenceFieldMappings ¶ added in v1.5.0
func (a AIGatewayVaultResource) GetReferenceFieldMappings() map[string]string
func (AIGatewayVaultResource) GetType ¶ added in v1.5.0
func (a AIGatewayVaultResource) GetType() ResourceType
func (AIGatewayVaultResource) MarshalJSON ¶ added in v1.5.0
func (a AIGatewayVaultResource) MarshalJSON() ([]byte, error)
func (AIGatewayVaultResource) MarshalYAML ¶ added in v1.5.0
func (a AIGatewayVaultResource) MarshalYAML() (any, error)
func (AIGatewayVaultResource) MutablePayloadMap ¶ added in v1.5.0
func (a AIGatewayVaultResource) MutablePayloadMap() (map[string]any, error)
func (AIGatewayVaultResource) Name ¶ added in v1.5.0
func (a AIGatewayVaultResource) Name() string
func (AIGatewayVaultResource) PayloadMap ¶ added in v1.5.0
func (a AIGatewayVaultResource) PayloadMap() (map[string]any, error)
func (AIGatewayVaultResource) Protected ¶ added in v1.22.0
func (a AIGatewayVaultResource) Protected() bool
func (AIGatewayVaultResource) PublicLabels ¶ added in v1.22.0
func (a AIGatewayVaultResource) PublicLabels() map[string]string
func (*AIGatewayVaultResource) SetChildManagedBy ¶ added in v1.22.0
func (a *AIGatewayVaultResource) SetChildManagedBy(metadata map[string]string)
func (*AIGatewayVaultResource) SetDefaults ¶ added in v1.5.0
func (a *AIGatewayVaultResource) SetDefaults()
func (*AIGatewayVaultResource) TryMatchKonnectResource ¶ added in v1.5.0
func (a *AIGatewayVaultResource) TryMatchKonnectResource(konnectResource any) bool
func (*AIGatewayVaultResource) UnmarshalJSON ¶ added in v1.5.0
func (a *AIGatewayVaultResource) UnmarshalJSON(data []byte) error
func (AIGatewayVaultResource) UpdateRequest ¶ added in v1.5.0
func (a AIGatewayVaultResource) UpdateRequest() kkComps.UpdateAIGatewayVaultRequest
func (AIGatewayVaultResource) Validate ¶ added in v1.5.0
func (a AIGatewayVaultResource) Validate() error
func (AIGatewayVaultResource) VaultType ¶ added in v1.5.0
func (a AIGatewayVaultResource) VaultType() string
type APIDocumentResource ¶
type APIDocumentResource struct {
kkComps.CreateAPIDocumentRequest ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent API reference (for root-level definitions)
API string `yaml:"api,omitempty" json:"api,omitempty"`
ParentDocumentID string `yaml:"parent_document_id,omitempty" json:"parent_document_id,omitempty"`
ParentDocumentRef string `yaml:"parent_document_ref,omitempty" json:"parent_document_ref,omitempty"`
Children []APIDocumentResource `yaml:"children,omitempty" json:"children,omitempty"`
// contains filtered or unexported fields
}
APIDocumentResource represents an API document in declarative configuration
func (APIDocumentResource) GetDependencies ¶
func (d APIDocumentResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this API document depends on
func (APIDocumentResource) GetKonnectID ¶
func (d APIDocumentResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available
func (APIDocumentResource) GetKonnectMonikerFilter ¶
func (d APIDocumentResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (APIDocumentResource) GetMoniker ¶
func (d APIDocumentResource) GetMoniker() string
GetMoniker returns the resource moniker (for documents, this is the slug)
func (APIDocumentResource) GetParentRef ¶
func (d APIDocumentResource) GetParentRef() *ResourceRef
GetParentRef returns the parent API reference for ResourceWithParent interface
func (APIDocumentResource) GetRef ¶
func (d APIDocumentResource) GetRef() string
GetRef returns the reference identifier used for cross-resource references
func (APIDocumentResource) GetReferenceFieldMappings ¶
func (d APIDocumentResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns the field mappings for reference validation
func (APIDocumentResource) GetType ¶ added in v0.1.3
func (d APIDocumentResource) GetType() ResourceType
GetType returns the resource type
func (APIDocumentResource) MarshalJSON ¶ added in v0.4.0
func (d APIDocumentResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures document metadata (ref, api, parent refs, children) are included. Without this, the embedded CreateAPIDocumentRequest's MarshalJSON is promoted and drops metadata fields.
func (*APIDocumentResource) SetDefaults ¶
func (d *APIDocumentResource) SetDefaults()
SetDefaults applies default values to API document resource
func (*APIDocumentResource) TryMatchKonnectResource ¶
func (d *APIDocumentResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (*APIDocumentResource) UnmarshalJSON ¶
func (d *APIDocumentResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements custom JSON unmarshaling to handle SDK types
func (APIDocumentResource) Validate ¶
func (d APIDocumentResource) Validate() error
Validate ensures the API document resource is valid
type APIImplementationResource ¶
type APIImplementationResource struct {
kkComps.APIImplementation ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent API reference (for root-level definitions)
API string `yaml:"api,omitempty" json:"api,omitempty"`
// contains filtered or unexported fields
}
APIImplementationResource represents an API implementation in declarative configuration
func (APIImplementationResource) GetDependencies ¶
func (i APIImplementationResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this API implementation depends on
func (APIImplementationResource) GetKonnectID ¶
func (i APIImplementationResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available
func (APIImplementationResource) GetKonnectMonikerFilter ¶
func (i APIImplementationResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (APIImplementationResource) GetMoniker ¶
func (i APIImplementationResource) GetMoniker() string
GetMoniker returns the resource moniker (for implementations, this is empty)
func (APIImplementationResource) GetParentRef ¶
func (i APIImplementationResource) GetParentRef() *ResourceRef
GetParentRef returns the parent API reference for ResourceWithParent interface
func (APIImplementationResource) GetRef ¶
func (i APIImplementationResource) GetRef() string
GetRef returns the reference identifier used for cross-resource references
func (APIImplementationResource) GetReferenceFieldMappings ¶
func (i APIImplementationResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns the field mappings for reference validation
func (APIImplementationResource) GetType ¶ added in v0.1.3
func (i APIImplementationResource) GetType() ResourceType
GetType returns the resource type
func (APIImplementationResource) MarshalJSON ¶ added in v0.4.0
func (i APIImplementationResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures implementation metadata (ref, api) are included. Without this, the embedded APIImplementation's MarshalJSON is promoted and drops metadata fields.
func (*APIImplementationResource) SetDefaults ¶
func (i *APIImplementationResource) SetDefaults()
SetDefaults applies default values to API implementation resource
func (*APIImplementationResource) TryMatchKonnectResource ¶
func (i *APIImplementationResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (*APIImplementationResource) UnmarshalJSON ¶
func (i *APIImplementationResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements custom JSON unmarshaling to handle SDK types
func (APIImplementationResource) Validate ¶
func (i APIImplementationResource) Validate() error
Validate ensures the API implementation resource is valid
type APIPublicationResource ¶
type APIPublicationResource struct {
kkComps.APIPublication ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent API reference (for root-level definitions)
API string `yaml:"api,omitempty" json:"api,omitempty"`
PortalID string `yaml:"portal_id" json:"portal_id"`
// contains filtered or unexported fields
}
APIPublicationResource represents an API publication in declarative configuration
func (APIPublicationResource) GetDependencies ¶
func (p APIPublicationResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this API publication depends on
func (APIPublicationResource) GetKonnectID ¶
func (p APIPublicationResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available
func (APIPublicationResource) GetKonnectMonikerFilter ¶
func (p APIPublicationResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (APIPublicationResource) GetMoniker ¶
func (p APIPublicationResource) GetMoniker() string
GetMoniker returns the resource moniker (for publications, this is the portal ID)
func (APIPublicationResource) GetParentRef ¶
func (p APIPublicationResource) GetParentRef() *ResourceRef
GetParentRef returns the parent API reference for ResourceWithParent interface
func (APIPublicationResource) GetRef ¶
func (p APIPublicationResource) GetRef() string
GetRef returns the reference identifier used for cross-resource references
func (APIPublicationResource) GetReferenceFieldMappings ¶
func (p APIPublicationResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns the field mappings for reference validation
func (APIPublicationResource) GetType ¶ added in v0.1.3
func (p APIPublicationResource) GetType() ResourceType
GetType returns the resource type
func (APIPublicationResource) MarshalJSON ¶ added in v0.4.0
func (p APIPublicationResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures publication metadata (ref, portal_id, api) are included. Without this, the embedded APIPublication's MarshalJSON is promoted and drops metadata fields.
func (*APIPublicationResource) SetDefaults ¶
func (p *APIPublicationResource) SetDefaults()
SetDefaults applies default values to API publication resource
func (*APIPublicationResource) TryMatchKonnectResource ¶
func (p *APIPublicationResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (*APIPublicationResource) UnmarshalJSON ¶
func (p *APIPublicationResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements custom JSON unmarshaling to handle SDK types
func (APIPublicationResource) Validate ¶
func (p APIPublicationResource) Validate() error
Validate ensures the API publication resource is valid
type APIResource ¶
type APIResource struct {
BaseResource
kkComps.CreateAPIRequest `yaml:",inline" json:",inline"`
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
// ForceDelete permits ACE operation removal on API and child-version updates.
// This synthetic field maps to the force query parameter, not the request body.
ForceDelete *bool `yaml:"force_delete,omitempty" json:"force_delete,omitempty"`
// Nested child resources
Versions []APIVersionResource `yaml:"versions,omitempty" json:"versions,omitempty"`
Publications []APIPublicationResource `yaml:"publications,omitempty" json:"publications,omitempty"`
Implementations []APIImplementationResource `yaml:"implementations,omitempty" json:"implementations,omitempty"`
Documents []APIDocumentResource `yaml:"documents,omitempty" json:"documents,omitempty"`
}
APIResource represents an API in declarative configuration
func (APIResource) GetDependencies ¶
func (a APIResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this API depends on
func (*APIResource) GetExternalBlock ¶ added in v1.14.0
func (a *APIResource) GetExternalBlock() *ExternalBlock
func (APIResource) GetKonnectMonikerFilter ¶
func (a APIResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (APIResource) GetLabels ¶
func (a APIResource) GetLabels() map[string]string
GetLabels returns the labels for this resource
func (APIResource) GetMoniker ¶
func (a APIResource) GetMoniker() string
GetMoniker returns the resource moniker (for APIs, this is the name)
func (APIResource) GetReferenceFieldMappings ¶
func (a APIResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns the field mappings for reference validation
func (APIResource) GetType ¶ added in v0.1.3
func (a APIResource) GetType() ResourceType
GetType returns the resource type
func (APIResource) IsExternal ¶ added in v1.14.0
func (a APIResource) IsExternal() bool
IsExternal returns true when the API is resolved but not managed by kongctl.
func (*APIResource) SetDefaults ¶
func (a *APIResource) SetDefaults()
SetDefaults applies default values to API resource
func (*APIResource) SetLabels ¶
func (a *APIResource) SetLabels(labels map[string]string)
SetLabels sets the labels for this resource
func (*APIResource) TryMatchKonnectResource ¶
func (a *APIResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource.
func (*APIResource) UnmarshalJSON ¶ added in v1.0.0
func (a *APIResource) UnmarshalJSON(data []byte) error
func (APIResource) Validate ¶
func (a APIResource) Validate() error
Validate ensures the API resource is valid
type APIVersionResource ¶
type APIVersionResource struct {
kkComps.CreateAPIVersionRequest ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent API reference (for root-level definitions)
API string `yaml:"api,omitempty" json:"api,omitempty"`
// contains filtered or unexported fields
}
APIVersionResource represents an API version in declarative configuration
func (APIVersionResource) GetDependencies ¶
func (v APIVersionResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this API version depends on
func (APIVersionResource) GetKonnectID ¶
func (v APIVersionResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available
func (APIVersionResource) GetKonnectMonikerFilter ¶
func (v APIVersionResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (APIVersionResource) GetMoniker ¶
func (v APIVersionResource) GetMoniker() string
GetMoniker returns the resource moniker (for versions, this is the version string)
func (APIVersionResource) GetParentRef ¶
func (v APIVersionResource) GetParentRef() *ResourceRef
GetParentRef returns the parent API reference for ResourceWithParent interface
func (APIVersionResource) GetRef ¶
func (v APIVersionResource) GetRef() string
GetRef returns the reference identifier used for cross-resource references
func (APIVersionResource) GetReferenceFieldMappings ¶
func (v APIVersionResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns the field mappings for reference validation
func (APIVersionResource) GetType ¶ added in v0.1.3
func (v APIVersionResource) GetType() ResourceType
GetType returns the resource type
func (*APIVersionResource) SetDefaults ¶
func (v *APIVersionResource) SetDefaults()
SetDefaults applies default values to API version resource
func (*APIVersionResource) TryMatchKonnectResource ¶
func (v *APIVersionResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (*APIVersionResource) UnmarshalJSON ¶
func (v *APIVersionResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements custom JSON unmarshaling to handle SDK types
func (APIVersionResource) Validate ¶
func (v APIVersionResource) Validate() error
Validate ensures the API version resource is valid
type AnalyticsResource ¶ added in v1.0.0
type AnalyticsResource struct {
// Dashboards nested under analytics
Dashboards []DashboardResource `yaml:"dashboards,omitempty" json:"dashboards,omitempty"`
}
AnalyticsResource represents the analytics grouping in declarative configuration. It's a grouping concept that can contain nested analytics resources.
type ApplicationAuthStrategyResource ¶
type ApplicationAuthStrategyResource struct {
BaseResource
DCRProviderID *string `yaml:"dcr_provider_id,omitempty" json:"dcr_provider_id,omitempty"`
kkComps.CreateAppAuthStrategyRequest `yaml:",inline" json:",inline"`
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
}
ApplicationAuthStrategyResource represents an application auth strategy in declarative configuration
func (ApplicationAuthStrategyResource) GetDCRProviderID ¶ added in v0.8.0
func (a ApplicationAuthStrategyResource) GetDCRProviderID() string
func (ApplicationAuthStrategyResource) GetDependencies ¶
func (a ApplicationAuthStrategyResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this auth strategy depends on
func (*ApplicationAuthStrategyResource) GetExternalBlock ¶ added in v1.14.0
func (a *ApplicationAuthStrategyResource) GetExternalBlock() *ExternalBlock
func (ApplicationAuthStrategyResource) GetKonnectMonikerFilter ¶
func (a ApplicationAuthStrategyResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (ApplicationAuthStrategyResource) GetLabels ¶
func (a ApplicationAuthStrategyResource) GetLabels() map[string]string
GetLabels returns the labels for this resource
func (ApplicationAuthStrategyResource) GetMoniker ¶
func (a ApplicationAuthStrategyResource) GetMoniker() string
GetMoniker returns the moniker (name) of the auth strategy from the union type
func (ApplicationAuthStrategyResource) GetReferenceFieldMappings ¶
func (a ApplicationAuthStrategyResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns the field mappings for reference validation
func (ApplicationAuthStrategyResource) GetType ¶ added in v0.1.3
func (a ApplicationAuthStrategyResource) GetType() ResourceType
GetType returns the resource type
func (ApplicationAuthStrategyResource) IsExternal ¶ added in v1.14.0
func (a ApplicationAuthStrategyResource) IsExternal() bool
IsExternal returns true when the strategy is resolved but not managed by kongctl.
func (ApplicationAuthStrategyResource) MarshalJSON ¶ added in v0.1.6
func (a ApplicationAuthStrategyResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures the ref field is always included alongside the union payload
func (*ApplicationAuthStrategyResource) SetDefaults ¶
func (a *ApplicationAuthStrategyResource) SetDefaults()
SetDefaults applies default values to application auth strategy resource
func (*ApplicationAuthStrategyResource) SetLabels ¶
func (a *ApplicationAuthStrategyResource) SetLabels(labels map[string]string)
SetLabels sets the labels for this resource
func (*ApplicationAuthStrategyResource) TryMatchKonnectResource ¶
func (a *ApplicationAuthStrategyResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (*ApplicationAuthStrategyResource) UnmarshalJSON ¶
func (a *ApplicationAuthStrategyResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements custom JSON unmarshaling to handle SDK union types (sigs.k8s.io/yaml uses JSON unmarshaling internally)
func (ApplicationAuthStrategyResource) Validate ¶
func (a ApplicationAuthStrategyResource) Validate() error
Validate ensures the application auth strategy resource is valid
type AuditLogWebhookDestinationResource ¶ added in v0.10.0
type AuditLogWebhookDestinationResource struct {
BaseResource
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
}
AuditLogWebhookDestinationResource references an externally managed Konnect audit-log webhook destination.
func (AuditLogWebhookDestinationResource) GetDependencies ¶ added in v0.10.0
func (d AuditLogWebhookDestinationResource) GetDependencies() []ResourceRef
func (*AuditLogWebhookDestinationResource) GetExternalBlock ¶ added in v1.8.0
func (d *AuditLogWebhookDestinationResource) GetExternalBlock() *ExternalBlock
func (AuditLogWebhookDestinationResource) GetKonnectMonikerFilter ¶ added in v0.10.0
func (d AuditLogWebhookDestinationResource) GetKonnectMonikerFilter() string
func (AuditLogWebhookDestinationResource) GetMoniker ¶ added in v0.10.0
func (d AuditLogWebhookDestinationResource) GetMoniker() string
func (AuditLogWebhookDestinationResource) GetType ¶ added in v0.10.0
func (d AuditLogWebhookDestinationResource) GetType() ResourceType
func (*AuditLogWebhookDestinationResource) IsExternal ¶ added in v0.10.0
func (d *AuditLogWebhookDestinationResource) IsExternal() bool
func (*AuditLogWebhookDestinationResource) SetDefaults ¶ added in v0.10.0
func (d *AuditLogWebhookDestinationResource) SetDefaults()
func (*AuditLogWebhookDestinationResource) TryMatchKonnectResource ¶ added in v0.10.0
func (d *AuditLogWebhookDestinationResource) TryMatchKonnectResource(konnectResource any) bool
func (AuditLogWebhookDestinationResource) Validate ¶ added in v0.10.0
func (d AuditLogWebhookDestinationResource) Validate() error
type AuditLogsResource ¶ added in v0.10.0
type AuditLogsResource struct {
Destinations []AuditLogWebhookDestinationResource `yaml:"destinations,omitempty" json:"destinations,omitempty"`
}
AuditLogsResource groups organization-scoped audit-log declarative resources.
type BaseResource ¶ added in v0.5.0
type BaseResource struct {
Ref string `yaml:"ref" json:"ref"`
Kongctl *KongctlMeta `yaml:"kongctl,omitempty" json:"kongctl,omitempty"`
// contains filtered or unexported fields
}
BaseResource provides the minimal common fields for declarative resources. Use this for resources that don't support external resource references.
func (BaseResource) GetKonnectID ¶ added in v0.5.0
func (b BaseResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available.
func (BaseResource) GetKonnectMonikerFilter ¶ added in v0.5.0
func (b BaseResource) GetKonnectMonikerFilter(name string) string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup.
func (BaseResource) GetRef ¶ added in v0.5.0
func (b BaseResource) GetRef() string
GetRef returns the reference identifier used for cross-resource references.
func (BaseResource) IsExternal ¶ added in v0.5.0
func (b BaseResource) IsExternal() bool
IsExternal returns false for core resources (no external support).
func (*BaseResource) SetKonnectID ¶ added in v0.5.0
func (b *BaseResource) SetKonnectID(id string)
SetKonnectID sets the resolved Konnect ID.
func (*BaseResource) TryMatchByName ¶ added in v0.5.0
func (b *BaseResource) TryMatchByName(resourceName string, konnectResource any, opts matchOptions) bool
TryMatchByName attempts to match this resource with a Konnect resource by name. On successful match, sets konnectID and returns true.
type CatalogServiceResource ¶ added in v0.3.6
type CatalogServiceResource struct {
BaseResource `yaml:",inline" json:",inline"`
kkComps.CreateCatalogService `yaml:",inline" json:",inline"`
}
CatalogServiceResource represents a Service Catalog service in declarative configuration
func (CatalogServiceResource) GetDependencies ¶ added in v0.3.6
func (c CatalogServiceResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this service depends on
func (CatalogServiceResource) GetKonnectMonikerFilter ¶ added in v0.3.6
func (c CatalogServiceResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (CatalogServiceResource) GetLabels ¶ added in v0.3.6
func (c CatalogServiceResource) GetLabels() map[string]string
GetLabels returns the labels for this resource
func (CatalogServiceResource) GetMoniker ¶ added in v0.3.6
func (c CatalogServiceResource) GetMoniker() string
GetMoniker returns the resource moniker (service name)
func (CatalogServiceResource) GetType ¶ added in v0.3.6
func (c CatalogServiceResource) GetType() ResourceType
GetType returns the resource type
func (*CatalogServiceResource) SetDefaults ¶ added in v0.3.6
func (c *CatalogServiceResource) SetDefaults()
SetDefaults applies default values to CatalogService resource
func (*CatalogServiceResource) SetLabels ¶ added in v0.3.6
func (c *CatalogServiceResource) SetLabels(labels map[string]string)
SetLabels sets the labels for this resource
func (*CatalogServiceResource) TryMatchKonnectResource ¶ added in v0.3.6
func (c *CatalogServiceResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource.
func (*CatalogServiceResource) UnmarshalJSON ¶ added in v1.4.0
func (c *CatalogServiceResource) UnmarshalJSON(data []byte) error
UnmarshalJSON decodes catalog services explicitly because YAML loading goes through JSON tags and the embedded SDK request type has a custom unmarshaler.
func (*CatalogServiceResource) UnmarshalYAML ¶ added in v1.4.0
func (c *CatalogServiceResource) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML decodes catalog service fields explicitly because the SDK request type only carries JSON tags.
func (CatalogServiceResource) Validate ¶ added in v0.3.6
func (c CatalogServiceResource) Validate() error
Validate ensures the CatalogService resource is valid
type ChildSyncScope ¶ added in v1.0.0
type ChildSyncScope struct {
ParentType ResourceType
ParentRef string
ResourceType ResourceType
}
ChildSyncScope identifies a child collection scoped under a specific parent.
type ChildSyncScopeOption ¶ added in v1.16.0
type ChildSyncScopeOption func(*syncScopeRegistration) error
ChildSyncScopeOption configures explicit child-scope compatibility policies.
func WithEmptyRootCollectionError ¶ added in v1.16.0
func WithEmptyRootCollectionError(order int, message string) ChildSyncScopeOption
WithEmptyRootCollectionError preserves a loader-stage empty-collection rejection and its diagnostic order. Without it, empty root child collections retain planner-stage validation.
func WithNestedCoScope ¶ added in v1.16.0
func WithNestedCoScope(kind ResourceType) ChildSyncScopeOption
WithNestedCoScope also scopes a related kind under the same owner during nested capture and populated-slice inference. Root child declarations retain their own scope: portal_teams alone must not capture portal_team_roles.
func WithNestedScopeWithin ¶ added in v1.16.0
func WithNestedScopeWithin(rootType ResourceType) ChildSyncScopeOption
WithNestedScopeWithin limits nested scope capture to declarations under the given root collection. Root-level child declarations and planner inference remain available. Use this for established placement-specific behavior.
type ControlPlaneDataPlaneCertificateResource ¶ added in v0.10.0
type ControlPlaneDataPlaneCertificateResource struct {
Ref string `yaml:"ref" json:"ref"`
ControlPlane string `yaml:"control_plane,omitempty" json:"control_plane,omitempty"`
Cert string `yaml:"cert" json:"cert"`
// contains filtered or unexported fields
}
ControlPlaneDataPlaneCertificateResource represents a data plane certificate pinned to an API Gateway control plane.
func (ControlPlaneDataPlaneCertificateResource) GetDependencies ¶ added in v0.10.0
func (c ControlPlaneDataPlaneCertificateResource) GetDependencies() []ResourceRef
func (ControlPlaneDataPlaneCertificateResource) GetKonnectID ¶ added in v0.10.0
func (c ControlPlaneDataPlaneCertificateResource) GetKonnectID() string
func (ControlPlaneDataPlaneCertificateResource) GetKonnectMonikerFilter ¶ added in v0.10.0
func (c ControlPlaneDataPlaneCertificateResource) GetKonnectMonikerFilter() string
func (ControlPlaneDataPlaneCertificateResource) GetMoniker ¶ added in v0.10.0
func (c ControlPlaneDataPlaneCertificateResource) GetMoniker() string
func (ControlPlaneDataPlaneCertificateResource) GetParentRef ¶ added in v0.10.0
func (c ControlPlaneDataPlaneCertificateResource) GetParentRef() *ResourceRef
func (ControlPlaneDataPlaneCertificateResource) GetRef ¶ added in v0.10.0
func (c ControlPlaneDataPlaneCertificateResource) GetRef() string
func (ControlPlaneDataPlaneCertificateResource) GetReferenceFieldMappings ¶ added in v0.10.0
func (c ControlPlaneDataPlaneCertificateResource) GetReferenceFieldMappings() map[string]string
func (ControlPlaneDataPlaneCertificateResource) GetType ¶ added in v0.10.0
func (c ControlPlaneDataPlaneCertificateResource) GetType() ResourceType
func (*ControlPlaneDataPlaneCertificateResource) SetDefaults ¶ added in v0.10.0
func (c *ControlPlaneDataPlaneCertificateResource) SetDefaults()
func (*ControlPlaneDataPlaneCertificateResource) TryMatchKonnectResource ¶ added in v0.10.0
func (c *ControlPlaneDataPlaneCertificateResource) TryMatchKonnectResource(konnectResource any) bool
func (ControlPlaneDataPlaneCertificateResource) Validate ¶ added in v0.10.0
func (c ControlPlaneDataPlaneCertificateResource) Validate() error
type ControlPlaneGroupMember ¶ added in v0.3.0
type ControlPlaneGroupMember struct {
ID string `yaml:"id" json:"id"`
}
ControlPlaneGroupMember represents a member entry for a control plane group.
type ControlPlaneResource ¶
type ControlPlaneResource struct {
BaseResource
kkComps.CreateControlPlaneRequest `yaml:",inline" json:",inline"`
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"` //nolint:lll
Deck *DeckConfig `yaml:"_deck,omitempty" json:"_deck,omitempty"` //nolint:lll
GatewayServices []GatewayServiceResource `yaml:"gateway_services,omitempty" json:"gateway_services,omitempty"` //nolint:lll
DataPlaneCertificates []ControlPlaneDataPlaneCertificateResource `yaml:"data_plane_certificates,omitempty" json:"data_plane_certificates,omitempty"` //nolint:lll
Members []ControlPlaneGroupMember `yaml:"members,omitempty" json:"members,omitempty"` //nolint:lll
// contains filtered or unexported fields
}
ControlPlaneResource represents a control plane in declarative configuration
func (ControlPlaneResource) DeckBaseDir ¶ added in v0.3.8
func (c ControlPlaneResource) DeckBaseDir() string
DeckBaseDir returns the resolved base directory for deck config (if any).
func (ControlPlaneResource) GetDependencies ¶ added in v0.1.3
func (c ControlPlaneResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this control plane depends on
func (*ControlPlaneResource) GetExternalBlock ¶ added in v1.8.0
func (c *ControlPlaneResource) GetExternalBlock() *ExternalBlock
func (ControlPlaneResource) GetKonnectMonikerFilter ¶ added in v0.1.3
func (c ControlPlaneResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (ControlPlaneResource) GetMoniker ¶ added in v0.1.3
func (c ControlPlaneResource) GetMoniker() string
GetMoniker returns the resource moniker (for control planes, this is the name)
func (ControlPlaneResource) GetReferenceFieldMappings ¶
func (c ControlPlaneResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns the field mappings for reference validation
func (ControlPlaneResource) GetType ¶ added in v0.1.3
func (c ControlPlaneResource) GetType() ResourceType
GetType returns the resource type
func (ControlPlaneResource) HasDeckConfig ¶ added in v0.3.8
func (c ControlPlaneResource) HasDeckConfig() bool
HasDeckConfig returns true when a deck config is configured on the control plane.
func (*ControlPlaneResource) IsExternal ¶ added in v0.2.0
func (c *ControlPlaneResource) IsExternal() bool
IsExternal returns true if this control plane is externally managed
func (*ControlPlaneResource) IsGroup ¶ added in v0.3.0
func (c *ControlPlaneResource) IsGroup() bool
IsGroup returns true when the control plane represents a control plane group.
func (*ControlPlaneResource) MemberIDs ¶ added in v0.3.0
func (c *ControlPlaneResource) MemberIDs() []string
MemberIDs returns the list of member IDs declared for a control plane group.
func (*ControlPlaneResource) SetDeckBaseDir ¶ added in v0.3.8
func (c *ControlPlaneResource) SetDeckBaseDir(dir string)
SetDeckBaseDir sets the resolved base directory for deck config.
func (*ControlPlaneResource) SetDefaults ¶
func (c *ControlPlaneResource) SetDefaults()
SetDefaults applies default values to control plane resource
func (*ControlPlaneResource) TryMatchKonnectResource ¶ added in v0.1.3
func (c *ControlPlaneResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (ControlPlaneResource) Validate ¶
func (c ControlPlaneResource) Validate() error
Validate ensures the control plane resource is valid
type DCRProviderResource ¶ added in v0.8.0
type DCRProviderResource struct {
BaseResource
Name string `yaml:"name,omitempty" json:"name,omitempty"`
DisplayName string `yaml:"display_name,omitempty" json:"display_name,omitempty"`
ProviderType string `yaml:"provider_type,omitempty" json:"provider_type,omitempty"`
Issuer string `yaml:"issuer,omitempty" json:"issuer,omitempty"`
DCRConfig map[string]any `yaml:"dcr_config,omitempty" json:"dcr_config,omitempty"`
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitempty"`
}
DCRProviderResource represents a DCR provider in declarative configuration.
func (DCRProviderResource) GetDependencies ¶ added in v0.8.0
func (d DCRProviderResource) GetDependencies() []ResourceRef
func (DCRProviderResource) GetKonnectMonikerFilter ¶ added in v0.8.0
func (d DCRProviderResource) GetKonnectMonikerFilter() string
func (DCRProviderResource) GetLabels ¶ added in v0.8.0
func (d DCRProviderResource) GetLabels() map[string]string
func (DCRProviderResource) GetMoniker ¶ added in v0.8.0
func (d DCRProviderResource) GetMoniker() string
func (DCRProviderResource) GetReferenceFieldMappings ¶ added in v0.8.0
func (d DCRProviderResource) GetReferenceFieldMappings() map[string]string
func (DCRProviderResource) GetType ¶ added in v0.8.0
func (d DCRProviderResource) GetType() ResourceType
func (*DCRProviderResource) SetDefaults ¶ added in v0.8.0
func (d *DCRProviderResource) SetDefaults()
func (*DCRProviderResource) SetLabels ¶ added in v0.8.0
func (d *DCRProviderResource) SetLabels(labels map[string]string)
func (DCRProviderResource) ToCreatePayload ¶ added in v0.8.0
func (d DCRProviderResource) ToCreatePayload() map[string]any
func (DCRProviderResource) ToSDKRequest ¶ added in v0.8.0
func (d DCRProviderResource) ToSDKRequest() (kkComps.CreateDcrProviderRequest, error)
func (DCRProviderResource) ToUpdatePayload ¶ added in v0.8.0
func (d DCRProviderResource) ToUpdatePayload() map[string]any
func (*DCRProviderResource) TryMatchKonnectResource ¶ added in v0.8.0
func (d *DCRProviderResource) TryMatchKonnectResource(konnectResource any) bool
func (DCRProviderResource) Validate ¶ added in v0.8.0
func (d DCRProviderResource) Validate() error
type DashboardResource ¶ added in v1.0.0
type DashboardResource struct {
BaseResource
Name string `yaml:"name" json:"name"`
Definition kkComps.Dashboard `yaml:"definition" json:"definition"`
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitempty"`
// contains filtered or unexported fields
}
DashboardResource represents a Konnect Analytics custom dashboard.
func (DashboardResource) GetDependencies ¶ added in v1.0.0
func (d DashboardResource) GetDependencies() []ResourceRef
func (DashboardResource) GetKonnectMonikerFilter ¶ added in v1.0.0
func (d DashboardResource) GetKonnectMonikerFilter() string
func (DashboardResource) GetLabels ¶ added in v1.0.0
func (d DashboardResource) GetLabels() map[string]string
func (DashboardResource) GetMoniker ¶ added in v1.0.0
func (d DashboardResource) GetMoniker() string
func (DashboardResource) GetType ¶ added in v1.0.0
func (d DashboardResource) GetType() ResourceType
func (DashboardResource) MarshalJSON ¶ added in v1.0.0
func (d DashboardResource) MarshalJSON() ([]byte, error)
func (*DashboardResource) SetDefaults ¶ added in v1.0.0
func (d *DashboardResource) SetDefaults()
func (*DashboardResource) SetLabels ¶ added in v1.0.0
func (d *DashboardResource) SetLabels(labels map[string]string)
func (*DashboardResource) TryMatchKonnectResource ¶ added in v1.0.0
func (d *DashboardResource) TryMatchKonnectResource(konnectResource any) bool
func (*DashboardResource) UnmarshalJSON ¶ added in v1.0.0
func (d *DashboardResource) UnmarshalJSON(data []byte) error
func (*DashboardResource) UnmarshalYAML ¶ added in v1.0.0
func (d *DashboardResource) UnmarshalYAML(unmarshal func(any) error) error
func (DashboardResource) Validate ¶ added in v1.0.0
func (d DashboardResource) Validate() error
type DeckConfig ¶ added in v0.3.8
type DeckConfig struct {
Files []string `yaml:"files" json:"files"`
Flags []string `yaml:"flags,omitempty" json:"flags,omitempty"`
}
DeckConfig describes deck state files to apply or sync.
func (*DeckConfig) Validate ¶ added in v0.3.8
func (d *DeckConfig) Validate() error
type EventGatewayBackendClusterResource ¶ added in v0.3.8
type EventGatewayBackendClusterResource struct {
kkComps.CreateBackendClusterRequest ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent Event Gateway reference (for root-level definitions)
EventGateway string `yaml:"event_gateway,omitempty" json:"event_gateway,omitempty"`
// contains filtered or unexported fields
}
func (EventGatewayBackendClusterResource) GetDependencies ¶ added in v0.3.8
func (e EventGatewayBackendClusterResource) GetDependencies() []ResourceRef
func (EventGatewayBackendClusterResource) GetKonnectID ¶ added in v0.3.8
func (e EventGatewayBackendClusterResource) GetKonnectID() string
func (EventGatewayBackendClusterResource) GetKonnectMonikerFilter ¶ added in v0.3.8
func (e EventGatewayBackendClusterResource) GetKonnectMonikerFilter() string
func (EventGatewayBackendClusterResource) GetMoniker ¶ added in v0.3.8
func (e EventGatewayBackendClusterResource) GetMoniker() string
func (EventGatewayBackendClusterResource) GetParentRef ¶ added in v0.3.8
func (e EventGatewayBackendClusterResource) GetParentRef() *ResourceRef
REQUIRED: Implement ResourceWithParent
func (EventGatewayBackendClusterResource) GetRef ¶ added in v0.3.8
func (e EventGatewayBackendClusterResource) GetRef() string
func (EventGatewayBackendClusterResource) GetType ¶ added in v0.3.8
func (e EventGatewayBackendClusterResource) GetType() ResourceType
func (EventGatewayBackendClusterResource) MarshalJSON ¶ added in v0.4.0
func (e EventGatewayBackendClusterResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures backend cluster metadata (ref, event_gateway) are included. Without this, the embedded CreateBackendClusterRequest's MarshalJSON is promoted and drops metadata fields.
func (*EventGatewayBackendClusterResource) SetDefaults ¶ added in v0.3.8
func (e *EventGatewayBackendClusterResource) SetDefaults()
func (*EventGatewayBackendClusterResource) TryMatchKonnectResource ¶ added in v0.3.8
func (e *EventGatewayBackendClusterResource) TryMatchKonnectResource(konnectResource any) bool
func (*EventGatewayBackendClusterResource) UnmarshalJSON ¶ added in v0.3.8
func (e *EventGatewayBackendClusterResource) UnmarshalJSON(data []byte) error
Custom JSON unmarshaling to reject kongctl metadata
func (EventGatewayBackendClusterResource) Validate ¶ added in v0.3.8
func (e EventGatewayBackendClusterResource) Validate() error
type EventGatewayClusterPolicyResource ¶ added in v0.8.0
type EventGatewayClusterPolicyResource struct {
kkComps.EventGatewayClusterPolicyModify `yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent Event Gateway Virtual Cluster reference (for root-level definitions)
VirtualCluster string `yaml:"virtual_cluster,omitempty" json:"virtual_cluster,omitempty"`
EventGateway string `yaml:"event_gateway,omitempty" json:"event_gateway,omitempty"`
// contains filtered or unexported fields
}
EventGatewayClusterPolicyResource represents a cluster-level policy in declarative configuration. The SDK represents cluster policies as a union type (EventGatewayClusterPolicyModify) with acls and request_rule_validator variants.
func (EventGatewayClusterPolicyResource) GetDependencies ¶ added in v0.8.0
func (e EventGatewayClusterPolicyResource) GetDependencies() []ResourceRef
func (EventGatewayClusterPolicyResource) GetKonnectID ¶ added in v0.8.0
func (e EventGatewayClusterPolicyResource) GetKonnectID() string
func (EventGatewayClusterPolicyResource) GetKonnectMonikerFilter ¶ added in v0.8.0
func (e EventGatewayClusterPolicyResource) GetKonnectMonikerFilter() string
func (EventGatewayClusterPolicyResource) GetMoniker ¶ added in v0.8.0
func (e EventGatewayClusterPolicyResource) GetMoniker() string
GetMoniker returns the name of the policy from whichever union variant is set.
func (EventGatewayClusterPolicyResource) GetParentRef ¶ added in v0.8.0
func (e EventGatewayClusterPolicyResource) GetParentRef() *ResourceRef
REQUIRED: Implement ResourceWithParent
func (EventGatewayClusterPolicyResource) GetRef ¶ added in v0.8.0
func (e EventGatewayClusterPolicyResource) GetRef() string
func (EventGatewayClusterPolicyResource) GetType ¶ added in v0.8.0
func (e EventGatewayClusterPolicyResource) GetType() ResourceType
func (EventGatewayClusterPolicyResource) MarshalJSON ¶ added in v0.8.0
func (e EventGatewayClusterPolicyResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures cluster policy metadata (ref, virtual_cluster) are included. Without this, the embedded union type's MarshalJSON is promoted and drops our metadata fields.
func (*EventGatewayClusterPolicyResource) SetDefaults ¶ added in v0.8.0
func (e *EventGatewayClusterPolicyResource) SetDefaults()
func (*EventGatewayClusterPolicyResource) TryMatchKonnectResource ¶ added in v0.8.0
func (e *EventGatewayClusterPolicyResource) TryMatchKonnectResource(konnectResource any) bool
func (*EventGatewayClusterPolicyResource) UnmarshalJSON ¶ added in v0.8.0
func (e *EventGatewayClusterPolicyResource) UnmarshalJSON(data []byte) error
UnmarshalJSON handles the union type correctly. It rejects kongctl metadata and delegates to the SDK union type for the policy body. The SDK union type requires a "type" discriminator field to determine which variant to use: acls or request_rule_validator.
func (EventGatewayClusterPolicyResource) Validate ¶ added in v0.8.0
func (e EventGatewayClusterPolicyResource) Validate() error
type EventGatewayConsumePolicyResource ¶ added in v0.8.0
type EventGatewayConsumePolicyResource struct {
kkComps.EventGatewayConsumePolicyCreate ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent Virtual Cluster reference (for root-level definitions)
VirtualCluster string `yaml:"virtual_cluster,omitempty" json:"virtual_cluster,omitempty"`
EventGateway string `yaml:"event_gateway,omitempty" json:"event_gateway,omitempty"`
// contains filtered or unexported fields
}
EventGatewayConsumePolicyResource represents a consume policy in declarative configuration. Consume policies are grandchildren: Event Gateway → Virtual Cluster → Consume Policy. The SDK represents consume policies as a discriminated union type (EventGatewayConsumePolicyCreate) with variants: modify_headers, schema_validation, decrypt, skip_record, decrypt_fields, transcode, mask_fields. The "type" discriminator field is required.
func (EventGatewayConsumePolicyResource) GetDependencies ¶ added in v0.8.0
func (e EventGatewayConsumePolicyResource) GetDependencies() []ResourceRef
func (EventGatewayConsumePolicyResource) GetKonnectID ¶ added in v0.8.0
func (e EventGatewayConsumePolicyResource) GetKonnectID() string
func (EventGatewayConsumePolicyResource) GetKonnectMonikerFilter ¶ added in v0.8.0
func (e EventGatewayConsumePolicyResource) GetKonnectMonikerFilter() string
func (EventGatewayConsumePolicyResource) GetMoniker ¶ added in v0.8.0
func (e EventGatewayConsumePolicyResource) GetMoniker() string
GetMoniker returns the name of the policy from whichever union variant is set.
func (EventGatewayConsumePolicyResource) GetParentRef ¶ added in v0.8.0
func (e EventGatewayConsumePolicyResource) GetParentRef() *ResourceRef
REQUIRED: Implement ResourceWithParent
func (EventGatewayConsumePolicyResource) GetRef ¶ added in v0.8.0
func (e EventGatewayConsumePolicyResource) GetRef() string
func (EventGatewayConsumePolicyResource) GetType ¶ added in v0.8.0
func (e EventGatewayConsumePolicyResource) GetType() ResourceType
func (EventGatewayConsumePolicyResource) MarshalJSON ¶ added in v0.8.0
func (e EventGatewayConsumePolicyResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures consume policy metadata (ref, virtual_cluster, event_gateway) are included in the serialized output.
func (*EventGatewayConsumePolicyResource) SetDefaults ¶ added in v0.8.0
func (e *EventGatewayConsumePolicyResource) SetDefaults()
func (*EventGatewayConsumePolicyResource) TryMatchKonnectResource ¶ added in v0.8.0
func (e *EventGatewayConsumePolicyResource) TryMatchKonnectResource(konnectResource any) bool
func (*EventGatewayConsumePolicyResource) UnmarshalJSON ¶ added in v0.8.0
func (e *EventGatewayConsumePolicyResource) UnmarshalJSON(data []byte) error
UnmarshalJSON handles the union type correctly. It rejects kongctl metadata and delegates to the SDK union type for the policy body. The SDK union type requires a "type" discriminator field to determine which variant to use:
- "modify_headers" → EventGatewayModifyHeadersPolicyCreate
- "schema_validation" → EventGatewayConsumeSchemaValidationPolicy
- "decrypt" → EventGatewayDecryptPolicy
- "skip_record" → EventGatewaySkipRecordPolicyCreate
- "decrypt_fields" → EventGatewayParsedRecordDecryptFieldsPolicyCreate
- "transcode" → EventGatewayParsedRecordTranscodeConsumePolicyCreate
- "mask_fields" → EventGatewayParsedRecordMaskFieldsConsumePolicyCreate
func (EventGatewayConsumePolicyResource) Validate ¶ added in v0.8.0
func (e EventGatewayConsumePolicyResource) Validate() error
type EventGatewayControlPlaneResource ¶ added in v0.3.7
type EventGatewayControlPlaneResource struct {
BaseResource
kkComps.CreateGatewayRequest `yaml:",inline" json:",inline"`
// Nested child resources
BackendClusters []EventGatewayBackendClusterResource `yaml:"backend_clusters,omitempty" json:"backend_clusters,omitempty"` //nolint:lll
VirtualClusters []EventGatewayVirtualClusterResource `yaml:"virtual_clusters,omitempty" json:"virtual_clusters,omitempty"` //nolint:lll
Listeners []EventGatewayListenerResource `yaml:"listeners,omitempty" json:"listeners,omitempty"` //nolint:lll
DataPlaneCertificates []EventGatewayDataPlaneCertificateResource `yaml:"data_plane_certificates,omitempty" json:"data_plane_certificates,omitempty"` //nolint:lll
SchemaRegistries []EventGatewaySchemaRegistryResource `yaml:"schema_registries,omitempty" json:"schema_registries,omitempty"` //nolint:lll
StaticKeys []EventGatewayStaticKeyResource `yaml:"static_keys,omitempty" json:"static_keys,omitempty"` //nolint:lll
TrustBundles []EventGatewayTLSTrustBundleResource `yaml:"tls_trust_bundles,omitempty" json:"tls_trust_bundles,omitempty"` //nolint:lll
// External resource marker
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
}
func (EventGatewayControlPlaneResource) GetDependencies ¶ added in v0.3.7
func (e EventGatewayControlPlaneResource) GetDependencies() []ResourceRef
func (*EventGatewayControlPlaneResource) GetExternalBlock ¶ added in v1.8.0
func (e *EventGatewayControlPlaneResource) GetExternalBlock() *ExternalBlock
func (EventGatewayControlPlaneResource) GetKonnectMonikerFilter ¶ added in v0.3.7
func (e EventGatewayControlPlaneResource) GetKonnectMonikerFilter() string
func (EventGatewayControlPlaneResource) GetLabels ¶ added in v0.3.7
func (e EventGatewayControlPlaneResource) GetLabels() map[string]string
func (EventGatewayControlPlaneResource) GetMoniker ¶ added in v0.3.7
func (e EventGatewayControlPlaneResource) GetMoniker() string
func (EventGatewayControlPlaneResource) GetType ¶ added in v0.3.7
func (e EventGatewayControlPlaneResource) GetType() ResourceType
func (*EventGatewayControlPlaneResource) IsExternal ¶ added in v1.4.1
func (e *EventGatewayControlPlaneResource) IsExternal() bool
IsExternal returns true if this Event Gateway is externally managed.
func (*EventGatewayControlPlaneResource) SetDefaults ¶ added in v0.3.7
func (e *EventGatewayControlPlaneResource) SetDefaults()
func (*EventGatewayControlPlaneResource) SetLabels ¶ added in v0.3.7
func (e *EventGatewayControlPlaneResource) SetLabels(labels map[string]string)
func (*EventGatewayControlPlaneResource) TryMatchKonnectResource ¶ added in v0.3.7
func (e *EventGatewayControlPlaneResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource.
func (EventGatewayControlPlaneResource) Validate ¶ added in v0.3.7
func (e EventGatewayControlPlaneResource) Validate() error
type EventGatewayDataPlaneCertificateResource ¶ added in v0.6.0
type EventGatewayDataPlaneCertificateResource struct {
kkComps.CreateEventGatewayDataPlaneCertificateRequest ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent Event Gateway reference (for root-level definitions)
EventGateway string `yaml:"event_gateway,omitempty" json:"event_gateway,omitempty"`
// contains filtered or unexported fields
}
func (EventGatewayDataPlaneCertificateResource) GetDependencies ¶ added in v0.6.0
func (e EventGatewayDataPlaneCertificateResource) GetDependencies() []ResourceRef
func (EventGatewayDataPlaneCertificateResource) GetKonnectID ¶ added in v0.6.0
func (e EventGatewayDataPlaneCertificateResource) GetKonnectID() string
func (EventGatewayDataPlaneCertificateResource) GetKonnectMonikerFilter ¶ added in v0.6.0
func (e EventGatewayDataPlaneCertificateResource) GetKonnectMonikerFilter() string
func (EventGatewayDataPlaneCertificateResource) GetMoniker ¶ added in v0.6.0
func (e EventGatewayDataPlaneCertificateResource) GetMoniker() string
func (EventGatewayDataPlaneCertificateResource) GetParentRef ¶ added in v0.6.0
func (e EventGatewayDataPlaneCertificateResource) GetParentRef() *ResourceRef
REQUIRED: Implement ResourceWithParent
func (EventGatewayDataPlaneCertificateResource) GetRef ¶ added in v0.6.0
func (e EventGatewayDataPlaneCertificateResource) GetRef() string
func (EventGatewayDataPlaneCertificateResource) GetType ¶ added in v0.6.0
func (e EventGatewayDataPlaneCertificateResource) GetType() ResourceType
func (EventGatewayDataPlaneCertificateResource) MarshalJSON ¶ added in v0.6.0
func (e EventGatewayDataPlaneCertificateResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures certificate metadata (ref, event_gateway) are included. Without this, the embedded CreateEventGatewayDataPlaneCertificateRequest's MarshalJSON is promoted and drops metadata fields.
func (*EventGatewayDataPlaneCertificateResource) SetDefaults ¶ added in v0.6.0
func (e *EventGatewayDataPlaneCertificateResource) SetDefaults()
func (*EventGatewayDataPlaneCertificateResource) TryMatchKonnectResource ¶ added in v0.6.0
func (e *EventGatewayDataPlaneCertificateResource) TryMatchKonnectResource(konnectResource any) bool
func (*EventGatewayDataPlaneCertificateResource) UnmarshalJSON ¶ added in v0.6.0
func (e *EventGatewayDataPlaneCertificateResource) UnmarshalJSON(data []byte) error
Custom JSON unmarshaling to reject kongctl metadata
func (EventGatewayDataPlaneCertificateResource) Validate ¶ added in v0.6.0
func (e EventGatewayDataPlaneCertificateResource) Validate() error
type EventGatewayListenerPolicyResource ¶ added in v0.5.0
type EventGatewayListenerPolicyResource struct {
kkComps.EventGatewayListenerPolicyCreate ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent Event Gateway Listener reference (for root-level definitions)
EventGatewayListener string `yaml:"listener,omitempty" json:"listener,omitempty"`
EventGateway string `yaml:"event_gateway,omitempty" json:"event_gateway,omitempty"`
// contains filtered or unexported fields
}
EventGatewayListenerPolicyResource represents a listener policy in declarative configuration. The SDK represents listener policies as a union type (EventGatewayListenerPolicyCreate) with two variants: TLSServer and ForwardToVirtualCluster.
func (EventGatewayListenerPolicyResource) GetDependencies ¶ added in v0.5.0
func (e EventGatewayListenerPolicyResource) GetDependencies() []ResourceRef
func (EventGatewayListenerPolicyResource) GetKonnectID ¶ added in v0.5.0
func (e EventGatewayListenerPolicyResource) GetKonnectID() string
func (EventGatewayListenerPolicyResource) GetKonnectMonikerFilter ¶ added in v0.5.0
func (e EventGatewayListenerPolicyResource) GetKonnectMonikerFilter() string
func (EventGatewayListenerPolicyResource) GetMoniker ¶ added in v0.5.0
func (e EventGatewayListenerPolicyResource) GetMoniker() string
GetMoniker returns the name of the policy from whichever union variant is set.
func (EventGatewayListenerPolicyResource) GetParentRef ¶ added in v0.5.0
func (e EventGatewayListenerPolicyResource) GetParentRef() *ResourceRef
REQUIRED: Implement ResourceWithParent
func (EventGatewayListenerPolicyResource) GetRef ¶ added in v0.5.0
func (e EventGatewayListenerPolicyResource) GetRef() string
func (EventGatewayListenerPolicyResource) GetType ¶ added in v0.5.0
func (e EventGatewayListenerPolicyResource) GetType() ResourceType
func (EventGatewayListenerPolicyResource) MarshalJSON ¶ added in v0.5.0
func (e EventGatewayListenerPolicyResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures listener policy metadata (ref, event_gateway_listener) are included. Without this, the embedded union type's MarshalJSON is promoted and drops our metadata fields.
func (*EventGatewayListenerPolicyResource) SetDefaults ¶ added in v0.5.0
func (e *EventGatewayListenerPolicyResource) SetDefaults()
func (*EventGatewayListenerPolicyResource) TryMatchKonnectResource ¶ added in v0.5.0
func (e *EventGatewayListenerPolicyResource) TryMatchKonnectResource(konnectResource any) bool
func (*EventGatewayListenerPolicyResource) UnmarshalJSON ¶ added in v0.5.0
func (e *EventGatewayListenerPolicyResource) UnmarshalJSON(data []byte) error
UnmarshalJSON handles the union type correctly. It rejects kongctl metadata and delegates to the SDK union type for the policy body. The SDK union type requires a "type" discriminator field to determine which variant (tls_server or forward_to_virtual_cluster) to use. For forward_to_virtual_cluster policies, the config must also have a "type" field ("sni" or "port_mapping") since ForwardToVirtualClusterPolicyConfig is also a union type.
func (EventGatewayListenerPolicyResource) Validate ¶ added in v0.5.0
func (e EventGatewayListenerPolicyResource) Validate() error
type EventGatewayListenerResource ¶ added in v0.5.0
type EventGatewayListenerResource struct {
kkComps.CreateEventGatewayListenerRequest ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent Event Gateway reference (for root-level definitions)
EventGateway string `yaml:"event_gateway,omitempty" json:"event_gateway,omitempty"`
// Nested child resources
Policies []EventGatewayListenerPolicyResource `yaml:"policies,omitempty" json:"policies,omitempty"`
// contains filtered or unexported fields
}
func (EventGatewayListenerResource) GetDependencies ¶ added in v0.5.0
func (e EventGatewayListenerResource) GetDependencies() []ResourceRef
func (EventGatewayListenerResource) GetKonnectID ¶ added in v0.5.0
func (e EventGatewayListenerResource) GetKonnectID() string
func (EventGatewayListenerResource) GetKonnectMonikerFilter ¶ added in v0.5.0
func (e EventGatewayListenerResource) GetKonnectMonikerFilter() string
func (EventGatewayListenerResource) GetMoniker ¶ added in v0.5.0
func (e EventGatewayListenerResource) GetMoniker() string
func (EventGatewayListenerResource) GetParentRef ¶ added in v0.5.0
func (e EventGatewayListenerResource) GetParentRef() *ResourceRef
REQUIRED: Implement ResourceWithParent
func (EventGatewayListenerResource) GetRef ¶ added in v0.5.0
func (e EventGatewayListenerResource) GetRef() string
func (EventGatewayListenerResource) GetType ¶ added in v0.5.0
func (e EventGatewayListenerResource) GetType() ResourceType
func (EventGatewayListenerResource) MarshalJSON ¶ added in v0.5.0
func (e EventGatewayListenerResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures listener metadata (ref, event_gateway, policies) are included. Without this, the embedded CreateEventGatewayListenerRequest's MarshalJSON is promoted and drops metadata fields.
func (*EventGatewayListenerResource) SetDefaults ¶ added in v0.5.0
func (e *EventGatewayListenerResource) SetDefaults()
func (*EventGatewayListenerResource) TryMatchKonnectResource ¶ added in v0.5.0
func (e *EventGatewayListenerResource) TryMatchKonnectResource(konnectResource any) bool
func (*EventGatewayListenerResource) UnmarshalJSON ¶ added in v0.5.0
func (e *EventGatewayListenerResource) UnmarshalJSON(data []byte) error
Custom JSON unmarshaling to reject kongctl metadata
func (EventGatewayListenerResource) Validate ¶ added in v0.5.0
func (e EventGatewayListenerResource) Validate() error
type EventGatewayProducePolicyResource ¶ added in v0.8.0
type EventGatewayProducePolicyResource struct {
kkComps.EventGatewayProducePolicyCreate ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent Event Gateway Virtual Cluster reference (for root-level definitions)
VirtualCluster string `yaml:"virtual_cluster,omitempty" json:"virtual_cluster,omitempty"`
EventGateway string `yaml:"event_gateway,omitempty" json:"event_gateway,omitempty"`
// contains filtered or unexported fields
}
EventGatewayProducePolicyResource represents a produce policy in declarative configuration. The SDK represents produce policies as a union type (EventGatewayProducePolicyCreate) with variants: modify_headers, schema_validation, encrypt, encrypt_fields, transcode, and mask_fields.
func (EventGatewayProducePolicyResource) GetDependencies ¶ added in v0.8.0
func (e EventGatewayProducePolicyResource) GetDependencies() []ResourceRef
func (EventGatewayProducePolicyResource) GetKonnectID ¶ added in v0.8.0
func (e EventGatewayProducePolicyResource) GetKonnectID() string
func (EventGatewayProducePolicyResource) GetKonnectMonikerFilter ¶ added in v0.8.0
func (e EventGatewayProducePolicyResource) GetKonnectMonikerFilter() string
func (EventGatewayProducePolicyResource) GetMoniker ¶ added in v0.8.0
func (e EventGatewayProducePolicyResource) GetMoniker() string
GetMoniker returns the name of the policy from whichever union variant is set.
func (EventGatewayProducePolicyResource) GetParentRef ¶ added in v0.8.0
func (e EventGatewayProducePolicyResource) GetParentRef() *ResourceRef
REQUIRED: Implement ResourceWithParent
func (EventGatewayProducePolicyResource) GetRef ¶ added in v0.8.0
func (e EventGatewayProducePolicyResource) GetRef() string
func (EventGatewayProducePolicyResource) GetType ¶ added in v0.8.0
func (e EventGatewayProducePolicyResource) GetType() ResourceType
func (EventGatewayProducePolicyResource) MarshalJSON ¶ added in v0.8.0
func (e EventGatewayProducePolicyResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures produce policy metadata (ref, virtual_cluster) are included. Without this, the embedded union type's MarshalJSON is promoted and drops our metadata fields.
func (*EventGatewayProducePolicyResource) SetDefaults ¶ added in v0.8.0
func (e *EventGatewayProducePolicyResource) SetDefaults()
func (*EventGatewayProducePolicyResource) TryMatchKonnectResource ¶ added in v0.8.0
func (e *EventGatewayProducePolicyResource) TryMatchKonnectResource(konnectResource any) bool
func (*EventGatewayProducePolicyResource) UnmarshalJSON ¶ added in v0.8.0
func (e *EventGatewayProducePolicyResource) UnmarshalJSON(data []byte) error
UnmarshalJSON handles the union type correctly. It rejects kongctl metadata and delegates to the SDK union type for the policy body. The SDK union type requires a "type" discriminator field to determine which variant to use. Supported types: modify_headers, schema_validation, encrypt, encrypt_fields, transcode, mask_fields.
func (EventGatewayProducePolicyResource) Validate ¶ added in v0.8.0
func (e EventGatewayProducePolicyResource) Validate() error
type EventGatewaySchemaRegistryResource ¶ added in v0.8.0
type EventGatewaySchemaRegistryResource struct {
kkComps.SchemaRegistryCreate `yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent Event Gateway reference (for root-level definitions)
EventGateway string `yaml:"event_gateway,omitempty" json:"event_gateway,omitempty"`
// contains filtered or unexported fields
}
EventGatewaySchemaRegistryResource represents a schema registry in declarative configuration. The SDK represents schema registries as a union type (SchemaRegistryCreate) with the "confluent" variant (SchemaRegistryConfluent).
func (EventGatewaySchemaRegistryResource) GetDependencies ¶ added in v0.8.0
func (e EventGatewaySchemaRegistryResource) GetDependencies() []ResourceRef
func (EventGatewaySchemaRegistryResource) GetKonnectID ¶ added in v0.8.0
func (e EventGatewaySchemaRegistryResource) GetKonnectID() string
func (EventGatewaySchemaRegistryResource) GetKonnectMonikerFilter ¶ added in v0.8.0
func (e EventGatewaySchemaRegistryResource) GetKonnectMonikerFilter() string
func (EventGatewaySchemaRegistryResource) GetMoniker ¶ added in v0.8.0
func (e EventGatewaySchemaRegistryResource) GetMoniker() string
GetMoniker returns the name of the schema registry from whichever union variant is set.
func (EventGatewaySchemaRegistryResource) GetParentRef ¶ added in v0.8.0
func (e EventGatewaySchemaRegistryResource) GetParentRef() *ResourceRef
REQUIRED: Implement ResourceWithParent
func (EventGatewaySchemaRegistryResource) GetRef ¶ added in v0.8.0
func (e EventGatewaySchemaRegistryResource) GetRef() string
func (EventGatewaySchemaRegistryResource) GetType ¶ added in v0.8.0
func (e EventGatewaySchemaRegistryResource) GetType() ResourceType
func (EventGatewaySchemaRegistryResource) MarshalJSON ¶ added in v0.8.0
func (e EventGatewaySchemaRegistryResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures schema registry metadata (ref, event_gateway) are included along with the union body. Without this, the embedded SchemaRegistryCreate's MarshalJSON is promoted and drops our metadata fields.
func (*EventGatewaySchemaRegistryResource) SetDefaults ¶ added in v0.8.0
func (e *EventGatewaySchemaRegistryResource) SetDefaults()
func (*EventGatewaySchemaRegistryResource) TryMatchKonnectResource ¶ added in v0.8.0
func (e *EventGatewaySchemaRegistryResource) TryMatchKonnectResource(konnectResource any) bool
func (*EventGatewaySchemaRegistryResource) UnmarshalJSON ¶ added in v0.8.0
func (e *EventGatewaySchemaRegistryResource) UnmarshalJSON(data []byte) error
UnmarshalJSON handles the union type correctly. It rejects kongctl metadata and delegates to the SDK union type for the registry body. The SDK union type requires a "type" discriminator field to determine which variant to use. Currently only "confluent" type is supported.
func (EventGatewaySchemaRegistryResource) Validate ¶ added in v0.8.0
func (e EventGatewaySchemaRegistryResource) Validate() error
type EventGatewayStaticKeyResource ¶ added in v0.8.0
type EventGatewayStaticKeyResource struct {
kkComps.EventGatewayStaticKeyCreate `yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent Event Gateway reference (for root-level definitions)
EventGateway string `yaml:"event_gateway,omitempty" json:"event_gateway,omitempty"`
// contains filtered or unexported fields
}
EventGatewayStaticKeyResource represents an Event Gateway Static Key resource. Static keys are used by Encrypt and Decrypt policies to encrypt data at rest. This resource does not support update operations – changes are implemented as delete + create.
func (EventGatewayStaticKeyResource) GetDependencies ¶ added in v0.8.0
func (e EventGatewayStaticKeyResource) GetDependencies() []ResourceRef
func (EventGatewayStaticKeyResource) GetKonnectID ¶ added in v0.8.0
func (e EventGatewayStaticKeyResource) GetKonnectID() string
func (EventGatewayStaticKeyResource) GetKonnectMonikerFilter ¶ added in v0.8.0
func (e EventGatewayStaticKeyResource) GetKonnectMonikerFilter() string
func (EventGatewayStaticKeyResource) GetMoniker ¶ added in v0.8.0
func (e EventGatewayStaticKeyResource) GetMoniker() string
func (EventGatewayStaticKeyResource) GetParentRef ¶ added in v0.8.0
func (e EventGatewayStaticKeyResource) GetParentRef() *ResourceRef
GetParentRef REQUIRED: marks resource as a child of Event Gateway.
func (EventGatewayStaticKeyResource) GetRef ¶ added in v0.8.0
func (e EventGatewayStaticKeyResource) GetRef() string
func (EventGatewayStaticKeyResource) GetType ¶ added in v0.8.0
func (e EventGatewayStaticKeyResource) GetType() ResourceType
func (EventGatewayStaticKeyResource) MarshalJSON ¶ added in v0.8.0
func (e EventGatewayStaticKeyResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures static key metadata (ref, event_gateway) are included. Without this, the embedded EventGatewayStaticKeyCreate's MarshalJSON is promoted and drops metadata fields.
func (*EventGatewayStaticKeyResource) SetDefaults ¶ added in v0.8.0
func (e *EventGatewayStaticKeyResource) SetDefaults()
func (*EventGatewayStaticKeyResource) TryMatchKonnectResource ¶ added in v0.8.0
func (e *EventGatewayStaticKeyResource) TryMatchKonnectResource(konnectResource any) bool
func (*EventGatewayStaticKeyResource) UnmarshalJSON ¶ added in v0.8.0
func (e *EventGatewayStaticKeyResource) UnmarshalJSON(data []byte) error
UnmarshalJSON rejects kongctl metadata (not supported on child resources).
func (EventGatewayStaticKeyResource) Validate ¶ added in v0.8.0
func (e EventGatewayStaticKeyResource) Validate() error
type EventGatewayTLSTrustBundleResource ¶ added in v0.8.0
type EventGatewayTLSTrustBundleResource struct {
kkComps.CreateTLSTrustBundleRequest `yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent Event Gateway reference (for root-level definitions)
EventGateway string `yaml:"event_gateway,omitempty" json:"event_gateway,omitempty"`
// contains filtered or unexported fields
}
EventGatewayTLSTrustBundleResource represents an Event Gateway TLS Trust Bundle resource. Trust bundles define trusted certificate authorities used for mTLS client certificate verification. They are referenced by TLS listener policies. This resource supports update operations.
func (EventGatewayTLSTrustBundleResource) GetDependencies ¶ added in v0.8.0
func (e EventGatewayTLSTrustBundleResource) GetDependencies() []ResourceRef
func (EventGatewayTLSTrustBundleResource) GetKonnectID ¶ added in v0.8.0
func (e EventGatewayTLSTrustBundleResource) GetKonnectID() string
func (EventGatewayTLSTrustBundleResource) GetKonnectMonikerFilter ¶ added in v0.8.0
func (e EventGatewayTLSTrustBundleResource) GetKonnectMonikerFilter() string
func (EventGatewayTLSTrustBundleResource) GetMoniker ¶ added in v0.8.0
func (e EventGatewayTLSTrustBundleResource) GetMoniker() string
func (EventGatewayTLSTrustBundleResource) GetParentRef ¶ added in v0.8.0
func (e EventGatewayTLSTrustBundleResource) GetParentRef() *ResourceRef
GetParentRef REQUIRED: marks resource as a child of Event Gateway.
func (EventGatewayTLSTrustBundleResource) GetRef ¶ added in v0.8.0
func (e EventGatewayTLSTrustBundleResource) GetRef() string
func (EventGatewayTLSTrustBundleResource) GetType ¶ added in v0.8.0
func (e EventGatewayTLSTrustBundleResource) GetType() ResourceType
func (EventGatewayTLSTrustBundleResource) MarshalJSON ¶ added in v0.8.0
func (e EventGatewayTLSTrustBundleResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures trust bundle metadata (ref, event_gateway) are included. Without this, the embedded CreateTLSTrustBundleRequest's MarshalJSON is promoted and drops metadata fields.
func (*EventGatewayTLSTrustBundleResource) SetDefaults ¶ added in v0.8.0
func (e *EventGatewayTLSTrustBundleResource) SetDefaults()
func (*EventGatewayTLSTrustBundleResource) TryMatchKonnectResource ¶ added in v0.8.0
func (e *EventGatewayTLSTrustBundleResource) TryMatchKonnectResource(konnectResource any) bool
func (*EventGatewayTLSTrustBundleResource) UnmarshalJSON ¶ added in v0.8.0
func (e *EventGatewayTLSTrustBundleResource) UnmarshalJSON(data []byte) error
UnmarshalJSON rejects kongctl metadata (not supported on child resources).
func (EventGatewayTLSTrustBundleResource) Validate ¶ added in v0.8.0
func (e EventGatewayTLSTrustBundleResource) Validate() error
type EventGatewayVirtualClusterResource ¶ added in v0.4.0
type EventGatewayVirtualClusterResource struct {
kkComps.CreateVirtualClusterRequest ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent Event Gateway reference (for root-level definitions)
EventGateway string `yaml:"event_gateway,omitempty" json:"event_gateway,omitempty"`
// External resource marker
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
// Nested child resources
ClusterPolicies []EventGatewayClusterPolicyResource `yaml:"cluster_policies,omitempty" json:"cluster_policies,omitempty"` //nolint:lll
ProducePolicies []EventGatewayProducePolicyResource `yaml:"produce_policies,omitempty" json:"produce_policies,omitempty"` //nolint:lll
ConsumePolicies []EventGatewayConsumePolicyResource `yaml:"consume_policies,omitempty" json:"consume_policies,omitempty"` //nolint:lll
// contains filtered or unexported fields
}
func (EventGatewayVirtualClusterResource) GetDependencies ¶ added in v0.4.0
func (e EventGatewayVirtualClusterResource) GetDependencies() []ResourceRef
func (*EventGatewayVirtualClusterResource) GetExternalBlock ¶ added in v1.8.0
func (e *EventGatewayVirtualClusterResource) GetExternalBlock() *ExternalBlock
func (EventGatewayVirtualClusterResource) GetKonnectID ¶ added in v0.4.0
func (e EventGatewayVirtualClusterResource) GetKonnectID() string
func (EventGatewayVirtualClusterResource) GetKonnectMonikerFilter ¶ added in v0.4.0
func (e EventGatewayVirtualClusterResource) GetKonnectMonikerFilter() string
func (EventGatewayVirtualClusterResource) GetMoniker ¶ added in v0.4.0
func (e EventGatewayVirtualClusterResource) GetMoniker() string
func (EventGatewayVirtualClusterResource) GetParentRef ¶ added in v0.4.0
func (e EventGatewayVirtualClusterResource) GetParentRef() *ResourceRef
REQUIRED: Implement ResourceWithParent
func (EventGatewayVirtualClusterResource) GetRef ¶ added in v0.4.0
func (e EventGatewayVirtualClusterResource) GetRef() string
func (EventGatewayVirtualClusterResource) GetType ¶ added in v0.4.0
func (e EventGatewayVirtualClusterResource) GetType() ResourceType
func (*EventGatewayVirtualClusterResource) IsExternal ¶ added in v1.4.1
func (e *EventGatewayVirtualClusterResource) IsExternal() bool
IsExternal returns true if this virtual cluster is externally managed.
func (EventGatewayVirtualClusterResource) MarshalJSON ¶ added in v0.5.0
func (e EventGatewayVirtualClusterResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures virtual cluster metadata (ref, event_gateway) are included. Without this, the embedded CreateVirtualClusterRequest's MarshalJSON is promoted and drops metadata fields.
func (*EventGatewayVirtualClusterResource) SetDefaults ¶ added in v0.4.0
func (e *EventGatewayVirtualClusterResource) SetDefaults()
func (*EventGatewayVirtualClusterResource) SetKonnectID ¶ added in v1.4.1
func (e *EventGatewayVirtualClusterResource) SetKonnectID(id string)
func (*EventGatewayVirtualClusterResource) TryMatchKonnectResource ¶ added in v0.4.0
func (e *EventGatewayVirtualClusterResource) TryMatchKonnectResource(konnectResource any) bool
func (*EventGatewayVirtualClusterResource) UnmarshalJSON ¶ added in v0.4.0
func (e *EventGatewayVirtualClusterResource) UnmarshalJSON(data []byte) error
Custom JSON unmarshaling to reject kongctl metadata
func (EventGatewayVirtualClusterResource) Validate ¶ added in v0.4.0
func (e EventGatewayVirtualClusterResource) Validate() error
type ExplainBuildContext ¶ added in v0.8.0
type ExplainBuildContext struct {
ResourceType ResourceType
Registration ExplainRegistration
}
type ExplainDoc ¶ added in v0.8.0
type ExplainDoc struct {
ResourceType ResourceType `json:"resource_type" yaml:"resource_type"`
CanonicalAlias string `json:"canonical_alias" yaml:"canonical_alias"`
Aliases []string `json:"aliases,omitempty" yaml:"aliases,omitempty"`
ResourceClass string `json:"resource_class" yaml:"resource_class"`
RootKey string `json:"root_key,omitempty" yaml:"root_key,omitempty"`
SupportsRoot bool `json:"supports_root" yaml:"supports_root"`
SupportsNestedDeclaration bool `json:"supports_nested_declaration" yaml:"supports_nested_declaration"`
NestedRelations []ExplainRelation `json:"nested_relations,omitempty" yaml:"nested_relations,omitempty"`
ParentRelations []ExplainRelation `json:"parent_relations,omitempty" yaml:"parent_relations,omitempty"`
SupportsKongctl bool `json:"supports_kongctl" yaml:"supports_kongctl"`
Maturity ExplainMaturity `json:"maturity" yaml:"maturity"`
Schema *ExplainNode `json:"-" yaml:"-"`
// contains filtered or unexported fields
}
type ExplainField ¶ added in v0.8.0
type ExplainField struct {
Name string
Node *ExplainNode
Required bool
Recommended bool
}
type ExplainFieldHint ¶ added in v0.8.0
type ExplainMaturity ¶ added in v1.5.0
type ExplainMaturity struct {
Level capmaturity.Level `json:"level" yaml:"level"`
Message string `json:"message,omitempty" yaml:"message,omitempty"`
ReferenceURL string `json:"reference_url,omitempty" yaml:"reference_url,omitempty"`
Operations map[string]capmaturity.Metadata `json:"operations" yaml:"operations"`
}
ExplainMaturity is the machine-readable resource maturity schema extension.
type ExplainNode ¶ added in v0.8.0
type ExplainNode struct {
Kind string
Description string
Default any
DefaultFrom string
Enum []any
Const any
Nullable bool
Recommended bool
PreferredTag string
RefKind string
Relationship *ExplainRelationship
Notes []string
Literal string
Properties []*ExplainField
Items *ExplainNode
Additional *ExplainNode
OneOf []*ExplainNode
// contains filtered or unexported fields
}
type ExplainOption ¶ added in v0.8.0
type ExplainOption func(*ExplainRegistration)
func WithExplainAliases ¶ added in v0.8.0
func WithExplainAliases(aliases ...string) ExplainOption
func WithExplainFieldHint ¶ added in v0.8.0
func WithExplainFieldHint(path string, hint ExplainFieldHint) ExplainOption
func WithExplainRecommendedFields ¶ added in v0.8.0
func WithExplainRecommendedFields(paths ...string) ExplainOption
func WithExplainSchemaBuilder ¶ added in v0.8.0
func WithExplainSchemaBuilder(fn func(ExplainBuildContext) (*ExplainNode, error)) ExplainOption
type ExplainRegistration ¶ added in v0.8.0
type ExplainRegistration struct {
// contains filtered or unexported fields
}
func AutoExplain ¶ added in v0.8.0
func AutoExplain[R any](opts ...ExplainOption) ExplainRegistration
type ExplainRelation ¶ added in v0.8.0
type ExplainRelation struct {
ParentAlias string `json:"parent_alias" yaml:"parent_alias"`
ParentType string `json:"parent_type" yaml:"parent_type"`
FieldName string `json:"field_name" yaml:"field_name"`
FieldArray bool `json:"field_array" yaml:"field_array"`
ChildAlias string `json:"child_alias" yaml:"child_alias"`
ParentRootKey string `json:"parent_root_key" yaml:"parent_root_key"`
}
type ExplainRelationship ¶ added in v1.8.0
type ExplainRelationship struct {
Target ResourceType `json:"target,omitempty" yaml:"target,omitempty"`
Targets []ResourceType `json:"targets,omitempty" yaml:"targets,omitempty"`
TargetDiscriminator string `json:"target_discriminator,omitempty" yaml:"target_discriminator,omitempty"` //nolint:lll
Kind RelationshipKind `json:"kind" yaml:"kind"`
Cardinality RelationshipCardinality `json:"cardinality" yaml:"cardinality"`
ResultField RelationshipResultField `json:"result_field" yaml:"result_field"`
AcceptedTags []string `json:"accepted_tags,omitempty" yaml:"accepted_tags,omitempty"`
Selectors []string `json:"selectors,omitempty" yaml:"selectors,omitempty"`
ScopeField string `json:"scope_field,omitempty" yaml:"scope_field,omitempty"`
RootOnly bool `json:"root_only,omitempty" yaml:"root_only,omitempty"`
}
ExplainRelationship describes the user-visible contract of a resource relationship field.
type ExplainScaffoldNode ¶ added in v0.8.0
type ExplainScaffoldNode struct {
Step ExplainScaffoldStep
Node *ExplainNode
Omit []string
}
type ExplainScaffoldStep ¶ added in v0.8.0
type ExplainSchemaPlacement ¶ added in v0.8.0
type ExplainSchemaPlacement struct {
YAMLPath string `json:"yaml_path,omitempty" yaml:"yaml_path,omitempty"`
RootYAMLPath string `json:"root_yaml_path,omitempty" yaml:"root_yaml_path,omitempty"`
NestedYAMLPath string `json:"nested_yaml_path,omitempty" yaml:"nested_yaml_path,omitempty"`
NestedYAMLPaths []string `json:"nested_yaml_paths,omitempty" yaml:"nested_yaml_paths,omitempty"`
}
type ExplainSchemaResource ¶ added in v0.8.0
type ExplainSchemaSubject ¶ added in v0.8.0
type ExplainSubject ¶ added in v0.8.0
type ExplainSubject struct {
Doc *ExplainDoc
Node *ExplainNode
DisplayPath string
FieldPath []string
FieldRelativePath []string
FieldRequired bool
FieldRecommended bool
ScaffoldSteps []ExplainScaffoldStep
ScaffoldOmit []string
ScaffoldTrail []ExplainScaffoldNode
AncestorTypes []ResourceType
ResourceTarget bool
}
func ResolveExplainSubject ¶ added in v0.8.0
func ResolveExplainSubject(path string) (*ExplainSubject, error)
type ExternalBlock ¶ added in v0.1.5
type ExternalBlock struct {
// Direct ID reference (use when you know the exact Konnect ID)
ID string `yaml:"id,omitempty" json:"id,omitempty"`
// Selector for querying by fields (use to find by name)
Selector *ExternalSelector `yaml:"selector,omitempty" json:"selector,omitempty"`
}
ExternalBlock marks a resource as externally managed
func (*ExternalBlock) IsExternal ¶ added in v0.1.5
func (e *ExternalBlock) IsExternal() bool
IsExternal returns true if this resource is externally managed
func (*ExternalBlock) Validate ¶ added in v0.1.5
func (e *ExternalBlock) Validate() error
Validate ensures the external block is properly configured
type ExternalResolutionRegistration ¶ added in v1.8.0
type ExternalResolutionRegistration struct {
Selectors []string
ParentType ResourceType
ParentFieldPath string
AllowAnyStringSelector bool
}
ExternalResolutionRegistration describes the selectors and scope supported by a resource type's external lookup adapter.
func ExternalResolutionFor ¶ added in v1.8.0
func ExternalResolutionFor(rt ResourceType) (ExternalResolutionRegistration, bool)
ExternalResolutionFor returns external lookup capability metadata.
type ExternalSelector ¶ added in v0.1.5
type ExternalSelector struct {
// Field equality matches (initially just support name)
MatchFields map[string]string `yaml:"matchFields" json:"matchFields"`
}
ExternalSelector defines field matching criteria
func (*ExternalSelector) Match ¶ added in v0.1.5
func (s *ExternalSelector) Match(konnectResource any) bool
Match checks if the given Konnect resource matches this selector
type ExternallyResolvableResource ¶ added in v1.8.0
type ExternallyResolvableResource interface {
Resource
GetExternalBlock() *ExternalBlock
SetKonnectID(string)
}
ExternallyResolvableResource is the compile-time contract for resource types that may bind an existing Konnect object through _external or an inline lookup.
type FileDefaults ¶
type FileDefaults struct {
Kongctl *KongctlMetaDefaults `yaml:"kongctl,omitempty" json:"kongctl,omitempty"`
}
FileDefaults holds file-level defaults that apply to all resources in the file
type GatewayServiceResource ¶ added in v0.2.0
type GatewayServiceResource struct {
// Service captures inline gateway service properties. It is excluded from direct
// YAML/JSON serialization because external services are declared without payloads;
// the custom UnmarshalYAML implementation below materializes this struct only when
// inline fields are present in the configuration.
Service *kkComps.Service `yaml:"-" json:"-"`
Ref string `yaml:"ref" json:"ref"`
ControlPlane string `yaml:"control_plane,omitempty" json:"control_plane,omitempty"`
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
// contains filtered or unexported fields
}
GatewayServiceResource represents a gateway service within a control plane.
func (GatewayServiceResource) GetDependencies ¶ added in v0.2.0
func (s GatewayServiceResource) GetDependencies() []ResourceRef
GetDependencies declares the resource dependencies.
func (*GatewayServiceResource) GetExternalBlock ¶ added in v1.8.0
func (s *GatewayServiceResource) GetExternalBlock() *ExternalBlock
func (GatewayServiceResource) GetKonnectID ¶ added in v0.2.0
func (s GatewayServiceResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect service ID if available.
func (GatewayServiceResource) GetKonnectMonikerFilter ¶ added in v0.2.0
func (s GatewayServiceResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect lookups.
func (GatewayServiceResource) GetMoniker ¶ added in v0.2.0
func (s GatewayServiceResource) GetMoniker() string
GetMoniker returns a human-friendly identifier (the service name when available).
func (GatewayServiceResource) GetParentRef ¶ added in v0.2.0
func (s GatewayServiceResource) GetParentRef() *ResourceRef
GetParentRef returns the parent control plane reference.
func (GatewayServiceResource) GetRef ¶ added in v0.2.0
func (s GatewayServiceResource) GetRef() string
GetRef returns the declarative reference.
func (GatewayServiceResource) GetReferenceFieldMappings ¶ added in v0.2.0
func (s GatewayServiceResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns reference validation mappings.
func (GatewayServiceResource) GetType ¶ added in v0.2.0
func (s GatewayServiceResource) GetType() ResourceType
GetType returns the resource type.
func (*GatewayServiceResource) IsExternal ¶ added in v0.2.0
func (s *GatewayServiceResource) IsExternal() bool
IsExternal returns true when the service is marked as externally managed.
func (GatewayServiceResource) ResolvedControlPlaneID ¶ added in v0.2.0
func (s GatewayServiceResource) ResolvedControlPlaneID() string
ResolvedControlPlaneID exposes the konnect control plane identifier.
func (*GatewayServiceResource) SetDefaults ¶ added in v0.2.0
func (s *GatewayServiceResource) SetDefaults()
SetDefaults applies default values where applicable.
func (*GatewayServiceResource) SetKonnectID ¶ added in v1.8.0
func (s *GatewayServiceResource) SetKonnectID(id string)
SetKonnectID binds a resolved external or managed service identity.
func (*GatewayServiceResource) SetResolvedControlPlaneID ¶ added in v0.2.0
func (s *GatewayServiceResource) SetResolvedControlPlaneID(id string)
SetResolvedControlPlaneID records the Konnect control plane ID for this service.
func (*GatewayServiceResource) TryMatchKonnectResource ¶ added in v0.2.0
func (s *GatewayServiceResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect service object.
func (*GatewayServiceResource) UnmarshalYAML ¶ added in v0.3.3
func (s *GatewayServiceResource) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML customizes decoding so external services without inline fields bypass SDK validation. Inline gateway service attributes populate the embedded SDK struct, while purely external resources leave it nil so serialization continues to emit only the external metadata.
func (GatewayServiceResource) Validate ¶ added in v0.2.0
func (s GatewayServiceResource) Validate() error
Validate ensures the resource is well-formed.
type IdentityAPIKeyFields ¶ added in v1.27.0
type IdentityAPIKeyFields struct {
Ref string `yaml:"ref" json:"ref"`
Type string `yaml:"type" json:"type"`
Name *string `yaml:"name,omitempty" json:"name,omitempty"`
ExpiresAt *time.Time `yaml:"expires_at,omitempty" json:"expires_at,omitempty"`
// contains filtered or unexported fields
}
IdentityAPIKeyFields records generated creation intent. Lifecycle authority comes from the current managed parent, never copied namespace/protection.
func (*IdentityAPIKeyFields) DeclareNoExpiration ¶ added in v1.27.0
func (k *IdentityAPIKeyFields) DeclareNoExpiration()
func (IdentityAPIKeyFields) ExpirationDeclared ¶ added in v1.27.0
func (k IdentityAPIKeyFields) ExpirationDeclared() bool
func (IdentityAPIKeyFields) GetKonnectID ¶ added in v1.27.0
func (k IdentityAPIKeyFields) GetKonnectID() string
func (IdentityAPIKeyFields) GetKonnectMonikerFilter ¶ added in v1.27.0
func (k IdentityAPIKeyFields) GetKonnectMonikerFilter() string
func (IdentityAPIKeyFields) GetMoniker ¶ added in v1.27.0
func (k IdentityAPIKeyFields) GetMoniker() string
func (IdentityAPIKeyFields) GetRef ¶ added in v1.27.0
func (k IdentityAPIKeyFields) GetRef() string
func (IdentityAPIKeyFields) NameDeclared ¶ added in v1.27.0
func (k IdentityAPIKeyFields) NameDeclared() bool
func (*IdentityAPIKeyFields) SetDefaults ¶ added in v1.27.0
func (k *IdentityAPIKeyFields) SetDefaults()
func (*IdentityAPIKeyFields) SetKonnectID ¶ added in v1.27.0
func (k *IdentityAPIKeyFields) SetKonnectID(id string)
func (*IdentityAPIKeyFields) TryMatchKonnectResource ¶ added in v1.27.0
func (k *IdentityAPIKeyFields) TryMatchKonnectResource(any) bool
func (IdentityAPIKeyFields) Validate ¶ added in v1.27.0
func (k IdentityAPIKeyFields) Validate() error
type IdentityAuthServerChild ¶ added in v1.27.0
type IdentityAuthServerChild struct {
Ref string `yaml:"ref" json:"ref"`
AuthServer string `yaml:"auth_server,omitempty" json:"auth_server,omitempty"`
Name string `yaml:"name" json:"name"`
// contains filtered or unexported fields
}
IdentityAuthServerChild inherits ownership from an explicitly managed parent.
func (IdentityAuthServerChild) GetDependencies ¶ added in v1.27.0
func (c IdentityAuthServerChild) GetDependencies() []ResourceRef
func (IdentityAuthServerChild) GetKonnectID ¶ added in v1.27.0
func (c IdentityAuthServerChild) GetKonnectID() string
func (IdentityAuthServerChild) GetKonnectMonikerFilter ¶ added in v1.27.0
func (c IdentityAuthServerChild) GetKonnectMonikerFilter() string
func (IdentityAuthServerChild) GetMoniker ¶ added in v1.27.0
func (c IdentityAuthServerChild) GetMoniker() string
func (IdentityAuthServerChild) GetParentRef ¶ added in v1.27.0
func (c IdentityAuthServerChild) GetParentRef() *ResourceRef
func (IdentityAuthServerChild) GetRef ¶ added in v1.27.0
func (c IdentityAuthServerChild) GetRef() string
func (IdentityAuthServerChild) GetReferenceFieldMappings ¶ added in v1.27.0
func (c IdentityAuthServerChild) GetReferenceFieldMappings() map[string]string
func (*IdentityAuthServerChild) SetDefaults ¶ added in v1.27.0
func (c *IdentityAuthServerChild) SetDefaults()
func (*IdentityAuthServerChild) SetKonnectID ¶ added in v1.27.0
func (c *IdentityAuthServerChild) SetKonnectID(id string)
func (*IdentityAuthServerChild) TryMatchKonnectResource ¶ added in v1.27.0
func (c *IdentityAuthServerChild) TryMatchKonnectResource(value any) bool
func (IdentityAuthServerChild) Validate ¶ added in v1.27.0
func (c IdentityAuthServerChild) Validate() error
type IdentityAuthServerClaimResource ¶ added in v1.27.0
type IdentityAuthServerClaimResource struct {
IdentityAuthServerChild `yaml:",inline" json:",inline"`
Value string `yaml:"value" json:"value"`
IncludeInToken *bool `yaml:"include_in_token,omitempty" json:"include_in_token,omitempty"`
IncludeInAllScopes *bool `yaml:"include_in_all_scopes,omitempty" json:"include_in_all_scopes,omitempty"`
IncludeInScopes []string `yaml:"include_in_scopes,omitempty" json:"include_in_scopes,omitzero"`
Enabled *bool `yaml:"enabled,omitempty" json:"enabled,omitempty"`
}
func (IdentityAuthServerClaimResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (c IdentityAuthServerClaimResource) GetReferenceFieldMappings() map[string]string
func (IdentityAuthServerClaimResource) GetType ¶ added in v1.27.0
func (c IdentityAuthServerClaimResource) GetType() ResourceType
func (IdentityAuthServerClaimResource) Validate ¶ added in v1.27.0
func (c IdentityAuthServerClaimResource) Validate() error
type IdentityAuthServerClientResource ¶ added in v1.27.0
type IdentityAuthServerClientResource struct {
BaseResource `yaml:",inline" json:",inline"`
AuthServer string `yaml:"auth_server,omitempty" json:"auth_server,omitempty"` //nolint:lll
Name string `yaml:"name" json:"name"` //nolint:lll
GrantTypes []kkComps.GrantType `yaml:"grant_types" json:"grant_types"` //nolint:lll
ResponseTypes []kkComps.ResponseType `yaml:"response_types" json:"response_types"` //nolint:lll
RedirectURIs []string `yaml:"redirect_uris,omitempty" json:"redirect_uris,omitzero"` //nolint:lll
LoginURI *string `yaml:"login_uri,omitempty" json:"login_uri,omitempty"` //nolint:lll
AccessTokenDuration *int64 `yaml:"access_token_duration,omitempty" json:"access_token_duration,omitempty"` //nolint:lll
IDTokenDuration *int64 `yaml:"id_token_duration,omitempty" json:"id_token_duration,omitempty"` //nolint:lll
AllowAllScopes *bool `yaml:"allow_all_scopes,omitempty" json:"allow_all_scopes,omitempty"` //nolint:lll
AllowScopes []string `yaml:"allow_scopes,omitempty" json:"allow_scopes,omitzero"` //nolint:lll
TokenEndpointAuthMethod *kkComps.TokenEndpointAuthMethod `yaml:"token_endpoint_auth_method,omitempty" json:"token_endpoint_auth_method,omitempty"` //nolint:lll
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitzero"` //nolint:lll
}
func (IdentityAuthServerClientResource) GetDependencies ¶ added in v1.27.0
func (c IdentityAuthServerClientResource) GetDependencies() []ResourceRef
func (IdentityAuthServerClientResource) GetKonnectMonikerFilter ¶ added in v1.27.0
func (c IdentityAuthServerClientResource) GetKonnectMonikerFilter() string
func (IdentityAuthServerClientResource) GetLabels ¶ added in v1.27.0
func (c IdentityAuthServerClientResource) GetLabels() map[string]string
func (IdentityAuthServerClientResource) GetMoniker ¶ added in v1.27.0
func (c IdentityAuthServerClientResource) GetMoniker() string
func (IdentityAuthServerClientResource) GetParentRef ¶ added in v1.27.0
func (c IdentityAuthServerClientResource) GetParentRef() *ResourceRef
func (IdentityAuthServerClientResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (c IdentityAuthServerClientResource) GetReferenceFieldMappings() map[string]string
func (IdentityAuthServerClientResource) GetType ¶ added in v1.27.0
func (c IdentityAuthServerClientResource) GetType() ResourceType
func (IdentityAuthServerClientResource) Protected ¶ added in v1.27.0
func (c IdentityAuthServerClientResource) Protected() bool
func (*IdentityAuthServerClientResource) SetDefaults ¶ added in v1.27.0
func (c *IdentityAuthServerClientResource) SetDefaults()
func (*IdentityAuthServerClientResource) SetLabels ¶ added in v1.27.0
func (c *IdentityAuthServerClientResource) SetLabels(value map[string]string)
func (*IdentityAuthServerClientResource) TryMatchKonnectResource ¶ added in v1.27.0
func (c *IdentityAuthServerClientResource) TryMatchKonnectResource(value any) bool
func (IdentityAuthServerClientResource) Validate ¶ added in v1.27.0
func (c IdentityAuthServerClientResource) Validate() error
type IdentityAuthServerDCR ¶ added in v1.27.0
type IdentityAuthServerDCR struct {
DefaultAccessTokenDuration *int64 `yaml:"default_access_token_duration,omitempty" json:"default_access_token_duration,omitempty"` //nolint:lll
}
type IdentityAuthServerResource ¶ added in v1.27.0
type IdentityAuthServerResource struct {
Clients []IdentityAuthServerClientResource `yaml:"clients,omitempty" json:"clients,omitzero"`
Scopes []IdentityAuthServerScopeResource `yaml:"scopes,omitempty" json:"scopes,omitzero"`
Claims []IdentityAuthServerClaimResource `yaml:"claims,omitempty" json:"claims,omitzero"`
BaseResource `yaml:",inline" json:",inline"`
Name string `yaml:"name" json:"name"`
Audience string `yaml:"audience" json:"audience"`
Description *string `yaml:"description,omitempty" json:"description,omitempty"`
SigningAlgorithm *kkComps.Algorithm `yaml:"signing_algorithm,omitempty" json:"signing_algorithm,omitempty"` //nolint:lll
TrustedOrigins []string `yaml:"trusted_origins,omitempty" json:"trusted_origins,omitzero"`
DCR *IdentityAuthServerDCR `yaml:"dcr,omitempty" json:"dcr,omitempty"`
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitzero"`
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
}
func (IdentityAuthServerResource) GetDependencies ¶ added in v1.27.0
func (a IdentityAuthServerResource) GetDependencies() []ResourceRef
func (*IdentityAuthServerResource) GetExternalBlock ¶ added in v1.27.0
func (a *IdentityAuthServerResource) GetExternalBlock() *ExternalBlock
func (IdentityAuthServerResource) GetKonnectMonikerFilter ¶ added in v1.27.0
func (a IdentityAuthServerResource) GetKonnectMonikerFilter() string
func (IdentityAuthServerResource) GetLabels ¶ added in v1.27.0
func (a IdentityAuthServerResource) GetLabels() map[string]string
func (IdentityAuthServerResource) GetMoniker ¶ added in v1.27.0
func (a IdentityAuthServerResource) GetMoniker() string
func (IdentityAuthServerResource) GetType ¶ added in v1.27.0
func (a IdentityAuthServerResource) GetType() ResourceType
func (*IdentityAuthServerResource) IsExternal ¶ added in v1.27.0
func (a *IdentityAuthServerResource) IsExternal() bool
func (IdentityAuthServerResource) Protected ¶ added in v1.27.0
func (a IdentityAuthServerResource) Protected() bool
func (*IdentityAuthServerResource) SetDefaults ¶ added in v1.27.0
func (a *IdentityAuthServerResource) SetDefaults()
func (*IdentityAuthServerResource) SetLabels ¶ added in v1.27.0
func (a *IdentityAuthServerResource) SetLabels(value map[string]string)
func (*IdentityAuthServerResource) TryMatchKonnectResource ¶ added in v1.27.0
func (a *IdentityAuthServerResource) TryMatchKonnectResource(value any) bool
func (IdentityAuthServerResource) Validate ¶ added in v1.27.0
func (a IdentityAuthServerResource) Validate() error
type IdentityAuthServerScopeResource ¶ added in v1.27.0
type IdentityAuthServerScopeResource struct {
IdentityAuthServerChild `yaml:",inline" json:",inline"`
Description *string `yaml:"description,omitempty" json:"description,omitempty"`
Default *bool `yaml:"default,omitempty" json:"default,omitempty"`
IncludeInMetadata *bool `yaml:"include_in_metadata,omitempty" json:"include_in_metadata,omitempty"`
Enabled *bool `yaml:"enabled,omitempty" json:"enabled,omitempty"`
}
func (IdentityAuthServerScopeResource) GetType ¶ added in v1.27.0
func (s IdentityAuthServerScopeResource) GetType() ResourceType
type IdentityBasicAuthResource ¶ added in v1.27.0
type IdentityBasicAuthResource struct {
BaseResource ` yaml:",inline" json:",inline"`
Principal string `yaml:"principal,omitempty" json:"principal,omitempty"`
Username string `yaml:"username" json:"username"`
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
}
Username records have a unique directory-wide moniker; refs remain local. Password children have a separate lifecycle and are not declared here.
func (IdentityBasicAuthResource) GetDependencies ¶ added in v1.27.0
func (b IdentityBasicAuthResource) GetDependencies() []ResourceRef
func (*IdentityBasicAuthResource) GetExternalBlock ¶ added in v1.27.0
func (b *IdentityBasicAuthResource) GetExternalBlock() *ExternalBlock
func (IdentityBasicAuthResource) GetKonnectMonikerFilter ¶ added in v1.27.0
func (b IdentityBasicAuthResource) GetKonnectMonikerFilter() string
func (IdentityBasicAuthResource) GetLabels ¶ added in v1.27.0
func (b IdentityBasicAuthResource) GetLabels() map[string]string
func (IdentityBasicAuthResource) GetMoniker ¶ added in v1.27.0
func (b IdentityBasicAuthResource) GetMoniker() string
func (IdentityBasicAuthResource) GetParentRef ¶ added in v1.27.0
func (b IdentityBasicAuthResource) GetParentRef() *ResourceRef
func (IdentityBasicAuthResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (b IdentityBasicAuthResource) GetReferenceFieldMappings() map[string]string
func (IdentityBasicAuthResource) GetType ¶ added in v1.27.0
func (b IdentityBasicAuthResource) GetType() ResourceType
func (*IdentityBasicAuthResource) IsExternal ¶ added in v1.27.0
func (b *IdentityBasicAuthResource) IsExternal() bool
func (IdentityBasicAuthResource) Protected ¶ added in v1.27.0
func (b IdentityBasicAuthResource) Protected() bool
func (*IdentityBasicAuthResource) SetDefaults ¶ added in v1.27.0
func (b *IdentityBasicAuthResource) SetDefaults()
func (*IdentityBasicAuthResource) SetLabels ¶ added in v1.27.0
func (b *IdentityBasicAuthResource) SetLabels(map[string]string)
func (*IdentityBasicAuthResource) TryMatchKonnectResource ¶ added in v1.27.0
func (b *IdentityBasicAuthResource) TryMatchKonnectResource(value any) bool
func (IdentityBasicAuthResource) Validate ¶ added in v1.27.0
func (b IdentityBasicAuthResource) Validate() error
type IdentityDirectoryResource ¶ added in v1.27.0
type IdentityDirectoryResource struct {
IdentityDirectoryVault `yaml:"vault,omitempty" json:"vault,omitzero"`
TrustedIDPs []IdentityTrustedIDPResource `yaml:"trusted_idps,omitempty" json:"trusted_idps,omitempty"`
Groups []IdentityGroupResource `yaml:"groups,omitempty" json:"groups,omitempty"`
BaseResource ` yaml:",inline" json:",inline"`
Principals []IdentityPrincipalResource `yaml:"principals,omitempty" json:"principals,omitempty"` //nolint:lll
Name string `yaml:"name" json:"name"`
Description *string `yaml:"description,omitempty" json:"description,omitempty"` //nolint:lll
AllowedControlPlanes []string `yaml:"allowed_control_planes,omitempty" json:"allowed_control_planes,omitempty"` //nolint:lll
AllowAllControlPlanes *bool `yaml:"allow_all_control_planes,omitempty" json:"allow_all_control_planes,omitempty" default:"false"` //nolint:lll
TTLSecs *int64 `yaml:"ttl_secs,omitempty" json:"ttl_secs,omitempty" default:"600"` //nolint:lll
NegativeTTLSecs *int64 `yaml:"negative_ttl_secs,omitempty" json:"negative_ttl_secs,omitempty" default:"600"` //nolint:lll
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitempty"` //nolint:lll
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"` //nolint:lll
}
IdentityDirectoryResource declares one regional Kong Identity directory.
func (IdentityDirectoryResource) GetDependencies ¶ added in v1.27.0
func (d IdentityDirectoryResource) GetDependencies() []ResourceRef
func (*IdentityDirectoryResource) GetExternalBlock ¶ added in v1.27.0
func (d *IdentityDirectoryResource) GetExternalBlock() *ExternalBlock
func (IdentityDirectoryResource) GetKonnectMonikerFilter ¶ added in v1.27.0
func (d IdentityDirectoryResource) GetKonnectMonikerFilter() string
func (IdentityDirectoryResource) GetLabels ¶ added in v1.27.0
func (d IdentityDirectoryResource) GetLabels() map[string]string
func (IdentityDirectoryResource) GetMoniker ¶ added in v1.27.0
func (d IdentityDirectoryResource) GetMoniker() string
func (IdentityDirectoryResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (d IdentityDirectoryResource) GetReferenceFieldMappings() map[string]string
func (IdentityDirectoryResource) GetType ¶ added in v1.27.0
func (d IdentityDirectoryResource) GetType() ResourceType
func (*IdentityDirectoryResource) IsExternal ¶ added in v1.27.0
func (d *IdentityDirectoryResource) IsExternal() bool
func (IdentityDirectoryResource) Protected ¶ added in v1.27.0
func (d IdentityDirectoryResource) Protected() bool
func (*IdentityDirectoryResource) SetDefaults ¶ added in v1.27.0
func (d *IdentityDirectoryResource) SetDefaults()
func (*IdentityDirectoryResource) SetLabels ¶ added in v1.27.0
func (d *IdentityDirectoryResource) SetLabels(value map[string]string)
func (*IdentityDirectoryResource) TryMatchKonnectResource ¶ added in v1.27.0
func (d *IdentityDirectoryResource) TryMatchKonnectResource(value any) bool
func (IdentityDirectoryResource) Validate ¶ added in v1.27.0
func (d IdentityDirectoryResource) Validate() error
type IdentityDirectoryVault ¶ added in v1.27.0
type IdentityDirectoryVault struct {
VaultEnabled *bool `yaml:"enabled,omitempty" json:"enabled,omitempty"`
VaultKeys []IdentityVaultKeyResource `yaml:"keys,omitempty" json:"keys,omitempty"`
VaultProviders []IdentityVaultProviderResource `yaml:"providers,omitempty" json:"providers,omitempty"`
}
IdentityDirectoryVault groups configuration without adding a resource or owner.
type IdentityGroupAPIKeyResource ¶ added in v1.27.0
type IdentityGroupAPIKeyResource struct {
IdentityAPIKeyFields ` yaml:",inline" json:",inline"`
Group string `yaml:"group,omitempty" json:"group,omitempty"`
}
func (IdentityGroupAPIKeyResource) GetDependencies ¶ added in v1.27.0
func (k IdentityGroupAPIKeyResource) GetDependencies() []ResourceRef
func (IdentityGroupAPIKeyResource) GetParentRef ¶ added in v1.27.0
func (k IdentityGroupAPIKeyResource) GetParentRef() *ResourceRef
func (IdentityGroupAPIKeyResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (k IdentityGroupAPIKeyResource) GetReferenceFieldMappings() map[string]string
func (IdentityGroupAPIKeyResource) GetType ¶ added in v1.27.0
func (k IdentityGroupAPIKeyResource) GetType() ResourceType
func (IdentityGroupAPIKeyResource) MarshalJSON ¶ added in v1.27.0
func (k IdentityGroupAPIKeyResource) MarshalJSON() ([]byte, error)
func (*IdentityGroupAPIKeyResource) UnmarshalJSON ¶ added in v1.27.0
func (k *IdentityGroupAPIKeyResource) UnmarshalJSON(data []byte) error
type IdentityGroupMemberResource ¶ added in v1.27.0
type IdentityGroupMembershipResource ¶ added in v1.27.0
type IdentityGroupMembershipResource struct {
Ref string `yaml:"ref" json:"ref"`
Group string `yaml:"group,omitempty" json:"group,omitempty"`
Member IdentityGroupMemberResource `yaml:"member" json:"member"`
// contains filtered or unexported fields
}
IdentityGroupMembershipResource inherits authority from its managed group. The entry ID routes requests; the principal ID identifies the relationship.
func (IdentityGroupMembershipResource) GetDependencies ¶ added in v1.27.0
func (m IdentityGroupMembershipResource) GetDependencies() []ResourceRef
func (IdentityGroupMembershipResource) GetKonnectID ¶ added in v1.27.0
func (m IdentityGroupMembershipResource) GetKonnectID() string
func (IdentityGroupMembershipResource) GetKonnectMonikerFilter ¶ added in v1.27.0
func (m IdentityGroupMembershipResource) GetKonnectMonikerFilter() string
func (IdentityGroupMembershipResource) GetMoniker ¶ added in v1.27.0
func (m IdentityGroupMembershipResource) GetMoniker() string
func (IdentityGroupMembershipResource) GetParentRef ¶ added in v1.27.0
func (m IdentityGroupMembershipResource) GetParentRef() *ResourceRef
func (IdentityGroupMembershipResource) GetRef ¶ added in v1.27.0
func (m IdentityGroupMembershipResource) GetRef() string
func (IdentityGroupMembershipResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (m IdentityGroupMembershipResource) GetReferenceFieldMappings() map[string]string
func (IdentityGroupMembershipResource) GetType ¶ added in v1.27.0
func (m IdentityGroupMembershipResource) GetType() ResourceType
func (*IdentityGroupMembershipResource) SetDefaults ¶ added in v1.27.0
func (m *IdentityGroupMembershipResource) SetDefaults()
func (*IdentityGroupMembershipResource) SetKonnectID ¶ added in v1.27.0
func (m *IdentityGroupMembershipResource) SetKonnectID(id string)
func (*IdentityGroupMembershipResource) TryMatchKonnectResource ¶ added in v1.27.0
func (m *IdentityGroupMembershipResource) TryMatchKonnectResource(value any) bool
func (IdentityGroupMembershipResource) Validate ¶ added in v1.27.0
func (m IdentityGroupMembershipResource) Validate() error
type IdentityGroupResource ¶ added in v1.27.0
type IdentityGroupResource struct {
APIKeys []IdentityGroupAPIKeyResource `yaml:"api_keys,omitempty" json:"api_keys,omitempty"`
Memberships []IdentityGroupMembershipResource `yaml:"memberships,omitempty" json:"memberships,omitempty"`
BaseResource ` yaml:",inline" json:",inline"`
Directory string `yaml:"directory,omitempty" json:"directory,omitempty"`
Name string `yaml:"name" json:"name"`
Description *string `yaml:"description,omitempty" json:"description,omitempty"`
Type *string `yaml:"type,omitempty" json:"type,omitempty"`
Metadata map[string]any `yaml:"metadata,omitempty" json:"metadata,omitempty"`
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitempty"`
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
}
func (IdentityGroupResource) GetDependencies ¶ added in v1.27.0
func (g IdentityGroupResource) GetDependencies() []ResourceRef
func (*IdentityGroupResource) GetExternalBlock ¶ added in v1.27.0
func (g *IdentityGroupResource) GetExternalBlock() *ExternalBlock
func (IdentityGroupResource) GetKonnectMonikerFilter ¶ added in v1.27.0
func (g IdentityGroupResource) GetKonnectMonikerFilter() string
func (IdentityGroupResource) GetLabels ¶ added in v1.27.0
func (g IdentityGroupResource) GetLabels() map[string]string
func (IdentityGroupResource) GetMoniker ¶ added in v1.27.0
func (g IdentityGroupResource) GetMoniker() string
func (IdentityGroupResource) GetParentRef ¶ added in v1.27.0
func (g IdentityGroupResource) GetParentRef() *ResourceRef
func (IdentityGroupResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (g IdentityGroupResource) GetReferenceFieldMappings() map[string]string
func (IdentityGroupResource) GetType ¶ added in v1.27.0
func (g IdentityGroupResource) GetType() ResourceType
func (*IdentityGroupResource) IsExternal ¶ added in v1.27.0
func (g *IdentityGroupResource) IsExternal() bool
func (IdentityGroupResource) Protected ¶ added in v1.27.0
func (g IdentityGroupResource) Protected() bool
func (*IdentityGroupResource) SetDefaults ¶ added in v1.27.0
func (g *IdentityGroupResource) SetDefaults()
func (*IdentityGroupResource) SetLabels ¶ added in v1.27.0
func (g *IdentityGroupResource) SetLabels(v map[string]string)
func (*IdentityGroupResource) TryMatchKonnectResource ¶ added in v1.27.0
func (g *IdentityGroupResource) TryMatchKonnectResource(value any) bool
func (*IdentityGroupResource) UnmarshalJSON ¶ added in v1.27.0
func (g *IdentityGroupResource) UnmarshalJSON(data []byte) error
func (IdentityGroupResource) Validate ¶ added in v1.27.0
func (g IdentityGroupResource) Validate() error
type IdentityPrincipalAPIKeyResource ¶ added in v1.27.0
type IdentityPrincipalAPIKeyResource struct {
IdentityAPIKeyFields ` yaml:",inline" json:",inline"`
Principal string `yaml:"principal,omitempty" json:"principal,omitempty"`
Kongctl *KongctlMeta `yaml:"kongctl,omitempty" json:"kongctl,omitempty"`
}
func (IdentityPrincipalAPIKeyResource) GetDependencies ¶ added in v1.27.0
func (k IdentityPrincipalAPIKeyResource) GetDependencies() []ResourceRef
func (IdentityPrincipalAPIKeyResource) GetParentRef ¶ added in v1.27.0
func (k IdentityPrincipalAPIKeyResource) GetParentRef() *ResourceRef
func (IdentityPrincipalAPIKeyResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (k IdentityPrincipalAPIKeyResource) GetReferenceFieldMappings() map[string]string
func (IdentityPrincipalAPIKeyResource) GetType ¶ added in v1.27.0
func (k IdentityPrincipalAPIKeyResource) GetType() ResourceType
func (IdentityPrincipalAPIKeyResource) MarshalJSON ¶ added in v1.27.0
func (k IdentityPrincipalAPIKeyResource) MarshalJSON() ([]byte, error)
func (*IdentityPrincipalAPIKeyResource) UnmarshalJSON ¶ added in v1.27.0
func (k *IdentityPrincipalAPIKeyResource) UnmarshalJSON(data []byte) error
type IdentityPrincipalIdentityResource ¶ added in v1.27.0
type IdentityPrincipalIdentityResource struct {
BaseResource `yaml:",inline" json:",inline"`
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
Principal string `yaml:"principal,omitempty" json:"principal,omitempty"`
Type string `yaml:"type" json:"type"`
Issuer *string `yaml:"issuer,omitempty" json:"issuer,omitempty"`
Claim *kkComps.KongPrincipalIdentityOIDCClaim `yaml:"claim,omitempty" json:"claim,omitempty"`
AuthServerID *string `yaml:"auth_server_id,omitempty" json:"auth_server_id,omitempty"`
ClientID *string `yaml:"client_id,omitempty" json:"client_id,omitempty"`
ControlPlaneID *string `yaml:"control_plane_id,omitempty" json:"control_plane_id,omitempty"`
ConsumerID *string `yaml:"consumer_id,omitempty" json:"consumer_id,omitempty"`
WorkspaceID *string `yaml:"workspace_id,omitempty" json:"workspace_id,omitempty"`
Key *string `yaml:"key,omitempty" json:"key,omitempty"`
Value *string `yaml:"value,omitempty" json:"value,omitempty"`
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitzero"`
}
IdentityPrincipalIdentityResource declares an association, not a credential. Its persisted ref identifies it independently of the external match fields.
func (IdentityPrincipalIdentityResource) GetDependencies ¶ added in v1.27.0
func (i IdentityPrincipalIdentityResource) GetDependencies() []ResourceRef
func (*IdentityPrincipalIdentityResource) GetExternalBlock ¶ added in v1.27.0
func (i *IdentityPrincipalIdentityResource) GetExternalBlock() *ExternalBlock
func (IdentityPrincipalIdentityResource) GetKonnectMonikerFilter ¶ added in v1.27.0
func (i IdentityPrincipalIdentityResource) GetKonnectMonikerFilter() string
func (IdentityPrincipalIdentityResource) GetLabels ¶ added in v1.27.0
func (i IdentityPrincipalIdentityResource) GetLabels() map[string]string
func (IdentityPrincipalIdentityResource) GetMoniker ¶ added in v1.27.0
func (i IdentityPrincipalIdentityResource) GetMoniker() string
func (IdentityPrincipalIdentityResource) GetParentRef ¶ added in v1.27.0
func (i IdentityPrincipalIdentityResource) GetParentRef() *ResourceRef
func (IdentityPrincipalIdentityResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (i IdentityPrincipalIdentityResource) GetReferenceFieldMappings() map[string]string
func (IdentityPrincipalIdentityResource) GetType ¶ added in v1.27.0
func (i IdentityPrincipalIdentityResource) GetType() ResourceType
func (*IdentityPrincipalIdentityResource) IsExternal ¶ added in v1.27.0
func (i *IdentityPrincipalIdentityResource) IsExternal() bool
func (IdentityPrincipalIdentityResource) Protected ¶ added in v1.27.0
func (i IdentityPrincipalIdentityResource) Protected() bool
func (IdentityPrincipalIdentityResource) PublicFields ¶ added in v1.27.0
func (i IdentityPrincipalIdentityResource) PublicFields() map[string]any
PublicFields is the API payload subset. kongctl and parent selectors never enter SDK requests. Nil and explicit empty labels remain distinct.
func (IdentityPrincipalIdentityResource) ReferencesTarget ¶ added in v1.27.0
func (i IdentityPrincipalIdentityResource) ReferencesTarget(kind ResourceType, id, parentID string) bool
ReferencesTarget describes API associations without treating them as ownership.
func (*IdentityPrincipalIdentityResource) SetDefaults ¶ added in v1.27.0
func (i *IdentityPrincipalIdentityResource) SetDefaults()
func (*IdentityPrincipalIdentityResource) SetLabels ¶ added in v1.27.0
func (i *IdentityPrincipalIdentityResource) SetLabels(v map[string]string)
func (*IdentityPrincipalIdentityResource) TryMatchKonnectResource ¶ added in v1.27.0
func (i *IdentityPrincipalIdentityResource) TryMatchKonnectResource(value any) bool
func (IdentityPrincipalIdentityResource) Validate ¶ added in v1.27.0
func (i IdentityPrincipalIdentityResource) Validate() error
type IdentityPrincipalResource ¶ added in v1.27.0
type IdentityPrincipalResource struct {
APIKeys []IdentityPrincipalAPIKeyResource `yaml:"api_keys,omitempty" json:"api_keys,omitempty"`
BasicAuths []IdentityBasicAuthResource `yaml:"basic_auths,omitempty" json:"basic_auths,omitempty"`
Identities []IdentityPrincipalIdentityResource `yaml:"identities,omitempty" json:"identities,omitempty"`
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
BaseResource ` yaml:",inline" json:",inline"`
Directory string `yaml:"directory,omitempty" json:"directory,omitempty"`
ID string `yaml:"id,omitempty" json:"id,omitempty"`
DisplayName *string `yaml:"display_name,omitempty" json:"display_name,omitempty"`
Description *string `yaml:"description,omitempty" json:"description,omitempty"`
Type *string `yaml:"type,omitempty" json:"type,omitempty"`
Metadata map[string]any `yaml:"metadata,omitempty" json:"metadata,omitempty"`
MetadataMode string `yaml:"metadata_mode,omitempty" json:"metadata_mode,omitempty"`
Labels map[string]string `yaml:"labels,omitempty" json:"labels,omitempty"`
Active *bool `yaml:"active,omitempty" json:"active,omitempty"`
// contains filtered or unexported fields
}
IdentityPrincipalResource uses a persisted ref, never display_name, as identity.
func (*IdentityPrincipalResource) DeclareUnclassified ¶ added in v1.27.0
func (p *IdentityPrincipalResource) DeclareUnclassified()
func (IdentityPrincipalResource) GetDependencies ¶ added in v1.27.0
func (p IdentityPrincipalResource) GetDependencies() []ResourceRef
func (*IdentityPrincipalResource) GetExternalBlock ¶ added in v1.27.0
func (p *IdentityPrincipalResource) GetExternalBlock() *ExternalBlock
func (IdentityPrincipalResource) GetKonnectMonikerFilter ¶ added in v1.27.0
func (p IdentityPrincipalResource) GetKonnectMonikerFilter() string
func (IdentityPrincipalResource) GetLabels ¶ added in v1.27.0
func (p IdentityPrincipalResource) GetLabels() map[string]string
func (IdentityPrincipalResource) GetMoniker ¶ added in v1.27.0
func (p IdentityPrincipalResource) GetMoniker() string
func (IdentityPrincipalResource) GetParentRef ¶ added in v1.27.0
func (p IdentityPrincipalResource) GetParentRef() *ResourceRef
func (IdentityPrincipalResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (p IdentityPrincipalResource) GetReferenceFieldMappings() map[string]string
func (IdentityPrincipalResource) GetType ¶ added in v1.27.0
func (p IdentityPrincipalResource) GetType() ResourceType
func (*IdentityPrincipalResource) IsExternal ¶ added in v1.27.0
func (p *IdentityPrincipalResource) IsExternal() bool
func (IdentityPrincipalResource) MarshalJSON ¶ added in v1.27.0
func (p IdentityPrincipalResource) MarshalJSON() ([]byte, error)
func (IdentityPrincipalResource) Protected ¶ added in v1.27.0
func (p IdentityPrincipalResource) Protected() bool
func (*IdentityPrincipalResource) SetDefaults ¶ added in v1.27.0
func (p *IdentityPrincipalResource) SetDefaults()
func (*IdentityPrincipalResource) SetLabels ¶ added in v1.27.0
func (p *IdentityPrincipalResource) SetLabels(v map[string]string)
func (*IdentityPrincipalResource) TryMatchKonnectResource ¶ added in v1.27.0
func (p *IdentityPrincipalResource) TryMatchKonnectResource(value any) bool
func (IdentityPrincipalResource) TypeDeclared ¶ added in v1.27.0
func (p IdentityPrincipalResource) TypeDeclared() bool
func (*IdentityPrincipalResource) UnmarshalJSON ¶ added in v1.27.0
func (p *IdentityPrincipalResource) UnmarshalJSON(data []byte) error
func (IdentityPrincipalResource) Validate ¶ added in v1.27.0
func (p IdentityPrincipalResource) Validate() error
type IdentityResource ¶ added in v1.27.0
type IdentityResource struct {
IdentityVaultResources `yaml:"vault,omitempty" json:"vault,omitzero"`
PrincipalAPIKeys []IdentityPrincipalAPIKeyResource `yaml:"principal_api_keys,omitempty" json:"principal_api_keys,omitempty"` //nolint:lll
GroupAPIKeys []IdentityGroupAPIKeyResource `yaml:"group_api_keys,omitempty" json:"group_api_keys,omitempty"` //nolint:lll
TrustedIDPs []IdentityTrustedIDPResource `yaml:"trusted_idps,omitempty" json:"trusted_idps,omitempty"`
BasicAuths []IdentityBasicAuthResource `yaml:"basic_auths,omitempty" json:"basic_auths,omitempty"`
Memberships []IdentityGroupMembershipResource `yaml:"memberships,omitempty" json:"memberships,omitempty"`
Groups []IdentityGroupResource `yaml:"groups,omitempty" json:"groups,omitempty"`
Identities []IdentityPrincipalIdentityResource `yaml:"identities,omitempty" json:"identities,omitempty"`
Clients []IdentityAuthServerClientResource `yaml:"clients,omitempty" json:"clients,omitempty"`
Scopes []IdentityAuthServerScopeResource `yaml:"scopes,omitempty" json:"scopes,omitempty"`
Claims []IdentityAuthServerClaimResource `yaml:"claims,omitempty" json:"claims,omitempty"`
AuthServers []IdentityAuthServerResource `yaml:"auth_servers,omitempty" json:"auth_servers,omitempty"`
Principals []IdentityPrincipalResource `yaml:"principals,omitempty" json:"principals,omitempty"`
Directories []IdentityDirectoryResource `yaml:"directories,omitempty" json:"directories,omitempty"`
}
IdentityResource groups Kong Identity management declarations.
type IdentityTrustedIDPResource ¶ added in v1.27.0
type IdentityTrustedIDPResource struct {
Ref string `yaml:"ref" json:"ref"`
Directory string `yaml:"directory,omitempty" json:"directory,omitempty"`
IssuerURL string `yaml:"issuer_url" json:"issuer_url"`
DisplayName *string `yaml:"display_name,omitempty" json:"display_name,omitempty"`
JwksURI *string `yaml:"jwks_uri,omitempty" json:"jwks_uri,omitempty"`
JitProvisioningEnabled *bool `yaml:"jit_provisioning_enabled,omitempty" json:"jit_provisioning_enabled,omitempty"` //nolint:lll
VaultAccessEnabled *bool `yaml:"vault_access_enabled,omitempty" json:"vault_access_enabled,omitempty"` //nolint:lll
Jit *kkComps.TrustedIdpJit `yaml:"jit,omitempty" json:"jit,omitempty"`
// contains filtered or unexported fields
}
IdentityTrustedIDPResource inherits directory lifecycle authority. The exact issuer identifies the configuration, never its nonunique display name.
func (IdentityTrustedIDPResource) CreateBody ¶ added in v1.27.0
func (p IdentityTrustedIDPResource) CreateBody() kkComps.CreateTrustedIdpPayload
func (*IdentityTrustedIDPResource) DeclareDiscoveryJWKS ¶ added in v1.27.0
func (p *IdentityTrustedIDPResource) DeclareDiscoveryJWKS()
func (*IdentityTrustedIDPResource) DeclareNullDisplayName ¶ added in v1.27.0
func (p *IdentityTrustedIDPResource) DeclareNullDisplayName()
func (IdentityTrustedIDPResource) DisplayNameDeclared ¶ added in v1.27.0
func (p IdentityTrustedIDPResource) DisplayNameDeclared() bool
func (IdentityTrustedIDPResource) GetDependencies ¶ added in v1.27.0
func (p IdentityTrustedIDPResource) GetDependencies() []ResourceRef
func (IdentityTrustedIDPResource) GetKonnectID ¶ added in v1.27.0
func (p IdentityTrustedIDPResource) GetKonnectID() string
func (IdentityTrustedIDPResource) GetKonnectMonikerFilter ¶ added in v1.27.0
func (p IdentityTrustedIDPResource) GetKonnectMonikerFilter() string
func (IdentityTrustedIDPResource) GetMoniker ¶ added in v1.27.0
func (p IdentityTrustedIDPResource) GetMoniker() string
func (IdentityTrustedIDPResource) GetParentRef ¶ added in v1.27.0
func (p IdentityTrustedIDPResource) GetParentRef() *ResourceRef
func (IdentityTrustedIDPResource) GetRef ¶ added in v1.27.0
func (p IdentityTrustedIDPResource) GetRef() string
func (IdentityTrustedIDPResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (p IdentityTrustedIDPResource) GetReferenceFieldMappings() map[string]string
func (IdentityTrustedIDPResource) GetType ¶ added in v1.27.0
func (p IdentityTrustedIDPResource) GetType() ResourceType
func (IdentityTrustedIDPResource) JwksURIDeclared ¶ added in v1.27.0
func (p IdentityTrustedIDPResource) JwksURIDeclared() bool
func (IdentityTrustedIDPResource) MarshalJSON ¶ added in v1.27.0
func (p IdentityTrustedIDPResource) MarshalJSON() ([]byte, error)
func (*IdentityTrustedIDPResource) SetDefaults ¶ added in v1.27.0
func (p *IdentityTrustedIDPResource) SetDefaults()
func (*IdentityTrustedIDPResource) SetKonnectID ¶ added in v1.27.0
func (p *IdentityTrustedIDPResource) SetKonnectID(id string)
func (*IdentityTrustedIDPResource) TryMatchKonnectResource ¶ added in v1.27.0
func (p *IdentityTrustedIDPResource) TryMatchKonnectResource(any) bool
func (*IdentityTrustedIDPResource) UnmarshalJSON ¶ added in v1.27.0
func (p *IdentityTrustedIDPResource) UnmarshalJSON(data []byte) error
func (IdentityTrustedIDPResource) Validate ¶ added in v1.27.0
func (p IdentityTrustedIDPResource) Validate() error
type IdentityVaultKeyResource ¶ added in v1.27.0
type IdentityVaultKeyResource struct {
Ref string `yaml:"ref" json:"ref"`
Directory string `yaml:"directory,omitempty" json:"directory,omitempty"`
Name string `yaml:"name" json:"name"`
PublicKey string `yaml:"public_key" json:"public_key"`
// contains filtered or unexported fields
}
IdentityVaultKeyResource inherits lifecycle authority from a managed directory. Public key material determines identity; the API name is mutable and nonunique.
func (IdentityVaultKeyResource) GetDependencies ¶ added in v1.27.0
func (k IdentityVaultKeyResource) GetDependencies() []ResourceRef
func (IdentityVaultKeyResource) GetKonnectID ¶ added in v1.27.0
func (k IdentityVaultKeyResource) GetKonnectID() string
func (IdentityVaultKeyResource) GetKonnectMonikerFilter ¶ added in v1.27.0
func (k IdentityVaultKeyResource) GetKonnectMonikerFilter() string
func (IdentityVaultKeyResource) GetMoniker ¶ added in v1.27.0
func (k IdentityVaultKeyResource) GetMoniker() string
func (IdentityVaultKeyResource) GetParentRef ¶ added in v1.27.0
func (k IdentityVaultKeyResource) GetParentRef() *ResourceRef
func (IdentityVaultKeyResource) GetRef ¶ added in v1.27.0
func (k IdentityVaultKeyResource) GetRef() string
func (IdentityVaultKeyResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (k IdentityVaultKeyResource) GetReferenceFieldMappings() map[string]string
func (IdentityVaultKeyResource) GetType ¶ added in v1.27.0
func (k IdentityVaultKeyResource) GetType() ResourceType
func (*IdentityVaultKeyResource) SetDefaults ¶ added in v1.27.0
func (k *IdentityVaultKeyResource) SetDefaults()
func (*IdentityVaultKeyResource) SetKonnectID ¶ added in v1.27.0
func (k *IdentityVaultKeyResource) SetKonnectID(id string)
func (*IdentityVaultKeyResource) TryMatchKonnectResource ¶ added in v1.27.0
func (k *IdentityVaultKeyResource) TryMatchKonnectResource(any) bool
func (IdentityVaultKeyResource) Validate ¶ added in v1.27.0
func (k IdentityVaultKeyResource) Validate() error
type IdentityVaultProviderCredentialResource ¶ added in v1.27.0
type IdentityVaultProviderCredentialResource struct {
Ref string `yaml:"ref" json:"ref"`
Provider string `yaml:"provider,omitempty" json:"provider,omitempty"`
Selector *string `yaml:"selector,omitempty" json:"selector,omitempty"`
Priority *int64 `yaml:"priority,omitempty" json:"priority,omitempty"`
Secret *string `yaml:"secret,omitempty" json:"secret,omitempty"`
// contains filtered or unexported fields
}
IdentityVaultProviderCredentialResource inherits managed-directory authority through an explicitly declared static/shared provider. Ref is local only.
func (IdentityVaultProviderCredentialResource) GetDependencies ¶ added in v1.27.0
func (c IdentityVaultProviderCredentialResource) GetDependencies() []ResourceRef
func (IdentityVaultProviderCredentialResource) GetKonnectID ¶ added in v1.27.0
func (c IdentityVaultProviderCredentialResource) GetKonnectID() string
func (IdentityVaultProviderCredentialResource) GetKonnectMonikerFilter ¶ added in v1.27.0
func (c IdentityVaultProviderCredentialResource) GetKonnectMonikerFilter() string
func (IdentityVaultProviderCredentialResource) GetMoniker ¶ added in v1.27.0
func (c IdentityVaultProviderCredentialResource) GetMoniker() string
func (IdentityVaultProviderCredentialResource) GetParentRef ¶ added in v1.27.0
func (c IdentityVaultProviderCredentialResource) GetParentRef() *ResourceRef
func (IdentityVaultProviderCredentialResource) GetRef ¶ added in v1.27.0
func (c IdentityVaultProviderCredentialResource) GetRef() string
func (IdentityVaultProviderCredentialResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (c IdentityVaultProviderCredentialResource) GetReferenceFieldMappings() map[string]string
func (IdentityVaultProviderCredentialResource) GetType ¶ added in v1.27.0
func (c IdentityVaultProviderCredentialResource) GetType() ResourceType
func (IdentityVaultProviderCredentialResource) MutablePayloadMap ¶ added in v1.27.0
func (c IdentityVaultProviderCredentialResource) MutablePayloadMap() (map[string]any, error)
func (*IdentityVaultProviderCredentialResource) SetDefaults ¶ added in v1.27.0
func (c *IdentityVaultProviderCredentialResource) SetDefaults()
func (*IdentityVaultProviderCredentialResource) SetKonnectID ¶ added in v1.27.0
func (c *IdentityVaultProviderCredentialResource) SetKonnectID(id string)
func (*IdentityVaultProviderCredentialResource) TryMatchKonnectResource ¶ added in v1.27.0
func (c *IdentityVaultProviderCredentialResource) TryMatchKonnectResource(any) bool
func (IdentityVaultProviderCredentialResource) Validate ¶ added in v1.27.0
func (c IdentityVaultProviderCredentialResource) Validate() error
type IdentityVaultProviderResource ¶ added in v1.27.0
type IdentityVaultProviderResource struct {
Ref string `yaml:"ref" json:"ref"`
Directory string `yaml:"directory,omitempty" json:"directory,omitempty"`
Name string `yaml:"name" json:"name"`
TemplateName string `yaml:"template_name" json:"template_name"`
ClientID *string `yaml:"client_id,omitempty" json:"client_id,omitempty"`
ClientSecret *string `yaml:"client_secret,omitempty" json:"client_secret,omitempty"`
CredentialType *string `yaml:"credential_type,omitempty" json:"credential_type,omitempty"`
DCREnabled *bool `yaml:"dcr_enabled,omitempty" json:"dcr_enabled,omitempty"`
PKCEEnabled *bool `yaml:"pkce_enabled,omitempty" json:"pkce_enabled,omitempty"`
Enabled *bool `yaml:"enabled,omitempty" json:"enabled,omitempty"`
Scopes []string `yaml:"scopes,omitempty" json:"scopes,omitempty"`
TokenEndpoint *string `yaml:"token_endpoint,omitempty" json:"token_endpoint,omitempty"`
AuthorizationEndpoint *string `yaml:"authorization_endpoint,omitempty" json:"authorization_endpoint,omitempty"` //nolint:lll
RegistrationEndpoint *string `yaml:"registration_endpoint,omitempty" json:"registration_endpoint,omitempty"` //nolint:lll
RefreshBufferSeconds *int64 `yaml:"refresh_buffer_seconds,omitempty" json:"refresh_buffer_seconds,omitempty"` //nolint:lll
// contains filtered or unexported fields
}
IdentityVaultProviderResource inherits ownership from an explicitly managed directory. The API stores no independent namespace, ref or protection.
func IdentityVaultCredentialProvider ¶ added in v1.27.0
func IdentityVaultCredentialProvider(rs *ResourceSet, ref string) *IdentityVaultProviderResource
func (IdentityVaultProviderResource) CreateBody ¶ added in v1.27.0
func (p IdentityVaultProviderResource) CreateBody() kkComps.CreateVaultProviderBody
CreateBody is the API payload only; local refs, directory selectors and enabled (absent from the create API) are deliberately separate.
func (IdentityVaultProviderResource) GetDependencies ¶ added in v1.27.0
func (p IdentityVaultProviderResource) GetDependencies() []ResourceRef
func (IdentityVaultProviderResource) GetKonnectID ¶ added in v1.27.0
func (p IdentityVaultProviderResource) GetKonnectID() string
func (IdentityVaultProviderResource) GetKonnectMonikerFilter ¶ added in v1.27.0
func (p IdentityVaultProviderResource) GetKonnectMonikerFilter() string
func (IdentityVaultProviderResource) GetMoniker ¶ added in v1.27.0
func (p IdentityVaultProviderResource) GetMoniker() string
func (IdentityVaultProviderResource) GetParentRef ¶ added in v1.27.0
func (p IdentityVaultProviderResource) GetParentRef() *ResourceRef
func (IdentityVaultProviderResource) GetRef ¶ added in v1.27.0
func (p IdentityVaultProviderResource) GetRef() string
func (IdentityVaultProviderResource) GetReferenceFieldMappings ¶ added in v1.27.0
func (p IdentityVaultProviderResource) GetReferenceFieldMappings() map[string]string
func (IdentityVaultProviderResource) GetType ¶ added in v1.27.0
func (p IdentityVaultProviderResource) GetType() ResourceType
func (*IdentityVaultProviderResource) SetDefaults ¶ added in v1.27.0
func (p *IdentityVaultProviderResource) SetDefaults()
func (*IdentityVaultProviderResource) SetKonnectID ¶ added in v1.27.0
func (p *IdentityVaultProviderResource) SetKonnectID(id string)
func (*IdentityVaultProviderResource) TryMatchKonnectResource ¶ added in v1.27.0
func (p *IdentityVaultProviderResource) TryMatchKonnectResource(any) bool
func (IdentityVaultProviderResource) Validate ¶ added in v1.27.0
func (p IdentityVaultProviderResource) Validate() error
type IdentityVaultResources ¶ added in v1.27.0
type IdentityVaultResources struct {
VaultKeys []IdentityVaultKeyResource `yaml:"keys,omitempty" json:"keys,omitempty"`
VaultProviders []IdentityVaultProviderResource `yaml:"providers,omitempty" json:"providers,omitempty"` //nolint:lll
VaultProviderCredentials []IdentityVaultProviderCredentialResource `yaml:"provider_credentials,omitempty" json:"provider_credentials,omitempty"` //nolint:lll
}
IdentityVaultResources holds grouped children with explicit parent selectors. Enablement belongs to a directory and cannot be declared on this root group.
type JSONSchema ¶ added in v0.8.0
type JSONSchema struct {
Schema string `json:"$schema,omitempty" yaml:"$schema,omitempty"` //nolint:lll
ID string `json:"$id,omitempty" yaml:"$id,omitempty"`
Ref string `json:"$ref,omitempty" yaml:"$ref,omitempty"`
Defs map[string]*JSONSchema `json:"$defs,omitempty" yaml:"$defs,omitempty"` //nolint:lll
Title string `json:"title,omitempty" yaml:"title,omitempty"` //nolint:lll
Description string `json:"description,omitempty" yaml:"description,omitempty"` //nolint:lll
Type any `json:"type,omitempty" yaml:"type,omitempty"`
Properties map[string]*JSONSchema `json:"properties,omitempty" yaml:"properties,omitempty"` //nolint:lll
Required []string `json:"required,omitempty" yaml:"required,omitempty"` //nolint:lll
Items *JSONSchema `json:"items,omitempty" yaml:"items,omitempty"` //nolint:lll
Additional any `json:"additionalProperties,omitempty" yaml:"additionalProperties,omitempty"` //nolint:lll
OneOf []*JSONSchema `json:"oneOf,omitempty" yaml:"oneOf,omitempty"` //nolint:lll
AnyOf []*JSONSchema `json:"anyOf,omitempty" yaml:"anyOf,omitempty"` //nolint:lll
Const any `json:"const,omitempty" yaml:"const,omitempty"` //nolint:lll
Enum []any `json:"enum,omitempty" yaml:"enum,omitempty"`
Default any `json:"default,omitempty" yaml:"default,omitempty"` //nolint:lll
XResource any `json:"x-kongctl-resource,omitempty" yaml:"x-kongctl-resource,omitempty"` //nolint:lll
XPath string `json:"x-kongctl-path,omitempty" yaml:"x-kongctl-path,omitempty"` //nolint:lll
XRootKey string `json:"x-kongctl-root-key,omitempty" yaml:"x-kongctl-root-key,omitempty"` //nolint:lll
XClass string `json:"x-kongctl-resource-class,omitempty" yaml:"x-kongctl-resource-class,omitempty"` //nolint:lll
XRefKind string `json:"x-kongctl-ref-kind,omitempty" yaml:"x-kongctl-ref-kind,omitempty"` //nolint:lll
XRelationship *ExplainRelationship `json:"x-kongctl-relationship,omitempty" yaml:"x-kongctl-relationship,omitempty"` //nolint:lll
XTag string `json:"x-kongctl-preferred-tag,omitempty" yaml:"x-kongctl-preferred-tag,omitempty"` //nolint:lll
XDefault string `json:"x-kongctl-default-from,omitempty" yaml:"x-kongctl-default-from,omitempty"` //nolint:lll
XNotes []string `json:"x-kongctl-notes,omitempty" yaml:"x-kongctl-notes,omitempty"` //nolint:lll
XSubject *ExplainSchemaSubject `json:"x-kongctl-subject,omitempty" yaml:"x-kongctl-subject,omitempty"` //nolint:lll
XPlacement *ExplainSchemaPlacement `json:"x-kongctl-placement,omitempty" yaml:"x-kongctl-placement,omitempty"` //nolint:lll
XRoot *bool `json:"x-kongctl-supports-root,omitempty" yaml:"x-kongctl-supports-root,omitempty"` //nolint:lll
XNestedDecl *bool `json:"x-kongctl-supports-nested-declaration,omitempty" yaml:"x-kongctl-supports-nested-declaration,omitempty"` //nolint:lll
XMaturity *ExplainMaturity `json:"x-kongctl-maturity,omitempty" yaml:"x-kongctl-maturity,omitempty"` //nolint:lll
// contains filtered or unexported fields
}
func RenderExplainSchema ¶ added in v0.8.0
func RenderExplainSchema(subject *ExplainSubject) *JSONSchema
func RenderLoadSchema ¶ added in v1.10.0
func RenderLoadSchema(profile LoadSchemaProfile) (*JSONSchema, error)
RenderLoadSchema renders the schema used to validate a complete declarative document before decoding it into ResourceSet and embedded SDK request types.
func (*JSONSchema) LoadRejectedFieldMessage ¶ added in v1.10.0
func (s *JSONSchema) LoadRejectedFieldMessage(name string) string
LoadRejectedFieldMessage returns load-only guidance for a recognized field that is intentionally excluded from the accepted schema.
type KongctlMeta ¶
type KongctlMeta struct {
// Protected prevents accidental deletion of critical resources
Protected *bool `yaml:"protected,omitempty" json:"protected,omitempty"`
// Namespace for resource isolation and multi-team management
Namespace *string `yaml:"namespace,omitempty" json:"namespace,omitempty"`
// NamespaceOrigin tracks how the namespace value was derived (not serialized)
NamespaceOrigin NamespaceOrigin `yaml:"-" json:"-"`
}
KongctlMeta contains tool-specific metadata for resources
func IndependentChildMetadata ¶ added in v1.22.0
func IndependentChildMetadata(resource Resource) (*KongctlMeta, bool)
IndependentChildMetadata is the shared source of namespace/protection for auxiliary writes, including secret-only updates, without inheriting a parent.
func (*KongctlMeta) IsProtected ¶ added in v1.21.0
func (m *KongctlMeta) IsProtected() bool
IsProtected reports whether resource protection is enabled, including for nil metadata.
type KongctlMetaDefaults ¶
type KongctlMetaDefaults struct {
Namespace *string `yaml:"namespace,omitempty" json:"namespace,omitempty"`
Protected *bool `yaml:"protected,omitempty" json:"protected,omitempty"`
}
KongctlMetaDefaults holds default values for kongctl metadata fields
type LoadSchemaProfile ¶ added in v1.10.0
type LoadSchemaProfile int
LoadSchemaProfile selects which parts of the declarative schema are enforced before typed unmarshalling.
const ( // LoadSchemaProfileShape validates collection and object shapes, rejects // unknown fields, and retains only the constraints needed to select unions. LoadSchemaProfileShape LoadSchemaProfile = iota )
type ManagedByPolicy ¶ added in v1.22.0
type ManagedByPolicy struct {
MaxEntries int
// PersistsRef reserves a lookup key for resources without a unique moniker.
// Independent ownership needs five keys; inherited lifecycle needs no copy
// of the parent's namespace/protection fields.
PersistsRef bool
// PersistsNamespace retains optional namespace-only immutable ownership.
// It does not enroll the resource in mutable namespace/protection writes.
PersistsNamespace bool
// OwnsLifecycle uses managed_by for namespace/protection on a managed root.
OwnsLifecycle bool
// CreateOnly leaves an immutable remote map unchanged on later updates.
CreateOnly bool
// CreationValues records fixed creation intent not otherwise observable.
// These fields do not supply namespace or protection authority.
CreationValues map[string]string
}
ManagedByPolicy records the verified metadata limit of one resource API. Writing tool/version is independent of namespace and ownership capabilities.
type NamespaceOrigin ¶ added in v0.1.6
type NamespaceOrigin int
NamespaceOrigin describes how a namespace value was supplied for a resource
const ( // NamespaceOriginUnset indicates no namespace was resolved for the resource NamespaceOriginUnset NamespaceOrigin = iota // NamespaceOriginExplicit indicates the namespace was explicitly set on the resource NamespaceOriginExplicit // NamespaceOriginFileDefault indicates the namespace was inherited from _defaults.kongctl.namespace NamespaceOriginFileDefault // NamespaceOriginImplicitDefault indicates the namespace fell back to the implicit "default" value NamespaceOriginImplicitDefault )
type NamespaceParticipant ¶ added in v1.9.0
type NamespaceParticipant struct {
Type ResourceType
Ref string
// External reports whether the resource is declared as an external reference.
External bool
// SupportsProtected excludes namespace-only organization selectors.
SupportsProtected bool
// Label is the human-facing name used in loader defaulting errors.
Label string
// Meta addresses the resource's Kongctl field for in-place defaulting.
Meta **KongctlMeta
}
NamespaceParticipant is a namespace-bearing declarative parent resource. Resource registrations supply these values; callers retain their own defaulting, validation, and external-resource policies.
type Operation ¶ added in v1.5.0
type Operation string
Operation identifies a declarative resource operation with independent maturity.
func Operations ¶ added in v1.5.0
func Operations() []Operation
Operations returns all supported declarative maturity operations in display order.
type OrganizationResource ¶ added in v0.4.0
type OrganizationResource struct {
// Teams nested under this organization
Teams []OrganizationTeamResource `yaml:"teams,omitempty" json:"teams,omitempty"`
// Users contains user-bound team memberships and role assignments.
Users []OrganizationUserResource `yaml:"users,omitempty" json:"users,omitempty"`
// SystemAccounts contains system-account-bound team memberships and role assignments.
SystemAccounts []OrganizationSystemAccountResource `yaml:"system-accounts,omitempty" json:"system-accounts,omitempty"`
}
OrganizationResource represents an organization grouping in declarative configuration. It's a grouping concept that can contain nested resources like teams.
type OrganizationSystemAccountResource ¶ added in v1.0.0
type OrganizationSystemAccountResource struct {
Ref string `yaml:"ref" json:"ref"`
Name string `yaml:"name,omitempty" json:"name,omitempty"`
ID string `yaml:"id,omitempty" json:"id,omitempty"`
Kongctl *KongctlMeta `yaml:"kongctl,omitempty" json:"kongctl,omitempty"`
Teams []OrganizationSystemAccountTeamMembershipResource `yaml:"teams,omitempty" json:"teams,omitempty"`
Roles []OrganizationSystemAccountRoleResource `yaml:"roles,omitempty" json:"roles,omitempty"`
// contains filtered or unexported fields
}
OrganizationSystemAccountResource selects an existing Konnect system account and declares assignments.
func (OrganizationSystemAccountResource) GetKonnectID ¶ added in v1.0.0
func (s OrganizationSystemAccountResource) GetKonnectID() string
func (OrganizationSystemAccountResource) GetRef ¶ added in v1.0.0
func (s OrganizationSystemAccountResource) GetRef() string
func (*OrganizationSystemAccountResource) SetKonnectID ¶ added in v1.0.0
func (s *OrganizationSystemAccountResource) SetKonnectID(id string)
func (OrganizationSystemAccountResource) Validate ¶ added in v1.0.0
func (s OrganizationSystemAccountResource) Validate() error
type OrganizationSystemAccountRoleResource ¶ added in v1.0.0
type OrganizationSystemAccountRoleResource struct {
Ref string `yaml:"ref" json:"ref"`
SystemAccount string `yaml:"system_account,omitempty" json:"system_account,omitempty"`
RoleName string `yaml:"role_name" json:"role_name"`
EntityID string `yaml:"entity_id" json:"entity_id"`
EntityTypeName string `yaml:"entity_type_name" json:"entity_type_name"`
EntityRegion string `yaml:"entity_region" json:"entity_region"`
}
OrganizationSystemAccountRoleResource represents an assigned role on a system account.
func (OrganizationSystemAccountRoleResource) GetDependencies ¶ added in v1.0.0
func (r OrganizationSystemAccountRoleResource) GetDependencies() []ResourceRef
func (OrganizationSystemAccountRoleResource) GetKonnectID ¶ added in v1.0.0
func (r OrganizationSystemAccountRoleResource) GetKonnectID() string
func (OrganizationSystemAccountRoleResource) GetKonnectMonikerFilter ¶ added in v1.0.0
func (r OrganizationSystemAccountRoleResource) GetKonnectMonikerFilter() string
func (OrganizationSystemAccountRoleResource) GetMoniker ¶ added in v1.0.0
func (r OrganizationSystemAccountRoleResource) GetMoniker() string
func (OrganizationSystemAccountRoleResource) GetRef ¶ added in v1.0.0
func (r OrganizationSystemAccountRoleResource) GetRef() string
func (OrganizationSystemAccountRoleResource) GetType ¶ added in v1.0.0
func (r OrganizationSystemAccountRoleResource) GetType() ResourceType
func (*OrganizationSystemAccountRoleResource) SetDefaults ¶ added in v1.0.0
func (r *OrganizationSystemAccountRoleResource) SetDefaults()
func (*OrganizationSystemAccountRoleResource) TryMatchKonnectResource ¶ added in v1.0.0
func (r *OrganizationSystemAccountRoleResource) TryMatchKonnectResource(_ any) bool
func (OrganizationSystemAccountRoleResource) Validate ¶ added in v1.0.0
func (r OrganizationSystemAccountRoleResource) Validate() error
type OrganizationSystemAccountTeamMembershipResource ¶ added in v1.0.0
type OrganizationSystemAccountTeamMembershipResource struct {
Ref string `yaml:"ref" json:"ref"`
SystemAccount string `yaml:"system_account,omitempty" json:"system_account,omitempty"`
Team string `yaml:"team" json:"team"`
}
OrganizationSystemAccountTeamMembershipResource represents a system account's team assignment.
func (OrganizationSystemAccountTeamMembershipResource) GetDependencies ¶ added in v1.0.0
func (r OrganizationSystemAccountTeamMembershipResource) GetDependencies() []ResourceRef
func (OrganizationSystemAccountTeamMembershipResource) GetKonnectID ¶ added in v1.0.0
func (r OrganizationSystemAccountTeamMembershipResource) GetKonnectID() string
func (OrganizationSystemAccountTeamMembershipResource) GetKonnectMonikerFilter ¶ added in v1.0.0
func (r OrganizationSystemAccountTeamMembershipResource) GetKonnectMonikerFilter() string
func (OrganizationSystemAccountTeamMembershipResource) GetMoniker ¶ added in v1.0.0
func (r OrganizationSystemAccountTeamMembershipResource) GetMoniker() string
func (OrganizationSystemAccountTeamMembershipResource) GetRef ¶ added in v1.0.0
func (r OrganizationSystemAccountTeamMembershipResource) GetRef() string
func (OrganizationSystemAccountTeamMembershipResource) GetType ¶ added in v1.0.0
func (r OrganizationSystemAccountTeamMembershipResource) GetType() ResourceType
func (*OrganizationSystemAccountTeamMembershipResource) SetDefaults ¶ added in v1.0.0
func (r *OrganizationSystemAccountTeamMembershipResource) SetDefaults()
func (*OrganizationSystemAccountTeamMembershipResource) TryMatchKonnectResource ¶ added in v1.0.0
func (r *OrganizationSystemAccountTeamMembershipResource) TryMatchKonnectResource(_ any) bool
func (OrganizationSystemAccountTeamMembershipResource) Validate ¶ added in v1.0.0
func (r OrganizationSystemAccountTeamMembershipResource) Validate() error
func (OrganizationSystemAccountTeamMembershipResource) ValidateNested ¶ added in v1.0.0
func (r OrganizationSystemAccountTeamMembershipResource) ValidateNested() error
type OrganizationTeamResource ¶ added in v0.4.0
type OrganizationTeamResource struct {
BaseResource
kkComps.CreateTeam `yaml:",inline" json:",inline"`
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
Roles []OrganizationTeamRoleResource `yaml:"roles,omitempty" json:"roles,omitempty"`
}
OrganizationTeamResource represents a team in declarative configuration
func (OrganizationTeamResource) GetDependencies ¶ added in v0.4.0
func (t OrganizationTeamResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this team depends on
func (*OrganizationTeamResource) GetExternalBlock ¶ added in v1.8.0
func (t *OrganizationTeamResource) GetExternalBlock() *ExternalBlock
func (OrganizationTeamResource) GetKonnectMonikerFilter ¶ added in v0.4.0
func (t OrganizationTeamResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (OrganizationTeamResource) GetLabels ¶ added in v0.4.0
func (t OrganizationTeamResource) GetLabels() map[string]string
GetLabels returns the labels for this resource
func (OrganizationTeamResource) GetMoniker ¶ added in v0.4.0
func (t OrganizationTeamResource) GetMoniker() string
GetMoniker returns the resource moniker (for teams, this is the name)
func (OrganizationTeamResource) GetReferenceFieldMappings ¶ added in v0.4.0
func (t OrganizationTeamResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns the field mappings for reference validation
func (OrganizationTeamResource) GetType ¶ added in v0.4.0
func (t OrganizationTeamResource) GetType() ResourceType
GetType returns the resource type
func (*OrganizationTeamResource) IsExternal ¶ added in v0.4.0
func (t *OrganizationTeamResource) IsExternal() bool
IsExternal returns true if this team is externally managed
func (OrganizationTeamResource) MarshalJSON ¶ added in v1.0.0
func (t OrganizationTeamResource) MarshalJSON() ([]byte, error)
func (OrganizationTeamResource) MarshalYAML ¶ added in v1.0.0
func (t OrganizationTeamResource) MarshalYAML() (any, error)
func (*OrganizationTeamResource) SetDefaults ¶ added in v0.4.0
func (t *OrganizationTeamResource) SetDefaults()
SetDefaults applies default values to team resource
func (*OrganizationTeamResource) SetLabels ¶ added in v0.4.0
func (t *OrganizationTeamResource) SetLabels(labels map[string]string)
SetLabels sets the labels for this resource
func (*OrganizationTeamResource) TryMatchKonnectResource ¶ added in v0.4.0
func (t *OrganizationTeamResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (*OrganizationTeamResource) UnmarshalJSON ¶ added in v1.22.0
func (t *OrganizationTeamResource) UnmarshalJSON(data []byte) error
func (OrganizationTeamResource) Validate ¶ added in v0.4.0
func (t OrganizationTeamResource) Validate() error
Validate ensures the team resource is valid
type OrganizationTeamRoleResource ¶ added in v1.0.0
type OrganizationTeamRoleResource struct {
Ref string `yaml:"ref" json:"ref"`
// Parent team reference.
Team string `yaml:"team,omitempty" json:"team,omitempty"`
RoleName string `yaml:"role_name" json:"role_name"`
EntityID string `yaml:"entity_id" json:"entity_id"`
EntityTypeName string `yaml:"entity_type_name" json:"entity_type_name"`
EntityRegion string `yaml:"entity_region" json:"entity_region"`
// contains filtered or unexported fields
}
OrganizationTeamRoleResource represents an assigned role on an organization team. This is a child resource (no kongctl metadata support).
func (OrganizationTeamRoleResource) GetDependencies ¶ added in v1.0.0
func (r OrganizationTeamRoleResource) GetDependencies() []ResourceRef
func (OrganizationTeamRoleResource) GetKonnectID ¶ added in v1.0.0
func (r OrganizationTeamRoleResource) GetKonnectID() string
func (OrganizationTeamRoleResource) GetKonnectMonikerFilter ¶ added in v1.0.0
func (r OrganizationTeamRoleResource) GetKonnectMonikerFilter() string
func (OrganizationTeamRoleResource) GetMoniker ¶ added in v1.0.0
func (r OrganizationTeamRoleResource) GetMoniker() string
func (OrganizationTeamRoleResource) GetParentRef ¶ added in v1.0.0
func (r OrganizationTeamRoleResource) GetParentRef() *ResourceRef
func (OrganizationTeamRoleResource) GetRef ¶ added in v1.0.0
func (r OrganizationTeamRoleResource) GetRef() string
func (OrganizationTeamRoleResource) GetType ¶ added in v1.0.0
func (r OrganizationTeamRoleResource) GetType() ResourceType
func (OrganizationTeamRoleResource) MarshalJSON ¶ added in v1.0.0
func (r OrganizationTeamRoleResource) MarshalJSON() ([]byte, error)
func (OrganizationTeamRoleResource) MarshalYAML ¶ added in v1.0.0
func (r OrganizationTeamRoleResource) MarshalYAML() (any, error)
func (*OrganizationTeamRoleResource) SetDefaults ¶ added in v1.0.0
func (r *OrganizationTeamRoleResource) SetDefaults()
func (*OrganizationTeamRoleResource) TryMatchKonnectResource ¶ added in v1.0.0
func (r *OrganizationTeamRoleResource) TryMatchKonnectResource(konnectResource any) bool
func (*OrganizationTeamRoleResource) UnmarshalJSON ¶ added in v1.0.0
func (r *OrganizationTeamRoleResource) UnmarshalJSON(data []byte) error
func (OrganizationTeamRoleResource) Validate ¶ added in v1.0.0
func (r OrganizationTeamRoleResource) Validate() error
type OrganizationUserResource ¶ added in v1.0.0
type OrganizationUserResource struct {
Ref string `yaml:"ref" json:"ref"`
Email string `yaml:"email,omitempty" json:"email,omitempty"`
ID string `yaml:"id,omitempty" json:"id,omitempty"`
Kongctl *KongctlMeta `yaml:"kongctl,omitempty" json:"kongctl,omitempty"`
Teams []OrganizationUserTeamMembershipResource `yaml:"teams,omitempty" json:"teams,omitempty"`
Roles []OrganizationUserRoleResource `yaml:"roles,omitempty" json:"roles,omitempty"`
// contains filtered or unexported fields
}
OrganizationUserResource selects an existing Konnect user and declares user-bound assignments.
func (OrganizationUserResource) GetKonnectID ¶ added in v1.0.0
func (u OrganizationUserResource) GetKonnectID() string
func (OrganizationUserResource) GetRef ¶ added in v1.0.0
func (u OrganizationUserResource) GetRef() string
func (*OrganizationUserResource) SetKonnectID ¶ added in v1.0.0
func (u *OrganizationUserResource) SetKonnectID(id string)
func (OrganizationUserResource) Validate ¶ added in v1.0.0
func (u OrganizationUserResource) Validate() error
type OrganizationUserRoleResource ¶ added in v1.0.0
type OrganizationUserRoleResource struct {
Ref string `yaml:"ref" json:"ref"`
User string `yaml:"user,omitempty" json:"user,omitempty"`
RoleName string `yaml:"role_name" json:"role_name"`
EntityID string `yaml:"entity_id" json:"entity_id"`
EntityTypeName string `yaml:"entity_type_name" json:"entity_type_name"`
EntityRegion string `yaml:"entity_region" json:"entity_region"`
}
OrganizationUserRoleResource represents an assigned role on an organization user.
func (OrganizationUserRoleResource) GetDependencies ¶ added in v1.0.0
func (r OrganizationUserRoleResource) GetDependencies() []ResourceRef
func (OrganizationUserRoleResource) GetKonnectID ¶ added in v1.0.0
func (r OrganizationUserRoleResource) GetKonnectID() string
func (OrganizationUserRoleResource) GetKonnectMonikerFilter ¶ added in v1.0.0
func (r OrganizationUserRoleResource) GetKonnectMonikerFilter() string
func (OrganizationUserRoleResource) GetMoniker ¶ added in v1.0.0
func (r OrganizationUserRoleResource) GetMoniker() string
func (OrganizationUserRoleResource) GetRef ¶ added in v1.0.0
func (r OrganizationUserRoleResource) GetRef() string
func (OrganizationUserRoleResource) GetType ¶ added in v1.0.0
func (r OrganizationUserRoleResource) GetType() ResourceType
func (*OrganizationUserRoleResource) SetDefaults ¶ added in v1.0.0
func (r *OrganizationUserRoleResource) SetDefaults()
func (*OrganizationUserRoleResource) TryMatchKonnectResource ¶ added in v1.0.0
func (r *OrganizationUserRoleResource) TryMatchKonnectResource(_ any) bool
func (OrganizationUserRoleResource) Validate ¶ added in v1.0.0
func (r OrganizationUserRoleResource) Validate() error
type OrganizationUserTeamMembershipResource ¶ added in v1.0.0
type OrganizationUserTeamMembershipResource struct {
Ref string `yaml:"ref" json:"ref"`
User string `yaml:"user,omitempty" json:"user,omitempty"`
Team string `yaml:"team" json:"team"`
}
OrganizationUserTeamMembershipResource represents an organization user's team assignment.
func (OrganizationUserTeamMembershipResource) GetDependencies ¶ added in v1.0.0
func (r OrganizationUserTeamMembershipResource) GetDependencies() []ResourceRef
func (OrganizationUserTeamMembershipResource) GetKonnectID ¶ added in v1.0.0
func (r OrganizationUserTeamMembershipResource) GetKonnectID() string
func (OrganizationUserTeamMembershipResource) GetKonnectMonikerFilter ¶ added in v1.0.0
func (r OrganizationUserTeamMembershipResource) GetKonnectMonikerFilter() string
func (OrganizationUserTeamMembershipResource) GetMoniker ¶ added in v1.0.0
func (r OrganizationUserTeamMembershipResource) GetMoniker() string
func (OrganizationUserTeamMembershipResource) GetRef ¶ added in v1.0.0
func (r OrganizationUserTeamMembershipResource) GetRef() string
func (OrganizationUserTeamMembershipResource) GetType ¶ added in v1.0.0
func (r OrganizationUserTeamMembershipResource) GetType() ResourceType
func (*OrganizationUserTeamMembershipResource) SetDefaults ¶ added in v1.0.0
func (r *OrganizationUserTeamMembershipResource) SetDefaults()
func (*OrganizationUserTeamMembershipResource) TryMatchKonnectResource ¶ added in v1.0.0
func (r *OrganizationUserTeamMembershipResource) TryMatchKonnectResource(_ any) bool
func (OrganizationUserTeamMembershipResource) Validate ¶ added in v1.0.0
func (r OrganizationUserTeamMembershipResource) Validate() error
func (OrganizationUserTeamMembershipResource) ValidateNested ¶ added in v1.0.0
func (r OrganizationUserTeamMembershipResource) ValidateNested() error
type PortalAssetFaviconResource ¶ added in v0.3.5
type PortalAssetFaviconResource struct {
Ref string `yaml:"ref" json:"ref"`
Portal string `yaml:"portal" json:"portal"` // Parent portal reference
File *string `yaml:"file,omitempty" json:"file,omitempty"` // Data URL from !file tag
// contains filtered or unexported fields
}
PortalAssetFaviconResource represents a portal favicon asset This is a singleton resource - only UPDATE operations are supported
func (PortalAssetFaviconResource) GetDependencies ¶ added in v0.3.5
func (r PortalAssetFaviconResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this asset depends on
func (PortalAssetFaviconResource) GetKonnectID ¶ added in v0.3.5
func (r PortalAssetFaviconResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available
func (PortalAssetFaviconResource) GetKonnectMonikerFilter ¶ added in v0.3.5
func (r PortalAssetFaviconResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns filter for API lookup For singleton assets, there's no moniker-based lookup
func (PortalAssetFaviconResource) GetMoniker ¶ added in v0.3.5
func (r PortalAssetFaviconResource) GetMoniker() string
GetMoniker returns the resource moniker (for singletons, this is the ref)
func (PortalAssetFaviconResource) GetParentRef ¶ added in v0.3.5
func (r PortalAssetFaviconResource) GetParentRef() *ResourceRef
GetParentRef returns the parent resource reference
func (PortalAssetFaviconResource) GetRef ¶ added in v0.3.5
func (r PortalAssetFaviconResource) GetRef() string
GetRef returns the reference identifier
func (PortalAssetFaviconResource) GetType ¶ added in v0.3.5
func (r PortalAssetFaviconResource) GetType() ResourceType
GetType returns the resource type
func (*PortalAssetFaviconResource) SetDefaults ¶ added in v0.3.5
func (r *PortalAssetFaviconResource) SetDefaults()
SetDefaults applies default values
func (*PortalAssetFaviconResource) TryMatchKonnectResource ¶ added in v0.3.5
func (r *PortalAssetFaviconResource) TryMatchKonnectResource(_ any) bool
TryMatchKonnectResource matches against Konnect API response For singleton assets, matching is done by portal ID, not by resource attributes
func (PortalAssetFaviconResource) Validate ¶ added in v0.3.5
func (r PortalAssetFaviconResource) Validate() error
Validate ensures the portal asset favicon resource is valid
type PortalAssetLogoResource ¶ added in v0.3.5
type PortalAssetLogoResource struct {
Ref string `yaml:"ref" json:"ref"`
Portal string `yaml:"portal" json:"portal"` // Parent portal reference
File *string `yaml:"file,omitempty" json:"file,omitempty"` // Data URL from !file tag
// contains filtered or unexported fields
}
PortalAssetLogoResource represents a portal logo asset This is a singleton resource - only UPDATE operations are supported
func (PortalAssetLogoResource) GetDependencies ¶ added in v0.3.5
func (r PortalAssetLogoResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this asset depends on
func (PortalAssetLogoResource) GetKonnectID ¶ added in v0.3.5
func (r PortalAssetLogoResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available
func (PortalAssetLogoResource) GetKonnectMonikerFilter ¶ added in v0.3.5
func (r PortalAssetLogoResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns filter for API lookup For singleton assets, there's no moniker-based lookup
func (PortalAssetLogoResource) GetMoniker ¶ added in v0.3.5
func (r PortalAssetLogoResource) GetMoniker() string
GetMoniker returns the resource moniker (for singletons, this is the ref)
func (PortalAssetLogoResource) GetParentRef ¶ added in v0.3.5
func (r PortalAssetLogoResource) GetParentRef() *ResourceRef
GetParentRef returns the parent resource reference
func (PortalAssetLogoResource) GetRef ¶ added in v0.3.5
func (r PortalAssetLogoResource) GetRef() string
GetRef returns the reference identifier
func (PortalAssetLogoResource) GetType ¶ added in v0.3.5
func (r PortalAssetLogoResource) GetType() ResourceType
GetType returns the resource type
func (*PortalAssetLogoResource) SetDefaults ¶ added in v0.3.5
func (r *PortalAssetLogoResource) SetDefaults()
SetDefaults applies default values
func (*PortalAssetLogoResource) TryMatchKonnectResource ¶ added in v0.3.5
func (r *PortalAssetLogoResource) TryMatchKonnectResource(_ any) bool
TryMatchKonnectResource matches against Konnect API response For singleton assets, matching is done by portal ID, not by resource attributes
func (PortalAssetLogoResource) Validate ¶ added in v0.3.5
func (r PortalAssetLogoResource) Validate() error
Validate ensures the portal asset logo resource is valid
type PortalAssetsResource ¶ added in v0.3.5
type PortalAssetsResource struct {
Logo *string `yaml:"logo,omitempty" json:"logo,omitempty"`
Favicon *string `yaml:"favicon,omitempty" json:"favicon,omitempty"`
}
PortalAssetsResource represents portal assets (logo, favicon) in nested definition
type PortalAuditLogWebhookResource ¶ added in v0.10.0
type PortalAuditLogWebhookResource struct {
Ref string `yaml:"ref" json:"ref"`
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"`
Enabled *bool `yaml:"enabled,omitempty" json:"enabled,omitempty"`
AuditLogDestinationID string `yaml:"audit_log_destination_id,omitempty" json:"audit_log_destination_id,omitempty"`
// contains filtered or unexported fields
}
PortalAuditLogWebhookResource represents the portal audit-log webhook singleton child resource.
func (PortalAuditLogWebhookResource) GetDependencies ¶ added in v0.10.0
func (w PortalAuditLogWebhookResource) GetDependencies() []ResourceRef
func (PortalAuditLogWebhookResource) GetKonnectID ¶ added in v0.10.0
func (w PortalAuditLogWebhookResource) GetKonnectID() string
func (PortalAuditLogWebhookResource) GetKonnectMonikerFilter ¶ added in v0.10.0
func (w PortalAuditLogWebhookResource) GetKonnectMonikerFilter() string
func (PortalAuditLogWebhookResource) GetMoniker ¶ added in v0.10.0
func (w PortalAuditLogWebhookResource) GetMoniker() string
func (PortalAuditLogWebhookResource) GetParentRef ¶ added in v0.10.0
func (w PortalAuditLogWebhookResource) GetParentRef() *ResourceRef
func (PortalAuditLogWebhookResource) GetRef ¶ added in v0.10.0
func (w PortalAuditLogWebhookResource) GetRef() string
func (PortalAuditLogWebhookResource) GetReferenceFieldMappings ¶ added in v0.10.0
func (w PortalAuditLogWebhookResource) GetReferenceFieldMappings() map[string]string
func (PortalAuditLogWebhookResource) GetType ¶ added in v0.10.0
func (w PortalAuditLogWebhookResource) GetType() ResourceType
func (*PortalAuditLogWebhookResource) SetDefaults ¶ added in v0.10.0
func (w *PortalAuditLogWebhookResource) SetDefaults()
func (*PortalAuditLogWebhookResource) TryMatchKonnectResource ¶ added in v0.10.0
func (w *PortalAuditLogWebhookResource) TryMatchKonnectResource(konnectResource any) bool
func (PortalAuditLogWebhookResource) Validate ¶ added in v0.10.0
func (w PortalAuditLogWebhookResource) Validate() error
type PortalAuthSettingsResource ¶ added in v0.3.4
type PortalAuthSettingsResource struct {
kkComps.PortalAuthenticationSettingsUpdateRequest ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref,omitempty" json:"ref,omitempty"`
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"`
// contains filtered or unexported fields
}
PortalAuthSettingsResource represents portal authentication settings (singleton child).
func (PortalAuthSettingsResource) GetDependencies ¶ added in v0.3.4
func (a PortalAuthSettingsResource) GetDependencies() []ResourceRef
func (PortalAuthSettingsResource) GetKonnectID ¶ added in v0.3.4
func (a PortalAuthSettingsResource) GetKonnectID() string
func (PortalAuthSettingsResource) GetKonnectMonikerFilter ¶ added in v0.3.4
func (a PortalAuthSettingsResource) GetKonnectMonikerFilter() string
func (PortalAuthSettingsResource) GetMoniker ¶ added in v0.3.4
func (a PortalAuthSettingsResource) GetMoniker() string
func (PortalAuthSettingsResource) GetParentRef ¶ added in v0.3.4
func (a PortalAuthSettingsResource) GetParentRef() *ResourceRef
GetParentRef implements ResourceWithParent for inheritance of namespace and protection.
func (PortalAuthSettingsResource) GetRef ¶ added in v0.3.4
func (a PortalAuthSettingsResource) GetRef() string
func (PortalAuthSettingsResource) GetType ¶ added in v0.3.4
func (a PortalAuthSettingsResource) GetType() ResourceType
func (*PortalAuthSettingsResource) SetDefaults ¶ added in v0.3.4
func (a *PortalAuthSettingsResource) SetDefaults()
func (*PortalAuthSettingsResource) TryMatchKonnectResource ¶ added in v0.3.4
func (a *PortalAuthSettingsResource) TryMatchKonnectResource(_ any) bool
func (*PortalAuthSettingsResource) UnmarshalJSON ¶ added in v0.3.4
func (a *PortalAuthSettingsResource) UnmarshalJSON(data []byte) error
UnmarshalJSON rejects kongctl metadata on child resources.
func (PortalAuthSettingsResource) Validate ¶ added in v0.3.4
func (a PortalAuthSettingsResource) Validate() error
type PortalCustomDomainResource ¶
type PortalCustomDomainResource struct {
// Use CreatePortalCustomDomainRequest which contains only user-configurable fields
// This aligns with the pattern used by other resources (API, APIVersion, etc.)
kkComps.CreatePortalCustomDomainRequest ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref,omitempty" json:"ref,omitempty"`
// Parent portal reference
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"`
// contains filtered or unexported fields
}
PortalCustomDomainResource represents a portal custom domain configuration
func (PortalCustomDomainResource) GetDependencies ¶ added in v0.1.3
func (d PortalCustomDomainResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this custom domain depends on
func (PortalCustomDomainResource) GetKonnectID ¶ added in v0.1.3
func (d PortalCustomDomainResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available
func (PortalCustomDomainResource) GetKonnectMonikerFilter ¶ added in v0.1.3
func (d PortalCustomDomainResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (PortalCustomDomainResource) GetMoniker ¶ added in v0.1.3
func (d PortalCustomDomainResource) GetMoniker() string
GetMoniker returns the resource moniker (for custom domains, this is the hostname)
func (PortalCustomDomainResource) GetParentRef ¶ added in v1.17.0
func (d PortalCustomDomainResource) GetParentRef() *ResourceRef
GetParentRef returns the parent portal reference.
func (PortalCustomDomainResource) GetRef ¶
func (d PortalCustomDomainResource) GetRef() string
GetRef returns the reference identifier
func (PortalCustomDomainResource) GetType ¶ added in v0.1.3
func (d PortalCustomDomainResource) GetType() ResourceType
GetType returns the resource type
func (*PortalCustomDomainResource) SetDefaults ¶
func (d *PortalCustomDomainResource) SetDefaults()
SetDefaults applies default values
func (*PortalCustomDomainResource) TryMatchKonnectResource ¶ added in v0.1.3
func (d *PortalCustomDomainResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (PortalCustomDomainResource) Validate ¶
func (d PortalCustomDomainResource) Validate() error
Validate ensures the portal custom domain resource is valid
type PortalCustomizationResource ¶
type PortalCustomizationResource struct {
kkComps.PortalCustomization ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref,omitempty" json:"ref,omitempty"`
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"` // Parent portal reference
// contains filtered or unexported fields
}
PortalCustomizationResource represents portal customization settings
func (PortalCustomizationResource) GetDependencies ¶ added in v0.1.3
func (c PortalCustomizationResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this customization depends on
func (PortalCustomizationResource) GetKonnectID ¶ added in v0.1.3
func (c PortalCustomizationResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available
func (PortalCustomizationResource) GetKonnectMonikerFilter ¶ added in v0.1.3
func (c PortalCustomizationResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (PortalCustomizationResource) GetMoniker ¶ added in v0.1.3
func (c PortalCustomizationResource) GetMoniker() string
GetMoniker returns the resource moniker (for customizations, this is the ref)
func (PortalCustomizationResource) GetRef ¶
func (c PortalCustomizationResource) GetRef() string
GetRef returns the reference identifier
func (PortalCustomizationResource) GetType ¶ added in v0.1.3
func (c PortalCustomizationResource) GetType() ResourceType
GetType returns the resource type
func (*PortalCustomizationResource) SetDefaults ¶
func (c *PortalCustomizationResource) SetDefaults()
SetDefaults applies default values
func (*PortalCustomizationResource) TryMatchKonnectResource ¶ added in v0.1.3
func (c *PortalCustomizationResource) TryMatchKonnectResource(_ any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (PortalCustomizationResource) Validate ¶
func (c PortalCustomizationResource) Validate() error
Validate ensures the portal customization resource is valid
type PortalEmailConfigResource ¶ added in v0.3.5
type PortalEmailConfigResource struct {
kkComps.PostPortalEmailConfig ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"`
DomainNameSet bool `yaml:"-" json:"-"`
FromNameSet bool `yaml:"-" json:"-"`
FromEmailSet bool `yaml:"-" json:"-"`
ReplyToEmailSet bool `yaml:"-" json:"-"`
// contains filtered or unexported fields
}
PortalEmailConfigResource represents the portal email configuration (singleton child).
func (PortalEmailConfigResource) GetDependencies ¶ added in v0.3.5
func (c PortalEmailConfigResource) GetDependencies() []ResourceRef
func (PortalEmailConfigResource) GetKonnectID ¶ added in v0.3.5
func (c PortalEmailConfigResource) GetKonnectID() string
func (PortalEmailConfigResource) GetKonnectMonikerFilter ¶ added in v0.3.5
func (c PortalEmailConfigResource) GetKonnectMonikerFilter() string
func (PortalEmailConfigResource) GetMoniker ¶ added in v0.3.5
func (c PortalEmailConfigResource) GetMoniker() string
func (PortalEmailConfigResource) GetParentRef ¶ added in v0.3.5
func (c PortalEmailConfigResource) GetParentRef() *ResourceRef
GetParentRef implements ResourceWithParent for inheritance of namespace and protection.
func (PortalEmailConfigResource) GetRef ¶ added in v0.3.5
func (c PortalEmailConfigResource) GetRef() string
func (PortalEmailConfigResource) GetReferenceFieldMappings ¶ added in v0.3.5
func (c PortalEmailConfigResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns cross-resource reference mappings for validation.
func (PortalEmailConfigResource) GetType ¶ added in v0.3.5
func (c PortalEmailConfigResource) GetType() ResourceType
func (*PortalEmailConfigResource) SetDefaults ¶ added in v0.3.5
func (c *PortalEmailConfigResource) SetDefaults()
func (*PortalEmailConfigResource) TryMatchKonnectResource ¶ added in v0.3.5
func (c *PortalEmailConfigResource) TryMatchKonnectResource(konnectResource any) bool
func (*PortalEmailConfigResource) UnmarshalJSON ¶ added in v0.3.5
func (c *PortalEmailConfigResource) UnmarshalJSON(data []byte) error
UnmarshalJSON rejects kongctl metadata on child resources.
func (PortalEmailConfigResource) Validate ¶ added in v0.3.5
func (c PortalEmailConfigResource) Validate() error
type PortalEmailTemplateContent ¶ added in v0.3.5
type PortalEmailTemplateContent struct {
Subject *string `yaml:"subject,omitempty" json:"subject,omitempty"`
Title *string `yaml:"title,omitempty" json:"title,omitempty"`
Body *string `yaml:"body,omitempty" json:"body,omitempty"`
ButtonLabel *string `yaml:"button_label,omitempty" json:"button_label,omitempty"`
SubjectSet bool `yaml:"-" json:"-"`
TitleSet bool `yaml:"-" json:"-"`
BodySet bool `yaml:"-" json:"-"`
ButtonLabelSet bool `yaml:"-" json:"-"`
}
PortalEmailTemplateContent captures the customizable fields of an email template.
func (*PortalEmailTemplateContent) UnmarshalJSON ¶ added in v0.3.5
func (c *PortalEmailTemplateContent) UnmarshalJSON(data []byte) error
UnmarshalJSON tracks which fields were explicitly set, including nulls.
type PortalEmailTemplateResource ¶ added in v0.3.5
type PortalEmailTemplateResource struct {
Ref string `yaml:"ref" json:"ref"`
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"`
Name kkComps.EmailTemplateName `yaml:"name,omitempty" json:"name,omitempty"`
Content *PortalEmailTemplateContent `yaml:"content,omitempty" json:"content,omitempty"`
Enabled *bool `yaml:"enabled,omitempty" json:"enabled,omitempty"`
NameSet bool `yaml:"-" json:"-"`
ContentSet bool `yaml:"-" json:"-"`
EnabledSet bool `yaml:"-" json:"-"`
// contains filtered or unexported fields
}
PortalEmailTemplateResource represents a customizable portal email template.
func (PortalEmailTemplateResource) GetDependencies ¶ added in v0.3.5
func (t PortalEmailTemplateResource) GetDependencies() []ResourceRef
func (PortalEmailTemplateResource) GetKonnectID ¶ added in v0.3.5
func (t PortalEmailTemplateResource) GetKonnectID() string
func (PortalEmailTemplateResource) GetKonnectMonikerFilter ¶ added in v0.3.5
func (t PortalEmailTemplateResource) GetKonnectMonikerFilter() string
func (PortalEmailTemplateResource) GetMoniker ¶ added in v0.3.5
func (t PortalEmailTemplateResource) GetMoniker() string
func (PortalEmailTemplateResource) GetParentRef ¶ added in v0.3.5
func (t PortalEmailTemplateResource) GetParentRef() *ResourceRef
GetParentRef implements ResourceWithParent for inheritance of namespace and protection.
func (PortalEmailTemplateResource) GetRef ¶ added in v0.3.5
func (t PortalEmailTemplateResource) GetRef() string
func (PortalEmailTemplateResource) GetReferenceFieldMappings ¶ added in v0.3.5
func (t PortalEmailTemplateResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns cross-resource reference mappings for validation.
func (PortalEmailTemplateResource) GetType ¶ added in v0.3.5
func (t PortalEmailTemplateResource) GetType() ResourceType
func (*PortalEmailTemplateResource) SetDefaults ¶ added in v0.3.5
func (t *PortalEmailTemplateResource) SetDefaults()
func (*PortalEmailTemplateResource) TryMatchKonnectResource ¶ added in v0.3.5
func (t *PortalEmailTemplateResource) TryMatchKonnectResource(konnectResource any) bool
func (*PortalEmailTemplateResource) UnmarshalJSON ¶ added in v0.3.5
func (t *PortalEmailTemplateResource) UnmarshalJSON(data []byte) error
UnmarshalJSON rejects kongctl metadata on child resources and tracks field presence.
func (PortalEmailTemplateResource) Validate ¶ added in v0.3.5
func (t PortalEmailTemplateResource) Validate() error
type PortalIPAllowListResource ¶ added in v0.10.0
type PortalIPAllowListResource struct {
Ref string `yaml:"ref" json:"ref"`
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"`
AllowedIPs []string `yaml:"allowed_ips" json:"allowed_ips"`
// contains filtered or unexported fields
}
PortalIPAllowListResource represents a portal IP allow-list entry.
func (PortalIPAllowListResource) GetDependencies ¶ added in v0.10.0
func (l PortalIPAllowListResource) GetDependencies() []ResourceRef
func (PortalIPAllowListResource) GetKonnectID ¶ added in v0.10.0
func (l PortalIPAllowListResource) GetKonnectID() string
func (PortalIPAllowListResource) GetKonnectMonikerFilter ¶ added in v0.10.0
func (l PortalIPAllowListResource) GetKonnectMonikerFilter() string
func (PortalIPAllowListResource) GetMoniker ¶ added in v0.10.0
func (l PortalIPAllowListResource) GetMoniker() string
func (PortalIPAllowListResource) GetParentRef ¶ added in v0.10.0
func (l PortalIPAllowListResource) GetParentRef() *ResourceRef
GetParentRef implements ResourceWithParent for inheritance of namespace and protection.
func (PortalIPAllowListResource) GetRef ¶ added in v0.10.0
func (l PortalIPAllowListResource) GetRef() string
func (PortalIPAllowListResource) GetReferenceFieldMappings ¶ added in v0.10.0
func (l PortalIPAllowListResource) GetReferenceFieldMappings() map[string]string
func (PortalIPAllowListResource) GetType ¶ added in v0.10.0
func (l PortalIPAllowListResource) GetType() ResourceType
func (*PortalIPAllowListResource) SetDefaults ¶ added in v0.10.0
func (l *PortalIPAllowListResource) SetDefaults()
func (*PortalIPAllowListResource) TryMatchKonnectResource ¶ added in v0.10.0
func (l *PortalIPAllowListResource) TryMatchKonnectResource(_ any) bool
func (*PortalIPAllowListResource) UnmarshalJSON ¶ added in v0.10.0
func (l *PortalIPAllowListResource) UnmarshalJSON(data []byte) error
UnmarshalJSON rejects kongctl metadata on child resources.
func (PortalIPAllowListResource) Validate ¶ added in v0.10.0
func (l PortalIPAllowListResource) Validate() error
type PortalIdentityProviderResource ¶ added in v0.9.0
type PortalIdentityProviderResource struct {
kkComps.CreateIdentityProvider ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"`
// contains filtered or unexported fields
}
PortalIdentityProviderResource represents a portal identity provider child resource.
func (PortalIdentityProviderResource) GetDependencies ¶ added in v0.9.0
func (p PortalIdentityProviderResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this provider depends on.
func (PortalIdentityProviderResource) GetKonnectID ¶ added in v0.9.0
func (p PortalIdentityProviderResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available.
func (PortalIdentityProviderResource) GetKonnectMonikerFilter ¶ added in v0.9.0
func (p PortalIdentityProviderResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup.
func (PortalIdentityProviderResource) GetMoniker ¶ added in v0.9.0
func (p PortalIdentityProviderResource) GetMoniker() string
GetMoniker returns the resource moniker.
func (PortalIdentityProviderResource) GetParentRef ¶ added in v0.9.0
func (p PortalIdentityProviderResource) GetParentRef() *ResourceRef
GetParentRef implements ResourceWithParent for inheritance of namespace and protection.
func (PortalIdentityProviderResource) GetRef ¶ added in v0.9.0
func (p PortalIdentityProviderResource) GetRef() string
GetRef returns the reference identifier.
func (PortalIdentityProviderResource) GetType ¶ added in v0.9.0
func (p PortalIdentityProviderResource) GetType() ResourceType
GetType returns the resource type.
func (PortalIdentityProviderResource) MarshalJSON ¶ added in v0.9.0
func (p PortalIdentityProviderResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures the embedded SDK request and kongctl fields are preserved when serializing.
func (PortalIdentityProviderResource) MarshalYAML ¶ added in v0.9.0
func (p PortalIdentityProviderResource) MarshalYAML() (any, error)
MarshalYAML ensures YAML output mirrors the custom JSON encoding.
func (*PortalIdentityProviderResource) SetDefaults ¶ added in v0.9.0
func (p *PortalIdentityProviderResource) SetDefaults()
SetDefaults applies default values to the resource.
func (*PortalIdentityProviderResource) TryMatchKonnectResource ¶ added in v0.9.0
func (p *PortalIdentityProviderResource) TryMatchKonnectResource(_ any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource.
func (*PortalIdentityProviderResource) UnmarshalJSON ¶ added in v0.9.0
func (p *PortalIdentityProviderResource) UnmarshalJSON(data []byte) error
UnmarshalJSON rejects kongctl metadata on child resources.
func (PortalIdentityProviderResource) Validate ¶ added in v0.9.0
func (p PortalIdentityProviderResource) Validate() error
Validate ensures the portal identity provider resource is valid.
type PortalIntegrationResource ¶ added in v0.10.0
type PortalIntegrationResource struct {
kkComps.PortalIntegrations ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"`
// contains filtered or unexported fields
}
PortalIntegrationResource represents portal integration configuration (singleton child).
func (PortalIntegrationResource) GetDependencies ¶ added in v0.10.0
func (i PortalIntegrationResource) GetDependencies() []ResourceRef
func (PortalIntegrationResource) GetKonnectID ¶ added in v0.10.0
func (i PortalIntegrationResource) GetKonnectID() string
func (PortalIntegrationResource) GetKonnectMonikerFilter ¶ added in v0.10.0
func (i PortalIntegrationResource) GetKonnectMonikerFilter() string
func (PortalIntegrationResource) GetMoniker ¶ added in v0.10.0
func (i PortalIntegrationResource) GetMoniker() string
func (PortalIntegrationResource) GetParentRef ¶ added in v0.10.0
func (i PortalIntegrationResource) GetParentRef() *ResourceRef
GetParentRef implements ResourceWithParent for inheritance of namespace and protection.
func (PortalIntegrationResource) GetRef ¶ added in v0.10.0
func (i PortalIntegrationResource) GetRef() string
func (PortalIntegrationResource) GetReferenceFieldMappings ¶ added in v0.10.0
func (i PortalIntegrationResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns cross-resource reference mappings for validation.
func (PortalIntegrationResource) GetType ¶ added in v0.10.0
func (i PortalIntegrationResource) GetType() ResourceType
func (*PortalIntegrationResource) SetDefaults ¶ added in v0.10.0
func (i *PortalIntegrationResource) SetDefaults()
func (*PortalIntegrationResource) TryMatchKonnectResource ¶ added in v0.10.0
func (i *PortalIntegrationResource) TryMatchKonnectResource(_ any) bool
func (*PortalIntegrationResource) UnmarshalJSON ¶ added in v0.10.0
func (i *PortalIntegrationResource) UnmarshalJSON(data []byte) error
UnmarshalJSON rejects kongctl metadata on child resources.
func (PortalIntegrationResource) Validate ¶ added in v0.10.0
func (i PortalIntegrationResource) Validate() error
type PortalPageResource ¶
type PortalPageResource struct {
kkComps.CreatePortalPageRequest ` yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent portal reference
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"`
// Reference to parent page
ParentPageRef string `yaml:"parent_page_ref,omitempty" json:"parent_page_ref,omitempty"`
// Nested child pages
Children []PortalPageResource `yaml:"children,omitempty" json:"children,omitempty"`
// contains filtered or unexported fields
}
PortalPageResource represents a portal page
func (PortalPageResource) GetDependencies ¶ added in v0.1.3
func (p PortalPageResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this page depends on
func (PortalPageResource) GetKonnectID ¶ added in v0.1.3
func (p PortalPageResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available
func (PortalPageResource) GetKonnectMonikerFilter ¶ added in v0.1.3
func (p PortalPageResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (PortalPageResource) GetMoniker ¶ added in v0.1.3
func (p PortalPageResource) GetMoniker() string
GetMoniker returns the resource moniker (for pages, this is the slug)
func (PortalPageResource) GetRef ¶
func (p PortalPageResource) GetRef() string
GetRef returns the reference identifier
func (PortalPageResource) GetReferenceFieldMappings ¶ added in v0.1.6
func (p PortalPageResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns cross-resource reference mappings for validation
func (PortalPageResource) GetType ¶ added in v0.1.3
func (p PortalPageResource) GetType() ResourceType
GetType returns the resource type
func (*PortalPageResource) SetDefaults ¶
func (p *PortalPageResource) SetDefaults()
SetDefaults applies default values
func (*PortalPageResource) TryMatchKonnectResource ¶ added in v0.1.3
func (p *PortalPageResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (PortalPageResource) Validate ¶
func (p PortalPageResource) Validate() error
Validate ensures the portal page resource is valid
type PortalResource ¶
type PortalResource struct {
BaseResource
kkComps.CreatePortal `yaml:",inline" json:",inline"`
// Child resources that match API endpoints
Customization *PortalCustomizationResource `yaml:"customization,omitempty" json:"customization,omitempty"` //nolint:lll
AuthSettings *PortalAuthSettingsResource `yaml:"auth_settings,omitempty" json:"auth_settings,omitempty"` //nolint:lll
IPAllowList *PortalIPAllowListResource `yaml:"ip_allow_list,omitempty" json:"ip_allow_list,omitempty"` //nolint:lll
Integrations *PortalIntegrationResource `yaml:"integrations,omitempty" json:"integrations,omitempty"` //nolint:lll
IdentityProviders []PortalIdentityProviderResource `yaml:"identity_providers,omitempty" json:"identity_providers,omitempty"` //nolint:lll
CustomDomain *PortalCustomDomainResource `yaml:"custom_domain,omitempty" json:"custom_domain,omitempty"` //nolint:lll
Pages []PortalPageResource `yaml:"pages,omitempty" json:"pages,omitempty"`
Snippets []PortalSnippetResource `yaml:"snippets,omitempty" json:"snippets,omitempty"` //nolint:lll
Teams []PortalTeamResource `yaml:"teams,omitempty" json:"teams,omitempty"`
EmailConfig *PortalEmailConfigResource `yaml:"email_config,omitempty" json:"email_config,omitempty"` //nolint:lll
EmailTemplates map[string]PortalEmailTemplateResource `yaml:"email_templates,omitempty" json:"email_templates,omitempty"` //nolint:lll
AuditLogWebhook *PortalAuditLogWebhookResource `yaml:"audit_log_webhook,omitempty" json:"audit_log_webhook,omitempty"` //nolint:lll
// Assets object containing logo and favicon (data URLs from !file tag)
Assets *PortalAssetsResource `yaml:"assets,omitempty" json:"assets,omitempty"`
// External resource marker
External *ExternalBlock `yaml:"_external,omitempty" json:"_external,omitempty"`
}
PortalResource represents a portal in declarative configuration
func (PortalResource) GetDependencies ¶
func (p PortalResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this portal depends on
func (*PortalResource) GetExternalBlock ¶ added in v1.8.0
func (p *PortalResource) GetExternalBlock() *ExternalBlock
func (PortalResource) GetKonnectMonikerFilter ¶
func (p PortalResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (PortalResource) GetLabels ¶
func (p PortalResource) GetLabels() map[string]string
GetLabels returns the labels for this resource
func (PortalResource) GetMoniker ¶
func (p PortalResource) GetMoniker() string
GetMoniker returns the resource moniker (for portals, this is the name)
func (PortalResource) GetReferenceFieldMappings ¶
func (p PortalResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns the field mappings for reference validation
func (PortalResource) GetType ¶ added in v0.1.3
func (p PortalResource) GetType() ResourceType
GetType returns the resource type
func (*PortalResource) IsExternal ¶ added in v0.1.5
func (p *PortalResource) IsExternal() bool
IsExternal returns true if this portal is externally managed
func (PortalResource) MarshalJSON ¶ added in v0.3.3
func (p PortalResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures the embedded SDK model and Kongctl fields are preserved when serializing.
func (PortalResource) MarshalYAML ¶ added in v0.3.3
func (p PortalResource) MarshalYAML() (any, error)
MarshalYAML ensures YAML output mirrors the custom JSON encoding.
func (*PortalResource) SetDefaults ¶
func (p *PortalResource) SetDefaults()
SetDefaults applies default values to portal resource
func (*PortalResource) SetLabels ¶
func (p *PortalResource) SetLabels(labels map[string]string)
SetLabels sets the labels for this resource
func (*PortalResource) TryMatchKonnectResource ¶
func (p *PortalResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (*PortalResource) UnmarshalJSON ¶ added in v0.3.3
func (p *PortalResource) UnmarshalJSON(data []byte) error
UnmarshalJSON ensures both the embedded SDK model and portal-specific fields (like ref and kongctl metadata) are populated when decoding from JSON/YAML while still surfacing unknown field errors (used for typo detection).
func (PortalResource) Validate ¶
func (p PortalResource) Validate() error
Validate ensures the portal resource is valid
type PortalSnippetResource ¶
type PortalSnippetResource struct {
Ref string `yaml:"ref" json:"ref"`
// Parent portal reference
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"`
Name string `yaml:"name" json:"name"`
Content string `yaml:"content" json:"content"`
Title *string `yaml:"title,omitempty" json:"title,omitempty"`
Visibility *kkComps.SnippetVisibilityStatus `yaml:"visibility,omitempty" json:"visibility,omitempty"`
Status *kkComps.PublishedStatus `yaml:"status,omitempty" json:"status,omitempty"`
Description *string `yaml:"description,omitempty" json:"description,omitempty"`
// contains filtered or unexported fields
}
PortalSnippetResource represents a portal snippet
func (PortalSnippetResource) GetDependencies ¶ added in v0.1.3
func (s PortalSnippetResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this snippet depends on
func (PortalSnippetResource) GetKonnectID ¶ added in v0.1.3
func (s PortalSnippetResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available
func (PortalSnippetResource) GetKonnectMonikerFilter ¶ added in v0.1.3
func (s PortalSnippetResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (PortalSnippetResource) GetMoniker ¶ added in v0.1.3
func (s PortalSnippetResource) GetMoniker() string
GetMoniker returns the resource moniker (for snippets, this is the name)
func (PortalSnippetResource) GetRef ¶
func (s PortalSnippetResource) GetRef() string
GetRef returns the reference identifier
func (PortalSnippetResource) GetReferenceFieldMappings ¶ added in v0.1.6
func (s PortalSnippetResource) GetReferenceFieldMappings() map[string]string
GetReferenceFieldMappings returns cross-resource reference mappings for validation
func (PortalSnippetResource) GetType ¶ added in v0.1.3
func (s PortalSnippetResource) GetType() ResourceType
GetType returns the resource type
func (*PortalSnippetResource) SetDefaults ¶
func (s *PortalSnippetResource) SetDefaults()
SetDefaults applies default values
func (*PortalSnippetResource) TryMatchKonnectResource ¶ added in v0.1.3
func (s *PortalSnippetResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (PortalSnippetResource) Validate ¶
func (s PortalSnippetResource) Validate() error
Validate ensures the portal snippet resource is valid
type PortalTeamGroupMappingResource ¶ added in v1.0.0
type PortalTeamGroupMappingResource struct {
Ref string `yaml:"ref" json:"ref"`
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"`
Team string `yaml:"team" json:"team"`
Groups []string `yaml:"groups" json:"groups"`
}
PortalTeamGroupMappingResource maps a portal team to IdP groups.
func (PortalTeamGroupMappingResource) GetDependencies ¶ added in v1.0.0
func (p PortalTeamGroupMappingResource) GetDependencies() []ResourceRef
GetDependencies returns parent and team dependencies.
func (PortalTeamGroupMappingResource) GetKonnectID ¶ added in v1.0.0
func (p PortalTeamGroupMappingResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available.
func (PortalTeamGroupMappingResource) GetKonnectMonikerFilter ¶ added in v1.0.0
func (p PortalTeamGroupMappingResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup.
func (PortalTeamGroupMappingResource) GetMoniker ¶ added in v1.0.0
func (p PortalTeamGroupMappingResource) GetMoniker() string
GetMoniker returns the resource moniker.
func (PortalTeamGroupMappingResource) GetParentRef ¶ added in v1.0.0
func (p PortalTeamGroupMappingResource) GetParentRef() *ResourceRef
GetParentRef implements ResourceWithParent.
func (PortalTeamGroupMappingResource) GetRef ¶ added in v1.0.0
func (p PortalTeamGroupMappingResource) GetRef() string
GetRef returns the reference identifier.
func (PortalTeamGroupMappingResource) GetType ¶ added in v1.0.0
func (p PortalTeamGroupMappingResource) GetType() ResourceType
GetType returns the resource type.
func (PortalTeamGroupMappingResource) MarshalJSON ¶ added in v1.0.0
func (p PortalTeamGroupMappingResource) MarshalJSON() ([]byte, error)
MarshalJSON keeps kongctl metadata fields stable.
func (*PortalTeamGroupMappingResource) SetDefaults ¶ added in v1.0.0
func (p *PortalTeamGroupMappingResource) SetDefaults()
SetDefaults applies default values to the resource.
func (*PortalTeamGroupMappingResource) TryMatchKonnectResource ¶ added in v1.0.0
func (p *PortalTeamGroupMappingResource) TryMatchKonnectResource(_ any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource.
func (*PortalTeamGroupMappingResource) UnmarshalJSON ¶ added in v1.0.0
func (p *PortalTeamGroupMappingResource) UnmarshalJSON(data []byte) error
UnmarshalJSON rejects unsupported metadata on child resources.
func (PortalTeamGroupMappingResource) Validate ¶ added in v1.0.0
func (p PortalTeamGroupMappingResource) Validate() error
Validate ensures the mapping has the required declarative identifiers.
type PortalTeamResource ¶ added in v0.3.3
type PortalTeamResource struct {
kkComps.PortalCreateTeamRequest `yaml:",inline" json:",inline"`
Ref string `yaml:"ref" json:"ref"`
// Parent portal reference
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"`
// Child resources
Roles []PortalTeamRoleResource `yaml:"roles,omitempty" json:"roles,omitempty"`
GroupMappings []PortalTeamGroupMappingResource `yaml:"group_mappings,omitempty" json:"group_mappings,omitempty"`
// contains filtered or unexported fields
}
PortalTeamResource represents a portal team (developer team)
func (PortalTeamResource) GetDependencies ¶ added in v0.3.3
func (p PortalTeamResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this team depends on
func (PortalTeamResource) GetKonnectID ¶ added in v0.3.3
func (p PortalTeamResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available
func (PortalTeamResource) GetKonnectMonikerFilter ¶ added in v0.3.3
func (p PortalTeamResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (PortalTeamResource) GetMoniker ¶ added in v0.3.3
func (p PortalTeamResource) GetMoniker() string
GetMoniker returns the resource moniker (for portal teams, this is the name)
func (PortalTeamResource) GetParentRef ¶ added in v0.3.3
func (p PortalTeamResource) GetParentRef() *ResourceRef
GetParentRef returns the parent portal reference
func (PortalTeamResource) GetRef ¶ added in v0.3.3
func (p PortalTeamResource) GetRef() string
GetRef returns the reference identifier
func (PortalTeamResource) GetType ¶ added in v0.3.3
func (p PortalTeamResource) GetType() ResourceType
GetType returns the resource type
func (PortalTeamResource) MarshalJSON ¶ added in v0.8.0
func (p PortalTeamResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures the embedded SDK request and kongctl fields are preserved when serializing.
func (PortalTeamResource) MarshalYAML ¶ added in v0.8.0
func (p PortalTeamResource) MarshalYAML() (any, error)
MarshalYAML ensures YAML output mirrors the custom JSON encoding.
func (*PortalTeamResource) SetDefaults ¶ added in v0.3.3
func (p *PortalTeamResource) SetDefaults()
SetDefaults applies default values to portal team resource
func (*PortalTeamResource) TryMatchKonnectResource ¶ added in v0.3.3
func (p *PortalTeamResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (*PortalTeamResource) UnmarshalJSON ¶ added in v0.3.3
func (p *PortalTeamResource) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaling to reject kongctl metadata on child resources
func (PortalTeamResource) Validate ¶ added in v0.3.3
func (p PortalTeamResource) Validate() error
Validate ensures the portal team resource is valid
type PortalTeamRoleResource ¶ added in v0.3.4
type PortalTeamRoleResource struct {
Ref string `yaml:"ref" json:"ref"`
// Parent references
Portal string `yaml:"portal,omitempty" json:"portal,omitempty"`
Team string `yaml:"team,omitempty" json:"team,omitempty"`
// Role assignment fields (API expects literal values)
RoleName string `yaml:"role_name" json:"role_name"`
EntityID string `yaml:"entity_id" json:"entity_id"`
EntityTypeName string `yaml:"entity_type_name" json:"entity_type_name"`
EntityRegion string `yaml:"entity_region" json:"entity_region"`
// contains filtered or unexported fields
}
PortalTeamRoleResource represents an assigned role on a portal team This is a child resource (no kongctl metadata support).
func (PortalTeamRoleResource) GetDependencies ¶ added in v0.3.4
func (r PortalTeamRoleResource) GetDependencies() []ResourceRef
GetDependencies returns references to other resources this assignment depends on
func (PortalTeamRoleResource) GetKonnectID ¶ added in v0.3.4
func (r PortalTeamRoleResource) GetKonnectID() string
GetKonnectID returns the resolved Konnect ID if available
func (PortalTeamRoleResource) GetKonnectMonikerFilter ¶ added in v0.3.4
func (r PortalTeamRoleResource) GetKonnectMonikerFilter() string
GetKonnectMonikerFilter returns the filter string for Konnect API lookup
func (PortalTeamRoleResource) GetMoniker ¶ added in v0.3.4
func (r PortalTeamRoleResource) GetMoniker() string
GetMoniker returns a human-readable moniker for matching purposes
func (PortalTeamRoleResource) GetParentRef ¶ added in v0.3.4
func (r PortalTeamRoleResource) GetParentRef() *ResourceRef
GetParentRef returns the immediate parent reference (portal team)
func (PortalTeamRoleResource) GetRef ¶ added in v0.3.4
func (r PortalTeamRoleResource) GetRef() string
GetRef returns the reference identifier
func (PortalTeamRoleResource) GetType ¶ added in v0.3.4
func (r PortalTeamRoleResource) GetType() ResourceType
GetType returns the resource type
func (PortalTeamRoleResource) MarshalJSON ¶ added in v0.8.0
func (r PortalTeamRoleResource) MarshalJSON() ([]byte, error)
MarshalJSON ensures role metadata is preserved when serializing nested child resources.
func (PortalTeamRoleResource) MarshalYAML ¶ added in v0.8.0
func (r PortalTeamRoleResource) MarshalYAML() (any, error)
MarshalYAML ensures YAML output mirrors the custom JSON encoding.
func (*PortalTeamRoleResource) SetDefaults ¶ added in v0.3.4
func (r *PortalTeamRoleResource) SetDefaults()
SetDefaults applies default values (none for team roles)
func (*PortalTeamRoleResource) TryMatchKonnectResource ¶ added in v0.3.4
func (r *PortalTeamRoleResource) TryMatchKonnectResource(konnectResource any) bool
TryMatchKonnectResource attempts to match this resource with a Konnect resource
func (*PortalTeamRoleResource) UnmarshalJSON ¶ added in v0.3.4
func (r *PortalTeamRoleResource) UnmarshalJSON(data []byte) error
UnmarshalJSON rejects kongctl metadata on child resources
func (PortalTeamRoleResource) Validate ¶ added in v0.3.4
func (r PortalTeamRoleResource) Validate() error
Validate ensures the portal team role resource is valid
type RefReader ¶ added in v0.1.3
type RefReader interface {
// HasRef checks if a ref exists globally across all resource types
HasRef(ref string) bool
// GetResourceByRef returns the resource for a given ref
// Returns nil and false if not found
GetResourceByRef(ref string) (Resource, bool)
// GetResourceTypeByRef returns the resource type for a given ref
// This is a convenience method that uses GetResourceByRef
GetResourceTypeByRef(ref string) (ResourceType, bool)
}
RefReader provides read-only access to resources by ref
type ReferenceMapping ¶
ReferenceMapping interface for resources that have reference fields
type ReferencedResource ¶
type ReferencedResource interface {
GetRef() string
}
ReferencedResource interface for resources that can be referenced
type RelationshipCardinality ¶ added in v1.14.0
type RelationshipCardinality string
type RelationshipDescriptor ¶ added in v1.8.0
type RelationshipDescriptor struct {
FieldPath string
TargetType ResourceType
TargetTypes []ResourceType
TargetDiscriminatorFieldPath string
TargetTypeResolver func(string) (ResourceType, bool)
Kind RelationshipKind
Cardinality RelationshipCardinality
ResultField RelationshipResultField
ScopeFieldPath string
RootOnly bool
}
RelationshipDescriptor is static schema metadata for a cross-resource field.
func RelationshipDescriptorsFor ¶ added in v1.8.0
func RelationshipDescriptorsFor(resource Resource) []RelationshipDescriptor
RelationshipDescriptorsFor returns authoritative relationship metadata for a resource.
func RelationshipDescriptorsForType ¶ added in v1.8.0
func RelationshipDescriptorsForType(resourceType ResourceType) []RelationshipDescriptor
RelationshipDescriptorsForType returns static relationship schema metadata.
type RelationshipKind ¶ added in v1.8.0
type RelationshipKind string
RelationshipKind distinguishes API schema foreign keys from kongctl-added root-level parent selectors while giving both the same reference semantics.
type RelationshipResultField ¶ added in v1.14.0
type RelationshipResultField string
type Resource ¶
type Resource interface {
GetType() ResourceType
GetRef() string
GetMoniker() string // Generic identifier (name, username, version, etc.)
GetDependencies() []ResourceRef
Validate() error
SetDefaults()
// Identity resolution methods
GetKonnectID() string // Returns the Konnect ID if resolved, empty otherwise
GetKonnectMonikerFilter() string // Returns filter string for Konnect API lookup
TryMatchKonnectResource(konnectResource any) bool // Matches against Konnect resource
}
Resource is the common interface for all declarative resources
func MaterializeExternalResource ¶ added in v1.14.0
func MaterializeExternalResource( rs *ResourceSet, rt ResourceType, ref string, id string, parentRef string, ) (Resource, error)
MaterializeExternalResource adds an externally managed resource identity to the ResourceSet using the constructor registered for its resource type.
type ResourceRef ¶
type ResourceRef struct {
Kind ResourceType `json:"kind" yaml:"kind"`
Ref string `json:"ref" yaml:"ref"`
}
ResourceRef represents a reference to another resource
type ResourceRegistrationOption ¶ added in v1.5.0
type ResourceRegistrationOption func(*resourceOps) error
ResourceRegistrationOption configures metadata stored beside resource registration.
func WithAIGatewayOwnedChildNamespace ¶ added in v1.22.0
func WithAIGatewayOwnedChildNamespace[R any]( order int, kind ResourceType, nested func(*AIGatewayResource) *[]R, base func(*R) *BaseResource, parent func(*R) string, ) ResourceRegistrationOption
WithAIGatewayOwnedChildNamespace binds independent ownership to the original nested slices and root declarations. Scope capture runs before extraction.
func WithChildSyncScope ¶ added in v1.16.0
func WithChildSyncScope(parentType ResourceType, options ...ChildSyncScopeOption) ResourceRegistrationOption
WithChildSyncScope opts a child collection into shared scope handling. Its sync owner must match GetParentRef and a root-only parent relationship. Owners may themselves be children. Specialized root policies handle coupled collections and singleton semantics; WithChildSyncScopeFrom overrides ownership.
func WithChildSyncScopeFrom ¶ added in v1.16.0
func WithChildSyncScopeFrom[R any]( parentType ResourceType, parentRef func(*R) string, options ...ChildSyncScopeOption, ) ResourceRegistrationOption
WithChildSyncScopeFrom supplies typed sync ownership when it differs from GetParentRef or the declaration does not implement ResourceWithParent.
func WithDumpDefaultExclusion ¶ added in v1.11.0
func WithDumpDefaultExclusion(path, reason string) ResourceRegistrationOption
WithDumpDefaultExclusion prevents an SDK default from being omitted when omission is not semantically safe. The path is relative to the resource.
func WithDumpDefaultOverride ¶ added in v1.11.0
func WithDumpDefaultOverride(path string, value any, reason string) ResourceRegistrationOption
WithDumpDefaultOverride supplies a reviewed API default when generated SDK metadata is missing or incorrect. The path is relative to the resource.
func WithExternalUnsupportedReason ¶ added in v1.14.0
func WithExternalUnsupportedReason(reason string) ResourceRegistrationOption
WithExternalUnsupportedReason records why a relationship target cannot yet participate in external resolution. Relationship contract tests require either this option or an external capability registration for every target.
func WithIndependentChildLabelOwnership ¶ added in v1.27.0
func WithIndependentChildLabelOwnership[R any](capture func(*ResourceSet, string), metadata func(*R) *KongctlMeta, ) ResourceRegistrationOption
WithIndependentChildLabelOwnership enrolls a child that persists lifecycle metadata in labels rather than managed_by. Source scope remains explicit.
func WithIndependentChildOwnership ¶ added in v1.22.0
func WithIndependentChildOwnership[R any](capture func(*ResourceSet, string), metadata func(*R) *KongctlMeta, ) ResourceRegistrationOption
WithIndependentChildOwnership explicitly enrolls one verified child family. Namespace participation and source collection presence are separate contracts; registering one must not implicitly enable the other for every gateway child.
func WithManagedBy ¶ added in v1.22.0
func WithManagedBy(policy ManagedByPolicy) ResourceRegistrationOption
WithManagedBy opts a resource into shared tool/version writing. Existing labels, protection, and ownership decisions remain with their current adapters.
func WithMaturity ¶ added in v1.5.0
func WithMaturity(metadata capmaturity.Metadata) ResourceRegistrationOption
WithMaturity sets the default maturity of a declarative resource type.
func WithNamespace ¶ added in v1.16.0
func WithNamespace[R any]( order int, participant func(*R) NamespaceParticipant, nested ...func(*ResourceSet) []R, ) ResourceRegistrationOption
WithNamespace registers typed metadata access alongside the resource's existing slice accessor and supplies its desired namespace selection policy. Order preserves namespace diagnostic traversal. Additional sources are grouping locations visited before nested extraction.
func WithNamespaceFrom ¶ added in v1.16.0
func WithNamespaceFrom[R, P any, PPtr interface { *P Resource }](owner func(*ResourceSet, *R) *P) ResourceRegistrationOption
WithNamespaceFrom selects a child using its owner's registered namespace policy. The typed lookup preserves each family's reference-matching behavior; a missing owner excludes the child.
func WithNestedNamespaceGroups ¶ added in v1.22.0
func WithNestedNamespaceGroups[R any]( source func(*ResourceSet) [][]R, participant func(*R) NamespaceParticipant, ) ResourceRegistrationOption
WithNestedNamespaceGroups visits the original child slices before extraction, so defaulting updates their metadata rather than copies of their values.
func WithNestedSyncScopeCapture ¶ added in v1.16.0
func WithNestedSyncScopeCapture(capture nestedSyncScopeCapture) ResourceRegistrationOption
WithNestedSyncScopeCapture registers a root's specialized presence policy. Ordinary ownership paths remain derived; policies handle coupled collections and non-resource declaration shapes before extraction loses key presence.
func WithOperationMaturity ¶ added in v1.5.0
func WithOperationMaturity( operation Operation, metadata capmaturity.Metadata, ) ResourceRegistrationOption
WithOperationMaturity sets a maturity override for a declarative resource operation.
func WithRootSyncScope ¶ added in v1.16.0
func WithRootSyncScope() ResourceRegistrationOption
WithRootSyncScope opts a root collection into shared loader scope capture and planner inference, including collections inside declaration groupings.
func WithSelectorAssignmentSyncScope ¶ added in v1.16.0
func WithSelectorAssignmentSyncScope(selectorType ResourceType) ResourceRegistrationOption
WithSelectorAssignmentSyncScope captures root-level assignment parent keys. Fallback inference marks the selector group rather than individual children.
type ResourceSet ¶
type ResourceSet struct {
Identity *IdentityResource `yaml:"identity,omitempty" json:"identity,omitempty"`
Portals []PortalResource `yaml:"portals,omitempty" json:"portals,omitempty"`
// AuditLogs contains organization-scoped audit-log resources.
AuditLogs *AuditLogsResource `yaml:"audit-logs,omitempty" json:"audit-logs,omitempty"` //nolint:lll
// ApplicationAuthStrategies contains auth strategy configurations
ApplicationAuthStrategies []ApplicationAuthStrategyResource `yaml:"application_auth_strategies,omitempty" json:"application_auth_strategies,omitempty"` //nolint:lll
DCRProviders []DCRProviderResource `yaml:"dcr_providers,omitempty" json:"dcr_providers,omitempty"` //nolint:lll
// ControlPlanes contains control plane configurations
ControlPlanes []ControlPlaneResource `yaml:"control_planes,omitempty" json:"control_planes,omitempty"` //nolint:lll
CatalogServices []CatalogServiceResource `yaml:"catalog_services,omitempty" json:"catalog_services,omitempty"` //nolint:lll
AIGateways []AIGatewayResource `yaml:"ai_gateways,omitempty" json:"ai_gateways,omitempty"` //nolint:lll
AIGatewayProviders []AIGatewayProviderResource `yaml:"ai_gateway_model_providers,omitempty" json:"ai_gateway_model_providers,omitempty"` //nolint:lll
AIGatewayAuthStrategies []AIGatewayAuthStrategyResource `yaml:"ai_gateway_auth_strategies,omitempty" json:"ai_gateway_auth_strategies,omitempty"` //nolint:lll
AIGatewayCustomPolicies []AIGatewayCustomPolicyResource `yaml:"ai_gateway_custom_policies,omitempty" json:"ai_gateway_custom_policies,omitempty"` //nolint:lll
AIGatewayPolicies []AIGatewayPolicyResource `yaml:"ai_gateway_policies,omitempty" json:"ai_gateway_policies,omitempty"` //nolint:lll
AIGatewayAgents []AIGatewayAgentResource `yaml:"ai_gateway_agents,omitempty" json:"ai_gateway_agents,omitempty"` //nolint:lll
AIGatewayConsumers []AIGatewayConsumerResource `yaml:"ai_gateway_consumers,omitempty" json:"ai_gateway_consumers,omitempty"` //nolint:lll
AIGatewayConsumerCredentials []AIGatewayConsumerCredentialResource `yaml:"ai_gateway_consumer_credentials,omitempty" json:"ai_gateway_consumer_credentials,omitempty"` //nolint:lll
AIGatewayConsumerGroups []AIGatewayConsumerGroupResource `yaml:"ai_gateway_consumer_groups,omitempty" json:"ai_gateway_consumer_groups,omitempty"` //nolint:lll
AIGatewayModels []AIGatewayModelResource `yaml:"ai_gateway_models,omitempty" json:"ai_gateway_models,omitempty"` //nolint:lll
AIGatewayMCPServers []AIGatewayMCPServerResource `yaml:"ai_gateway_mcp_servers,omitempty" json:"ai_gateway_mcp_servers,omitempty"` //nolint:lll
AIGatewayConfigStores []AIGatewayConfigStoreResource `yaml:"ai_gateway_config_stores,omitempty" json:"ai_gateway_config_stores,omitempty"` //nolint:lll
AIGatewayConfigStoreSecrets []AIGatewayConfigStoreSecretResource `yaml:"ai_gateway_config_store_secrets,omitempty" json:"ai_gateway_config_store_secrets,omitempty"` //nolint:lll
AIGatewayVaults []AIGatewayVaultResource `yaml:"ai_gateway_vaults,omitempty" json:"ai_gateway_vaults,omitempty"` //nolint:lll
AIGatewayDatastores []AIGatewayDatastoreResource `yaml:"ai_gateway_datastores,omitempty" json:"ai_gateway_datastores,omitempty"` //nolint:lll
AIGatewayDataPlaneCertificates []AIGatewayDataPlaneCertificateResource `yaml:"ai_gateway_data_plane_certificates,omitempty" json:"ai_gateway_data_plane_certificates,omitempty"` //nolint:lll
AIGatewayCertificates []AIGatewayCertificateResource `yaml:"ai_gateway_certificates,omitempty" json:"ai_gateway_certificates,omitempty"` //nolint:lll
AIGatewayCACertificates []AIGatewayCACertificateResource `yaml:"ai_gateway_ca_certificates,omitempty" json:"ai_gateway_ca_certificates,omitempty"` //nolint:lll
AIGatewaySNIs []AIGatewaySNIResource `yaml:"ai_gateway_snis,omitempty" json:"ai_gateway_snis,omitempty"` //nolint:lll
APIs []APIResource `yaml:"apis,omitempty" json:"apis,omitempty"` //nolint:lll
GatewayServices []GatewayServiceResource `yaml:"gateway_services,omitempty" json:"gateway_services,omitempty"` //nolint:lll
ControlPlaneDataPlaneCertificates []ControlPlaneDataPlaneCertificateResource `yaml:"control_plane_data_plane_certificates,omitempty" json:"control_plane_data_plane_certificates,omitempty"` //nolint:lll
// API child resources can be defined at root level (with parent reference) or nested under APIs
APIVersions []APIVersionResource `yaml:"api_versions,omitempty" json:"api_versions,omitempty"` //nolint:lll
APIPublications []APIPublicationResource `yaml:"api_publications,omitempty" json:"api_publications,omitempty"` //nolint:lll
APIImplementations []APIImplementationResource `yaml:"api_implementations,omitempty" json:"api_implementations,omitempty"` //nolint:lll
APIDocuments []APIDocumentResource `yaml:"api_documents,omitempty" json:"api_documents,omitempty"` //nolint:lll
// Portal child resources can be defined at root level (with parent reference) or nested under Portals
PortalCustomizations []PortalCustomizationResource `yaml:"portal_customizations,omitempty" json:"portal_customizations,omitempty"` //nolint:lll
PortalAuthSettings []PortalAuthSettingsResource `yaml:"portal_auth_settings,omitempty" json:"portal_auth_settings,omitempty"` //nolint:lll
PortalIPAllowLists []PortalIPAllowListResource `yaml:"portal_ip_allow_lists,omitempty" json:"portal_ip_allow_lists,omitempty"` //nolint:lll
PortalIntegrations []PortalIntegrationResource `yaml:"portal_integrations,omitempty" json:"portal_integrations,omitempty"` //nolint:lll
PortalIdentityProviders []PortalIdentityProviderResource `yaml:"portal_identity_providers,omitempty" json:"portal_identity_providers,omitempty"` //nolint:lll
PortalTeamGroupMappings []PortalTeamGroupMappingResource `yaml:"portal_team_group_mappings,omitempty" json:"portal_team_group_mappings,omitempty"` //nolint:lll
PortalCustomDomains []PortalCustomDomainResource `yaml:"portal_custom_domains,omitempty" json:"portal_custom_domains,omitempty"` //nolint:lll
PortalPages []PortalPageResource `yaml:"portal_pages,omitempty" json:"portal_pages,omitempty"` //nolint:lll
PortalSnippets []PortalSnippetResource `yaml:"portal_snippets,omitempty" json:"portal_snippets,omitempty"` //nolint:lll
PortalTeams []PortalTeamResource `yaml:"portal_teams,omitempty" json:"portal_teams,omitempty"` //nolint:lll
PortalTeamRoles []PortalTeamRoleResource `yaml:"portal_team_roles,omitempty" json:"portal_team_roles,omitempty"` //nolint:lll
PortalAssetLogos []PortalAssetLogoResource `yaml:"portal_asset_logos,omitempty" json:"portal_asset_logos,omitempty"` //nolint:lll
PortalAssetFavicons []PortalAssetFaviconResource `yaml:"portal_asset_favicons,omitempty" json:"portal_asset_favicons,omitempty"` //nolint:lll
PortalEmailConfigs []PortalEmailConfigResource `yaml:"portal_email_configs,omitempty" json:"portal_email_configs,omitempty"` //nolint:lll
PortalEmailTemplates []PortalEmailTemplateResource `yaml:"portal_email_templates,omitempty" json:"portal_email_templates,omitempty"` //nolint:lll
PortalAuditLogWebhooks []PortalAuditLogWebhookResource `yaml:"portal_audit_log_webhooks,omitempty" json:"portal_audit_log_webhooks,omitempty"` //nolint:lll
EventGatewayControlPlanes []EventGatewayControlPlaneResource `yaml:"event_gateways,omitempty" json:"event_gateways,omitempty"` //nolint:lll
EventGatewayBackendClusters []EventGatewayBackendClusterResource `yaml:"event_gateway_backend_clusters,omitempty" json:"event_gateway_backend_clusters,omitempty"` //nolint:lll
EventGatewayVirtualClusters []EventGatewayVirtualClusterResource `yaml:"event_gateway_virtual_clusters,omitempty" json:"event_gateway_virtual_clusters,omitempty"` //nolint:lll
// Organization grouping - contains nested resources like teams
Organization *OrganizationResource `yaml:"organization,omitempty" json:"organization,omitempty"` //nolint:lll
// Analytics grouping - contains nested resources like dashboards
Analytics *AnalyticsResource `yaml:"analytics,omitempty" json:"analytics,omitempty"`
// Teams is populated internally from OrganizationTeams during loading
// It is not exposed in YAML/JSON to enforce the organization grouping format
OrganizationTeams []OrganizationTeamResource `yaml:"-" json:"-"`
OrganizationTeamRoles []OrganizationTeamRoleResource `yaml:"organization_team_roles,omitempty" json:"organization_team_roles,omitempty"` //nolint:lll
OrganizationUserTeamMemberships []OrganizationUserTeamMembershipResource `yaml:"organization_user_team_memberships,omitempty" json:"organization_user_team_memberships,omitempty"` //nolint:lll
OrganizationUserRoles []OrganizationUserRoleResource `yaml:"organization_user_roles,omitempty" json:"organization_user_roles,omitempty"` //nolint:lll
OrganizationSystemAccountTeamMemberships []OrganizationSystemAccountTeamMembershipResource `yaml:"organization_system_account_team_memberships,omitempty" json:"organization_system_account_team_memberships,omitempty"` //nolint:lll
OrganizationSystemAccountRoles []OrganizationSystemAccountRoleResource `yaml:"organization_system_account_roles,omitempty" json:"organization_system_account_roles,omitempty"` //nolint:lll
EventGatewayListeners []EventGatewayListenerResource `yaml:"event_gateway_listeners,omitempty" json:"event_gateway_listeners,omitempty"` //nolint:lll
EventGatewayListenerPolicies []EventGatewayListenerPolicyResource `yaml:"event_gateway_listener_policies,omitempty" json:"event_gateway_listener_policies,omitempty"` //nolint:lll
EventGatewayClusterPolicies []EventGatewayClusterPolicyResource `` //nolint:lll
/* 127-byte string literal not displayed */
EventGatewayProducePolicies []EventGatewayProducePolicyResource `` //nolint:lll
/* 127-byte string literal not displayed */
EventGatewayConsumePolicies []EventGatewayConsumePolicyResource `` //nolint:lll
/* 127-byte string literal not displayed */
EventGatewayDataPlaneCertificates []EventGatewayDataPlaneCertificateResource `yaml:"event_gateway_data_plane_certificates,omitempty" json:"event_gateway_data_plane_certificates,omitempty"` //nolint:lll
EventGatewaySchemaRegistries []EventGatewaySchemaRegistryResource `yaml:"event_gateway_schema_registries,omitempty" json:"event_gateway_schema_registries,omitempty"` //nolint:lll
EventGatewayStaticKeys []EventGatewayStaticKeyResource `yaml:"event_gateway_static_keys,omitempty" json:"event_gateway_static_keys,omitempty"` //nolint:lll
EventGatewayTLSTrustBundles []EventGatewayTLSTrustBundleResource `yaml:"event_gateway_tls_trust_bundles,omitempty" json:"event_gateway_tls_trust_bundles,omitempty"` //nolint:lll
// Dashboards is populated internally from Analytics.Dashboards during loading.
// It is not exposed in YAML/JSON to enforce the analytics grouping format.
Dashboards []DashboardResource `yaml:"-" json:"-"`
// DefaultNamespace tracks namespace from _defaults when no resources are present
// This is used by the planner to determine which namespace to check for deletions
DefaultNamespace string `yaml:"-" json:"-"`
DefaultNamespaces []string `yaml:"-" json:"-"`
// NamespaceEnforcementDefaults retains declared file defaults independently
// of the namespaces that sync planning may inspect for deletions.
NamespaceEnforcementDefaults []string `yaml:"-" json:"-"`
// EnvSources tracks deferred !env placeholders by resource ref and field path.
EnvSources map[string]map[string]string `yaml:"-" json:"-"`
// LiteralSources identifies ordinary YAML strings resembling reference encodings.
LiteralSources map[string]map[string]string `yaml:"-" json:"-"`
// SecretSources tracks deferred write-only values by resource ref and field path.
SecretSources map[string]map[string]SecretSourceDeclaration `yaml:"-" json:"-"`
// SyncScope tracks resource collection keys explicitly present in the input.
SyncScope *SyncScope `yaml:"-" json:"-"`
}
ResourceSet contains all declarative resources from configuration files
func (*ResourceSet) AddDefaultNamespace ¶ added in v0.3.4
func (rs *ResourceSet) AddDefaultNamespace(namespace string)
AddDefaultNamespace records a default namespace if not already present. The first value encountered is also stored in DefaultNamespace for backward compatibility.
func (*ResourceSet) AddEnvSource ¶ added in v0.8.0
func (rs *ResourceSet) AddEnvSource(resourceRef, fieldPath, placeholder string)
AddEnvSource records a deferred !env placeholder for a resource field path.
func (*ResourceSet) AddLiteralSource ¶ added in v1.18.0
func (rs *ResourceSet) AddLiteralSource(ref, path, value string)
AddLiteralSource records an explicitly literal value at a JSON Pointer path.
func (*ResourceSet) AddSecretSource ¶ added in v1.13.0
func (rs *ResourceSet) AddSecretSource( resourceRef string, fieldPath string, expression tags.SecretExpression, deprecatedBareEnv bool, )
AddSecretSource records a deferred secret expression for a resource field.
func (*ResourceSet) AllResources ¶ added in v0.5.0
func (rs *ResourceSet) AllResources() []Resource
AllResources returns all resources in the ResourceSet as a slice of Resource interface. Uses registered accessors to collect resources from all typed slices. Resources not yet registered in the registry will not be included.
NOTE: This allocates a new slice. For iteration without allocation, use ForEachResource.
func (*ResourceSet) AllResourcesByType ¶ added in v0.5.0
func (rs *ResourceSet) AllResourcesByType(rt ResourceType) []Resource
AllResourcesByType returns resources of a specific type from the ResourceSet. Returns nil if the resource type is not registered.
func (*ResourceSet) AppendAll ¶ added in v0.5.0
func (rs *ResourceSet) AppendAll(src *ResourceSet)
AppendAll appends all resources from src to dest for all registered types.
func (*ResourceSet) CaptureAIGatewayNamespaceScopes ¶ added in v1.22.0
func (rs *ResourceSet) CaptureAIGatewayNamespaceScopes(defaultNamespace string)
CaptureAIGatewayNamespaceScopes runs per source after defaults, before extraction. Empty nested collections use that source's namespace, never their gateway's.
func (*ResourceSet) EnsureSyncScope ¶ added in v1.0.0
func (rs *ResourceSet) EnsureSyncScope() *SyncScope
EnsureSyncScope returns the ResourceSet scope, creating it if necessary.
func (*ResourceSet) ExtractRegisteredChildren ¶ added in v1.16.0
func (rs *ResourceSet) ExtractRegisteredChildren(parent Resource)
ExtractRegisteredChildren applies a parent's registered child loaders. Ordinary collections append to root storage and clear their nested fields; custom handlers may retain normalized children. Callers own phase ordering.
func (*ResourceSet) ExtractRegisteredSelectorChildren ¶ added in v1.17.0
func (rs *ResourceSet) ExtractRegisteredSelectorChildren(kind ResourceType)
ExtractRegisteredSelectorChildren extracts assignments in selector source order, then child extraction order, leaving the selectors in their group.
func (*ResourceSet) FlattenRootAPIDocuments ¶ added in v1.16.0
func (rs *ResourceSet) FlattenRootAPIDocuments()
FlattenRootAPIDocuments normalizes root declarations separately from documents retained under their API. Each root document supplies its own API selector.
func (*ResourceSet) ForEachNamespaceParticipant ¶ added in v1.9.0
func (rs *ResourceSet) ForEachNamespaceParticipant(fn func(NamespaceParticipant) error) error
ForEachNamespaceParticipant visits namespace-bearing resources in diagnostic order and stops on error. Both flattened and nested grouping locations are visited, preserving behavior before and after nested extraction.
func (*ResourceSet) ForEachResource ¶ added in v0.5.0
func (rs *ResourceSet) ForEachResource(fn func(Resource) bool) bool
ForEachResource iterates over all resources without allocating a slice. The callback returns false to stop iteration early. Returns true if all resources were visited, false if stopped early.
func (*ResourceSet) GetAIGatewayAgentByRef ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayAgentByRef(ref string) *AIGatewayAgentResource
GetAIGatewayAgentByRef returns an AI Gateway Agent resource by its ref from any namespace.
func (*ResourceSet) GetAIGatewayAgentsForGateway ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayAgentsForGateway(gatewayRef string) []AIGatewayAgentResource
GetAIGatewayAgentsForGateway returns all AI Gateway Agents for a given gateway ref.
func (*ResourceSet) GetAIGatewayAuthStrategiesForGateway ¶ added in v1.14.0
func (rs *ResourceSet) GetAIGatewayAuthStrategiesForGateway( gatewayRef string, ) []AIGatewayAuthStrategyResource
GetAIGatewayAuthStrategiesForGateway returns all auth strategies for a given AI Gateway ref.
func (*ResourceSet) GetAIGatewayAuthStrategyByRef ¶ added in v1.14.0
func (rs *ResourceSet) GetAIGatewayAuthStrategyByRef(ref string) *AIGatewayAuthStrategyResource
GetAIGatewayAuthStrategyByRef returns an AI Gateway Auth Strategy resource by its ref from any namespace.
func (*ResourceSet) GetAIGatewayByRef ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayByRef(ref string) *AIGatewayResource
GetAIGatewayByRef returns an AI Gateway resource by its ref from any namespace.
func (*ResourceSet) GetAIGatewayCACertificatesForGateway ¶ added in v1.15.0
func (rs *ResourceSet) GetAIGatewayCACertificatesForGateway(gatewayRef string) []AIGatewayCACertificateResource
GetAIGatewayCACertificatesForGateway returns all CA certificates for a gateway ref.
func (*ResourceSet) GetAIGatewayCertificatesForGateway ¶ added in v1.15.0
func (rs *ResourceSet) GetAIGatewayCertificatesForGateway(gatewayRef string) []AIGatewayCertificateResource
GetAIGatewayCertificatesForGateway returns all runtime certificates for a gateway ref.
func (*ResourceSet) GetAIGatewayConfigStoreByRef ¶ added in v1.9.0
func (rs *ResourceSet) GetAIGatewayConfigStoreByRef(ref string) *AIGatewayConfigStoreResource
GetAIGatewayConfigStoreByRef returns an AI Gateway Config Store resource by its ref.
func (*ResourceSet) GetAIGatewayConfigStoreSecretByRef ¶ added in v1.14.0
func (rs *ResourceSet) GetAIGatewayConfigStoreSecretByRef(ref string) *AIGatewayConfigStoreSecretResource
GetAIGatewayConfigStoreSecretByRef returns an AI Gateway Config Store Secret resource by its ref.
func (*ResourceSet) GetAIGatewayConfigStoreSecretsForStore ¶ added in v1.14.0
func (rs *ResourceSet) GetAIGatewayConfigStoreSecretsForStore( storeRef string, ) []AIGatewayConfigStoreSecretResource
GetAIGatewayConfigStoreSecretsForStore returns all secrets for a Config Store ref.
func (*ResourceSet) GetAIGatewayConfigStoresForGateway ¶ added in v1.9.0
func (rs *ResourceSet) GetAIGatewayConfigStoresForGateway(gatewayRef string) []AIGatewayConfigStoreResource
GetAIGatewayConfigStoresForGateway returns all AI Gateway Config Stores for a gateway ref.
func (*ResourceSet) GetAIGatewayConsumerByRef ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayConsumerByRef(ref string) *AIGatewayConsumerResource
GetAIGatewayConsumerByRef returns an AI Gateway Consumer resource by its ref from any namespace.
func (*ResourceSet) GetAIGatewayConsumerCredentialByRef ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayConsumerCredentialByRef(ref string) *AIGatewayConsumerCredentialResource
GetAIGatewayConsumerCredentialByRef returns an AI Gateway Consumer Credential resource by its ref from any namespace.
func (*ResourceSet) GetAIGatewayConsumerCredentialsForConsumer ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayConsumerCredentialsForConsumer( consumerRef string, ) []AIGatewayConsumerCredentialResource
GetAIGatewayConsumerCredentialsForConsumer returns all AI Gateway Consumer Credentials for a given consumer ref.
func (*ResourceSet) GetAIGatewayConsumerGroupByRef ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayConsumerGroupByRef(ref string) *AIGatewayConsumerGroupResource
GetAIGatewayConsumerGroupByRef returns an AI Gateway Consumer Group resource by its ref from any namespace.
func (*ResourceSet) GetAIGatewayConsumerGroupsForGateway ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayConsumerGroupsForGateway(gatewayRef string) []AIGatewayConsumerGroupResource
GetAIGatewayConsumerGroupsForGateway returns all AI Gateway Consumer Groups for a given gateway ref.
func (*ResourceSet) GetAIGatewayConsumersForGateway ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayConsumersForGateway(gatewayRef string) []AIGatewayConsumerResource
GetAIGatewayConsumersForGateway returns all AI Gateway Consumers for a given gateway ref.
func (*ResourceSet) GetAIGatewayCustomPoliciesForGateway ¶ added in v1.20.0
func (rs *ResourceSet) GetAIGatewayCustomPoliciesForGateway(gatewayRef string) []AIGatewayCustomPolicyResource
func (*ResourceSet) GetAIGatewayCustomPolicyByRef ¶ added in v1.20.0
func (rs *ResourceSet) GetAIGatewayCustomPolicyByRef(ref string) *AIGatewayCustomPolicyResource
func (*ResourceSet) GetAIGatewayDataPlaneCertificateByRef ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayDataPlaneCertificateByRef( ref string, ) *AIGatewayDataPlaneCertificateResource
GetAIGatewayDataPlaneCertificateByRef returns an AI Gateway data plane certificate resource by its ref from any namespace.
func (*ResourceSet) GetAIGatewayDataPlaneCertificatesForGateway ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayDataPlaneCertificatesForGateway( gatewayRef string, ) []AIGatewayDataPlaneCertificateResource
GetAIGatewayDataPlaneCertificatesForGateway returns all AI Gateway data plane certificates for a given gateway ref.
func (*ResourceSet) GetAIGatewayDatastoreByRef ¶ added in v1.22.0
func (rs *ResourceSet) GetAIGatewayDatastoreByRef(ref string) *AIGatewayDatastoreResource
func (*ResourceSet) GetAIGatewayDatastoresForGateway ¶ added in v1.22.0
func (rs *ResourceSet) GetAIGatewayDatastoresForGateway(gatewayRef string) []AIGatewayDatastoreResource
func (*ResourceSet) GetAIGatewayMCPServerByRef ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayMCPServerByRef(ref string) *AIGatewayMCPServerResource
GetAIGatewayMCPServerByRef returns an AI Gateway MCP Server resource by its ref from any namespace.
func (*ResourceSet) GetAIGatewayMCPServersForGateway ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayMCPServersForGateway(gatewayRef string) []AIGatewayMCPServerResource
GetAIGatewayMCPServersForGateway returns all AI Gateway MCP Servers for a given gateway ref.
func (*ResourceSet) GetAIGatewayModelByRef ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayModelByRef(ref string) *AIGatewayModelResource
GetAIGatewayModelByRef returns an AI Gateway Model resource by its ref from any namespace.
func (*ResourceSet) GetAIGatewayModelsForGateway ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayModelsForGateway(gatewayRef string) []AIGatewayModelResource
GetAIGatewayModelsForGateway returns all AI Gateway Models for a given gateway ref.
func (*ResourceSet) GetAIGatewayPoliciesForGateway ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayPoliciesForGateway(gatewayRef string) []AIGatewayPolicyResource
GetAIGatewayPoliciesForGateway returns all AI Gateway Policies for a given gateway ref.
func (*ResourceSet) GetAIGatewayPolicyByRef ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayPolicyByRef(ref string) *AIGatewayPolicyResource
GetAIGatewayPolicyByRef returns an AI Gateway Policy resource by its ref from any namespace.
func (*ResourceSet) GetAIGatewayProviderByRef ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayProviderByRef(ref string) *AIGatewayProviderResource
GetAIGatewayProviderByRef returns an AI Gateway Model Provider resource by its ref from any namespace.
func (*ResourceSet) GetAIGatewayProvidersForGateway ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayProvidersForGateway(gatewayRef string) []AIGatewayProviderResource
GetAIGatewayProvidersForGateway returns all providers for a given AI Gateway ref.
func (*ResourceSet) GetAIGatewaySNIsForGateway ¶ added in v1.15.0
func (rs *ResourceSet) GetAIGatewaySNIsForGateway(gatewayRef string) []AIGatewaySNIResource
GetAIGatewaySNIsForGateway returns all SNIs for a gateway ref.
func (*ResourceSet) GetAIGatewayVaultByRef ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayVaultByRef(ref string) *AIGatewayVaultResource
GetAIGatewayVaultByRef returns an AI Gateway Vault resource by its ref from any namespace.
func (*ResourceSet) GetAIGatewayVaultsForGateway ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewayVaultsForGateway(gatewayRef string) []AIGatewayVaultResource
GetAIGatewayVaultsForGateway returns all AI Gateway Vaults for a given gateway ref.
func (*ResourceSet) GetAIGatewaysByNamespace ¶ added in v1.5.0
func (rs *ResourceSet) GetAIGatewaysByNamespace(namespace string) []AIGatewayResource
GetAIGatewaysByNamespace returns all AI Gateway resources from the specified namespace.
func (*ResourceSet) GetAPIByRef ¶ added in v0.1.4
func (rs *ResourceSet) GetAPIByRef(ref string) *APIResource
GetAPIByRef returns an API resource by its ref from any namespace
func (*ResourceSet) GetAPIDocumentsByNamespace ¶ added in v0.1.4
func (rs *ResourceSet) GetAPIDocumentsByNamespace(namespace string) []APIDocumentResource
GetAPIDocumentsByNamespace returns all API document resources from the specified namespace
func (*ResourceSet) GetAPIImplementationsByNamespace ¶ added in v0.1.4
func (rs *ResourceSet) GetAPIImplementationsByNamespace(namespace string) []APIImplementationResource
GetAPIImplementationsByNamespace returns all API implementation resources from the specified namespace
func (*ResourceSet) GetAPIPublicationsByNamespace ¶ added in v0.1.4
func (rs *ResourceSet) GetAPIPublicationsByNamespace(namespace string) []APIPublicationResource
GetAPIPublicationsByNamespace returns all API publication resources from the specified namespace
func (*ResourceSet) GetAPIVersionsByNamespace ¶ added in v0.1.4
func (rs *ResourceSet) GetAPIVersionsByNamespace(namespace string) []APIVersionResource
GetAPIVersionsByNamespace returns all API version resources from the specified namespace
func (*ResourceSet) GetAPIsByNamespace ¶ added in v0.1.4
func (rs *ResourceSet) GetAPIsByNamespace(namespace string) []APIResource
GetAPIsByNamespace returns all API resources from the specified namespace
func (*ResourceSet) GetAuthStrategiesByNamespace ¶ added in v0.1.4
func (rs *ResourceSet) GetAuthStrategiesByNamespace(namespace string) []ApplicationAuthStrategyResource
GetAuthStrategiesByNamespace returns all auth strategy resources from the specified namespace
func (*ResourceSet) GetAuthStrategyByRef ¶ added in v0.1.4
func (rs *ResourceSet) GetAuthStrategyByRef(ref string) *ApplicationAuthStrategyResource
GetAuthStrategyByRef returns an auth strategy resource by its ref from any namespace
func (*ResourceSet) GetBackendClusterByRef ¶ added in v0.4.0
func (rs *ResourceSet) GetBackendClusterByRef(ref string) *EventGatewayBackendClusterResource
GetBackendClusterByRef returns a backend cluster resource by its ref from any namespace
func (*ResourceSet) GetBackendClustersForGateway ¶ added in v0.3.8
func (rs *ResourceSet) GetBackendClustersForGateway(gatewayRef string) []EventGatewayBackendClusterResource
GetBackendClustersForGateway returns all backend clusters (nested + root-level) for a given gateway ref
func (*ResourceSet) GetCatalogServiceByRef ¶ added in v0.3.6
func (rs *ResourceSet) GetCatalogServiceByRef(ref string) *CatalogServiceResource
GetCatalogServiceByRef returns a catalog service resource by its ref from any namespace
func (*ResourceSet) GetCatalogServicesByNamespace ¶ added in v0.3.6
func (rs *ResourceSet) GetCatalogServicesByNamespace(namespace string) []CatalogServiceResource
GetCatalogServicesByNamespace returns all catalog service resources from the specified namespace
func (*ResourceSet) GetClusterPoliciesForVirtualCluster ¶ added in v0.8.0
func (rs *ResourceSet) GetClusterPoliciesForVirtualCluster( virtualClusterRef string, ) []EventGatewayClusterPolicyResource
GetClusterPoliciesForVirtualCluster returns all cluster policies (nested + root-level) for a specific virtual cluster
func (*ResourceSet) GetConsumePoliciesForVirtualCluster ¶ added in v0.8.0
func (rs *ResourceSet) GetConsumePoliciesForVirtualCluster( virtualClusterRef string, ) []EventGatewayConsumePolicyResource
GetConsumePoliciesForVirtualCluster returns all consume policies (nested + root-level) for a specific virtual cluster.
func (*ResourceSet) GetControlPlaneByRef ¶ added in v0.3.0
func (rs *ResourceSet) GetControlPlaneByRef(ref string) *ControlPlaneResource
GetControlPlaneByRef returns a control plane resource by its ref from any namespace
func (*ResourceSet) GetControlPlanesByNamespace ¶ added in v0.1.6
func (rs *ResourceSet) GetControlPlanesByNamespace(namespace string) []ControlPlaneResource
GetControlPlanesByNamespace returns all control plane resources from the specified namespace
func (*ResourceSet) GetDCRProviderByRef ¶ added in v0.8.0
func (rs *ResourceSet) GetDCRProviderByRef(ref string) *DCRProviderResource
GetDCRProviderByRef returns a DCR provider resource by its ref from any namespace
func (*ResourceSet) GetDCRProvidersByNamespace ¶ added in v0.8.0
func (rs *ResourceSet) GetDCRProvidersByNamespace(namespace string) []DCRProviderResource
GetDCRProvidersByNamespace returns all DCR provider resources from the specified namespace
func (*ResourceSet) GetDashboardByRef ¶ added in v1.0.0
func (rs *ResourceSet) GetDashboardByRef(ref string) *DashboardResource
GetDashboardByRef returns a dashboard resource by its ref from any namespace.
func (*ResourceSet) GetDashboardsByNamespace ¶ added in v1.0.0
func (rs *ResourceSet) GetDashboardsByNamespace(namespace string) []DashboardResource
GetDashboardsByNamespace returns all dashboard resources from the specified namespace.
func (*ResourceSet) GetDataPlaneCertificatesForControlPlane ¶ added in v0.10.0
func (rs *ResourceSet) GetDataPlaneCertificatesForControlPlane( controlPlaneRef string, ) []ControlPlaneDataPlaneCertificateResource
GetDataPlaneCertificatesForControlPlane returns all data plane certificates (nested + root-level) for a specific control plane.
func (*ResourceSet) GetDataPlaneCertificatesForGateway ¶ added in v0.6.0
func (rs *ResourceSet) GetDataPlaneCertificatesForGateway( gatewayRef string, ) []EventGatewayDataPlaneCertificateResource
GetDataPlaneCertificatesForGateway returns all data plane certificates (nested + root-level) for a specific event gateway
func (*ResourceSet) GetEnvSources ¶ added in v0.8.0
func (rs *ResourceSet) GetEnvSources(resourceRef string) map[string]string
GetEnvSources returns deferred !env placeholders for a resource ref.
func (*ResourceSet) GetEventGatewayControlPlaneByRef ¶ added in v1.4.1
func (rs *ResourceSet) GetEventGatewayControlPlaneByRef(ref string) *EventGatewayControlPlaneResource
GetEventGatewayControlPlaneByRef returns an Event Gateway resource by its ref from any namespace.
func (*ResourceSet) GetEventGatewayControlPlanesByNamespace ¶ added in v0.3.7
func (rs *ResourceSet) GetEventGatewayControlPlanesByNamespace(namespace string) []EventGatewayControlPlaneResource
GetEventGatewayControlPlanesByNamespace returns all EGW CP resources from the specified namespace
func (*ResourceSet) GetListenersForEventGateway ¶ added in v0.5.0
func (rs *ResourceSet) GetListenersForEventGateway(gatewayRef string) []EventGatewayListenerResource
GetListenersForEventGateway returns all listeners (nested + root-level) for a specific event gateway
func (*ResourceSet) GetOrganizationSystemAccountRolesByNamespace ¶ added in v1.0.0
func (rs *ResourceSet) GetOrganizationSystemAccountRolesByNamespace( namespace string, ) []OrganizationSystemAccountRoleResource
GetOrganizationSystemAccountRolesByNamespace returns all system account role resources in a namespace.
func (*ResourceSet) GetOrganizationSystemAccountTeamMembershipsByNamespace ¶ added in v1.0.0
func (rs *ResourceSet) GetOrganizationSystemAccountTeamMembershipsByNamespace( namespace string, ) []OrganizationSystemAccountTeamMembershipResource
GetOrganizationSystemAccountTeamMembershipsByNamespace returns all system account team memberships in a namespace.
func (*ResourceSet) GetOrganizationTeamRolesByNamespace ¶ added in v1.0.0
func (rs *ResourceSet) GetOrganizationTeamRolesByNamespace(namespace string) []OrganizationTeamRoleResource
GetOrganizationTeamRolesByNamespace returns all organization_team_role resources from the specified namespace.
func (*ResourceSet) GetOrganizationTeamsByNamespace ¶ added in v0.4.0
func (rs *ResourceSet) GetOrganizationTeamsByNamespace(namespace string) []OrganizationTeamResource
GetOrganizationTeamsByNamespace returns all organization_team resources from the specified namespace
func (*ResourceSet) GetOrganizationUserRolesByNamespace ¶ added in v1.0.0
func (rs *ResourceSet) GetOrganizationUserRolesByNamespace(namespace string) []OrganizationUserRoleResource
GetOrganizationUserRolesByNamespace returns all user role resources in a namespace.
func (*ResourceSet) GetOrganizationUserTeamMembershipsByNamespace ¶ added in v1.0.0
func (rs *ResourceSet) GetOrganizationUserTeamMembershipsByNamespace( namespace string, ) []OrganizationUserTeamMembershipResource
GetOrganizationUserTeamMembershipsByNamespace returns all user team membership resources in a namespace.
func (*ResourceSet) GetPoliciesForListener ¶ added in v0.5.0
func (rs *ResourceSet) GetPoliciesForListener(listenerRef string) []EventGatewayListenerPolicyResource
GetPoliciesForListener returns all listener policies (nested + root-level) for a specific listener
func (*ResourceSet) GetPortalByRef ¶ added in v0.1.4
func (rs *ResourceSet) GetPortalByRef(ref string) *PortalResource
GetPortalByRef returns a portal resource by its ref from any namespace
func (*ResourceSet) GetPortalPagesByNamespace ¶ added in v0.1.4
func (rs *ResourceSet) GetPortalPagesByNamespace(namespace string) []PortalPageResource
GetPortalPagesByNamespace returns all portal page resources from the specified namespace
func (*ResourceSet) GetPortalsByNamespace ¶ added in v0.1.4
func (rs *ResourceSet) GetPortalsByNamespace(namespace string) []PortalResource
GetPortalsByNamespace returns all portal resources from the specified namespace
func (*ResourceSet) GetProducePoliciesForVirtualCluster ¶ added in v0.8.0
func (rs *ResourceSet) GetProducePoliciesForVirtualCluster( virtualClusterRef string, ) []EventGatewayProducePolicyResource
GetProducePoliciesForVirtualCluster returns all produce policies (nested + root-level) for a specific virtual cluster
func (*ResourceSet) GetResourceByRef ¶ added in v0.1.3
func (rs *ResourceSet) GetResourceByRef(ref string) (Resource, bool)
GetResourceByRef returns the resource for a given ref
func (*ResourceSet) GetResourceTypeByRef ¶ added in v0.1.3
func (rs *ResourceSet) GetResourceTypeByRef(ref string) (ResourceType, bool)
GetResourceTypeByRef returns the resource type for a given ref
func (*ResourceSet) GetSchemaRegistriesForGateway ¶ added in v0.8.0
func (rs *ResourceSet) GetSchemaRegistriesForGateway( gatewayRef string, ) []EventGatewaySchemaRegistryResource
GetSchemaRegistriesForGateway returns all schema registries (nested + root-level) for a specific event gateway
func (*ResourceSet) GetSecretSources ¶ added in v1.13.0
func (rs *ResourceSet) GetSecretSources(resourceRef string) map[string]SecretSourceDeclaration
GetSecretSources returns deferred secrets for one resource ref.
func (*ResourceSet) GetStaticKeysForGateway ¶ added in v0.8.0
func (rs *ResourceSet) GetStaticKeysForGateway( gatewayRef string, ) []EventGatewayStaticKeyResource
GetStaticKeysForGateway returns all static keys (nested + root-level) for a specific event gateway
func (*ResourceSet) GetTrustBundlesForGateway ¶ added in v0.8.0
func (rs *ResourceSet) GetTrustBundlesForGateway( gatewayRef string, ) []EventGatewayTLSTrustBundleResource
GetTrustBundlesForGateway returns all TLS trust bundles (nested + root-level) for a specific event gateway
func (*ResourceSet) GetVirtualClusterByRef ¶ added in v0.5.0
func (rs *ResourceSet) GetVirtualClusterByRef(ref string) *EventGatewayVirtualClusterResource
GetVirtualClusterByRef returns a virtual cluster resource by its ref from any namespace
func (*ResourceSet) GetVirtualClustersForGateway ¶ added in v0.4.0
func (rs *ResourceSet) GetVirtualClustersForGateway(gatewayRef string) []EventGatewayVirtualClusterResource
GetVirtualClustersForGateway returns all virtual clusters (nested + root-level) for a given gateway ref
func (*ResourceSet) HasEnvSources ¶ added in v0.8.0
func (rs *ResourceSet) HasEnvSources() bool
HasEnvSources returns true when any deferred !env placeholders were recorded.
func (*ResourceSet) HasRef ¶ added in v0.1.3
func (rs *ResourceSet) HasRef(ref string) bool
HasRef checks if a ref exists globally across all resource types
func (*ResourceSet) HasSecretSources ¶ added in v1.13.0
func (rs *ResourceSet) HasSecretSources() bool
HasSecretSources reports whether the input contains deferred write-only values.
func (*ResourceSet) HasSyncScopeSelectors ¶ added in v1.16.0
func (rs *ResourceSet) HasSyncScopeSelectors() bool
HasSyncScopeSelectors includes selectors that do not contribute to IsEmpty.
func (*ResourceSet) InferRegisteredSyncScope ¶ added in v1.16.0
func (rs *ResourceSet) InferRegisteredSyncScope(scope *SyncScope)
InferRegisteredSyncScope adds scopes supported by populated resource slices. Callers must retain an existing explicit SyncScope: slices cannot represent the loader's distinction between omitted and explicitly empty collections.
func (*ResourceSet) IsEmpty ¶ added in v0.5.0
func (rs *ResourceSet) IsEmpty() bool
IsEmpty returns true if the ResourceSet contains no resources.
func (*ResourceSet) MergeEnvSources ¶ added in v0.8.0
func (rs *ResourceSet) MergeEnvSources(other *ResourceSet)
MergeEnvSources copies deferred !env placeholders from another ResourceSet.
func (*ResourceSet) MergeSecretSources ¶ added in v1.13.0
func (rs *ResourceSet) MergeSecretSources(other *ResourceSet)
MergeSecretSources copies deferred secret declarations from another ResourceSet.
func (*ResourceSet) MergeSyncScope ¶ added in v1.0.0
func (rs *ResourceSet) MergeSyncScope(other *ResourceSet)
MergeSyncScope merges sync scope from another ResourceSet.
func (*ResourceSet) NamespaceValues ¶ added in v1.16.0
func (rs *ResourceSet) NamespaceValues() []string
NamespaceValues returns present kongctl.namespace values after extraction. It reads flattened resources and organization selectors, without revisiting grouping locations or applying the planner's external-namespace policy.
func (*ResourceSet) PayloadReferenceEnvSource ¶ added in v1.18.0
func (rs *ResourceSet) PayloadReferenceEnvSource(expression string) string
PayloadReferenceEnvSource preserves deferred environment provenance when a configuration-known field is copied to another payload destination.
func (*ResourceSet) PayloadReferenceLiteralSource ¶ added in v1.18.0
func (rs *ResourceSet) PayloadReferenceLiteralSource(expression string) string
PayloadReferenceLiteralSource finds literal provenance through selector chains.
func (*ResourceSet) ReferenceTarget ¶ added in v1.18.0
func (rs *ResourceSet) ReferenceTarget(ref string) (Resource, error)
ReferenceTarget finds a declaration without choosing arbitrarily between declarations that share a ref in different scopes or resource types.
func (*ResourceSet) ResolvePayloadReference ¶ added in v1.18.0
func (rs *ResourceSet) ResolvePayloadReference(expression string) (any, error)
ResolvePayloadReference resolves configuration-known scalar selectors and known identities. An unknown identity remains an expression until execution.
func (*ResourceSet) ResourceCount ¶ added in v0.5.0
func (rs *ResourceSet) ResourceCount() int
ResourceCount returns the total number of resources across all registered types. Time complexity - O(number of resource types)
func (*ResourceSet) ValidateRegisteredChildren ¶ added in v1.16.0
func (rs *ResourceSet) ValidateRegisteredChildren(family ResourceType) error
ValidateRegisteredChildren validates a family's flattened child collections in registration order, stopping at the first error. Validation families can include grandchildren without changing their extraction parent.
func (*ResourceSet) ValidateRegisteredCollections ¶ added in v1.17.0
func (rs *ResourceSet) ValidateRegisteredCollections() error
ValidateRegisteredCollections runs root, child, and selector collection rules in diagnostic order. Normalization, cross-references, and namespaces remain loader phases outside this pass; nested API checks run within their root.
func (*ResourceSet) ValidateRegisteredNestedChildren ¶ added in v1.16.0
func (rs *ResourceSet) ValidateRegisteredNestedChildren(parent Resource) error
ValidateRegisteredNestedChildren runs optional per-parent validation in extraction order. Callers choose its phase independently of root validation.
func (*ResourceSet) ValidateRegisteredReferences ¶ added in v1.21.0
func (rs *ResourceSet) ValidateRegisteredReferences(validate func(Resource) error) error
ValidateRegisteredReferences visits only explicitly enrolled resources in diagnostic order. The caller retains reference-field validation policy.
func (*ResourceSet) ValidateRegisteredResource ¶ added in v1.16.0
func (rs *ResourceSet) ValidateRegisteredResource(kind ResourceType) error
ValidateRegisteredResource runs the load validation for one registered kind.
func (*ResourceSet) ValidateRegisteredSelectorChildren ¶ added in v1.17.0
func (rs *ResourceSet) ValidateRegisteredSelectorChildren(kind ResourceType) error
ValidateRegisteredSelectorChildren validates selectors before their flattened assignment collections. Callers retain sequencing between selector families.
type ResourceType ¶ added in v0.1.3
type ResourceType string
ResourceType represents the type of a declarative resource
const ( ResourceTypeIdentityAuthServer ResourceType = "identity_auth_server" ResourceTypeIdentityAuthServerScope ResourceType = "identity_auth_server_scope" ResourceTypeIdentityAuthServerClaim ResourceType = "identity_auth_server_claim" ResourceTypeIdentityAuthServerClient ResourceType = "identity_auth_server_client" ResourceTypeIdentityGroupMembership ResourceType = "identity_group_membership" ResourceTypeIdentityPrincipalAPIKey ResourceType = "identity_principal_api_key" ResourceTypeIdentityGroupAPIKey ResourceType = "identity_group_api_key" ResourceTypeIdentityGroup ResourceType = "identity_group" ResourceTypeIdentityBasicAuth ResourceType = "identity_basic_auth" ResourceTypeIdentityDirectory ResourceType = "identity_directory" ResourceTypeIdentityVaultKey ResourceType = "identity_vault_key" ResourceTypeIdentityVaultProvider ResourceType = "identity_vault_provider" ResourceTypeIdentityVaultProviderCredential ResourceType = "identity_vault_provider_credential" ResourceTypeIdentityTrustedIDP ResourceType = "identity_trusted_idp" ResourceTypeIdentityPrincipal ResourceType = "identity_principal" ResourceTypeIdentityPrincipalIdentity ResourceType = "identity_principal_identity" ResourceTypePortal ResourceType = "portal" ResourceTypeApplicationAuthStrategy ResourceType = "application_auth_strategy" ResourceTypeDCRProvider ResourceType = "dcr_provider" ResourceTypeControlPlane ResourceType = "control_plane" ResourceTypeControlPlaneGroup ResourceType = "control_plane_group" ResourceTypeAPI ResourceType = "api" ResourceTypeAIGateway ResourceType = "ai_gateway" ResourceTypeAIGatewayProvider ResourceType = "ai_gateway_model_provider" ResourceTypeAIGatewayAuthStrategy ResourceType = "ai_gateway_auth_strategy" ResourceTypeAIGatewayCustomPolicy ResourceType = "ai_gateway_custom_policy" ResourceTypeAIGatewayPolicy ResourceType = "ai_gateway_policy" ResourceTypeAIGatewayAgent ResourceType = "ai_gateway_agent" ResourceTypeAIGatewayConsumer ResourceType = "ai_gateway_consumer" ResourceTypeAIGatewayConsumerCredential ResourceType = "ai_gateway_consumer_credential" ResourceTypeAIGatewayConsumerGroup ResourceType = "ai_gateway_consumer_group" ResourceTypeAIGatewayModel ResourceType = "ai_gateway_model" ResourceTypeAIGatewayMCPServer ResourceType = "ai_gateway_mcp_server" ResourceTypeAIGatewayConfigStore ResourceType = "ai_gateway_config_store" ResourceTypeAIGatewayConfigStoreSecret ResourceType = "ai_gateway_config_store_secret" ResourceTypeAIGatewayVault ResourceType = "ai_gateway_vault" ResourceTypeAIGatewayDatastore ResourceType = "ai_gateway_datastore" ResourceTypeAIGatewayDataPlaneCertificate ResourceType = "ai_gateway_data_plane_certificate" ResourceTypeAIGatewayCertificate ResourceType = "ai_gateway_certificate" ResourceTypeAIGatewayCACertificate ResourceType = "ai_gateway_ca_certificate" ResourceTypeAIGatewaySNI ResourceType = "ai_gateway_sni" ResourceTypeDashboard ResourceType = "dashboard" ResourceTypeAPIVersion ResourceType = "api_version" ResourceTypeAPIPublication ResourceType = "api_publication" ResourceTypeAPIImplementation ResourceType = "api_implementation" ResourceTypeAPIDocument ResourceType = "api_document" ResourceTypeGatewayService ResourceType = "gateway_service" ResourceTypeControlPlaneDataPlaneCertificate ResourceType = "control_plane_data_plane_certificate" ResourceTypePortalCustomization ResourceType = "portal_customization" ResourceTypePortalCustomDomain ResourceType = "portal_custom_domain" ResourceTypePortalAuthSettings ResourceType = "portal_auth_settings" ResourceTypePortalIPAllowList ResourceType = "portal_ip_allow_list" ResourceTypePortalIntegration ResourceType = "portal_integration" ResourceTypePortalIdentityProvider ResourceType = "portal_identity_provider" ResourceTypePortalTeamGroupMapping ResourceType = "portal_team_group_mapping" ResourceTypePortalPage ResourceType = "portal_page" ResourceTypePortalSnippet ResourceType = "portal_snippet" ResourceTypePortalTeam ResourceType = "portal_team" ResourceTypePortalTeamRole ResourceType = "portal_team_role" ResourceTypePortalAssetLogo ResourceType = "portal_asset_logo" ResourceTypePortalAssetFavicon ResourceType = "portal_asset_favicon" ResourceTypePortalEmailConfig ResourceType = "portal_email_config" ResourceTypePortalEmailTemplate ResourceType = "portal_email_template" ResourceTypePortalAuditLogWebhook ResourceType = "portal_audit_log_webhook" ResourceTypeAuditLogWebhookDestination ResourceType = "audit_log_webhook_destination" ResourceTypeCatalogService ResourceType = "catalog_service" ResourceTypeEventGatewayControlPlane ResourceType = "event_gateway" ResourceTypeEventGatewayBackendCluster ResourceType = "event_gateway_backend_cluster" ResourceTypeEventGatewayVirtualCluster ResourceType = "event_gateway_virtual_cluster" ResourceTypeOrganizationTeam ResourceType = "organization_team" ResourceTypeOrganizationTeamRole ResourceType = "organization_team_role" ResourceTypeOrganizationUser ResourceType = "organization_user" ResourceTypeOrganizationUserTeamMembership ResourceType = "organization_user_team_membership" ResourceTypeOrganizationUserRole ResourceType = "organization_user_role" ResourceTypeOrganizationSystemAccount ResourceType = "organization_system_account" ResourceTypeOrganizationSystemAccountTeamMembership ResourceType = "organization_system_account_team_membership" ResourceTypeOrganizationSystemAccountRole ResourceType = "organization_system_account_role" ResourceTypeTeam ResourceType = "team" ResourceTypeEventGatewayListener ResourceType = "event_gateway_listener" ResourceTypeEventGatewayListenerPolicy ResourceType = "event_gateway_listener_policy" ResourceTypeEventGatewayDataPlaneCertificate ResourceType = "event_gateway_data_plane_certificate" ResourceTypeEventGatewayClusterPolicy ResourceType = "event_gateway_virtual_cluster_cluster_policy" ResourceTypeEventGatewayProducePolicy ResourceType = "event_gateway_virtual_cluster_produce_policy" ResourceTypeEventGatewayConsumePolicy ResourceType = "event_gateway_virtual_cluster_consume_policy" ResourceTypeEventGatewaySchemaRegistry ResourceType = "event_gateway_schema_registry" ResourceTypeEventGatewayStaticKey ResourceType = "event_gateway_static_key" ResourceTypeEventGatewayTLSTrustBundle ResourceType = "event_gateway_tls_trust_bundle" )
Resource type constants
func ExternalResolvableTypes ¶ added in v1.8.0
func ExternalResolvableTypes() []ResourceType
ExternalResolvableTypes returns all resource types with the external capability contract.
func ExternalResolvableTypesByScope ¶ added in v1.14.0
func ExternalResolvableTypesByScope(scoped bool) []ResourceType
ExternalResolvableTypesByScope returns capabilities partitioned by whether their lookup requires a resolved parent identity.
func RegisteredTypes ¶ added in v0.5.0
func RegisteredTypes() []ResourceType
RegisteredTypes returns all registered resource types.
func RelationshipTargetTypes ¶ added in v1.14.0
func RelationshipTargetTypes() []ResourceType
RelationshipTargetTypes returns every target declared by relationship metadata.
func RoleEntityResourceType ¶ added in v1.1.0
func RoleEntityResourceType(entityTypeName string) (ResourceType, bool)
RoleEntityResourceType maps Konnect role entity_type_name values to the declarative resource type that can supply the referenced entity_id.
type ResourceValidator ¶
type ResourceValidator interface {
Validate() error
}
ResourceValidator interface for common validation behavior
type ResourceWithLabels ¶
type ResourceWithLabels interface {
Resource
GetLabels() map[string]string
SetLabels(map[string]string)
}
ResourceWithLabels represents resources that support labels
type ResourceWithParent ¶
type ResourceWithParent interface {
Resource
GetParentRef() *ResourceRef
}
ResourceWithParent represents resources that have a parent
type SecretSourceDeclaration ¶ added in v1.13.0
type SecretSourceDeclaration struct {
Expression tags.SecretExpression
DeprecatedBareEnv bool
}
SecretSourceDeclaration records a deferred secret expression discovered while loading.
type SyncCollection ¶ added in v1.16.0
type SyncCollection struct {
ResourceType ResourceType
RootKey string
RootPath []string
ParentType ResourceType
ParentKey string
NestedPaths [][]string
EmptyRootMessage string
// contains filtered or unexported fields
}
SyncCollection describes an opted-in collection's sync ownership and YAML locations. An empty ParentType identifies a managed root collection.
func SyncCollections ¶ added in v1.16.0
func SyncCollections() []SyncCollection
SyncCollections returns independent copies, including every nested path. Locations and parent selectors are derived once from declaration structure and relationships. Early empty-collection errors retain their declared order.
type SyncScope ¶ added in v1.0.0
type SyncScope struct {
// ChildNamespaces records independently owned collection scope per family and parent.
ChildNamespaces map[ResourceType]map[string]map[string]struct{}
// ModelNamespaces separates model ownership from gateway collection scope.
ModelNamespaces map[string]map[string]struct{}
// GatewayNamespaces excludes namespaces introduced only by independent models.
GatewayNamespaces map[string]struct{}
IdentityAuthServerNamespaces map[string]struct{}
IdentityDirectoryNamespaces map[string]struct{}
RootResourceTypes map[ResourceType]struct{}
ChildResourceTypes map[ResourceType]map[string]map[ResourceType]struct{}
RootChildResourceTypes map[ResourceType]struct{}
OrganizationUsersScoped bool
OrganizationSystemAccountsScoped bool
}
SyncScope records the resource collections that were explicitly present in declarative input. Sync planning uses this to distinguish omitted collections from collections intentionally set to zero desired resources.
func NewSyncScope ¶ added in v1.0.0
func NewSyncScope() *SyncScope
NewSyncScope creates an empty sync scope.
func (*SyncScope) AddChild ¶ added in v1.0.0
func (s *SyncScope) AddChild(parentType ResourceType, parentRef string, rt ResourceType)
AddChild marks a child resource collection as in scope for one parent ref.
func (*SyncScope) AddChildNamespace ¶ added in v1.22.0
func (s *SyncScope) AddChildNamespace(kind ResourceType, parentRef, namespace string)
AddChildNamespace is called per source, after defaults and before extraction. Empty collections contribute the source default; omitted collections do not. This never changes root gateway scope.
func (*SyncScope) AddModelNamespace ¶ added in v1.22.0
func (*SyncScope) AddRoot ¶ added in v1.0.0
func (s *SyncScope) AddRoot(rt ResourceType)
AddRoot marks a top-level resource collection as in scope.
func (*SyncScope) AddRootChildCollection ¶ added in v1.0.0
func (s *SyncScope) AddRootChildCollection(rt ResourceType)
AddRootChildCollection records an explicit root-level empty child collection. This cannot express a parent and is rejected by sync planning with guidance.
func (*SyncScope) CaptureDeclared ¶ added in v1.16.0
CaptureDeclared records explicit collection presence before nested resource extraction. The loader owns YAML decoding; resource policies own sync scope.
func (*SyncScope) ChildInScope ¶ added in v1.0.0
func (s *SyncScope) ChildInScope(parentType ResourceType, parentRef string, rt ResourceType) bool
ChildInScope reports whether a child resource collection is in scope for a parent ref.
func (*SyncScope) ChildScopes ¶ added in v1.0.0
func (s *SyncScope) ChildScopes() []ChildSyncScope
ChildScopes returns sorted child collection scopes.
func (*SyncScope) MarkOrganizationSystemAccountsScoped ¶ added in v1.0.0
func (s *SyncScope) MarkOrganizationSystemAccountsScoped()
MarkOrganizationSystemAccountsScoped records that organization.system-accounts was present.
func (*SyncScope) MarkOrganizationUsersScoped ¶ added in v1.0.0
func (s *SyncScope) MarkOrganizationUsersScoped()
MarkOrganizationUsersScoped records that organization.users was present.
func (*SyncScope) OrganizationSystemAccountsInScope ¶ added in v1.0.0
OrganizationSystemAccountsInScope reports whether organization.system-accounts was present.
func (*SyncScope) OrganizationUsersInScope ¶ added in v1.0.0
OrganizationUsersInScope reports whether organization.users was present.
func (*SyncScope) OwnedChildNamespaces ¶ added in v1.22.0
func (s *SyncScope) OwnedChildNamespaces(kind ResourceType, parentRef string) map[string]struct{}
func (*SyncScope) ParentHasChildScope ¶ added in v1.8.0
func (s *SyncScope) ParentHasChildScope(parentType ResourceType) bool
ParentHasChildScope reports whether any child collection is in scope for a parent resource type.
func (*SyncScope) RebindChildParent ¶ added in v1.8.0
func (s *SyncScope) RebindChildParent(parentType ResourceType, oldRef, newRef string)
RebindChildParent moves child sync scope from a declarative selector value to its planner-resolved parent ID.
func (*SyncScope) RemoveRoot ¶ added in v1.8.0
func (s *SyncScope) RemoveRoot(rt ResourceType)
RemoveRoot removes a top-level resource collection from sync scope.
func (*SyncScope) RootChildCollectionTypes ¶ added in v1.0.0
func (s *SyncScope) RootChildCollectionTypes() []ResourceType
RootChildCollectionTypes returns root-level child collection types with no parent scope.
func (*SyncScope) RootInScope ¶ added in v1.0.0
func (s *SyncScope) RootInScope(rt ResourceType) bool
RootInScope reports whether a top-level resource collection is in scope.
func (*SyncScope) RootTypes ¶ added in v1.0.0
func (s *SyncScope) RootTypes() []ResourceType
RootTypes returns sorted root resource types.
Source Files
¶
- ai_gateway.go
- ai_gateway_agent.go
- ai_gateway_auth_strategy.go
- ai_gateway_child_load.go
- ai_gateway_child_ownership.go
- ai_gateway_config_store.go
- ai_gateway_config_store_secret.go
- ai_gateway_consumer.go
- ai_gateway_consumer_credential.go
- ai_gateway_consumer_group.go
- ai_gateway_custom_policy.go
- ai_gateway_data_plane_certificate.go
- ai_gateway_datastore.go
- ai_gateway_explain.go
- ai_gateway_mcp_rate_limiting.go
- ai_gateway_mcp_server.go
- ai_gateway_model.go
- ai_gateway_model_ownership.go
- ai_gateway_payload.go
- ai_gateway_policy.go
- ai_gateway_provider.go
- ai_gateway_tls_resources.go
- ai_gateway_token_vault.go
- ai_gateway_vault.go
- analytics.go
- api.go
- api_child_load.go
- api_document.go
- api_implementation.go
- api_publication.go
- api_version.go
- audit_log_webhook_destination.go
- auth_strategy.go
- base.go
- capability_coverage.go
- catalog_service.go
- child_load.go
- child_validation.go
- collection_validation.go
- control_plane.go
- control_plane_data_plane_certificate.go
- dashboard.go
- dcr_provider.go
- deck.go
- declaration_structure.go
- dump_defaults.go
- event_gateway_backend_cluster.go
- event_gateway_child_load.go
- event_gateway_cluster_policy.go
- event_gateway_consume_policy.go
- event_gateway_control_plane.go
- event_gateway_data_plane_certificate.go
- event_gateway_listener.go
- event_gateway_listener_policy.go
- event_gateway_policy_helpers.go
- event_gateway_produce_policy.go
- event_gateway_schema_registry.go
- event_gateway_static_key.go
- event_gateway_tls_trust_bundle.go
- event_gateway_virtual_cluster.go
- explain.go
- explain_union_schemas.go
- external.go
- gateway_service.go
- identity_api_key_namespaces.go
- identity_api_keys.go
- identity_auth_server.go
- identity_auth_server_children.go
- identity_auth_server_client.go
- identity_basic_auth.go
- identity_directory.go
- identity_group.go
- identity_group_membership.go
- identity_metadata.go
- identity_principal.go
- identity_principal_identity.go
- identity_trusted_idp.go
- identity_vault_key.go
- identity_vault_provider.go
- identity_vault_provider_credential.go
- interfaces.go
- load_schema.go
- managed_by.go
- managed_by_input.go
- maturity.go
- namespace_participants.go
- namespace_selection.go
- organization.go
- organization_system_account.go
- organization_system_account_load.go
- organization_team.go
- organization_team_role.go
- organization_team_role_load.go
- organization_user.go
- organization_user_load.go
- payload_reference.go
- portal.go
- portal_asset_favicon.go
- portal_asset_logo.go
- portal_audit_log_webhook.go
- portal_auth_settings.go
- portal_child_load.go
- portal_custom_domain.go
- portal_customization.go
- portal_email_config.go
- portal_email_template.go
- portal_identity_provider.go
- portal_integration.go
- portal_ip_allow_list.go
- portal_page.go
- portal_sync_scope.go
- portal_team.go
- portal_team_group_mapping.go
- portal_team_role.go
- reference_validation.go
- registry.go
- relationships.go
- role_entity.go
- selector_load.go
- sync_capabilities.go
- sync_capture.go
- sync_scope.go
- types.go
- utils.go
- validation.go
- validation_dispatch.go