Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group. +kubebuilder:object:generate=true +groupName=openchoreo.dev
Index ¶
- Constants
- Variables
- type API
- type APIBinding
- type APIBindingList
- type APIBindingSpec
- type APIBindingStatus
- type APIClass
- type APIClassList
- type APIClassSpec
- type APIClassStatus
- type APIKeyAuthConfig
- type APIKeyAuthPolicySpec
- type APILevelRLSpec
- type APIList
- type APISpec
- type APIStatus
- type APIType
- type AllowedWorkflow
- type Application
- type AuthenticationPolicy
- type AuthzSpec
- type BackendJWTConfig
- type BackendJWTConfigDetails
- type BackendRef
- type BackendRefType
- type BasicAuthCredentials
- type BasicAuthPolicySpec
- type BasicAuthUser
- type Build
- type BuildConfiguration
- type BuildList
- type BuildOwner
- type BuildPlane
- type BuildPlaneList
- type BuildPlaneSpec
- type BuildPlaneStatus
- type BuildSpec
- type BuildStatus
- type BuildTemplateSpec
- type BuildpackConfiguration
- type BuildpackName
- type CORSConfig
- type CORSPolicy
- type CORSPolicySpec
- type CircuitBreakerPolicy
- type ClaimToHeader
- type Component
- type ComponentDeployment
- func (in *ComponentDeployment) DeepCopy() *ComponentDeployment
- func (in *ComponentDeployment) DeepCopyInto(out *ComponentDeployment)
- func (in *ComponentDeployment) DeepCopyObject() runtime.Object
- func (c *ComponentDeployment) GetConditions() []metav1.Condition
- func (c *ComponentDeployment) SetConditions(conditions []metav1.Condition)
- type ComponentDeploymentList
- type ComponentDeploymentOwner
- type ComponentDeploymentSpec
- type ComponentDeploymentStatus
- type ComponentEnvSnapshot
- func (in *ComponentEnvSnapshot) DeepCopy() *ComponentEnvSnapshot
- func (in *ComponentEnvSnapshot) DeepCopyInto(out *ComponentEnvSnapshot)
- func (in *ComponentEnvSnapshot) DeepCopyObject() runtime.Object
- func (c *ComponentEnvSnapshot) GetConditions() []metav1.Condition
- func (c *ComponentEnvSnapshot) SetConditions(conditions []metav1.Condition)
- type ComponentEnvSnapshotList
- type ComponentEnvSnapshotOwner
- type ComponentEnvSnapshotSpec
- type ComponentEnvSnapshotStatus
- type ComponentList
- type ComponentOwner
- type ComponentRef
- type ComponentSource
- type ComponentSpec
- type ComponentStatus
- type ComponentTrait
- type ComponentType
- type ComponentTypeList
- type ComponentTypeSchema
- type ComponentTypeSpec
- type ComponentTypeStatus
- type Configuration
- type ConfigurationGroup
- type ConfigurationGroupConfiguration
- type ConfigurationGroupKeyRef
- type ConfigurationGroupList
- type ConfigurationGroupMountRef
- type ConfigurationGroupRef
- type ConfigurationGroupSpec
- type ConfigurationGroupStatus
- type ConfigurationOverrides
- type ConfigurationValue
- type Container
- type ContainerRegistry
- type DataPlane
- type DataPlaneList
- type DataPlaneSpec
- type DataPlaneStatus
- type DefinedComponentType
- type Dependencies
- type DependenciesOverride
- type DeployableArtifact
- func (in *DeployableArtifact) DeepCopy() *DeployableArtifact
- func (in *DeployableArtifact) DeepCopyInto(out *DeployableArtifact)
- func (in *DeployableArtifact) DeepCopyObject() runtime.Object
- func (p *DeployableArtifact) GetConditions() []metav1.Condition
- func (p *DeployableArtifact) SetConditions(conditions []metav1.Condition)
- type DeployableArtifactList
- type DeployableArtifactSpec
- type DeployableArtifactStatus
- type Deployment
- type DeploymentList
- type DeploymentPipeline
- type DeploymentPipelineList
- type DeploymentPipelineSpec
- type DeploymentPipelineStatus
- type DeploymentSpec
- type DeploymentStatus
- type DeploymentTrack
- func (in *DeploymentTrack) DeepCopy() *DeploymentTrack
- func (in *DeploymentTrack) DeepCopyInto(out *DeploymentTrack)
- func (in *DeploymentTrack) DeepCopyObject() runtime.Object
- func (p *DeploymentTrack) GetConditions() []metav1.Condition
- func (p *DeploymentTrack) SetConditions(conditions []metav1.Condition)
- type DeploymentTrackList
- type DeploymentTrackSpec
- type DeploymentTrackStatus
- type DockerConfiguration
- type Endpoint
- type EndpointAPISettingsSpec
- type EndpointAccess
- type EndpointExposeLevel
- type EndpointList
- type EndpointOverride
- type EndpointOwner
- type EndpointSpec
- type EndpointStatus
- type EndpointStatusLegacy
- type EndpointTemplate
- type EndpointTemplateSpec
- type EndpointType
- type EnvConfigurationOverrides
- type EnvFromSource
- type EnvVar
- type EnvVarValueFrom
- type Environment
- type EnvironmentGroup
- type EnvironmentList
- type EnvironmentSpec
- type EnvironmentStatus
- type FileEdit
- type FileMount
- type FileMountValueFrom
- type FileMountsFromSource
- type FileVar
- type FromBuildRef
- type FromImageRef
- type GRPC
- type GRPCAPIPolicy
- type GRPCMethodDetails
- type GRPCOperation
- type GatewayConfig
- type GatewaySpec
- type GitAuthentication
- type GitCommitAuthor
- type GitCommitRequest
- type GitCommitRequestList
- type GitCommitRequestSpec
- type GitCommitRequestStatus
- type GitRepository
- type GraphQL
- type GraphQLOperation
- type HPAConfig
- type HTTPBackend
- type HTTPMethod
- type HealthStatus
- type Image
- type JSONPatchOperation
- type JWT
- type JWTAuthConfig
- type JWTClaim
- type KeySourceDefinition
- type KubernetesAuth
- type KubernetesClusterSpec
- type KubernetesTLS
- type MTLSAuth
- type MediationPolicy
- type NetworkVisibility
- type OAuth2AuthConfig
- type OAuth2PolicySpec
- type ObserverAPI
- type ObserverAuthentication
- type OperationLevelRLSpec
- type OperationPolicy
- type Organization
- type OrganizationList
- type OrganizationSpec
- type OrganizationStatus
- type Parameter
- type PatchTarget
- type Policy
- type PolicySpec
- type PolicyType
- type Probes
- type Project
- type ProjectList
- type ProjectSpec
- type ProjectStatus
- type PromotionPath
- type REST
- type RESTAPIPolicy
- type RESTEndpoint
- type RESTOperation
- type RESTOperationExposeLevel
- type RESTPolicy
- type RateLimitConfig
- type RateLimitPolicy
- type RateLimitPolicySpec
- type RegistryAuthentication
- type Release
- type ReleaseList
- type ReleaseOwner
- type ReleaseSpec
- type ReleaseState
- type ReleaseStatus
- type RemoteJWKS
- type RemoteReference
- type Repository
- type Resource
- type ResourceLimits
- type ResourceStatus
- type ResourceTemplate
- type RestRLOperation
- type RetryPolicy
- type Revision
- type S2ZConfig
- type ScalingConfig
- type ScheduledTask
- type ScheduledTaskBinding
- type ScheduledTaskBindingList
- type ScheduledTaskBindingSpec
- type ScheduledTaskBindingStatus
- type ScheduledTaskClass
- type ScheduledTaskClassList
- type ScheduledTaskClassSpec
- type ScheduledTaskClassStatus
- type ScheduledTaskList
- type ScheduledTaskOwner
- type ScheduledTaskSpec
- type ScheduledTaskStatus
- type Schema
- type SecretDataSource
- type SecretKeyRef
- type SecretMetadata
- type SecretMountRef
- type SecretRefBasic
- type SecretReference
- type SecretReferenceList
- type SecretReferenceSpec
- type SecretReferenceStatus
- type SecretStoreRef
- type SecretStoreReference
- type SecretTemplate
- type SecurityConfig
- type SecurityPolicy
- type Service
- type ServiceAPI
- type ServiceBinding
- func (in *ServiceBinding) DeepCopy() *ServiceBinding
- func (in *ServiceBinding) DeepCopyInto(out *ServiceBinding)
- func (in *ServiceBinding) DeepCopyObject() runtime.Object
- func (sb *ServiceBinding) GetConditions() []metav1.Condition
- func (sb *ServiceBinding) SetConditions(conditions []metav1.Condition)
- type ServiceBindingList
- type ServiceBindingSpec
- type ServiceBindingStatus
- type ServiceClass
- type ServiceClassList
- type ServiceClassSpec
- type ServiceClassStatus
- type ServiceList
- type ServiceOwner
- type ServiceSpec
- type ServiceStatus
- type Target
- type TargetArtifact
- type TargetEnvironmentRef
- type TaskConfig
- type TaskSchedule
- type TemplateRef
- type Trait
- type TraitCreate
- type TraitList
- type TraitPatch
- type TraitSchema
- type TraitSpec
- type TraitStatus
- type TransformationRule
- type ValueFrom
- type VisibilityConfig
- type WebApplication
- type WebApplicationBinding
- func (in *WebApplicationBinding) DeepCopy() *WebApplicationBinding
- func (in *WebApplicationBinding) DeepCopyInto(out *WebApplicationBinding)
- func (in *WebApplicationBinding) DeepCopyObject() runtime.Object
- func (wab *WebApplicationBinding) GetConditions() []metav1.Condition
- func (wab *WebApplicationBinding) SetConditions(conditions []metav1.Condition)
- type WebApplicationBindingList
- type WebApplicationBindingSpec
- type WebApplicationBindingStatus
- type WebApplicationClass
- type WebApplicationClassList
- type WebApplicationClassSpec
- type WebApplicationClassStatus
- type WebApplicationList
- type WebApplicationOwner
- type WebApplicationSpec
- type WebApplicationStatus
- type Workflow
- type WorkflowConfig
- type WorkflowImage
- type WorkflowList
- type WorkflowOwner
- type WorkflowRun
- type WorkflowRunList
- type WorkflowRunReference
- type WorkflowRunSpec
- type WorkflowRunStatus
- type WorkflowSpec
- type WorkflowStatus
- type Workload
- type WorkloadConnection
- type WorkloadConnectionEnvVar
- type WorkloadConnectionInject
- type WorkloadEndpoint
- type WorkloadList
- type WorkloadOwner
- type WorkloadSpec
- type WorkloadStatus
- type WorkloadTemplateSpec
- type WorkloadType
Constants ¶
const (
ConnectionTypeAPI = "api"
)
ConnectionTypeAPI represents an API connection type
const ( // EndpointDeletionFinalizer should be added as a finalizer to the // Endpoint whenever an endpoint is created. It should be cleared // During deletion when child external resources have been deleted EndpointDeletionFinalizer = "openchoreo.dev/endpoint-deletion" )
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "openchoreo.dev", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var SupportedVersions = map[BuildpackName][]string{ BuildpackReact: {"18.20.6", "19.9.0", "20.18.3", "21.7.3", "22.14.0", "23.7.0"}, BuildpackGo: {"1.x"}, BuildpackBallerina: {"2201.7.5", "2201.8.9", "2201.9.6", "2201.10.4", "2201.11.0"}, BuildpackNodeJS: {"12.x.x", "14.x.x", "16.x.x", "18.x.x", "20.x.x", "22.x.x"}, BuildpackPython: {"3.10.x", "3.11.x", "3.12.x"}, BuildpackRuby: {"3.1.x", "3.2.x", "3.3.x"}, BuildpackPHP: {"8.1.x", "8.2.x", "8.3.x"}, }
SupportedVersions maps each buildpack to its supported versions. Refer (builder:google-22): https://cloud.google.com/docs/buildpacks/builders
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec APISpec `json:"spec,omitempty"`
Status APIStatus `json:"status,omitempty"`
}
API is the Schema for the apis API.
func (*API) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new API.
func (*API) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*API) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIBinding ¶
type APIBinding struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec APIBindingSpec `json:"spec,omitempty"`
Status APIBindingStatus `json:"status,omitempty"`
}
APIBinding is the Schema for the apibindings API.
func (*APIBinding) DeepCopy ¶
func (in *APIBinding) DeepCopy() *APIBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIBinding.
func (*APIBinding) DeepCopyInto ¶
func (in *APIBinding) DeepCopyInto(out *APIBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIBinding) DeepCopyObject ¶
func (in *APIBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIBindingList ¶
type APIBindingList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []APIBinding `json:"items"`
}
APIBindingList contains a list of APIBinding.
func (*APIBindingList) DeepCopy ¶
func (in *APIBindingList) DeepCopy() *APIBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIBindingList.
func (*APIBindingList) DeepCopyInto ¶
func (in *APIBindingList) DeepCopyInto(out *APIBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIBindingList) DeepCopyObject ¶
func (in *APIBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIBindingSpec ¶
type APIBindingSpec struct {
// APIClassName specifies the APIClass to use for this binding
// +kubebuilder:validation:MinLength=1
APIClassName string `json:"apiClassName"`
// APIName specifies the API resource to bind
// +kubebuilder:validation:MinLength=1
APIName string `json:"apiName"`
// Environment specifies the target environment for this binding
// +kubebuilder:validation:MinLength=1
EnvironmentName string `json:"environmentName"`
// ReleaseState controls the state of the Release created by this binding.
// Active: Resources are deployed normally
// Suspend: Resources are suspended (scaled to zero or paused)
// Undeploy: Resources are removed from the data plane
// +kubebuilder:default=Active
// +kubebuilder:validation:Enum=Active;Suspend;Undeploy
// +optional
ReleaseState ReleaseState `json:"releaseState,omitempty"`
}
APIBindingSpec defines the desired state of APIBinding.
func (*APIBindingSpec) DeepCopy ¶
func (in *APIBindingSpec) DeepCopy() *APIBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIBindingSpec.
func (*APIBindingSpec) DeepCopyInto ¶
func (in *APIBindingSpec) DeepCopyInto(out *APIBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIBindingStatus ¶
type APIBindingStatus struct {
}
APIBindingStatus defines the observed state of APIBinding.
func (*APIBindingStatus) DeepCopy ¶
func (in *APIBindingStatus) DeepCopy() *APIBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIBindingStatus.
func (*APIBindingStatus) DeepCopyInto ¶
func (in *APIBindingStatus) DeepCopyInto(out *APIBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIClass ¶
type APIClass struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec APIClassSpec `json:"spec,omitempty"`
Status APIClassStatus `json:"status,omitempty"`
}
APIClass is the Schema for the apiclasses API.
func (*APIClass) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIClass.
func (*APIClass) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIClass) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIClassList ¶
type APIClassList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []APIClass `json:"items"`
}
APIClassList contains a list of APIClass.
func (*APIClassList) DeepCopy ¶
func (in *APIClassList) DeepCopy() *APIClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIClassList.
func (*APIClassList) DeepCopyInto ¶
func (in *APIClassList) DeepCopyInto(out *APIClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIClassList) DeepCopyObject ¶
func (in *APIClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIClassSpec ¶
type APIClassSpec struct {
RESTPolicy *RESTAPIPolicy `json:"restPolicy,omitempty"`
GRPCPolicy *GRPCAPIPolicy `json:"grpcPolicy,omitempty"`
}
APIClassSpec defines the desired state of APIClass.
func (*APIClassSpec) DeepCopy ¶
func (in *APIClassSpec) DeepCopy() *APIClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIClassSpec.
func (*APIClassSpec) DeepCopyInto ¶
func (in *APIClassSpec) DeepCopyInto(out *APIClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIClassStatus ¶
type APIClassStatus struct {
}
APIClassStatus defines the observed state of APIClass.
func (*APIClassStatus) DeepCopy ¶
func (in *APIClassStatus) DeepCopy() *APIClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIClassStatus.
func (*APIClassStatus) DeepCopyInto ¶
func (in *APIClassStatus) DeepCopyInto(out *APIClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIKeyAuthConfig ¶
type APIKeyAuthConfig struct {
Header *string `json:"header,omitempty"`
QueryParam *string `json:"queryParam,omitempty"`
}
APIKeyAuthConfig defines API key authentication configuration
func (*APIKeyAuthConfig) DeepCopy ¶
func (in *APIKeyAuthConfig) DeepCopy() *APIKeyAuthConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeyAuthConfig.
func (*APIKeyAuthConfig) DeepCopyInto ¶
func (in *APIKeyAuthConfig) DeepCopyInto(out *APIKeyAuthConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIKeyAuthPolicySpec ¶
type APIKeyAuthPolicySpec struct {
KeySource KeySourceDefinition `json:"keySource" yaml:"keySource"`
SecretRefs []string `json:"secretRefs" yaml:"secretRefs"`
}
func (*APIKeyAuthPolicySpec) DeepCopy ¶
func (in *APIKeyAuthPolicySpec) DeepCopy() *APIKeyAuthPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeyAuthPolicySpec.
func (*APIKeyAuthPolicySpec) DeepCopyInto ¶
func (in *APIKeyAuthPolicySpec) DeepCopyInto(out *APIKeyAuthPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APILevelRLSpec ¶
type APILevelRLSpec struct {
TimeUnit string `json:"timeUnit" yaml:"timeUnit"`
RequestLimit int `json:"requestLimit" yaml:"requestLimit"`
}
func (*APILevelRLSpec) DeepCopy ¶
func (in *APILevelRLSpec) DeepCopy() *APILevelRLSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APILevelRLSpec.
func (*APILevelRLSpec) DeepCopyInto ¶
func (in *APILevelRLSpec) DeepCopyInto(out *APILevelRLSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIList ¶
type APIList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []API `json:"items"`
}
APIList contains a list of API.
func (*APIList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIList.
func (*APIList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APISpec ¶
type APISpec struct {
Owner EndpointOwner `json:"owner"`
// +kubebuilder:validation:MinLength=1
EnvironmentName string `json:"environmentName"`
EndpointTemplateSpec `json:",inline"`
}
APISpec defines the desired state of API.
func (*APISpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APISpec.
func (*APISpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIStatus ¶
type APIStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
Address string `json:"address,omitempty"`
}
APIStatus defines the observed state of API.
func (*APIStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIStatus.
func (*APIStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AllowedWorkflow ¶ added in v0.4.0
type AllowedWorkflow struct {
// Name is the name of the Workflow CR
// +required
// +kubebuilder:validation:MinLength=1
Name string `json:"name"`
}
AllowedWorkflow references a Workflow CR that developers can use for this component type.
func (*AllowedWorkflow) DeepCopy ¶ added in v0.4.0
func (in *AllowedWorkflow) DeepCopy() *AllowedWorkflow
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedWorkflow.
func (*AllowedWorkflow) DeepCopyInto ¶ added in v0.4.0
func (in *AllowedWorkflow) DeepCopyInto(out *AllowedWorkflow)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Application ¶
type Application struct {
// Command line arguments to pass.
// +optional
Args []string `json:"args,omitempty"`
// Explicit environment variables.
// +optional
Env []EnvVar `json:"env,omitempty"`
// Bulk import environment variables from references.
// +optional
EnvFrom []EnvFromSource `json:"envFrom,omitempty"`
// Single-file mounts.
// +optional
FileMounts []FileMount `json:"fileMounts,omitempty"`
// Bulk import file mounts from references.
// +optional
FileMountsFrom []FileMountsFromSource `json:"fileMountsFrom,omitempty"`
// Resource limits for CPU/memory, etc.
// +optional
ResourceLimits *ResourceLimits `json:"resourceLimits,omitempty"`
// Probes (readiness/liveness) to monitor the container.
// +optional
Probes *Probes `json:"probes,omitempty"`
// Scaling configuration (only for non-task components).
// +optional
Scaling *ScalingConfig `json:"scaling,omitempty"`
// Task configuration (mutually exclusive with scaling).
// +optional
Task *TaskConfig `json:"task,omitempty"`
}
Application captures runtime-specific configurations.
func (*Application) DeepCopy ¶
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.
func (*Application) DeepCopyInto ¶
func (in *Application) DeepCopyInto(out *Application)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthenticationPolicy ¶
type AuthenticationPolicy struct {
Type string `json:"type"` // jwt | apikey | oauth2 | basic
JWT *JWTAuthConfig `json:"jwt,omitempty"`
APIKey *APIKeyAuthConfig `json:"apikey,omitempty"`
OAuth2 *OAuth2AuthConfig `json:"oauth2,omitempty"`
}
AuthenticationPolicy defines authentication and authorization configuration
func (*AuthenticationPolicy) DeepCopy ¶
func (in *AuthenticationPolicy) DeepCopy() *AuthenticationPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationPolicy.
func (*AuthenticationPolicy) DeepCopyInto ¶
func (in *AuthenticationPolicy) DeepCopyInto(out *AuthenticationPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthzSpec ¶
type AuthzSpec struct {
// +required
// +kubebuilder:validation:Enum=REST;GRPC;GraphQL
APIType APIType `json:"apiType" yaml:"apiType"` // REST, GRPC, GraphQL
// +optional
Rest *REST `json:"rest" yaml:"rest"`
// +optional
GRPC *GRPC `json:"grpc" yaml:"grpc"`
// +optional
GraphQL *GraphQL `json:"graphql" yaml:"graphql"`
}
func (*AuthzSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthzSpec.
func (*AuthzSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackendJWTConfig ¶
type BackendJWTConfig struct {
Enable bool `json:"enable"`
Configuration BackendJWTConfigDetails `json:"configuration"`
}
BackendJWTConfig defines JWT configuration for backend services
func (*BackendJWTConfig) DeepCopy ¶
func (in *BackendJWTConfig) DeepCopy() *BackendJWTConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendJWTConfig.
func (*BackendJWTConfig) DeepCopyInto ¶
func (in *BackendJWTConfig) DeepCopyInto(out *BackendJWTConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackendJWTConfigDetails ¶
type BackendJWTConfigDetails struct {
Audiences []string `json:"audiences"`
}
BackendJWTConfigDetails contains the detailed JWT configuration
func (*BackendJWTConfigDetails) DeepCopy ¶
func (in *BackendJWTConfigDetails) DeepCopy() *BackendJWTConfigDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendJWTConfigDetails.
func (*BackendJWTConfigDetails) DeepCopyInto ¶
func (in *BackendJWTConfigDetails) DeepCopyInto(out *BackendJWTConfigDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackendRef ¶
type BackendRef struct {
// Base path of the upstream service
// +optional
BasePath string `json:"basePath"`
// type of the upstream service
// +required
// +kubebuilder:validation:Enum=componentRef;target
Type BackendRefType `json:"type"`
ComponentRef *ComponentRef `json:"componentRef,omitempty"`
Target *Target `json:"target,omitempty"`
}
BackendRef defines the reference to the upstream service
func (*BackendRef) DeepCopy ¶
func (in *BackendRef) DeepCopy() *BackendRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendRef.
func (*BackendRef) DeepCopyInto ¶
func (in *BackendRef) DeepCopyInto(out *BackendRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackendRefType ¶
type BackendRefType string
const ( // BackendRefTypeComponentRef indicates the backend reference is a component reference BackendRefTypeComponentRef BackendRefType = "componentRef" // BackendRefTypeTarget indicates the backend reference is a target URL BackendRefTypeTarget BackendRefType = "target" )
type BasicAuthCredentials ¶
type BasicAuthCredentials struct {
// Username for basic authentication
Username string `json:"username"`
// Password for basic authentication
Password string `json:"password"`
}
BasicAuthCredentials defines username and password for basic authentication
func (*BasicAuthCredentials) DeepCopy ¶
func (in *BasicAuthCredentials) DeepCopy() *BasicAuthCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuthCredentials.
func (*BasicAuthCredentials) DeepCopyInto ¶
func (in *BasicAuthCredentials) DeepCopyInto(out *BasicAuthCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BasicAuthPolicySpec ¶
type BasicAuthPolicySpec struct {
Users []BasicAuthUser `json:"users" yaml:"users"`
Header string `json:"header" yaml:"header"`
HeaderAuthScheme string `json:"headerAuthScheme" yaml:"headerAuthScheme"`
}
func (*BasicAuthPolicySpec) DeepCopy ¶
func (in *BasicAuthPolicySpec) DeepCopy() *BasicAuthPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuthPolicySpec.
func (*BasicAuthPolicySpec) DeepCopyInto ¶
func (in *BasicAuthPolicySpec) DeepCopyInto(out *BasicAuthPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BasicAuthUser ¶
type BasicAuthUser struct {
Username string `json:"username" yaml:"username"`
PasswordFromSecret string `json:"passwordFromSecret" yaml:"passwordFromSecret"`
}
func (*BasicAuthUser) DeepCopy ¶
func (in *BasicAuthUser) DeepCopy() *BasicAuthUser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuthUser.
func (*BasicAuthUser) DeepCopyInto ¶
func (in *BasicAuthUser) DeepCopyInto(out *BasicAuthUser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Build ¶
type Build struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec BuildSpec `json:"spec,omitempty"`
Status BuildStatus `json:"status,omitempty"`
}
Build is the Schema for the builds API.
func (*Build) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Build.
func (*Build) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Build) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Build) GetConditions ¶
GetConditions returns the conditions slice
func (*Build) SetConditions ¶
SetConditions sets the conditions slice
type BuildConfiguration ¶
type BuildConfiguration struct {
// Docker specifies the Docker-specific build configuration
Docker *DockerConfiguration `json:"docker,omitempty"`
// Buildpack specifies the buildpack to use
Buildpack *BuildpackConfiguration `json:"buildpack,omitempty"`
}
BuildConfiguration specifies the build configuration details
func (*BuildConfiguration) DeepCopy ¶
func (in *BuildConfiguration) DeepCopy() *BuildConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildConfiguration.
func (*BuildConfiguration) DeepCopyInto ¶
func (in *BuildConfiguration) DeepCopyInto(out *BuildConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildList ¶
type BuildList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Build `json:"items"`
}
BuildList contains a list of Build.
func (*BuildList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildList.
func (*BuildList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuildList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BuildOwner ¶
type BuildOwner struct {
// +kubebuilder:validation:MinLength=1
ProjectName string `json:"projectName"`
// +kubebuilder:validation:MinLength=1
ComponentName string `json:"componentName"`
}
func (*BuildOwner) DeepCopy ¶
func (in *BuildOwner) DeepCopy() *BuildOwner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildOwner.
func (*BuildOwner) DeepCopyInto ¶
func (in *BuildOwner) DeepCopyInto(out *BuildOwner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildPlane ¶
type BuildPlane struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec BuildPlaneSpec `json:"spec,omitempty"`
Status BuildPlaneStatus `json:"status,omitempty"`
}
BuildPlane is the Schema for the buildplanes API.
func (*BuildPlane) DeepCopy ¶
func (in *BuildPlane) DeepCopy() *BuildPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildPlane.
func (*BuildPlane) DeepCopyInto ¶
func (in *BuildPlane) DeepCopyInto(out *BuildPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuildPlane) DeepCopyObject ¶
func (in *BuildPlane) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BuildPlaneList ¶
type BuildPlaneList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []BuildPlane `json:"items"`
}
BuildPlaneList contains a list of BuildPlane.
func (*BuildPlaneList) DeepCopy ¶
func (in *BuildPlaneList) DeepCopy() *BuildPlaneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildPlaneList.
func (*BuildPlaneList) DeepCopyInto ¶
func (in *BuildPlaneList) DeepCopyInto(out *BuildPlaneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuildPlaneList) DeepCopyObject ¶
func (in *BuildPlaneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BuildPlaneSpec ¶
type BuildPlaneSpec struct {
// KubernetesCluster defines the Kubernetes cluster where build workloads (e.g., Argo Workflows) will be executed.
KubernetesCluster KubernetesClusterSpec `json:"kubernetesCluster"`
// Observer specifies the configuration for the Observer API integration.
// +optional
Observer ObserverAPI `json:"observer,omitempty"`
}
BuildPlaneSpec defines the desired state of BuildPlane.
func (*BuildPlaneSpec) DeepCopy ¶
func (in *BuildPlaneSpec) DeepCopy() *BuildPlaneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildPlaneSpec.
func (*BuildPlaneSpec) DeepCopyInto ¶
func (in *BuildPlaneSpec) DeepCopyInto(out *BuildPlaneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildPlaneStatus ¶
type BuildPlaneStatus struct {
}
BuildPlaneStatus defines the observed state of BuildPlane.
func (*BuildPlaneStatus) DeepCopy ¶
func (in *BuildPlaneStatus) DeepCopy() *BuildPlaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildPlaneStatus.
func (*BuildPlaneStatus) DeepCopyInto ¶
func (in *BuildPlaneStatus) DeepCopyInto(out *BuildPlaneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildSpec ¶
type BuildSpec struct {
Owner BuildOwner `json:"owner"`
// Repository contains the source repository configuration
Repository Repository `json:"repository"`
// TemplateRef contains the build template reference and parameters
TemplateRef TemplateRef `json:"templateRef"`
}
BuildSpec defines the desired state of Build.
func (*BuildSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildSpec.
func (*BuildSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildStatus ¶
type BuildStatus struct {
// Conditions represent the latest available observations of the build's current state
Conditions []metav1.Condition `json:"conditions,omitempty"`
// ImageStatus contains information about the built image
ImageStatus Image `json:"imageStatus,omitempty"`
}
BuildStatus defines the observed state of Build.
func (*BuildStatus) DeepCopy ¶
func (in *BuildStatus) DeepCopy() *BuildStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStatus.
func (*BuildStatus) DeepCopyInto ¶
func (in *BuildStatus) DeepCopyInto(out *BuildStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildTemplateSpec ¶
type BuildTemplateSpec struct {
// Branch specifies the Git branch to use
Branch string `json:"branch"`
// Path specifies the repository path to use
Path string `json:"path"`
// BuildConfiguration specifies the build settings
BuildConfiguration *BuildConfiguration `json:"buildConfiguration,omitempty"`
}
BuildTemplateSpec defines the build template configuration
func (*BuildTemplateSpec) DeepCopy ¶
func (in *BuildTemplateSpec) DeepCopy() *BuildTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildTemplateSpec.
func (*BuildTemplateSpec) DeepCopyInto ¶
func (in *BuildTemplateSpec) DeepCopyInto(out *BuildTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildpackConfiguration ¶
type BuildpackConfiguration struct {
Name BuildpackName `json:"name"`
Version string `json:"version,omitempty"`
}
func (*BuildpackConfiguration) DeepCopy ¶
func (in *BuildpackConfiguration) DeepCopy() *BuildpackConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildpackConfiguration.
func (*BuildpackConfiguration) DeepCopyInto ¶
func (in *BuildpackConfiguration) DeepCopyInto(out *BuildpackConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildpackName ¶
type BuildpackName string
const ( BuildpackReact BuildpackName = "React" BuildpackGo BuildpackName = "Go" BuildpackBallerina BuildpackName = "Ballerina" BuildpackNodeJS BuildpackName = "Node.js" BuildpackPython BuildpackName = "Python" BuildpackRuby BuildpackName = "Ruby" BuildpackPHP BuildpackName = "PHP" )
type CORSConfig ¶
type CORSConfig struct {
Enable bool `json:"enable"`
AllowOrigins []string `json:"allowOrigins"`
AllowMethods []string `json:"allowMethods"`
AllowHeaders []string `json:"allowHeaders"`
ExposeHeaders []string `json:"exposeHeaders"`
}
CORSConfig defines Cross-Origin Resource Sharing configuration
func (*CORSConfig) DeepCopy ¶
func (in *CORSConfig) DeepCopy() *CORSConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CORSConfig.
func (*CORSConfig) DeepCopyInto ¶
func (in *CORSConfig) DeepCopyInto(out *CORSConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CORSPolicy ¶
type CORSPolicy struct {
AllowOrigins []string `json:"allowOrigins,omitempty"`
AllowMethods []string `json:"allowMethods,omitempty"`
AllowHeaders []string `json:"allowHeaders,omitempty"`
ExposeHeaders []string `json:"exposeHeaders,omitempty"`
MaxAge *int64 `json:"maxAge,omitempty"`
}
CORSPolicy defines CORS configuration
func (*CORSPolicy) DeepCopy ¶
func (in *CORSPolicy) DeepCopy() *CORSPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CORSPolicy.
func (*CORSPolicy) DeepCopyInto ¶
func (in *CORSPolicy) DeepCopyInto(out *CORSPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CORSPolicySpec ¶
type CORSPolicySpec struct {
AllowOrigins []string `json:"allowOrigins" yaml:"allowOrigins"`
AllowMethods []string `json:"allowMethods" yaml:"allowMethods"`
AllowHeaders []string `json:"allowHeaders" yaml:"allowHeaders"`
ExposeHeaders []string `json:"exposeHeaders" yaml:"exposeHeaders"`
MaxAge int `json:"maxAge" yaml:"maxAge"`
AllowCredentials bool `json:"allowCredentials" yaml:"allowCredentials"`
}
func (*CORSPolicySpec) DeepCopy ¶
func (in *CORSPolicySpec) DeepCopy() *CORSPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CORSPolicySpec.
func (*CORSPolicySpec) DeepCopyInto ¶
func (in *CORSPolicySpec) DeepCopyInto(out *CORSPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CircuitBreakerPolicy ¶
type CircuitBreakerPolicy struct {
Enabled bool `json:"enabled"`
// +optional
MaxConnections *int32 `json:"maxConnections"`
// +optional
MaxPendingRequests *int32 `json:"maxPendingRequests"`
// +optional
MaxParallelRequests *int32 `json:"maxParallelRequests"`
// +optional
MaxParallelRetries *int32 `json:"maxParallelRetries"`
}
CircuitBreakerPolicy defines circuit breaker configuration
func (*CircuitBreakerPolicy) DeepCopy ¶
func (in *CircuitBreakerPolicy) DeepCopy() *CircuitBreakerPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircuitBreakerPolicy.
func (*CircuitBreakerPolicy) DeepCopyInto ¶
func (in *CircuitBreakerPolicy) DeepCopyInto(out *CircuitBreakerPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClaimToHeader ¶
type ClaimToHeader struct {
Name string `json:"name" yaml:"name"`
Header string `json:"header" yaml:"header"`
}
func (*ClaimToHeader) DeepCopy ¶
func (in *ClaimToHeader) DeepCopy() *ClaimToHeader
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimToHeader.
func (*ClaimToHeader) DeepCopyInto ¶
func (in *ClaimToHeader) DeepCopyInto(out *ClaimToHeader)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Component ¶
type Component struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ComponentSpec `json:"spec,omitempty"`
Status ComponentStatus `json:"status,omitempty"`
}
Component is the Schema for the components API.
func (*Component) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
func (*Component) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Component) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Component) GetConditions ¶
func (*Component) SetConditions ¶
type ComponentDeployment ¶ added in v0.4.0
type ComponentDeployment struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ComponentDeploymentSpec `json:"spec,omitempty"`
Status ComponentDeploymentStatus `json:"status,omitempty"`
}
ComponentDeployment is the Schema for the componentdeployments API.
func (*ComponentDeployment) DeepCopy ¶ added in v0.4.0
func (in *ComponentDeployment) DeepCopy() *ComponentDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentDeployment.
func (*ComponentDeployment) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentDeployment) DeepCopyInto(out *ComponentDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentDeployment) DeepCopyObject ¶ added in v0.4.0
func (in *ComponentDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ComponentDeployment) GetConditions ¶ added in v0.4.0
func (c *ComponentDeployment) GetConditions() []metav1.Condition
func (*ComponentDeployment) SetConditions ¶ added in v0.4.0
func (c *ComponentDeployment) SetConditions(conditions []metav1.Condition)
type ComponentDeploymentList ¶ added in v0.4.0
type ComponentDeploymentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ComponentDeployment `json:"items"`
}
ComponentDeploymentList contains a list of ComponentDeployment.
func (*ComponentDeploymentList) DeepCopy ¶ added in v0.4.0
func (in *ComponentDeploymentList) DeepCopy() *ComponentDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentDeploymentList.
func (*ComponentDeploymentList) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentDeploymentList) DeepCopyInto(out *ComponentDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentDeploymentList) DeepCopyObject ¶ added in v0.4.0
func (in *ComponentDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComponentDeploymentOwner ¶ added in v0.4.0
type ComponentDeploymentOwner struct {
// ProjectName is the name of the project that owns this component
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
ProjectName string `json:"projectName"`
// ComponentName is the name of the component this deployment applies to
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
ComponentName string `json:"componentName"`
}
ComponentDeploymentOwner identifies the component this ComponentDeployment applies to
func (*ComponentDeploymentOwner) DeepCopy ¶ added in v0.4.0
func (in *ComponentDeploymentOwner) DeepCopy() *ComponentDeploymentOwner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentDeploymentOwner.
func (*ComponentDeploymentOwner) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentDeploymentOwner) DeepCopyInto(out *ComponentDeploymentOwner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentDeploymentSpec ¶ added in v0.4.0
type ComponentDeploymentSpec struct {
// Owner identifies the component this deployment applies to
// +kubebuilder:validation:Required
Owner ComponentDeploymentOwner `json:"owner"`
// Environment is the name of the environment this deployment applies to
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
Environment string `json:"environment"`
// Overrides for ComponentType envOverrides parameters
// These values override the defaults defined in the Component for this specific environment
// +optional
// +kubebuilder:pruning:PreserveUnknownFields
Overrides *runtime.RawExtension `json:"overrides,omitempty"`
// TraitOverrides provides environment-specific overrides for trait configurations
// Keyed by instanceName (which must be unique across all traits in the component)
// Structure: map[instanceName]overrideValues
// +optional
TraitOverrides map[string]runtime.RawExtension `json:"traitOverrides,omitempty"`
// ConfigurationOverrides provides environment-specific overrides for workload configurations
// These values override or add to the configurations defined in the workload.yaml
// +optional
ConfigurationOverrides *EnvConfigurationOverrides `json:"configurationOverrides,omitempty"`
}
ComponentDeploymentSpec defines the desired state of ComponentDeployment.
func (*ComponentDeploymentSpec) DeepCopy ¶ added in v0.4.0
func (in *ComponentDeploymentSpec) DeepCopy() *ComponentDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentDeploymentSpec.
func (*ComponentDeploymentSpec) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentDeploymentSpec) DeepCopyInto(out *ComponentDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentDeploymentStatus ¶ added in v0.4.0
type ComponentDeploymentStatus struct {
// ObservedGeneration reflects the generation of the most recently observed ComponentDeployment
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// Conditions represent the latest available observations of the ComponentDeployment's state
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
ComponentDeploymentStatus defines the observed state of ComponentDeployment.
func (*ComponentDeploymentStatus) DeepCopy ¶ added in v0.4.0
func (in *ComponentDeploymentStatus) DeepCopy() *ComponentDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentDeploymentStatus.
func (*ComponentDeploymentStatus) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentDeploymentStatus) DeepCopyInto(out *ComponentDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentEnvSnapshot ¶ added in v0.4.0
type ComponentEnvSnapshot struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ComponentEnvSnapshotSpec `json:"spec,omitempty"`
Status ComponentEnvSnapshotStatus `json:"status,omitempty"`
}
ComponentEnvSnapshot is the Schema for the componentenvsnapshots API.
func (*ComponentEnvSnapshot) DeepCopy ¶ added in v0.4.0
func (in *ComponentEnvSnapshot) DeepCopy() *ComponentEnvSnapshot
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentEnvSnapshot.
func (*ComponentEnvSnapshot) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentEnvSnapshot) DeepCopyInto(out *ComponentEnvSnapshot)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentEnvSnapshot) DeepCopyObject ¶ added in v0.4.0
func (in *ComponentEnvSnapshot) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ComponentEnvSnapshot) GetConditions ¶ added in v0.4.0
func (c *ComponentEnvSnapshot) GetConditions() []metav1.Condition
func (*ComponentEnvSnapshot) SetConditions ¶ added in v0.4.0
func (c *ComponentEnvSnapshot) SetConditions(conditions []metav1.Condition)
type ComponentEnvSnapshotList ¶ added in v0.4.0
type ComponentEnvSnapshotList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ComponentEnvSnapshot `json:"items"`
}
ComponentEnvSnapshotList contains a list of ComponentEnvSnapshot.
func (*ComponentEnvSnapshotList) DeepCopy ¶ added in v0.4.0
func (in *ComponentEnvSnapshotList) DeepCopy() *ComponentEnvSnapshotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentEnvSnapshotList.
func (*ComponentEnvSnapshotList) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentEnvSnapshotList) DeepCopyInto(out *ComponentEnvSnapshotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentEnvSnapshotList) DeepCopyObject ¶ added in v0.4.0
func (in *ComponentEnvSnapshotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComponentEnvSnapshotOwner ¶ added in v0.4.0
type ComponentEnvSnapshotOwner struct {
// ProjectName is the name of the project that owns this component
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
ProjectName string `json:"projectName"`
// ComponentName is the name of the component
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
ComponentName string `json:"componentName"`
}
ComponentEnvSnapshotOwner identifies the component this snapshot belongs to
func (*ComponentEnvSnapshotOwner) DeepCopy ¶ added in v0.4.0
func (in *ComponentEnvSnapshotOwner) DeepCopy() *ComponentEnvSnapshotOwner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentEnvSnapshotOwner.
func (*ComponentEnvSnapshotOwner) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentEnvSnapshotOwner) DeepCopyInto(out *ComponentEnvSnapshotOwner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentEnvSnapshotSpec ¶ added in v0.4.0
type ComponentEnvSnapshotSpec struct {
// Owner identifies the component and environment this snapshot belongs to
// +kubebuilder:validation:Required
Owner ComponentEnvSnapshotOwner `json:"owner"`
// Environment is the name of the environment this snapshot is for
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
Environment string `json:"environment"`
// ComponentType is a full embedded copy of the ComponentType
// This ensures the snapshot is immutable and doesn't change if the ComponentType is updated
// +kubebuilder:validation:Required
ComponentType ComponentType `json:"componentType"`
// Component is a full embedded copy of the Component
// This preserves the exact component configuration at the time of snapshot
// +kubebuilder:validation:Required
Component Component `json:"component"`
// Traits is an array of full embedded copies of all Traits used by the component
// This preserves the exact trait definitions at the time of snapshot
// +optional
Traits []Trait `json:"traits,omitempty"`
// Workload is a full embedded copy of the Workload
// This preserves the workload spec with the built image
// +kubebuilder:validation:Required
Workload Workload `json:"workload"`
}
ComponentEnvSnapshotSpec defines the desired state of ComponentEnvSnapshot.
func (*ComponentEnvSnapshotSpec) DeepCopy ¶ added in v0.4.0
func (in *ComponentEnvSnapshotSpec) DeepCopy() *ComponentEnvSnapshotSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentEnvSnapshotSpec.
func (*ComponentEnvSnapshotSpec) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentEnvSnapshotSpec) DeepCopyInto(out *ComponentEnvSnapshotSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentEnvSnapshotStatus ¶ added in v0.4.0
type ComponentEnvSnapshotStatus struct {
// ObservedGeneration reflects the generation of the most recently observed ComponentEnvSnapshot
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// Conditions represent the latest available observations of the ComponentEnvSnapshot's state
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
// ReleaseRef points to the Release resource generated from this snapshot
// +optional
ReleaseRef string `json:"releaseRef,omitempty"`
// RenderedResourceCount is the number of Kubernetes resources rendered from this snapshot
// +optional
RenderedResourceCount int `json:"renderedResourceCount,omitempty"`
}
ComponentEnvSnapshotStatus defines the observed state of ComponentEnvSnapshot.
func (*ComponentEnvSnapshotStatus) DeepCopy ¶ added in v0.4.0
func (in *ComponentEnvSnapshotStatus) DeepCopy() *ComponentEnvSnapshotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentEnvSnapshotStatus.
func (*ComponentEnvSnapshotStatus) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentEnvSnapshotStatus) DeepCopyInto(out *ComponentEnvSnapshotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentList ¶
type ComponentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Component `json:"items"`
}
ComponentList contains a list of Component.
func (*ComponentList) DeepCopy ¶
func (in *ComponentList) DeepCopy() *ComponentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentList.
func (*ComponentList) DeepCopyInto ¶
func (in *ComponentList) DeepCopyInto(out *ComponentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentList) DeepCopyObject ¶
func (in *ComponentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComponentOwner ¶
type ComponentOwner struct {
// +kubebuilder:validation:MinLength=1
ProjectName string `json:"projectName"`
}
func (*ComponentOwner) DeepCopy ¶
func (in *ComponentOwner) DeepCopy() *ComponentOwner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentOwner.
func (*ComponentOwner) DeepCopyInto ¶
func (in *ComponentOwner) DeepCopyInto(out *ComponentOwner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentRef ¶
type ComponentRef struct {
Port int32 `json:"port"`
}
ComponentRef defines the component reference for the upstream service
func (*ComponentRef) DeepCopy ¶
func (in *ComponentRef) DeepCopy() *ComponentRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentRef.
func (*ComponentRef) DeepCopyInto ¶
func (in *ComponentRef) DeepCopyInto(out *ComponentRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentSource ¶
type ComponentSource struct {
// GitRepository specifies the configuration for the component source to be a Git repository indicating
// that the component should be built from the source code.
// This field is mutually exclusive with the other source types.
GitRepository *GitRepository `json:"gitRepository,omitempty"`
// ContainerRegistry specifies the configuration for the component source to be a container image indicating
// that the component should be deployed using the provided image.
// This field is mutually exclusive with the other source types.
ContainerRegistry *ContainerRegistry `json:"containerRegistry,omitempty"`
}
ComponentSource defines the source information of the component where the code or image is retrieved.
func (*ComponentSource) DeepCopy ¶
func (in *ComponentSource) DeepCopy() *ComponentSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSource.
func (*ComponentSource) DeepCopyInto ¶
func (in *ComponentSource) DeepCopyInto(out *ComponentSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentSpec ¶
type ComponentSpec struct {
// Owner defines the ownership information for the component
// +kubebuilder:validation:Required
Owner ComponentOwner `json:"owner"`
// Type specifies the component type (e.g., Service, WebApplication, etc.)
// LEGACY FIELD: Use componentType instead for new components with ComponentTypes
// +optional
Type DefinedComponentType `json:"type,omitempty"`
// ComponentType specifies the component type in the format: {workloadType}/{componentTypeName}
// Example: "deployment/web-app", "cronjob/scheduled-task"
// This field is used with ComponentTypes (new model)
// +optional
// +kubebuilder:validation:Pattern=`^(deployment|statefulset|cronjob|job)/[a-z0-9]([-a-z0-9]*[a-z0-9])?$`
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="spec.componentType cannot be changed after creation"
ComponentType string `json:"componentType,omitempty"`
// Parameters from ComponentType (oneOf schema based on componentType)
// This is the merged schema of parameters + envOverrides from the ComponentType
// +optional
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:Schemaless
Parameters *runtime.RawExtension `json:"parameters,omitempty"`
// Traits to compose into this component
// Each trait can be instantiated multiple times with different instanceNames
// +optional
Traits []ComponentTrait `json:"traits,omitempty"`
// Workflow defines the workflow configuration for building the component
// This references a Workflow CR and provides developer-configured schema values
// +optional
Workflow *WorkflowConfig `json:"workflow,omitempty"`
}
ComponentSpec defines the desired state of Component. +kubebuilder:validation:XValidation:rule="has(self.type) || has(self.componentType)",message="Component must have either spec.type or spec.componentType set"
func (*ComponentSpec) DeepCopy ¶
func (in *ComponentSpec) DeepCopy() *ComponentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSpec.
func (*ComponentSpec) DeepCopyInto ¶
func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentStatus ¶
type ComponentStatus struct {
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
ComponentStatus defines the observed state of Component.
func (*ComponentStatus) DeepCopy ¶
func (in *ComponentStatus) DeepCopy() *ComponentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
func (*ComponentStatus) DeepCopyInto ¶
func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentTrait ¶ added in v0.4.0
type ComponentTrait struct {
// Name is the name of the Trait resource to use
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
Name string `json:"name"`
// InstanceName uniquely identifies this trait instance within the component
// Allows the same trait to be used multiple times with different configurations
// Must be unique across all traits in the component
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
InstanceName string `json:"instanceName"`
// Parameters contains the trait parameter values
// The schema for this config is defined in the Trait's schema.parameters and schema.envOverrides
// +optional
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:Schemaless
Parameters *runtime.RawExtension `json:"parameters,omitempty"`
}
ComponentTrait represents an trait instance attached to a component
func (*ComponentTrait) DeepCopy ¶ added in v0.4.0
func (in *ComponentTrait) DeepCopy() *ComponentTrait
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentTrait.
func (*ComponentTrait) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentTrait) DeepCopyInto(out *ComponentTrait)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentType ¶
type ComponentType struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ComponentTypeSpec `json:"spec,omitempty"`
Status ComponentTypeStatus `json:"status,omitempty"`
}
ComponentType is the Schema for the componenttypes API.
func (*ComponentType) DeepCopy ¶ added in v0.4.0
func (in *ComponentType) DeepCopy() *ComponentType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentType.
func (*ComponentType) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentType) DeepCopyInto(out *ComponentType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentType) DeepCopyObject ¶ added in v0.4.0
func (in *ComponentType) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComponentTypeList ¶ added in v0.4.0
type ComponentTypeList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ComponentType `json:"items"`
}
ComponentTypeList contains a list of ComponentType.
func (*ComponentTypeList) DeepCopy ¶ added in v0.4.0
func (in *ComponentTypeList) DeepCopy() *ComponentTypeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentTypeList.
func (*ComponentTypeList) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentTypeList) DeepCopyInto(out *ComponentTypeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentTypeList) DeepCopyObject ¶ added in v0.4.0
func (in *ComponentTypeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComponentTypeSchema ¶ added in v0.4.0
type ComponentTypeSchema struct {
// Types defines reusable type definitions that can be referenced in schema fields
// This is a nested map structure where keys are type names and values are type definitions
// +optional
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:Type=object
Types *runtime.RawExtension `json:"types,omitempty"`
// Parameters are static across environments and exposed as inputs to developers
// when creating a Component of this type. This is a nested map structure where
// keys are field names and values are either nested maps or type definition strings.
// Type definition format: "type | default=value | required=true | enum=val1,val2"
// +optional
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:Type=object
Parameters *runtime.RawExtension `json:"parameters,omitempty"`
// EnvOverrides can be overridden per environment via ComponentDeployment by platform engineers.
// These are also exposed to developers but can be changed per environment.
// Same nested map structure and type definition format as Parameters.
// +optional
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:Type=object
EnvOverrides *runtime.RawExtension `json:"envOverrides,omitempty"`
}
ComponentTypeSchema defines the configurable parameters for a component type Parameters and EnvOverrides are nested map structures where keys are field names and values define the type and validation rules using inline schema syntax.
Example:
parameters:
runtime:
command: "array<string> | default=[]"
args: "array<string> | default=[]"
lifecycle:
terminationGracePeriodSeconds: "integer | default=30"
imagePullPolicy: "string | default=IfNotPresent | enum=Always,IfNotPresent,Never"
func (*ComponentTypeSchema) DeepCopy ¶ added in v0.4.0
func (in *ComponentTypeSchema) DeepCopy() *ComponentTypeSchema
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentTypeSchema.
func (*ComponentTypeSchema) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentTypeSchema) DeepCopyInto(out *ComponentTypeSchema)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentTypeSpec ¶ added in v0.4.0
type ComponentTypeSpec struct {
// WorkloadType must be one of: deployment, statefulset, cronjob, job
// This determines the primary workload resource type for this component type
// +kubebuilder:validation:Required
// +kubebuilder:validation:Enum=deployment;statefulset;cronjob;job
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="spec.workloadType cannot be changed after creation"
WorkloadType string `json:"workloadType"`
// AllowedWorkflows restricts which Workflow CRs developers can use
// for building components of this type. If not specified, any workflow can be used.
// +optional
AllowedWorkflows []AllowedWorkflow `json:"allowedWorkflows,omitempty"`
// Schema defines what developers can configure when creating components of this type
// +optional
Schema ComponentTypeSchema `json:"schema,omitempty"`
// Resources are templates that generate Kubernetes resources dynamically
// At least one resource must be defined with an id matching the workloadType
// +kubebuilder:validation:MinItems=1
Resources []ResourceTemplate `json:"resources"`
}
ComponentTypeSpec defines the desired state of ComponentType. +kubebuilder:validation:XValidation:rule="self.resources.exists(r, r.id == self.workloadType)",message="resources must contain a primary resource with id matching workloadType"
func (*ComponentTypeSpec) DeepCopy ¶ added in v0.4.0
func (in *ComponentTypeSpec) DeepCopy() *ComponentTypeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentTypeSpec.
func (*ComponentTypeSpec) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentTypeSpec) DeepCopyInto(out *ComponentTypeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentTypeStatus ¶ added in v0.4.0
type ComponentTypeStatus struct {
}
ComponentTypeStatus defines the observed state of ComponentType.
func (*ComponentTypeStatus) DeepCopy ¶ added in v0.4.0
func (in *ComponentTypeStatus) DeepCopy() *ComponentTypeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentTypeStatus.
func (*ComponentTypeStatus) DeepCopyInto ¶ added in v0.4.0
func (in *ComponentTypeStatus) DeepCopyInto(out *ComponentTypeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Configuration ¶
type Configuration struct {
// A list of endpoints exposed by the component.
// +optional
EndpointTemplates []EndpointTemplate `json:"endpointTemplates,omitempty"`
// Dependencies required by this component.
// +optional
Dependencies *Dependencies `json:"dependencies,omitempty"`
// Application runtime parameters/configurations.
// +optional
Application *Application `json:"application,omitempty"`
}
Configuration is the top-level configuration block of DeployableArtifactSpec.
func (*Configuration) DeepCopy ¶
func (in *Configuration) DeepCopy() *Configuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (*Configuration) DeepCopyInto ¶
func (in *Configuration) DeepCopyInto(out *Configuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationGroup ¶
type ConfigurationGroup struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ConfigurationGroupSpec `json:"spec,omitempty"`
Status ConfigurationGroupStatus `json:"status,omitempty"`
}
ConfigurationGroup is the Schema for the configurationgroups API
func (*ConfigurationGroup) DeepCopy ¶
func (in *ConfigurationGroup) DeepCopy() *ConfigurationGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationGroup.
func (*ConfigurationGroup) DeepCopyInto ¶
func (in *ConfigurationGroup) DeepCopyInto(out *ConfigurationGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigurationGroup) DeepCopyObject ¶
func (in *ConfigurationGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigurationGroupConfiguration ¶
type ConfigurationGroupConfiguration struct {
// Key of the configuration parameter.
//
// +required
// +immutable
// +kubebuilder:validation:Required
Key string `json:"key"`
// List of values for the configuration parameter.
// These values can be applicable either to a specific environment or an environment group.
// The value for each specified key may be either a config or a secret. These can be mixed across environments.
// e.g. use a config value for dev and a secret for prod.
//
// +required
Values []ConfigurationValue `json:"values"`
}
ConfigurationGroupConfiguration defines a configuration parameter
func (*ConfigurationGroupConfiguration) DeepCopy ¶
func (in *ConfigurationGroupConfiguration) DeepCopy() *ConfigurationGroupConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationGroupConfiguration.
func (*ConfigurationGroupConfiguration) DeepCopyInto ¶
func (in *ConfigurationGroupConfiguration) DeepCopyInto(out *ConfigurationGroupConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationGroupKeyRef ¶
type ConfigurationGroupKeyRef struct {
// +required
Name string `json:"name"`
// +required
Key string `json:"key"`
}
ConfigurationGroupKeyRef references a specific key in a configuration group.
func (*ConfigurationGroupKeyRef) DeepCopy ¶
func (in *ConfigurationGroupKeyRef) DeepCopy() *ConfigurationGroupKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationGroupKeyRef.
func (*ConfigurationGroupKeyRef) DeepCopyInto ¶
func (in *ConfigurationGroupKeyRef) DeepCopyInto(out *ConfigurationGroupKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationGroupList ¶
type ConfigurationGroupList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ConfigurationGroup `json:"items"`
}
ConfigurationGroupList contains a list of ConfigurationGroup
func (*ConfigurationGroupList) DeepCopy ¶
func (in *ConfigurationGroupList) DeepCopy() *ConfigurationGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationGroupList.
func (*ConfigurationGroupList) DeepCopyInto ¶
func (in *ConfigurationGroupList) DeepCopyInto(out *ConfigurationGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigurationGroupList) DeepCopyObject ¶
func (in *ConfigurationGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigurationGroupMountRef ¶
type ConfigurationGroupMountRef struct {
// +required
Name string `json:"name"`
// Absolute directory path to mount the config group contents.
// +required
MountPath string `json:"mountPath"`
}
ConfigurationGroupMountRef references a config group as files in a directory.
func (*ConfigurationGroupMountRef) DeepCopy ¶
func (in *ConfigurationGroupMountRef) DeepCopy() *ConfigurationGroupMountRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationGroupMountRef.
func (*ConfigurationGroupMountRef) DeepCopyInto ¶
func (in *ConfigurationGroupMountRef) DeepCopyInto(out *ConfigurationGroupMountRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationGroupRef ¶
type ConfigurationGroupRef struct {
// +required
Name string `json:"name"`
}
ConfigurationGroupRef references a configuration group as a whole.
func (*ConfigurationGroupRef) DeepCopy ¶
func (in *ConfigurationGroupRef) DeepCopy() *ConfigurationGroupRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationGroupRef.
func (*ConfigurationGroupRef) DeepCopyInto ¶
func (in *ConfigurationGroupRef) DeepCopyInto(out *ConfigurationGroupRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationGroupSpec ¶
type ConfigurationGroupSpec struct {
// Scope of the configuration group.
// TODO need to define hierarchy when scope is specific
//
// +optional
// +kubebuilder:default={}
Scope map[string]string `json:"scope,omitempty"`
// Environment groups that the configuration group is applicable.
// This will be used when there are multiple similar environments to avoid repetition.
//
// +optional
EnvironmentGroups []EnvironmentGroup `json:"environmentGroups,omitempty"`
// Configuration parameters of the configuration group.
//
// +required
Configurations []ConfigurationGroupConfiguration `json:"configurations"`
}
ConfigurationGroupSpec defines the desired state of ConfigurationGroup
func (*ConfigurationGroupSpec) DeepCopy ¶
func (in *ConfigurationGroupSpec) DeepCopy() *ConfigurationGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationGroupSpec.
func (*ConfigurationGroupSpec) DeepCopyInto ¶
func (in *ConfigurationGroupSpec) DeepCopyInto(out *ConfigurationGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationGroupStatus ¶
type ConfigurationGroupStatus struct {
// Conditions represent the latest available observations of the ConfigurationGroup's state
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
ConfigurationGroupStatus defines the observed state of ConfigurationGroup
func (*ConfigurationGroupStatus) DeepCopy ¶
func (in *ConfigurationGroupStatus) DeepCopy() *ConfigurationGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationGroupStatus.
func (*ConfigurationGroupStatus) DeepCopyInto ¶
func (in *ConfigurationGroupStatus) DeepCopyInto(out *ConfigurationGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationOverrides ¶
type ConfigurationOverrides struct {
// Endpoint configuration overrides for this deployment.
// +optional
EndpointTemplates []EndpointOverride `json:"endpointTemplates,omitempty"`
// Dependency configuration overrides for this deployment.
// +optional
Dependencies *DependenciesOverride `json:"dependencies,omitempty"`
// Application configuration overrides for this deployment.
// +optional
Application *Application `json:"application,omitempty"`
}
ConfigurationOverrides holds environment-specific overrides to the artifact configuration.
func (*ConfigurationOverrides) DeepCopy ¶
func (in *ConfigurationOverrides) DeepCopy() *ConfigurationOverrides
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationOverrides.
func (*ConfigurationOverrides) DeepCopyInto ¶
func (in *ConfigurationOverrides) DeepCopyInto(out *ConfigurationOverrides)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationValue ¶
type ConfigurationValue struct {
// Reference to the environment group to which this configuration parameter is applicable.
//
// This field is mutually exclusive with environment field.
//
// +optional
EnvironmentGroupRef string `json:"environmentGroupRef,omitempty"`
// Reference to the environment to which this configuration parameter is applicable.
//
// This field is mutually exclusive with environmentGroupRef field.
//
// +optional
Environment string `json:"environment,omitempty"`
// Value of the configuration parameter.
//
// This field is mutually exclusive with vaultKey.
//
// +optional
Value string `json:"value,omitempty"`
// Reference to the secret vault key that contains the value for this configuration parameter.
//
// This field is mutually exclusive with value.
//
// +optional
VaultKey string `json:"vaultKey,omitempty"`
}
ConfigurationValue defines the value of a configuration parameter
func (*ConfigurationValue) DeepCopy ¶
func (in *ConfigurationValue) DeepCopy() *ConfigurationValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationValue.
func (*ConfigurationValue) DeepCopyInto ¶
func (in *ConfigurationValue) DeepCopyInto(out *ConfigurationValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Container ¶
type Container struct {
// OCI image to run (digest or tag).
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
Image string `json:"image"`
// Container entrypoint & args.
// +optional
Command []string `json:"command,omitempty"`
// +optional
Args []string `json:"args,omitempty"`
// Explicit environment variables.
// +optional
Env []EnvVar `json:"env,omitempty"`
// File configurations.
// +optional
Files []FileVar `json:"files,omitempty"`
}
Container represents a single container in the workload.
func (*Container) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
func (*Container) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerRegistry ¶
type ContainerRegistry struct {
// Image name of the container image. Format: <registry>/<image> without the tag.
// Example: docker.io/library/nginx
ImageName string `json:"imageName,omitempty"`
// Authentication information to access the container registry.
Authentication *RegistryAuthentication `json:"authentication,omitempty"`
}
ContainerRegistry defines the container registry configuration.
func (*ContainerRegistry) DeepCopy ¶
func (in *ContainerRegistry) DeepCopy() *ContainerRegistry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerRegistry.
func (*ContainerRegistry) DeepCopyInto ¶
func (in *ContainerRegistry) DeepCopyInto(out *ContainerRegistry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPlane ¶
type DataPlane struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DataPlaneSpec `json:"spec,omitempty"`
Status DataPlaneStatus `json:"status,omitempty"`
}
DataPlane is the Schema for the dataplanes API.
func (*DataPlane) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPlane.
func (*DataPlane) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataPlane) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DataPlane) GetConditions ¶
func (*DataPlane) SetConditions ¶
type DataPlaneList ¶
type DataPlaneList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DataPlane `json:"items"`
}
DataPlaneList contains a list of DataPlane.
func (*DataPlaneList) DeepCopy ¶
func (in *DataPlaneList) DeepCopy() *DataPlaneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPlaneList.
func (*DataPlaneList) DeepCopyInto ¶
func (in *DataPlaneList) DeepCopyInto(out *DataPlaneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataPlaneList) DeepCopyObject ¶
func (in *DataPlaneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataPlaneSpec ¶
type DataPlaneSpec struct {
// ImagePullSecretRefs contains references to SecretReference resources
// These will be converted to ExternalSecrets and added as imagePullSecrets to all deployments
// +optional
ImagePullSecretRefs []string `json:"imagePullSecretRefs,omitempty"`
// SecretStoreRef specifies the ESO ClusterSecretStore to use in the data plane
// +optional
SecretStoreRef *SecretStoreRef `json:"secretStoreRef,omitempty"`
// KubernetesCluster defines the target Kubernetes cluster where workloads should be deployed.
KubernetesCluster KubernetesClusterSpec `json:"kubernetesCluster"`
// Gateway specifies the configuration for the API gateway in this DataPlane.
Gateway GatewaySpec `json:"gateway"`
// Observer specifies the configuration for the Observer API integration.
// +optional
Observer ObserverAPI `json:"observer,omitempty"`
}
DataPlaneSpec defines the desired state of a DataPlane.
func (*DataPlaneSpec) DeepCopy ¶
func (in *DataPlaneSpec) DeepCopy() *DataPlaneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPlaneSpec.
func (*DataPlaneSpec) DeepCopyInto ¶
func (in *DataPlaneSpec) DeepCopyInto(out *DataPlaneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPlaneStatus ¶
type DataPlaneStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
DataPlaneStatus defines the observed state of DataPlane.
func (*DataPlaneStatus) DeepCopy ¶
func (in *DataPlaneStatus) DeepCopy() *DataPlaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPlaneStatus.
func (*DataPlaneStatus) DeepCopyInto ¶
func (in *DataPlaneStatus) DeepCopyInto(out *DataPlaneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefinedComponentType ¶ added in v0.4.0
type DefinedComponentType string
DefinedComponentType defines how the component is deployed.
const ( ComponentTypeService DefinedComponentType = "Service" ComponentTypeManualTask DefinedComponentType = "ManualTask" ComponentTypeScheduledTask DefinedComponentType = "ScheduledTask" ComponentTypeWebApplication DefinedComponentType = "WebApplication" ComponentTypeWebhook DefinedComponentType = "Webhook" ComponentTypeAPIProxy DefinedComponentType = "APIProxy" ComponentTypeTestRunner DefinedComponentType = "TestRunner" ComponentTypeEventHandler DefinedComponentType = "EventHandler" )
type Dependencies ¶
type Dependencies struct {
}
Dependencies captures references to connections and other dependencies.
func (*Dependencies) DeepCopy ¶
func (in *Dependencies) DeepCopy() *Dependencies
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dependencies.
func (*Dependencies) DeepCopyInto ¶
func (in *Dependencies) DeepCopyInto(out *Dependencies)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DependenciesOverride ¶
type DependenciesOverride struct {
}
DependenciesOverride captures overrides for dependencies.
func (*DependenciesOverride) DeepCopy ¶
func (in *DependenciesOverride) DeepCopy() *DependenciesOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependenciesOverride.
func (*DependenciesOverride) DeepCopyInto ¶
func (in *DependenciesOverride) DeepCopyInto(out *DependenciesOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployableArtifact ¶
type DeployableArtifact struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DeployableArtifactSpec `json:"spec,omitempty"`
Status DeployableArtifactStatus `json:"status,omitempty"`
}
DeployableArtifact is the Schema for the deployableartifacts API.
func (*DeployableArtifact) DeepCopy ¶
func (in *DeployableArtifact) DeepCopy() *DeployableArtifact
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployableArtifact.
func (*DeployableArtifact) DeepCopyInto ¶
func (in *DeployableArtifact) DeepCopyInto(out *DeployableArtifact)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeployableArtifact) DeepCopyObject ¶
func (in *DeployableArtifact) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeployableArtifact) GetConditions ¶
func (p *DeployableArtifact) GetConditions() []metav1.Condition
func (*DeployableArtifact) SetConditions ¶
func (p *DeployableArtifact) SetConditions(conditions []metav1.Condition)
type DeployableArtifactList ¶
type DeployableArtifactList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DeployableArtifact `json:"items"`
}
DeployableArtifactList contains a list of DeployableArtifact.
func (*DeployableArtifactList) DeepCopy ¶
func (in *DeployableArtifactList) DeepCopy() *DeployableArtifactList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployableArtifactList.
func (*DeployableArtifactList) DeepCopyInto ¶
func (in *DeployableArtifactList) DeepCopyInto(out *DeployableArtifactList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeployableArtifactList) DeepCopyObject ¶
func (in *DeployableArtifactList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeployableArtifactSpec ¶
type DeployableArtifactSpec struct {
// DeployableArtifactSpec defines the spec section of DeployableArtifact.
TargetArtifact TargetArtifact `json:"targetArtifact"`
// Configuration parameters for this deployable artifact.
// +optional
Configuration *Configuration `json:"configuration,omitempty"`
}
DeployableArtifactSpec defines the desired state of DeployableArtifact.
func (*DeployableArtifactSpec) DeepCopy ¶
func (in *DeployableArtifactSpec) DeepCopy() *DeployableArtifactSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployableArtifactSpec.
func (*DeployableArtifactSpec) DeepCopyInto ¶
func (in *DeployableArtifactSpec) DeepCopyInto(out *DeployableArtifactSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployableArtifactStatus ¶
type DeployableArtifactStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
DeployableArtifactStatus defines the observed state of DeployableArtifact.
func (*DeployableArtifactStatus) DeepCopy ¶
func (in *DeployableArtifactStatus) DeepCopy() *DeployableArtifactStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployableArtifactStatus.
func (*DeployableArtifactStatus) DeepCopyInto ¶
func (in *DeployableArtifactStatus) DeepCopyInto(out *DeployableArtifactStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Deployment ¶
type Deployment struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DeploymentSpec `json:"spec,omitempty"`
Status DeploymentStatus `json:"status,omitempty"`
}
Deployment is the Schema for the deployments API.
func (*Deployment) DeepCopy ¶
func (in *Deployment) DeepCopy() *Deployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
func (*Deployment) DeepCopyInto ¶
func (in *Deployment) DeepCopyInto(out *Deployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Deployment) DeepCopyObject ¶
func (in *Deployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Deployment) GetConditions ¶
func (d *Deployment) GetConditions() []metav1.Condition
func (*Deployment) SetConditions ¶
func (d *Deployment) SetConditions(conditions []metav1.Condition)
type DeploymentList ¶
type DeploymentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Deployment `json:"items"`
}
DeploymentList contains a list of Deployment.
func (*DeploymentList) DeepCopy ¶
func (in *DeploymentList) DeepCopy() *DeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList.
func (*DeploymentList) DeepCopyInto ¶
func (in *DeploymentList) DeepCopyInto(out *DeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeploymentList) DeepCopyObject ¶
func (in *DeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeploymentPipeline ¶
type DeploymentPipeline struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DeploymentPipelineSpec `json:"spec,omitempty"`
Status DeploymentPipelineStatus `json:"status,omitempty"`
}
DeploymentPipeline is the Schema for the deploymentpipelines API.
func (*DeploymentPipeline) DeepCopy ¶
func (in *DeploymentPipeline) DeepCopy() *DeploymentPipeline
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentPipeline.
func (*DeploymentPipeline) DeepCopyInto ¶
func (in *DeploymentPipeline) DeepCopyInto(out *DeploymentPipeline)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeploymentPipeline) DeepCopyObject ¶
func (in *DeploymentPipeline) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeploymentPipelineList ¶
type DeploymentPipelineList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DeploymentPipeline `json:"items"`
}
DeploymentPipelineList contains a list of DeploymentPipeline.
func (*DeploymentPipelineList) DeepCopy ¶
func (in *DeploymentPipelineList) DeepCopy() *DeploymentPipelineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentPipelineList.
func (*DeploymentPipelineList) DeepCopyInto ¶
func (in *DeploymentPipelineList) DeepCopyInto(out *DeploymentPipelineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeploymentPipelineList) DeepCopyObject ¶
func (in *DeploymentPipelineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeploymentPipelineSpec ¶
type DeploymentPipelineSpec struct {
// PromotionPaths defines the available paths for promotion between environments
PromotionPaths []PromotionPath `json:"promotionPaths,omitempty"`
}
DeploymentPipelineSpec defines the desired state of DeploymentPipeline.
func (*DeploymentPipelineSpec) DeepCopy ¶
func (in *DeploymentPipelineSpec) DeepCopy() *DeploymentPipelineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentPipelineSpec.
func (*DeploymentPipelineSpec) DeepCopyInto ¶
func (in *DeploymentPipelineSpec) DeepCopyInto(out *DeploymentPipelineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentPipelineStatus ¶
type DeploymentPipelineStatus struct {
// ObservedGeneration represents the .metadata.generation that the condition was set based upon
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// Conditions represent the latest available observations of an object's state
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
DeploymentPipelineStatus defines the observed state of DeploymentPipeline.
func (*DeploymentPipelineStatus) DeepCopy ¶
func (in *DeploymentPipelineStatus) DeepCopy() *DeploymentPipelineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentPipelineStatus.
func (*DeploymentPipelineStatus) DeepCopyInto ¶
func (in *DeploymentPipelineStatus) DeepCopyInto(out *DeploymentPipelineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentSpec ¶
type DeploymentSpec struct {
// Number of deployment revisions to keep for rollback.
// +optional (default: 10)
RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"`
// Reference to the deployable artifact that is being deployed.
// +required
DeploymentArtifactRef string `json:"deploymentArtifactRef"`
// Environment-specific configuration overrides applied to the artifact
// before being deployed.
// +optional
ConfigurationOverrides *ConfigurationOverrides `json:"configurationOverrides,omitempty"`
}
DeploymentSpec defines the desired state of Deployment.
func (*DeploymentSpec) DeepCopy ¶
func (in *DeploymentSpec) DeepCopy() *DeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
func (*DeploymentSpec) DeepCopyInto ¶
func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentStatus ¶
type DeploymentStatus struct {
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
DeploymentStatus defines the observed state of Deployment.
func (*DeploymentStatus) DeepCopy ¶
func (in *DeploymentStatus) DeepCopy() *DeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
func (*DeploymentStatus) DeepCopyInto ¶
func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentTrack ¶
type DeploymentTrack struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DeploymentTrackSpec `json:"spec,omitempty"`
Status DeploymentTrackStatus `json:"status,omitempty"`
}
DeploymentTrack is the Schema for the deploymenttracks API.
func (*DeploymentTrack) DeepCopy ¶
func (in *DeploymentTrack) DeepCopy() *DeploymentTrack
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentTrack.
func (*DeploymentTrack) DeepCopyInto ¶
func (in *DeploymentTrack) DeepCopyInto(out *DeploymentTrack)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeploymentTrack) DeepCopyObject ¶
func (in *DeploymentTrack) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeploymentTrack) GetConditions ¶
func (p *DeploymentTrack) GetConditions() []metav1.Condition
func (*DeploymentTrack) SetConditions ¶
func (p *DeploymentTrack) SetConditions(conditions []metav1.Condition)
type DeploymentTrackList ¶
type DeploymentTrackList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DeploymentTrack `json:"items"`
}
DeploymentTrackList contains a list of DeploymentTrack.
func (*DeploymentTrackList) DeepCopy ¶
func (in *DeploymentTrackList) DeepCopy() *DeploymentTrackList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentTrackList.
func (*DeploymentTrackList) DeepCopyInto ¶
func (in *DeploymentTrackList) DeepCopyInto(out *DeploymentTrackList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeploymentTrackList) DeepCopyObject ¶
func (in *DeploymentTrackList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeploymentTrackSpec ¶
type DeploymentTrackSpec struct {
// AutoDeploy defines whether deployment should be triggered automatically
AutoDeploy bool `json:"autoDeploy,omitempty"`
// BuildTemplateSpec defines the build template configuration
BuildTemplateSpec *BuildTemplateSpec `json:"buildTemplateSpec,omitempty"`
}
DeploymentTrackSpec defines the desired state of DeploymentTrack.
func (*DeploymentTrackSpec) DeepCopy ¶
func (in *DeploymentTrackSpec) DeepCopy() *DeploymentTrackSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentTrackSpec.
func (*DeploymentTrackSpec) DeepCopyInto ¶
func (in *DeploymentTrackSpec) DeepCopyInto(out *DeploymentTrackSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentTrackStatus ¶
type DeploymentTrackStatus struct {
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
DeploymentTrackStatus defines the observed state of DeploymentTrack.
func (*DeploymentTrackStatus) DeepCopy ¶
func (in *DeploymentTrackStatus) DeepCopy() *DeploymentTrackStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentTrackStatus.
func (*DeploymentTrackStatus) DeepCopyInto ¶
func (in *DeploymentTrackStatus) DeepCopyInto(out *DeploymentTrackStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerConfiguration ¶
type DockerConfiguration struct {
// Context specifies the build context path
Context string `json:"context"`
// DockerfilePath specifies the path to the Dockerfile
DockerfilePath string `json:"dockerfilePath"`
}
func (*DockerConfiguration) DeepCopy ¶
func (in *DockerConfiguration) DeepCopy() *DockerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerConfiguration.
func (*DockerConfiguration) DeepCopyInto ¶
func (in *DockerConfiguration) DeepCopyInto(out *DockerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Endpoint ¶
type Endpoint struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec EndpointSpec `json:"spec,omitempty"`
Status EndpointStatusLegacy `json:"status,omitempty"`
}
Endpoint is the Schema for the endpoints API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="Address",type="string",JSONPath=".status.address"
func (*Endpoint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
func (*Endpoint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Endpoint) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Endpoint) GetConditions ¶
func (*Endpoint) SetConditions ¶
type EndpointAPISettingsSpec ¶
type EndpointAPISettingsSpec struct {
AuthorizationHeader string `json:"authorizationHeader,omitempty"`
BackendJWT *BackendJWTConfig `json:"backendJwt,omitempty"`
CORS *CORSConfig `json:"cors,omitempty"`
RateLimit *RateLimitConfig `json:"rateLimit,omitempty"`
}
EndpointAPISettingsSpec defines configuration parameters for managed endpoints
func (*EndpointAPISettingsSpec) DeepCopy ¶
func (in *EndpointAPISettingsSpec) DeepCopy() *EndpointAPISettingsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAPISettingsSpec.
func (*EndpointAPISettingsSpec) DeepCopyInto ¶
func (in *EndpointAPISettingsSpec) DeepCopyInto(out *EndpointAPISettingsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointAccess ¶
type EndpointAccess struct {
// Host is the hostname or service name
Host string `json:"host"`
// Port is the port number
Port int32 `json:"port"`
// Scheme is the connection scheme (http, https, grpc, tcp)
// +optional
Scheme string `json:"scheme,omitempty"`
// BasePath is the base URL path (for HTTP-based endpoints)
// +optional
BasePath string `json:"basePath,omitempty"`
// URI is the computed URI for connecting to the endpoint
// This field is automatically generated from host, port, scheme, and basePath
// Examples: https://api.example.com:8080/v1, grpc://service:5050, tcp://localhost:9000
// +optional
URI string `json:"uri,omitempty"`
}
EndpointAccess contains all the information needed to connect to an endpoint
func (*EndpointAccess) DeepCopy ¶
func (in *EndpointAccess) DeepCopy() *EndpointAccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAccess.
func (*EndpointAccess) DeepCopyInto ¶
func (in *EndpointAccess) DeepCopyInto(out *EndpointAccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointExposeLevel ¶
type EndpointExposeLevel string
EndpointExposeLevel defines the visibility scope for endpoint access
const ( // EndpointExposeLevelProject restricts endpoint access to components within the same project EndpointExposeLevelProject EndpointExposeLevel = "Project" // EndpointExposeLevelOrganization allows endpoint access across all projects within the same organization EndpointExposeLevelOrganization EndpointExposeLevel = "Organization" // EndpointExposeLevelPublic exposes the endpoint publicly, accessible from outside the organization EndpointExposeLevelPublic EndpointExposeLevel = "Public" )
type EndpointList ¶
type EndpointList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Endpoint `json:"items"`
}
EndpointList contains a list of Endpoint +kubebuilder:object:root=true
func (*EndpointList) DeepCopy ¶
func (in *EndpointList) DeepCopy() *EndpointList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointList.
func (*EndpointList) DeepCopyInto ¶
func (in *EndpointList) DeepCopyInto(out *EndpointList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EndpointList) DeepCopyObject ¶
func (in *EndpointList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EndpointOverride ¶
type EndpointOverride struct {
}
EndpointOverride captures overrides for an existing endpoint’s configuration.
func (*EndpointOverride) DeepCopy ¶
func (in *EndpointOverride) DeepCopy() *EndpointOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointOverride.
func (*EndpointOverride) DeepCopyInto ¶
func (in *EndpointOverride) DeepCopyInto(out *EndpointOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointOwner ¶
type EndpointOwner struct {
// +kubebuilder:validation:MinLength=1
ProjectName string `json:"projectName"`
// +kubebuilder:validation:MinLength=1
ComponentName string `json:"componentName"`
}
EndpointOwner defines the owner reference for an endpoint
func (*EndpointOwner) DeepCopy ¶
func (in *EndpointOwner) DeepCopy() *EndpointOwner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointOwner.
func (*EndpointOwner) DeepCopyInto ¶
func (in *EndpointOwner) DeepCopyInto(out *EndpointOwner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointSpec ¶
type EndpointSpec struct {
// Type indicates the protocol of the endpoint
// +kubebuilder:validation:Enum=HTTP;REST;gRPC;GraphQL;Websocket;TCP;UDP
Type EndpointType `json:"type"`
// BackendRef is the reference to the backend service
// +required
BackendRef BackendRef `json:"backendRef"`
// Network visibility levels that the endpoint is exposed
// +optional
NetworkVisibilities *NetworkVisibility `json:"networkVisibilities,omitempty"`
}
EndpointSpec defines the desired state of Endpoint
func (*EndpointSpec) DeepCopy ¶
func (in *EndpointSpec) DeepCopy() *EndpointSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSpec.
func (*EndpointSpec) DeepCopyInto ¶
func (in *EndpointSpec) DeepCopyInto(out *EndpointSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointStatus ¶
type EndpointStatus struct {
// Name is the endpoint identifier matching spec.endpoints
Name string `json:"name"`
// Type is the endpoint type (uses EndpointType from endpoint_types.go)
Type EndpointType `json:"type"`
// Project contains access info for project-level visibility
// +optional
Project *EndpointAccess `json:"project,omitempty"`
// Organization contains access info for organization-level visibility
// +optional
Organization *EndpointAccess `json:"organization,omitempty"`
// Public contains access info for public visibility
// +optional
Public *EndpointAccess `json:"public,omitempty"`
}
EndpointStatus represents the observed state of an endpoint Used by ServiceBinding, WebApplicationBinding, and other binding types
func (*EndpointStatus) DeepCopy ¶
func (in *EndpointStatus) DeepCopy() *EndpointStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointStatus.
func (*EndpointStatus) DeepCopyInto ¶
func (in *EndpointStatus) DeepCopyInto(out *EndpointStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointStatusLegacy ¶
type EndpointStatusLegacy struct {
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
Address string `json:"address,omitempty"`
}
EndpointStatusLegacy defines the observed state of Endpoint
func (*EndpointStatusLegacy) DeepCopy ¶
func (in *EndpointStatusLegacy) DeepCopy() *EndpointStatusLegacy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointStatusLegacy.
func (*EndpointStatusLegacy) DeepCopyInto ¶
func (in *EndpointStatusLegacy) DeepCopyInto(out *EndpointStatusLegacy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointTemplate ¶
type EndpointTemplate struct {
// Specification of the endpoint
// +required
metav1.ObjectMeta `json:"metadata"`
// +required
Spec EndpointSpec `json:"spec"`
}
EndpointTemplate represents an endpoint derived from a component descriptor.
func (*EndpointTemplate) DeepCopy ¶
func (in *EndpointTemplate) DeepCopy() *EndpointTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointTemplate.
func (*EndpointTemplate) DeepCopyInto ¶
func (in *EndpointTemplate) DeepCopyInto(out *EndpointTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointTemplateSpec ¶
type EndpointTemplateSpec struct {
// +kubebuilder:default=default
ClassName string `json:"className"`
Type EndpointType `json:"type"`
RESTEndpoint *RESTEndpoint `json:"rest,omitempty"`
}
func (*EndpointTemplateSpec) DeepCopy ¶
func (in *EndpointTemplateSpec) DeepCopy() *EndpointTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointTemplateSpec.
func (*EndpointTemplateSpec) DeepCopyInto ¶
func (in *EndpointTemplateSpec) DeepCopyInto(out *EndpointTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointType ¶
type EndpointType string
EndpointType defines the different API technologies supported by the endpoint
const ( EndpointTypeHTTP EndpointType = "HTTP" EndpointTypeREST EndpointType = "REST" EndpointTypeGraphQL EndpointType = "GraphQL" EndpointTypeWebsocket EndpointType = "Websocket" EndpointTypeGRPC EndpointType = "gRPC" EndpointTypeTCP EndpointType = "TCP" EndpointTypeUDP EndpointType = "UDP" )
func (EndpointType) String ¶
func (e EndpointType) String() string
type EnvConfigurationOverrides ¶ added in v0.4.0
type EnvConfigurationOverrides struct {
// Environment variable overrides
// +optional
Env []EnvVar `json:"env,omitempty"`
// File configuration overrides
// +optional
Files []FileVar `json:"files,omitempty"`
}
EnvConfigurationOverrides defines environment-specific configuration overrides.
func (*EnvConfigurationOverrides) DeepCopy ¶ added in v0.4.0
func (in *EnvConfigurationOverrides) DeepCopy() *EnvConfigurationOverrides
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvConfigurationOverrides.
func (*EnvConfigurationOverrides) DeepCopyInto ¶ added in v0.4.0
func (in *EnvConfigurationOverrides) DeepCopyInto(out *EnvConfigurationOverrides)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvFromSource ¶
type EnvFromSource struct {
// Reference to a configuration group (entire group).
// +optional
ConfigurationGroupRef *ConfigurationGroupRef `json:"configurationGroupRef,omitempty"`
// Reference to a secret resource (entire secret).
// +optional
SecretRef *SecretRefBasic `json:"secretRef,omitempty"`
}
EnvFromSource allows importing all environment variables from a source.
func (*EnvFromSource) DeepCopy ¶
func (in *EnvFromSource) DeepCopy() *EnvFromSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvFromSource.
func (*EnvFromSource) DeepCopyInto ¶
func (in *EnvFromSource) DeepCopyInto(out *EnvFromSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvVar ¶
type EnvVar struct {
// The environment variable key.
// +required
Key string `json:"key"`
// The literal value of the environment variable.
// Mutually exclusive with valueFrom.
// +optional
Value string `json:"value,omitempty"`
// Extract the environment variable value from another resource.
// Mutually exclusive with value.
// +optional
ValueFrom *EnvVarValueFrom `json:"valueFrom,omitempty"`
}
EnvVar represents an environment variable present in the container.
func (*EnvVar) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
func (*EnvVar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvVarValueFrom ¶
type EnvVarValueFrom struct {
// Reference to a configuration group.
// +optional
ConfigurationGroupRef *ConfigurationGroupKeyRef `json:"configurationGroupRef,omitempty"`
// Reference to a secret resource.
// +optional
SecretRef *SecretKeyRef `json:"secretRef,omitempty"`
}
EnvVarValueFrom holds references to external sources for environment variables.
func (*EnvVarValueFrom) DeepCopy ¶
func (in *EnvVarValueFrom) DeepCopy() *EnvVarValueFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarValueFrom.
func (*EnvVarValueFrom) DeepCopyInto ¶
func (in *EnvVarValueFrom) DeepCopyInto(out *EnvVarValueFrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Environment ¶
type Environment struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec EnvironmentSpec `json:"spec,omitempty"`
Status EnvironmentStatus `json:"status,omitempty"`
}
Environment is the Schema for the environments API.
func (*Environment) DeepCopy ¶
func (in *Environment) DeepCopy() *Environment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Environment.
func (*Environment) DeepCopyInto ¶
func (in *Environment) DeepCopyInto(out *Environment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Environment) DeepCopyObject ¶
func (in *Environment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Environment) GetConditions ¶
func (e *Environment) GetConditions() []metav1.Condition
func (*Environment) SetConditions ¶
func (e *Environment) SetConditions(conditions []metav1.Condition)
type EnvironmentGroup ¶
type EnvironmentGroup struct {
// Name of the environment group.
//
// +required
Name string `json:"name"`
// List of environments that are part of the environment group.
//
// +required
Environments []string `json:"environments"`
}
EnvironmentGroup defines a group of environments
func (*EnvironmentGroup) DeepCopy ¶
func (in *EnvironmentGroup) DeepCopy() *EnvironmentGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentGroup.
func (*EnvironmentGroup) DeepCopyInto ¶
func (in *EnvironmentGroup) DeepCopyInto(out *EnvironmentGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentList ¶
type EnvironmentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Environment `json:"items"`
}
EnvironmentList contains a list of Environment.
func (*EnvironmentList) DeepCopy ¶
func (in *EnvironmentList) DeepCopy() *EnvironmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentList.
func (*EnvironmentList) DeepCopyInto ¶
func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvironmentList) DeepCopyObject ¶
func (in *EnvironmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnvironmentSpec ¶
type EnvironmentSpec struct {
// Foo is an example field of Environment. Edit environment_types.go to remove/update
DataPlaneRef string `json:"dataPlaneRef,omitempty"`
IsProduction bool `json:"isProduction,omitempty"`
Gateway GatewayConfig `json:"gateway,omitempty"`
}
EnvironmentSpec defines the desired state of Environment.
func (*EnvironmentSpec) DeepCopy ¶
func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpec.
func (*EnvironmentSpec) DeepCopyInto ¶
func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentStatus ¶
type EnvironmentStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
EnvironmentStatus defines the observed state of Environment.
func (*EnvironmentStatus) DeepCopy ¶
func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentStatus.
func (*EnvironmentStatus) DeepCopyInto ¶
func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileEdit ¶
type FileEdit struct {
Path string `json:"path"` // path inside repo
Content string `json:"content,omitempty"` // full replacement
Patch string `json:"patch,omitempty"` // optional RFC-6902 JSON patch
}
func (*FileEdit) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileEdit.
func (*FileEdit) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileMount ¶
type FileMount struct {
// +required
MountPath string `json:"mountPath"`
// Inline file content.
// Mutually exclusive with valueFrom.
// +optional
Value string `json:"value,omitempty"`
// References to an external data source for the file content.
// +optional
ValueFrom *FileMountValueFrom `json:"valueFrom,omitempty"`
}
FileMount represents one file mounted from data/inline content.
func (*FileMount) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileMount.
func (*FileMount) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileMountValueFrom ¶
type FileMountValueFrom struct {
// +optional
ConfigurationGroupRef *ConfigurationGroupKeyRef `json:"configurationGroupRef,omitempty"`
// +optional
SecretRef *SecretKeyRef `json:"secretRef,omitempty"`
}
FileMountValueFrom references an external data source for file content.
func (*FileMountValueFrom) DeepCopy ¶
func (in *FileMountValueFrom) DeepCopy() *FileMountValueFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileMountValueFrom.
func (*FileMountValueFrom) DeepCopyInto ¶
func (in *FileMountValueFrom) DeepCopyInto(out *FileMountValueFrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileMountsFromSource ¶
type FileMountsFromSource struct {
// +optional
ConfigurationGroupRef *ConfigurationGroupMountRef `json:"configurationGroupRef,omitempty"`
// +optional
SecretRef *SecretMountRef `json:"secretRef,omitempty"`
}
FileMountsFromSource allows importing multiple files from a source.
func (*FileMountsFromSource) DeepCopy ¶
func (in *FileMountsFromSource) DeepCopy() *FileMountsFromSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileMountsFromSource.
func (*FileMountsFromSource) DeepCopyInto ¶
func (in *FileMountsFromSource) DeepCopyInto(out *FileMountsFromSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileVar ¶ added in v0.4.0
type FileVar struct {
// The file key/name.
// +kubebuilder:validation:Required
Key string `json:"key"`
// The mount path where the file will be mounted.
// +kubebuilder:validation:Required
MountPath string `json:"mountPath"`
// The literal content of the file.
// Mutually exclusive with valueFrom.
// +optional
Value string `json:"value,omitempty"`
// Extract the environment variable value from another resource.
// Mutually exclusive with value.
// +optional
ValueFrom *EnvVarValueFrom `json:"valueFrom,omitempty"`
}
FileVar represents a file configuration in a container. +kubebuilder:validation:XValidation:rule="has(self.value) != has(self.valueFrom)",message="exactly one of value or valueFrom must be set"
func (*FileVar) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileVar.
func (*FileVar) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FromBuildRef ¶
type FromBuildRef struct {
// Name of the referenced Build resource.
// +optional
Name string `json:"name,omitempty"`
// GitRevision to select the latest Build that matches it.
// +optional
GitRevision string `json:"gitRevision,omitempty"`
}
FromBuildRef points to an existing Build resource and optionally a specific git revision.
func (*FromBuildRef) DeepCopy ¶
func (in *FromBuildRef) DeepCopy() *FromBuildRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromBuildRef.
func (*FromBuildRef) DeepCopyInto ¶
func (in *FromBuildRef) DeepCopyInto(out *FromBuildRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FromImageRef ¶
type FromImageRef struct {
// Name of the image tag (e.g., “1.2.0”, “latest”, etc.).
// +optional
Tag string `json:"tag,omitempty"`
// Whether to skip version validation (for semantic version compliance).
// +optional
SkipVersionValidation bool `json:"skipVersionValidation,omitempty"`
}
FromImageRef points to an image tag to deploy.
func (*FromImageRef) DeepCopy ¶
func (in *FromImageRef) DeepCopy() *FromImageRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromImageRef.
func (*FromImageRef) DeepCopyInto ¶
func (in *FromImageRef) DeepCopyInto(out *FromImageRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GRPC ¶
type GRPC struct {
ClaimsToHeaders *[]ClaimToHeader `json:"claimsToHeaders" yaml:"claimsToHeaders"`
Operations *[]GRPCOperation `json:"operations" yaml:"operations"`
}
func (*GRPC) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPC.
func (*GRPC) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GRPCAPIPolicy ¶
type GRPCAPIPolicy struct {
}
GRPCAPIPolicy defines gRPC-specific API policies (placeholder for future implementation)
func (*GRPCAPIPolicy) DeepCopy ¶
func (in *GRPCAPIPolicy) DeepCopy() *GRPCAPIPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCAPIPolicy.
func (*GRPCAPIPolicy) DeepCopyInto ¶
func (in *GRPCAPIPolicy) DeepCopyInto(out *GRPCAPIPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GRPCMethodDetails ¶
type GRPCMethodDetails struct {
Name string `json:"name" yaml:"name"`
Scopes []string `json:"scopes" yaml:"scopes"`
}
func (*GRPCMethodDetails) DeepCopy ¶
func (in *GRPCMethodDetails) DeepCopy() *GRPCMethodDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCMethodDetails.
func (*GRPCMethodDetails) DeepCopyInto ¶
func (in *GRPCMethodDetails) DeepCopyInto(out *GRPCMethodDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GRPCOperation ¶
type GRPCOperation struct {
Name string `json:"name" yaml:"name"`
Methods []GRPCMethodDetails `json:"methods" yaml:"methods"`
}
func (*GRPCOperation) DeepCopy ¶
func (in *GRPCOperation) DeepCopy() *GRPCOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCOperation.
func (*GRPCOperation) DeepCopyInto ¶
func (in *GRPCOperation) DeepCopyInto(out *GRPCOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayConfig ¶
type GatewayConfig struct {
Security SecurityConfig `json:"security,omitempty"`
DNSPrefix string `json:"dnsPrefix,omitempty"`
}
func (*GatewayConfig) DeepCopy ¶
func (in *GatewayConfig) DeepCopy() *GatewayConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayConfig.
func (*GatewayConfig) DeepCopyInto ¶
func (in *GatewayConfig) DeepCopyInto(out *GatewayConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewaySpec ¶
type GatewaySpec struct {
// Public virtual host for the gateway
PublicVirtualHost string `json:"publicVirtualHost"`
// Organization-specific virtual host for the gateway
OrganizationVirtualHost string `json:"organizationVirtualHost"`
}
GatewaySpec defines the gateway configuration for the data plane
func (*GatewaySpec) DeepCopy ¶
func (in *GatewaySpec) DeepCopy() *GatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec.
func (*GatewaySpec) DeepCopyInto ¶
func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitAuthentication ¶
type GitAuthentication struct {
// SecretRef is a reference to the secret containing Git credentials
SecretRef string `json:"secretRef"`
}
GitAuthentication defines the authentication configuration for Git
func (*GitAuthentication) DeepCopy ¶
func (in *GitAuthentication) DeepCopy() *GitAuthentication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitAuthentication.
func (*GitAuthentication) DeepCopyInto ¶
func (in *GitAuthentication) DeepCopyInto(out *GitAuthentication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitCommitAuthor ¶
type GitCommitAuthor struct {
Name string `json:"name,omitempty"` // Author name
Email string `json:"email,omitempty"` // Author email
}
func (*GitCommitAuthor) DeepCopy ¶
func (in *GitCommitAuthor) DeepCopy() *GitCommitAuthor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitCommitAuthor.
func (*GitCommitAuthor) DeepCopyInto ¶
func (in *GitCommitAuthor) DeepCopyInto(out *GitCommitAuthor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitCommitRequest ¶
type GitCommitRequest struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec GitCommitRequestSpec `json:"spec,omitempty"`
Status GitCommitRequestStatus `json:"status,omitempty"`
}
GitCommitRequest is the Schema for the gitcommitrequests API.
func (*GitCommitRequest) DeepCopy ¶
func (in *GitCommitRequest) DeepCopy() *GitCommitRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitCommitRequest.
func (*GitCommitRequest) DeepCopyInto ¶
func (in *GitCommitRequest) DeepCopyInto(out *GitCommitRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitCommitRequest) DeepCopyObject ¶
func (in *GitCommitRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitCommitRequestList ¶
type GitCommitRequestList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []GitCommitRequest `json:"items"`
}
GitCommitRequestList contains a list of GitCommitRequest.
func (*GitCommitRequestList) DeepCopy ¶
func (in *GitCommitRequestList) DeepCopy() *GitCommitRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitCommitRequestList.
func (*GitCommitRequestList) DeepCopyInto ¶
func (in *GitCommitRequestList) DeepCopyInto(out *GitCommitRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitCommitRequestList) DeepCopyObject ¶
func (in *GitCommitRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitCommitRequestSpec ¶
type GitCommitRequestSpec struct {
// HTTPS or SSH URL of the repo, e.g. https://github.com/org/repo.git
RepoURL string `json:"repoURL"`
// Branch to commit into
Branch string `json:"branch,omitempty"`
// The commit message
Message string `json:"message"`
// Author information for the commit
Author GitCommitAuthor `json:"author,omitempty"`
// Reference to a Secret that contains write credentials
// data["username"], data["password"] for HTTPS **or**
// data["ssh-privatekey"] for SSH
AuthSecretRef string `json:"authSecretRef,omitempty"`
// Files to create or patch
Files []FileEdit `json:"files"`
}
GitCommitRequestSpec defines the desired state of GitCommitRequest.
func (*GitCommitRequestSpec) DeepCopy ¶
func (in *GitCommitRequestSpec) DeepCopy() *GitCommitRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitCommitRequestSpec.
func (*GitCommitRequestSpec) DeepCopyInto ¶
func (in *GitCommitRequestSpec) DeepCopyInto(out *GitCommitRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitCommitRequestStatus ¶
type GitCommitRequestStatus struct {
Phase string `json:"phase,omitempty"` // Pending|Succeeded|Failed
ObservedSHA string `json:"observedSHA,omitempty"` // last commit SHA
ObservedBranch string `json:"observedBranch,omitempty"` // branch we pushed
Message string `json:"message,omitempty"`
}
GitCommitRequestStatus defines the observed state of GitCommitRequest.
func (*GitCommitRequestStatus) DeepCopy ¶
func (in *GitCommitRequestStatus) DeepCopy() *GitCommitRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitCommitRequestStatus.
func (*GitCommitRequestStatus) DeepCopyInto ¶
func (in *GitCommitRequestStatus) DeepCopyInto(out *GitCommitRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitRepository ¶
type GitRepository struct {
// URL the Git repository URL
// Examples:
// - https://github.com/jhonb2077/customer-service
// - https://gitlab.com/jhonb2077/customer-service
URL string `json:"url"`
// Authentication the authentication information to access the Git repository
// If not provided, the Git repository should be public
Authentication GitAuthentication `json:"authentication,omitempty"`
}
GitRepository defines the Git repository configuration
func (*GitRepository) DeepCopy ¶
func (in *GitRepository) DeepCopy() *GitRepository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepository.
func (*GitRepository) DeepCopyInto ¶
func (in *GitRepository) DeepCopyInto(out *GitRepository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GraphQL ¶
type GraphQL struct {
ClaimsToHeaders *[]ClaimToHeader `json:"claimsToHeaders" yaml:"claimsToHeaders"`
Operations *[]GraphQLOperation `json:"operations" yaml:"operations"`
}
func (*GraphQL) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphQL.
func (*GraphQL) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GraphQLOperation ¶
type GraphQLOperation struct {
Type string `json:"type" yaml:"type"` // query, mutation, subscription
Name string `json:"name" yaml:"name"`
Scopes []string `json:"scopes" yaml:"scopes"`
}
func (*GraphQLOperation) DeepCopy ¶
func (in *GraphQLOperation) DeepCopy() *GraphQLOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphQLOperation.
func (*GraphQLOperation) DeepCopyInto ¶
func (in *GraphQLOperation) DeepCopyInto(out *GraphQLOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HPAConfig ¶
type HPAConfig struct {
// +optional
MinReplicas *int32 `json:"minReplicas,omitempty"`
// +optional
MaxReplicas *int32 `json:"maxReplicas,omitempty"`
// +optional
CPUThreshold *int32 `json:"cpuThreshold,omitempty"`
// +optional
MemoryThreshold *int32 `json:"memoryThreshold,omitempty"`
}
HPAConfig configures Horizontal Pod Autoscaling.
func (*HPAConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HPAConfig.
func (*HPAConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPBackend ¶
func (*HTTPBackend) DeepCopy ¶
func (in *HTTPBackend) DeepCopy() *HTTPBackend
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPBackend.
func (*HTTPBackend) DeepCopyInto ¶
func (in *HTTPBackend) DeepCopyInto(out *HTTPBackend)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPMethod ¶
type HTTPMethod string
HTTPMethod describes how to select a HTTP route by matching the HTTP method as defined by [RFC 7231](https://datatracker.ietf.org/doc/html/rfc7231#section-4) and [RFC 5789](https://datatracker.ietf.org/doc/html/rfc5789#section-2). The value is expected in upper case.
+kubebuilder:validation:Enum=GET;HEAD;POST;PUT;DELETE;CONNECT;OPTIONS;TRACE;PATCH
const ( HTTPMethodGet HTTPMethod = "GET" HTTPMethodHead HTTPMethod = "HEAD" HTTPMethodPost HTTPMethod = "POST" HTTPMethodPut HTTPMethod = "PUT" HTTPMethodDelete HTTPMethod = "DELETE" HTTPMethodConnect HTTPMethod = "CONNECT" HTTPMethodOptions HTTPMethod = "OPTIONS" HTTPMethodTrace HTTPMethod = "TRACE" HTTPMethodPatch HTTPMethod = "PATCH" )
type HealthStatus ¶
type HealthStatus string
HealthStatus represents the health of a resource
const ( // HealthStatusUnknown indicates that the health of the resource is not known. HealthStatusUnknown HealthStatus = "Unknown" // HealthStatusProgressing indicates that the resource is in a transitioning state to become healthy. HealthStatusProgressing HealthStatus = "Progressing" // HealthStatusHealthy indicates that the resource is healthy and operating as expected. HealthStatusHealthy HealthStatus = "Healthy" // HealthStatusSuspended indicates that the resource is intentionally paused such as CronJob, Deployment with paused rollout, etc. HealthStatusSuspended HealthStatus = "Suspended" // HealthStatusDegraded indicates that the resource is not healthy and not operating as expected. HealthStatusDegraded HealthStatus = "Degraded" )
type Image ¶
type Image struct {
Image string `json:"image"`
}
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JSONPatchOperation ¶ added in v0.4.0
type JSONPatchOperation struct {
// Op is the operation type
// Standard operations: add, replace, remove (RFC 6902)
// OpenChoreo extension: mergeShallow (overlays top-level map keys)
// +kubebuilder:validation:Required
// +kubebuilder:validation:Enum=add;replace;remove;mergeShallow
Op string `json:"op"`
// Path is the JSON Pointer to the field to modify (RFC 6901)
// Supports array filters: /spec/containers/[?(@.name=='app')]/volumeMounts/-
// +kubebuilder:validation:Required
Path string `json:"path"`
// Value is the value to set (for add/replace/mergeShallow operations)
// Not used for remove operations
// +optional
// +kubebuilder:pruning:PreserveUnknownFields
Value *runtime.RawExtension `json:"value,omitempty"`
}
JSONPatchOperation defines a JSONPatch operation Supports standard operations (add, replace, remove) plus mergeShallow for map overlays
func (*JSONPatchOperation) DeepCopy ¶ added in v0.4.0
func (in *JSONPatchOperation) DeepCopy() *JSONPatchOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONPatchOperation.
func (*JSONPatchOperation) DeepCopyInto ¶ added in v0.4.0
func (in *JSONPatchOperation) DeepCopyInto(out *JSONPatchOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JWT ¶
type JWT struct {
// +optional
Claims *[]JWTClaim `json:"claims" yaml:"claims"`
// +required
Authorization AuthzSpec `json:"authorization" yaml:"authorization"`
}
func (*JWT) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWT.
func (*JWT) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JWTAuthConfig ¶
type JWTAuthConfig struct {
JWKS string `json:"jwks"`
Issuer string `json:"issuer"`
Audience []string `json:"audience,omitempty"`
}
JWTAuthConfig defines JWT authentication configuration
func (*JWTAuthConfig) DeepCopy ¶
func (in *JWTAuthConfig) DeepCopy() *JWTAuthConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTAuthConfig.
func (*JWTAuthConfig) DeepCopyInto ¶
func (in *JWTAuthConfig) DeepCopyInto(out *JWTAuthConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JWTClaim ¶
type JWTClaim struct {
// +required
Key string `json:"key" yaml:"key"`
// +required
Values []string `json:"values" yaml:"values"`
}
func (*JWTClaim) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTClaim.
func (*JWTClaim) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeySourceDefinition ¶
type KeySourceDefinition struct {
Header string `json:"header" yaml:"header"`
HeaderAuthScheme string `json:"headerAuthScheme,omitempty" yaml:"headerAuthScheme,omitempty"`
}
func (*KeySourceDefinition) DeepCopy ¶
func (in *KeySourceDefinition) DeepCopy() *KeySourceDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeySourceDefinition.
func (*KeySourceDefinition) DeepCopyInto ¶
func (in *KeySourceDefinition) DeepCopyInto(out *KeySourceDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesAuth ¶ added in v0.4.0
type KubernetesAuth struct {
// MTLS contains the certificate-based authentication configuration
// +optional
MTLS *MTLSAuth `json:"mtls,omitempty"`
// BearerToken contains the bearer token authentication configuration
// +optional
BearerToken *ValueFrom `json:"bearerToken,omitempty"`
}
KubernetesAuth defines the authentication configuration for the Kubernetes cluster
func (*KubernetesAuth) DeepCopy ¶ added in v0.4.0
func (in *KubernetesAuth) DeepCopy() *KubernetesAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesAuth.
func (*KubernetesAuth) DeepCopyInto ¶ added in v0.4.0
func (in *KubernetesAuth) DeepCopyInto(out *KubernetesAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesClusterSpec ¶
type KubernetesClusterSpec struct {
// Server is the URL of the Kubernetes API server
Server string `json:"server"`
// TLS contains the TLS configuration for the connection
TLS KubernetesTLS `json:"tls"`
// Auth contains the authentication configuration
Auth KubernetesAuth `json:"auth"`
}
KubernetesClusterSpec defines the configuration for the target Kubernetes cluster
func (*KubernetesClusterSpec) DeepCopy ¶
func (in *KubernetesClusterSpec) DeepCopy() *KubernetesClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesClusterSpec.
func (*KubernetesClusterSpec) DeepCopyInto ¶
func (in *KubernetesClusterSpec) DeepCopyInto(out *KubernetesClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesTLS ¶ added in v0.4.0
type KubernetesTLS struct {
// CA contains the CA certificate configuration
CA ValueFrom `json:"ca"`
}
KubernetesTLS defines the TLS configuration for the Kubernetes connection
func (*KubernetesTLS) DeepCopy ¶ added in v0.4.0
func (in *KubernetesTLS) DeepCopy() *KubernetesTLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesTLS.
func (*KubernetesTLS) DeepCopyInto ¶ added in v0.4.0
func (in *KubernetesTLS) DeepCopyInto(out *KubernetesTLS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MTLSAuth ¶ added in v0.4.0
type MTLSAuth struct {
// ClientCert contains the client certificate configuration
ClientCert ValueFrom `json:"clientCert"`
// ClientKey contains the client private key configuration
ClientKey ValueFrom `json:"clientKey"`
}
MTLSAuth defines certificate-based authentication (mTLS)
func (*MTLSAuth) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MTLSAuth.
func (*MTLSAuth) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MediationPolicy ¶
type MediationPolicy struct {
RequestTransformations []TransformationRule `json:"requestTransformations,omitempty"`
ResponseTransformations []TransformationRule `json:"responseTransformations,omitempty"`
}
MediationPolicy defines request and response transformation policies
func (*MediationPolicy) DeepCopy ¶
func (in *MediationPolicy) DeepCopy() *MediationPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MediationPolicy.
func (*MediationPolicy) DeepCopyInto ¶
func (in *MediationPolicy) DeepCopyInto(out *MediationPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkVisibility ¶
type NetworkVisibility struct {
// When enabled, the endpoint is accessible to other services within the same organization.
// +optional
Organization *VisibilityConfig `json:"organization,omitempty"`
// When enabled, the endpoint becomes accessible externally
// +optional
Public *VisibilityConfig `json:"public,omitempty"`
}
NetworkVisibility defines the exposure configuration for different network levels of an Endpoint. It allows specifying visibility and security settings separately for organizational and public access. When configurations overlap with the Endpoint's APISettings, the most specific configuration takes precedence.
func (*NetworkVisibility) DeepCopy ¶
func (in *NetworkVisibility) DeepCopy() *NetworkVisibility
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkVisibility.
func (*NetworkVisibility) DeepCopyInto ¶
func (in *NetworkVisibility) DeepCopyInto(out *NetworkVisibility)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAuth2AuthConfig ¶
type OAuth2AuthConfig struct {
TokenURL string `json:"tokenUrl"`
Scopes []string `json:"scopes,omitempty"`
}
OAuth2AuthConfig defines OAuth2 authentication configuration
func (*OAuth2AuthConfig) DeepCopy ¶
func (in *OAuth2AuthConfig) DeepCopy() *OAuth2AuthConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuth2AuthConfig.
func (*OAuth2AuthConfig) DeepCopyInto ¶
func (in *OAuth2AuthConfig) DeepCopyInto(out *OAuth2AuthConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAuth2PolicySpec ¶
type OAuth2PolicySpec struct {
// +required
JWT JWT `json:"jwt" yaml:"jwt"`
}
OAuth2PolicySpec defines the configuration for OAuth2 policies
func (*OAuth2PolicySpec) DeepCopy ¶
func (in *OAuth2PolicySpec) DeepCopy() *OAuth2PolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuth2PolicySpec.
func (*OAuth2PolicySpec) DeepCopyInto ¶
func (in *OAuth2PolicySpec) DeepCopyInto(out *OAuth2PolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObserverAPI ¶
type ObserverAPI struct {
// URL is the base URL of the Observer API
URL string `json:"url"`
// Authentication contains the authentication configuration
Authentication ObserverAuthentication `json:"authentication"`
}
ObserverAPI defines the configuration for the Observer API integration
func (*ObserverAPI) DeepCopy ¶
func (in *ObserverAPI) DeepCopy() *ObserverAPI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObserverAPI.
func (*ObserverAPI) DeepCopyInto ¶
func (in *ObserverAPI) DeepCopyInto(out *ObserverAPI)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObserverAuthentication ¶
type ObserverAuthentication struct {
// BasicAuth contains basic authentication credentials
BasicAuth BasicAuthCredentials `json:"basicAuth"`
}
ObserverAuthentication defines authentication configuration for Observer API
func (*ObserverAuthentication) DeepCopy ¶
func (in *ObserverAuthentication) DeepCopy() *ObserverAuthentication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObserverAuthentication.
func (*ObserverAuthentication) DeepCopyInto ¶
func (in *ObserverAuthentication) DeepCopyInto(out *ObserverAuthentication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperationLevelRLSpec ¶
type OperationLevelRLSpec struct {
REST *[]RestRLOperation `json:"rest" yaml:"rest"`
}
func (*OperationLevelRLSpec) DeepCopy ¶
func (in *OperationLevelRLSpec) DeepCopy() *OperationLevelRLSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationLevelRLSpec.
func (*OperationLevelRLSpec) DeepCopyInto ¶
func (in *OperationLevelRLSpec) DeepCopyInto(out *OperationLevelRLSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperationPolicy ¶
type OperationPolicy struct {
Target string `json:"target"`
AuthenticationType string `json:"authenticationType"`
}
OperationPolicy defines authentication policy for an API operation
func (*OperationPolicy) DeepCopy ¶
func (in *OperationPolicy) DeepCopy() *OperationPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationPolicy.
func (*OperationPolicy) DeepCopyInto ¶
func (in *OperationPolicy) DeepCopyInto(out *OperationPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Organization ¶
type Organization struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec OrganizationSpec `json:"spec,omitempty"`
Status OrganizationStatus `json:"status,omitempty"`
}
Organization is the Schema for the organizations API.
func (*Organization) DeepCopy ¶
func (in *Organization) DeepCopy() *Organization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Organization.
func (*Organization) DeepCopyInto ¶
func (in *Organization) DeepCopyInto(out *Organization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Organization) DeepCopyObject ¶
func (in *Organization) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Organization) GetConditions ¶
func (o *Organization) GetConditions() []metav1.Condition
func (*Organization) SetConditions ¶
func (o *Organization) SetConditions(conditions []metav1.Condition)
type OrganizationList ¶
type OrganizationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Organization `json:"items"`
}
OrganizationList contains a list of Organization.
func (*OrganizationList) DeepCopy ¶
func (in *OrganizationList) DeepCopy() *OrganizationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationList.
func (*OrganizationList) DeepCopyInto ¶
func (in *OrganizationList) DeepCopyInto(out *OrganizationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OrganizationList) DeepCopyObject ¶
func (in *OrganizationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OrganizationSpec ¶
type OrganizationSpec struct {
}
OrganizationSpec defines the desired state of Organization.
func (*OrganizationSpec) DeepCopy ¶
func (in *OrganizationSpec) DeepCopy() *OrganizationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationSpec.
func (*OrganizationSpec) DeepCopyInto ¶
func (in *OrganizationSpec) DeepCopyInto(out *OrganizationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationStatus ¶
type OrganizationStatus struct {
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// Conditions represent the latest available observations of an object's current state.
Conditions []metav1.Condition `json:"conditions,omitempty"`
// Namespace indicates the namespace name provisioned for the organization.
Namespace string `json:"namespace,omitempty"`
}
OrganizationStatus defines the observed state of Organization.
func (*OrganizationStatus) DeepCopy ¶
func (in *OrganizationStatus) DeepCopy() *OrganizationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationStatus.
func (*OrganizationStatus) DeepCopyInto ¶
func (in *OrganizationStatus) DeepCopyInto(out *OrganizationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Parameter ¶
type Parameter struct {
// Name is the parameter name
Name string `json:"name"`
// Value is the parameter value
Value string `json:"value"`
}
Parameter defines a template parameter
func (*Parameter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parameter.
func (*Parameter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchTarget ¶ added in v0.4.0
type PatchTarget struct {
// Group is the API group of the resource (e.g., "apps", "batch")
// Use empty string for core resources
// +optional
Group string `json:"group,omitempty"`
// Version is the API version of the resource (e.g., "v1", "v1beta1")
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
Version string `json:"version"`
// Kind is the resource type to patch (e.g., "Deployment", "StatefulSet")
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
Kind string `json:"kind"`
// Where is an optional CEL expression to filter which resources to patch
// Example: ${resource.metadata.name.endsWith("-secret-envs")}
// +optional
Where string `json:"where,omitempty"`
}
PatchTarget specifies which resource to modify
func (*PatchTarget) DeepCopy ¶ added in v0.4.0
func (in *PatchTarget) DeepCopy() *PatchTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchTarget.
func (*PatchTarget) DeepCopyInto ¶ added in v0.4.0
func (in *PatchTarget) DeepCopyInto(out *PatchTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Policy ¶
type Policy struct {
// +required
Name string `json:"name"`
// +required
Type PolicyType `json:"type"`
// +required
*PolicySpec `json:"policySpec"`
}
Policy defines an API management policy for an endpoint
func (*Policy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (*Policy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicySpec ¶
type PolicySpec struct {
// +optional
APIKeyAuth *APIKeyAuthPolicySpec `json:"apiKeyAuth,omitempty"`
// +optional
BasicAuth *BasicAuthPolicySpec `json:"basicAuth,omitempty"`
// +optional
OAuth2 *OAuth2PolicySpec `json:"oauth2,omitempty"`
// +optional
RateLimit *RateLimitPolicySpec `json:"rateLimit,omitempty"`
// +optional
CORS *CORSPolicySpec `json:"cors,omitempty"`
}
PolicySpec defines the configuration for different types of policies
func (*PolicySpec) DeepCopy ¶
func (in *PolicySpec) DeepCopy() *PolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
func (*PolicySpec) DeepCopyInto ¶
func (in *PolicySpec) DeepCopyInto(out *PolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyType ¶
type PolicyType string
PolicyType defines the type of API management policy
const ( Oauth2PolicyType PolicyType = "oauth2" APIKeyAuthPolicyType PolicyType = "api-key" BasicAuthPolicyType PolicyType = "basic-auth" RateLimitPolicyType PolicyType = "rate-limit" CORSPolicyType PolicyType = "cors" MediationPolicyType PolicyType = "mediation" )
type Probes ¶
type Probes struct {
// +optional
ReadinessProbe *corev1.Probe `json:"readinessProbe,omitempty"`
// +optional
LivenessProbe *corev1.Probe `json:"livenessProbe,omitempty"`
}
Probes define readiness/liveness checks.
func (*Probes) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probes.
func (*Probes) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Project ¶
type Project struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ProjectSpec `json:"spec,omitempty"`
Status ProjectStatus `json:"status,omitempty"`
}
Project is the Schema for the projects API.
func (*Project) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Project) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Project) GetConditions ¶
func (*Project) SetConditions ¶
type ProjectList ¶
type ProjectList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Project `json:"items"`
}
ProjectList contains a list of Project.
func (*ProjectList) DeepCopy ¶
func (in *ProjectList) DeepCopy() *ProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.
func (*ProjectList) DeepCopyInto ¶
func (in *ProjectList) DeepCopyInto(out *ProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectList) DeepCopyObject ¶
func (in *ProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectSpec ¶
type ProjectSpec struct {
// Foo is an example field of Project. Edit project_types.go to remove/update
DeploymentPipelineRef string `json:"deploymentPipelineRef"`
}
ProjectSpec defines the desired state of Project.
func (*ProjectSpec) DeepCopy ¶
func (in *ProjectSpec) DeepCopy() *ProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSpec.
func (*ProjectSpec) DeepCopyInto ¶
func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectStatus ¶
type ProjectStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
ProjectStatus defines the observed state of Project.
func (*ProjectStatus) DeepCopy ¶
func (in *ProjectStatus) DeepCopy() *ProjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectStatus.
func (*ProjectStatus) DeepCopyInto ¶
func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PromotionPath ¶
type PromotionPath struct {
// SourceEnvironmentRef is the reference to the source environment
SourceEnvironmentRef string `json:"sourceEnvironmentRef"`
// TargetEnvironmentRefs is the list of target environments and their approval requirements
TargetEnvironmentRefs []TargetEnvironmentRef `json:"targetEnvironmentRefs"`
}
PromotionPath defines a path for promoting between environments
func (*PromotionPath) DeepCopy ¶
func (in *PromotionPath) DeepCopy() *PromotionPath
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromotionPath.
func (*PromotionPath) DeepCopyInto ¶
func (in *PromotionPath) DeepCopyInto(out *PromotionPath)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type REST ¶
type REST struct {
ClaimsToHeaders *[]ClaimToHeader `json:"claimsToHeaders" yaml:"claimsToHeaders"`
Operations *[]RESTOperation `json:"operations" yaml:"operations"`
}
func (*REST) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new REST.
func (*REST) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RESTAPIPolicy ¶
type RESTAPIPolicy struct {
// Default policies that apply to all expose levels
Defaults *RESTPolicy `json:"defaults,omitempty"`
// Override policies for public expose level
Public *RESTPolicy `json:"public,omitempty"`
// Override policies for organization expose level
Organization *RESTPolicy `json:"organization,omitempty"`
}
RESTAPIPolicy defines REST-specific API policies
func (*RESTAPIPolicy) DeepCopy ¶
func (in *RESTAPIPolicy) DeepCopy() *RESTAPIPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RESTAPIPolicy.
func (*RESTAPIPolicy) DeepCopyInto ¶
func (in *RESTAPIPolicy) DeepCopyInto(out *RESTAPIPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RESTEndpoint ¶
type RESTEndpoint struct {
Backend HTTPBackend `json:"backend,omitempty"`
ExposeLevels []RESTOperationExposeLevel `json:"exposeLevels,omitempty"`
}
func (*RESTEndpoint) DeepCopy ¶
func (in *RESTEndpoint) DeepCopy() *RESTEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RESTEndpoint.
func (*RESTEndpoint) DeepCopyInto ¶
func (in *RESTEndpoint) DeepCopyInto(out *RESTEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RESTOperation ¶
type RESTOperation struct {
Target string `json:"target" yaml:"target"`
Method HTTPMethod `json:"method" yaml:"method"`
Scopes []string `json:"scopes" yaml:"scopes"`
}
func (*RESTOperation) DeepCopy ¶
func (in *RESTOperation) DeepCopy() *RESTOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RESTOperation.
func (*RESTOperation) DeepCopyInto ¶
func (in *RESTOperation) DeepCopyInto(out *RESTOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RESTOperationExposeLevel ¶
type RESTOperationExposeLevel string
const ( ExposeLevelProject RESTOperationExposeLevel = "Project" ExposeLevelOrganization RESTOperationExposeLevel = "Organization" ExposeLevelPublic RESTOperationExposeLevel = "Public" )
type RESTPolicy ¶
type RESTPolicy struct {
// Rate limiting configuration
RateLimit *RateLimitPolicy `json:"rateLimit,omitempty"`
// Authentication and authorization configuration
Authentication *AuthenticationPolicy `json:"authentication,omitempty"`
// CORS configuration
CORS *CORSPolicy `json:"cors,omitempty"`
// Security policies
Security *SecurityPolicy `json:"security,omitempty"`
// Request and response mediation/transformation
Mediation *MediationPolicy `json:"mediation,omitempty"`
// Circuit breaker configuration
CircuitBreaker *CircuitBreakerPolicy `json:"circuitBreaker,omitempty"`
}
RESTPolicy defines the base REST API management policies
func (*RESTPolicy) DeepCopy ¶
func (in *RESTPolicy) DeepCopy() *RESTPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RESTPolicy.
func (*RESTPolicy) DeepCopyInto ¶
func (in *RESTPolicy) DeepCopyInto(out *RESTPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RateLimitConfig ¶
type RateLimitConfig struct {
Tier string `json:"tier"`
}
RateLimitConfig defines rate limiting configuration
func (*RateLimitConfig) DeepCopy ¶
func (in *RateLimitConfig) DeepCopy() *RateLimitConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimitConfig.
func (*RateLimitConfig) DeepCopyInto ¶
func (in *RateLimitConfig) DeepCopyInto(out *RateLimitConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RateLimitPolicy ¶
type RateLimitPolicy struct {
Requests int64 `json:"requests"` // Number of requests allowed
Window string `json:"window"` // Time window (e.g., "1m", "1h", "30s", "1d")
}
RateLimitPolicy defines rate limiting configuration
func (*RateLimitPolicy) DeepCopy ¶
func (in *RateLimitPolicy) DeepCopy() *RateLimitPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimitPolicy.
func (*RateLimitPolicy) DeepCopyInto ¶
func (in *RateLimitPolicy) DeepCopyInto(out *RateLimitPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RateLimitPolicySpec ¶
type RateLimitPolicySpec struct {
APILevel APILevelRLSpec `json:"apiLevel" yaml:"apiLevel"`
OperationLevel OperationLevelRLSpec `json:"operationLevel" yaml:"operationLevel"`
}
func (*RateLimitPolicySpec) DeepCopy ¶
func (in *RateLimitPolicySpec) DeepCopy() *RateLimitPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimitPolicySpec.
func (*RateLimitPolicySpec) DeepCopyInto ¶
func (in *RateLimitPolicySpec) DeepCopyInto(out *RateLimitPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryAuthentication ¶
type RegistryAuthentication struct {
// Reference to the secret that contains the container registry authentication info.
SecretRef string `json:"secretRef,omitempty"`
}
RegistryAuthentication defines the authentication configuration for container registry
func (*RegistryAuthentication) DeepCopy ¶
func (in *RegistryAuthentication) DeepCopy() *RegistryAuthentication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryAuthentication.
func (*RegistryAuthentication) DeepCopyInto ¶
func (in *RegistryAuthentication) DeepCopyInto(out *RegistryAuthentication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Release ¶
type Release struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ReleaseSpec `json:"spec,omitempty"`
Status ReleaseStatus `json:"status,omitempty"`
}
Release is the Schema for the releases API.
func (*Release) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Release.
func (*Release) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Release) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Release) GetConditions ¶
GetConditions returns the conditions from the status
func (*Release) SetConditions ¶
SetConditions sets the conditions in the status
type ReleaseList ¶
type ReleaseList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Release `json:"items"`
}
ReleaseList contains a list of Release.
func (*ReleaseList) DeepCopy ¶
func (in *ReleaseList) DeepCopy() *ReleaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseList.
func (*ReleaseList) DeepCopyInto ¶
func (in *ReleaseList) DeepCopyInto(out *ReleaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReleaseList) DeepCopyObject ¶
func (in *ReleaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReleaseOwner ¶
type ReleaseOwner struct {
// +kubebuilder:validation:MinLength=1
ProjectName string `json:"projectName"`
// +kubebuilder:validation:MinLength=1
ComponentName string `json:"componentName"`
}
ReleaseOwner defines the owner of a Release.
func (*ReleaseOwner) DeepCopy ¶
func (in *ReleaseOwner) DeepCopy() *ReleaseOwner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseOwner.
func (*ReleaseOwner) DeepCopyInto ¶
func (in *ReleaseOwner) DeepCopyInto(out *ReleaseOwner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseSpec ¶
type ReleaseSpec struct {
Owner ReleaseOwner `json:"owner"`
// +kubebuilder:validation:MinLength=1
EnvironmentName string `json:"environmentName"`
// Scalable resource template approach (KRO-inspired)
// Supports any Kubernetes resource type including HPA, PDB, NetworkPolicy, CRDs, etc. that can
// be applied to the data plane.
// +kubebuilder:validation:Optional
Resources []Resource `json:"resources,omitempty"`
// Interval watch interval for the release resources when stable.
// Defaults to 5m if not specified.
// +kubebuilder:validation:Type=string
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
// +optional
Interval *metav1.Duration `json:"interval,omitempty"`
// ProgressingInterval watch interval for the release resources when transitioning.
// Defaults to 10s if not specified.
// +kubebuilder:validation:Type=string
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
// +optional
ProgressingInterval *metav1.Duration `json:"progressingInterval,omitempty"`
}
ReleaseSpec defines the desired state of Release.
func (*ReleaseSpec) DeepCopy ¶
func (in *ReleaseSpec) DeepCopy() *ReleaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseSpec.
func (*ReleaseSpec) DeepCopyInto ¶
func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseState ¶
type ReleaseState string
ReleaseState defines the desired state of the Release created by a binding
const ( // ReleaseStateActive indicates the Release should be actively deployed. // Resources are deployed normally to the data plane. ReleaseStateActive ReleaseState = "Active" // ReleaseStateSuspend indicates the Release should be suspended. // Resources are scaled to zero or paused but not deleted. // - Deployments/StatefulSets: replicas set to 0 // - Jobs: spec.suspend set to true // - CronJobs: spec.suspend set to true // - HPA: minReplicas and maxReplicas set to 0 ReleaseStateSuspend ReleaseState = "Suspend" // ReleaseStateUndeploy indicates the Release should be removed from the data plane. // The Release resource is deleted, triggering cleanup of all data plane resources. ReleaseStateUndeploy ReleaseState = "Undeploy" )
type ReleaseStatus ¶
type ReleaseStatus struct {
// Resources contain the list of resources that have been successfully applied to the data plane
// +optional
Resources []ResourceStatus `json:"resources,omitempty"`
// Conditions represent the latest available observations of the Release's current state.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
ReleaseStatus defines the observed state of Release.
func (*ReleaseStatus) DeepCopy ¶
func (in *ReleaseStatus) DeepCopy() *ReleaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseStatus.
func (*ReleaseStatus) DeepCopyInto ¶
func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteJWKS ¶
type RemoteJWKS struct {
URI string `json:"uri"`
}
func (*RemoteJWKS) DeepCopy ¶
func (in *RemoteJWKS) DeepCopy() *RemoteJWKS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteJWKS.
func (*RemoteJWKS) DeepCopyInto ¶
func (in *RemoteJWKS) DeepCopyInto(out *RemoteJWKS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteReference ¶ added in v0.4.0
type RemoteReference struct {
// Key is the path in the external secret store (e.g., "secret/data/github/pat")
// +kubebuilder:validation:MinLength=1
Key string `json:"key"`
// Property is the specific field within the secret (e.g., "token")
// +optional
Property string `json:"property,omitempty"`
// Version of the secret to fetch (provider-specific)
// +optional
Version string `json:"version,omitempty"`
}
RemoteReference points to a secret in an external secret store.
func (*RemoteReference) DeepCopy ¶ added in v0.4.0
func (in *RemoteReference) DeepCopy() *RemoteReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteReference.
func (*RemoteReference) DeepCopyInto ¶ added in v0.4.0
func (in *RemoteReference) DeepCopyInto(out *RemoteReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Repository ¶
type Repository struct {
// URL is the repository URL
URL string `json:"url"`
// Revision specifies the revision to build from
Revision Revision `json:"revision"`
// AppPath is the path to the application within the repository
AppPath string `json:"appPath"`
}
Repository defines the source repository configuration
func (*Repository) DeepCopy ¶
func (in *Repository) DeepCopy() *Repository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
func (*Repository) DeepCopyInto ¶
func (in *Repository) DeepCopyInto(out *Repository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resource ¶
type Resource struct {
// Unique identifier for the resource
// +kubebuilder:validation:MinLength=1
ID string `json:"id"`
// Object contains the complete Kubernetes resource definition
// +kubebuilder:validation:Schemaless
// +kubebuilder:pruning:PreserveUnknownFields
Object *runtime.RawExtension `json:"object"`
}
Resource defines a Kubernetes resource template that can be applied to the data plane.
func (*Resource) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.
func (*Resource) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceLimits ¶
type ResourceLimits struct {
// +optional
CPU string `json:"cpu,omitempty"`
// +optional
Memory string `json:"memory,omitempty"`
}
ResourceLimits define the CPU/memory constraints for the container.
func (*ResourceLimits) DeepCopy ¶
func (in *ResourceLimits) DeepCopy() *ResourceLimits
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceLimits.
func (*ResourceLimits) DeepCopyInto ¶
func (in *ResourceLimits) DeepCopyInto(out *ResourceLimits)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceStatus ¶
type ResourceStatus struct {
// ID corresponds to the resource ID in spec.resources
// +kubebuilder:validation:MinLength=1
ID string `json:"id"`
// Group is the API group of the resource (e.g., "apps", "batch")
// Empty string for core resources
// +optional
Group string `json:"group,omitempty"`
// Version is the API version of the resource (e.g., "v1", "v1beta1")
// +kubebuilder:validation:MinLength=1
Version string `json:"version"`
// Kind is the type of the resource (e.g., "Deployment", "Service")
// +kubebuilder:validation:MinLength=1
Kind string `json:"kind"`
// Name is the name of the resource in the data plane
// +kubebuilder:validation:MinLength=1
Name string `json:"name"`
// Namespace is the namespace of the resource in the data plane
// Empty for cluster-scoped resources
// +optional
Namespace string `json:"namespace,omitempty"`
// Status captures the entire .status field of the resource applied to the data plane.
// +kubebuilder:validation:Schemaless
// +kubebuilder:pruning:PreserveUnknownFields
// +optional
Status *runtime.RawExtension `json:"status,omitempty"`
// HealthStatus indicates the health of the resource in the data plane.
// +optional
HealthStatus HealthStatus `json:"healthStatus,omitempty"`
// LastObservedTime stores the last time the status was observed
// +optional
LastObservedTime *metav1.Time `json:"lastObservedTime,omitempty"`
}
ResourceStatus tracks a resource that was applied to the data plane.
func (*ResourceStatus) DeepCopy ¶
func (in *ResourceStatus) DeepCopy() *ResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceStatus.
func (*ResourceStatus) DeepCopyInto ¶
func (in *ResourceStatus) DeepCopyInto(out *ResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceTemplate ¶ added in v0.4.0
type ResourceTemplate struct {
// ID uniquely identifies this resource within the component type
// For the primary workload resource, this must match the workloadType
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
ID string `json:"id"`
// IncludeWhen is a CEL expression that determines if this resource should be created
// If not specified, the resource is always created
// Example: "${spec.autoscaling.enabled}"
// +optional
IncludeWhen string `json:"includeWhen,omitempty"`
// ForEach enables generating multiple resources from a list using CEL expression
// Example: "${spec.configurations}" to iterate over a list
// +optional
// +kubebuilder:validation:Pattern=`^\$\{.+\}$`
ForEach string `json:"forEach,omitempty"`
// Var is the loop variable name when using forEach
// Example: "config" will make each item available as ${config} in templates
// +optional
// +kubebuilder:validation:Pattern=`^[a-zA-Z_][a-zA-Z0-9_]*$`
Var string `json:"var,omitempty"`
// Template contains the Kubernetes resource with CEL expressions
// CEL expressions are enclosed in ${...} and will be evaluated at runtime
// +kubebuilder:validation:Required
// +kubebuilder:pruning:PreserveUnknownFields
Template *runtime.RawExtension `json:"template"`
}
ResourceTemplate defines a template for generating Kubernetes resources +kubebuilder:validation:XValidation:rule="!has(self.forEach) || has(self.var)",message="var is required when forEach is specified"
func (*ResourceTemplate) DeepCopy ¶ added in v0.4.0
func (in *ResourceTemplate) DeepCopy() *ResourceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTemplate.
func (*ResourceTemplate) DeepCopyInto ¶ added in v0.4.0
func (in *ResourceTemplate) DeepCopyInto(out *ResourceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestRLOperation ¶
type RestRLOperation struct {
Target string `json:"target" yaml:"target"`
Method string `json:"method" yaml:"method"`
TimeUnit string `json:"timeUnit" yaml:"timeUnit"`
RequestLimit int `json:"requestLimit" yaml:"requestLimit"`
}
func (*RestRLOperation) DeepCopy ¶
func (in *RestRLOperation) DeepCopy() *RestRLOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestRLOperation.
func (*RestRLOperation) DeepCopyInto ¶
func (in *RestRLOperation) DeepCopyInto(out *RestRLOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetryPolicy ¶
type RetryPolicy struct {
Attempts int32 `json:"attempts"`
Backoff string `json:"backoff"` // exponential | linear | fixed
InitialInterval string `json:"initialInterval"`
MaxInterval string `json:"maxInterval"`
}
RetryPolicy defines retry configuration
func (*RetryPolicy) DeepCopy ¶
func (in *RetryPolicy) DeepCopy() *RetryPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryPolicy.
func (*RetryPolicy) DeepCopyInto ¶
func (in *RetryPolicy) DeepCopyInto(out *RetryPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Revision ¶
type Revision struct {
// Branch specifies the branch to build from
Branch string `json:"branch,omitempty"`
// Commit specifies the commit hash to build from
Commit string `json:"commit,omitempty"`
}
Revision defines the revision specification
func (*Revision) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Revision.
func (*Revision) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S2ZConfig ¶
type S2ZConfig struct {
// +optional
MaxReplicas *int32 `json:"maxReplicas,omitempty"`
// +optional
QueueLength *int32 `json:"queueLength,omitempty"`
}
S2ZConfig configures scale-to-zero.
func (*S2ZConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2ZConfig.
func (*S2ZConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScalingConfig ¶
type ScalingConfig struct {
// +optional
HPA *HPAConfig `json:"hpa,omitempty"`
// +optional
S2Z *S2ZConfig `json:"s2z,omitempty"`
}
ScalingConfig holds either HPA or S2Z config.
func (*ScalingConfig) DeepCopy ¶
func (in *ScalingConfig) DeepCopy() *ScalingConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingConfig.
func (*ScalingConfig) DeepCopyInto ¶
func (in *ScalingConfig) DeepCopyInto(out *ScalingConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledTask ¶
type ScheduledTask struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ScheduledTaskSpec `json:"spec,omitempty"`
Status ScheduledTaskStatus `json:"status,omitempty"`
}
ScheduledTask is the Schema for the scheduledtasks API.
func (*ScheduledTask) DeepCopy ¶
func (in *ScheduledTask) DeepCopy() *ScheduledTask
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTask.
func (*ScheduledTask) DeepCopyInto ¶
func (in *ScheduledTask) DeepCopyInto(out *ScheduledTask)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScheduledTask) DeepCopyObject ¶
func (in *ScheduledTask) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScheduledTaskBinding ¶
type ScheduledTaskBinding struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ScheduledTaskBindingSpec `json:"spec,omitempty"`
Status ScheduledTaskBindingStatus `json:"status,omitempty"`
}
ScheduledTaskBinding is the Schema for the scheduledtaskbindings API.
func (*ScheduledTaskBinding) DeepCopy ¶
func (in *ScheduledTaskBinding) DeepCopy() *ScheduledTaskBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskBinding.
func (*ScheduledTaskBinding) DeepCopyInto ¶
func (in *ScheduledTaskBinding) DeepCopyInto(out *ScheduledTaskBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScheduledTaskBinding) DeepCopyObject ¶
func (in *ScheduledTaskBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScheduledTaskBindingList ¶
type ScheduledTaskBindingList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ScheduledTaskBinding `json:"items"`
}
ScheduledTaskBindingList contains a list of ScheduledTaskBinding.
func (*ScheduledTaskBindingList) DeepCopy ¶
func (in *ScheduledTaskBindingList) DeepCopy() *ScheduledTaskBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskBindingList.
func (*ScheduledTaskBindingList) DeepCopyInto ¶
func (in *ScheduledTaskBindingList) DeepCopyInto(out *ScheduledTaskBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScheduledTaskBindingList) DeepCopyObject ¶
func (in *ScheduledTaskBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScheduledTaskBindingSpec ¶
type ScheduledTaskBindingSpec struct {
// Owner defines the component and project that owns this scheduled task binding
Owner ScheduledTaskOwner `json:"owner"`
// Environment is the target environment for this binding
// +kubebuilder:validation:MinLength=1
Environment string `json:"environment"`
// ClassName is the name of the scheduled task class that provides the scheduled task-specific deployment configuration.
// +kubebuilder:default=default
ClassName string `json:"className"`
// WorkloadSpec contains the copied workload specification for this environment-specific binding
WorkloadSpec WorkloadTemplateSpec `json:"workloadSpec"`
// Overrides contains scheduled task-specific overrides for this binding
Overrides map[string]bool `json:"overrides,omitempty"`
// ReleaseState controls the state of the Release created by this binding.
// Active: Resources are deployed normally
// Suspend: Resources are suspended (scaled to zero or paused)
// Undeploy: Resources are removed from the data plane
// +kubebuilder:default=Active
// +kubebuilder:validation:Enum=Active;Suspend;Undeploy
// +optional
ReleaseState ReleaseState `json:"releaseState,omitempty"`
}
ScheduledTaskBindingSpec defines the desired state of ScheduledTaskBinding.
func (*ScheduledTaskBindingSpec) DeepCopy ¶
func (in *ScheduledTaskBindingSpec) DeepCopy() *ScheduledTaskBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskBindingSpec.
func (*ScheduledTaskBindingSpec) DeepCopyInto ¶
func (in *ScheduledTaskBindingSpec) DeepCopyInto(out *ScheduledTaskBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledTaskBindingStatus ¶
type ScheduledTaskBindingStatus struct {
}
ScheduledTaskBindingStatus defines the observed state of ScheduledTaskBinding.
func (*ScheduledTaskBindingStatus) DeepCopy ¶
func (in *ScheduledTaskBindingStatus) DeepCopy() *ScheduledTaskBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskBindingStatus.
func (*ScheduledTaskBindingStatus) DeepCopyInto ¶
func (in *ScheduledTaskBindingStatus) DeepCopyInto(out *ScheduledTaskBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledTaskClass ¶
type ScheduledTaskClass struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ScheduledTaskClassSpec `json:"spec,omitempty"`
Status ScheduledTaskClassStatus `json:"status,omitempty"`
}
ScheduledTaskClass is the Schema for the scheduledtaskclasses API.
func (*ScheduledTaskClass) DeepCopy ¶
func (in *ScheduledTaskClass) DeepCopy() *ScheduledTaskClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskClass.
func (*ScheduledTaskClass) DeepCopyInto ¶
func (in *ScheduledTaskClass) DeepCopyInto(out *ScheduledTaskClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScheduledTaskClass) DeepCopyObject ¶
func (in *ScheduledTaskClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScheduledTaskClassList ¶
type ScheduledTaskClassList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ScheduledTaskClass `json:"items"`
}
ScheduledTaskClassList contains a list of ScheduledTaskClass.
func (*ScheduledTaskClassList) DeepCopy ¶
func (in *ScheduledTaskClassList) DeepCopy() *ScheduledTaskClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskClassList.
func (*ScheduledTaskClassList) DeepCopyInto ¶
func (in *ScheduledTaskClassList) DeepCopyInto(out *ScheduledTaskClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScheduledTaskClassList) DeepCopyObject ¶
func (in *ScheduledTaskClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScheduledTaskClassSpec ¶
type ScheduledTaskClassSpec struct {
// +kubebuilder:validation:Schemaless
// +kubebuilder:pruning:PreserveUnknownFields
CronJobTemplate batchv1.CronJobSpec `json:"cronJobTemplate,omitempty"`
}
ScheduledTaskClassSpec defines the desired state of ScheduledTaskClass.
func (*ScheduledTaskClassSpec) DeepCopy ¶
func (in *ScheduledTaskClassSpec) DeepCopy() *ScheduledTaskClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskClassSpec.
func (*ScheduledTaskClassSpec) DeepCopyInto ¶
func (in *ScheduledTaskClassSpec) DeepCopyInto(out *ScheduledTaskClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledTaskClassStatus ¶
type ScheduledTaskClassStatus struct {
}
ScheduledTaskClassStatus defines the observed state of ScheduledTaskClass.
func (*ScheduledTaskClassStatus) DeepCopy ¶
func (in *ScheduledTaskClassStatus) DeepCopy() *ScheduledTaskClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskClassStatus.
func (*ScheduledTaskClassStatus) DeepCopyInto ¶
func (in *ScheduledTaskClassStatus) DeepCopyInto(out *ScheduledTaskClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledTaskList ¶
type ScheduledTaskList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ScheduledTask `json:"items"`
}
ScheduledTaskList contains a list of ScheduledTask.
func (*ScheduledTaskList) DeepCopy ¶
func (in *ScheduledTaskList) DeepCopy() *ScheduledTaskList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskList.
func (*ScheduledTaskList) DeepCopyInto ¶
func (in *ScheduledTaskList) DeepCopyInto(out *ScheduledTaskList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScheduledTaskList) DeepCopyObject ¶
func (in *ScheduledTaskList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScheduledTaskOwner ¶
type ScheduledTaskOwner struct {
// +kubebuilder:validation:MinLength=1
ProjectName string `json:"projectName"`
// +kubebuilder:validation:MinLength=1
ComponentName string `json:"componentName"`
}
func (*ScheduledTaskOwner) DeepCopy ¶
func (in *ScheduledTaskOwner) DeepCopy() *ScheduledTaskOwner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskOwner.
func (*ScheduledTaskOwner) DeepCopyInto ¶
func (in *ScheduledTaskOwner) DeepCopyInto(out *ScheduledTaskOwner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledTaskSpec ¶
type ScheduledTaskSpec struct {
Owner ScheduledTaskOwner `json:"owner"`
// WorkloadName is the name of the workload that this scheduled task is referencing.
WorkloadName string `json:"workloadName"`
// ClassName is the name of the scheduled task class that provides the scheduled task-specific deployment configuration.
// +kubebuilder:default=default
ClassName string `json:"className"`
Overrides map[string]bool `json:"overrides,omitempty"` // TODO: Think about how to structure this
}
ScheduledTaskSpec defines the desired state of ScheduledTask.
func (*ScheduledTaskSpec) DeepCopy ¶
func (in *ScheduledTaskSpec) DeepCopy() *ScheduledTaskSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskSpec.
func (*ScheduledTaskSpec) DeepCopyInto ¶
func (in *ScheduledTaskSpec) DeepCopyInto(out *ScheduledTaskSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledTaskStatus ¶
type ScheduledTaskStatus struct {
}
ScheduledTaskStatus defines the observed state of ScheduledTask.
func (*ScheduledTaskStatus) DeepCopy ¶
func (in *ScheduledTaskStatus) DeepCopy() *ScheduledTaskStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskStatus.
func (*ScheduledTaskStatus) DeepCopyInto ¶
func (in *ScheduledTaskStatus) DeepCopyInto(out *ScheduledTaskStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Schema ¶
type Schema struct {
Type string `json:"type,omitempty"`
Content string `json:"content,omitempty"`
}
Schema defines the API definition for an endpoint.
func (*Schema) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Schema.
func (*Schema) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretDataSource ¶ added in v0.4.0
type SecretDataSource struct {
// SecretKey is the key name in the Kubernetes Secret
// +kubebuilder:validation:MinLength=1
SecretKey string `json:"secretKey"`
// RemoteRef points to the external secret location
RemoteRef RemoteReference `json:"remoteRef"`
}
SecretDataSource maps a secret key to an external secret reference.
func (*SecretDataSource) DeepCopy ¶ added in v0.4.0
func (in *SecretDataSource) DeepCopy() *SecretDataSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretDataSource.
func (*SecretDataSource) DeepCopyInto ¶ added in v0.4.0
func (in *SecretDataSource) DeepCopyInto(out *SecretDataSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretKeyRef ¶
type SecretKeyRef struct {
// +required
Name string `json:"name"`
// +required
Key string `json:"key"`
}
SecretKeyRef references a specific key in a K8s secret.
func (*SecretKeyRef) DeepCopy ¶
func (in *SecretKeyRef) DeepCopy() *SecretKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeyRef.
func (*SecretKeyRef) DeepCopyInto ¶
func (in *SecretKeyRef) DeepCopyInto(out *SecretKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretMetadata ¶ added in v0.4.0
type SecretMetadata struct {
// Annotations to add to the secret
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
// Labels to add to the secret
// +optional
Labels map[string]string `json:"labels,omitempty"`
}
SecretMetadata defines additional metadata for the generated secret.
func (*SecretMetadata) DeepCopy ¶ added in v0.4.0
func (in *SecretMetadata) DeepCopy() *SecretMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretMetadata.
func (*SecretMetadata) DeepCopyInto ¶ added in v0.4.0
func (in *SecretMetadata) DeepCopyInto(out *SecretMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretMountRef ¶
type SecretMountRef struct {
// +required
Name string `json:"name"`
// Absolute directory path to mount the secret contents.
// +required
MountPath string `json:"mountPath"`
}
SecretMountRef references a secret resource as files in a directory.
func (*SecretMountRef) DeepCopy ¶
func (in *SecretMountRef) DeepCopy() *SecretMountRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretMountRef.
func (*SecretMountRef) DeepCopyInto ¶
func (in *SecretMountRef) DeepCopyInto(out *SecretMountRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretRefBasic ¶
type SecretRefBasic struct {
// +required
Name string `json:"name"`
}
SecretRefBasic references a secret resource as a whole.
func (*SecretRefBasic) DeepCopy ¶
func (in *SecretRefBasic) DeepCopy() *SecretRefBasic
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRefBasic.
func (*SecretRefBasic) DeepCopyInto ¶
func (in *SecretRefBasic) DeepCopyInto(out *SecretRefBasic)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretReference ¶ added in v0.4.0
type SecretReference struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec SecretReferenceSpec `json:"spec,omitempty"`
Status SecretReferenceStatus `json:"status,omitempty"`
}
SecretReference is the Schema for the secretreferences API.
func (*SecretReference) DeepCopy ¶ added in v0.4.0
func (in *SecretReference) DeepCopy() *SecretReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference.
func (*SecretReference) DeepCopyInto ¶ added in v0.4.0
func (in *SecretReference) DeepCopyInto(out *SecretReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretReference) DeepCopyObject ¶ added in v0.4.0
func (in *SecretReference) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretReferenceList ¶ added in v0.4.0
type SecretReferenceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []SecretReference `json:"items"`
}
SecretReferenceList contains a list of SecretReference.
func (*SecretReferenceList) DeepCopy ¶ added in v0.4.0
func (in *SecretReferenceList) DeepCopy() *SecretReferenceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReferenceList.
func (*SecretReferenceList) DeepCopyInto ¶ added in v0.4.0
func (in *SecretReferenceList) DeepCopyInto(out *SecretReferenceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretReferenceList) DeepCopyObject ¶ added in v0.4.0
func (in *SecretReferenceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretReferenceSpec ¶ added in v0.4.0
type SecretReferenceSpec struct {
// Template defines the structure of the resulting Kubernetes Secret
Template SecretTemplate `json:"template"`
// Data contains the mapping of secret keys to external secret references
// +kubebuilder:validation:MinItems=1
Data []SecretDataSource `json:"data"`
// RefreshInterval specifies how often to reconcile/refresh the secret
// +optional
// +kubebuilder:default="1h"
RefreshInterval *metav1.Duration `json:"refreshInterval,omitempty"`
}
SecretReferenceSpec defines the desired state of SecretReference.
func (*SecretReferenceSpec) DeepCopy ¶ added in v0.4.0
func (in *SecretReferenceSpec) DeepCopy() *SecretReferenceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReferenceSpec.
func (*SecretReferenceSpec) DeepCopyInto ¶ added in v0.4.0
func (in *SecretReferenceSpec) DeepCopyInto(out *SecretReferenceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretReferenceStatus ¶ added in v0.4.0
type SecretReferenceStatus struct {
// Conditions represent the latest available observations
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
// LastRefreshTime indicates when the secret reference was last processed
// +optional
LastRefreshTime *metav1.Time `json:"lastRefreshTime,omitempty"`
// SecretStores tracks which secret stores are using this reference
// +optional
SecretStores []SecretStoreReference `json:"secretStores,omitempty"`
}
SecretReferenceStatus defines the observed state of SecretReference.
func (*SecretReferenceStatus) DeepCopy ¶ added in v0.4.0
func (in *SecretReferenceStatus) DeepCopy() *SecretReferenceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReferenceStatus.
func (*SecretReferenceStatus) DeepCopyInto ¶ added in v0.4.0
func (in *SecretReferenceStatus) DeepCopyInto(out *SecretReferenceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretStoreRef ¶ added in v0.4.0
type SecretStoreRef struct {
// Name of the ClusterSecretStore resource in the data plane cluster
Name string `json:"name"`
}
SecretStoreRef defines a reference to an External Secrets Operator ClusterSecretStore
func (*SecretStoreRef) DeepCopy ¶ added in v0.4.0
func (in *SecretStoreRef) DeepCopy() *SecretStoreRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreRef.
func (*SecretStoreRef) DeepCopyInto ¶ added in v0.4.0
func (in *SecretStoreRef) DeepCopyInto(out *SecretStoreRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretStoreReference ¶ added in v0.4.0
type SecretStoreReference struct {
// Name of the secret store
Name string `json:"name"`
// Namespace where the ExternalSecret was created
Namespace string `json:"namespace"`
// Kind of resource (ExternalSecret, ClusterExternalSecret)
Kind string `json:"kind"`
}
SecretStoreReference tracks where this SecretReference is being used.
func (*SecretStoreReference) DeepCopy ¶ added in v0.4.0
func (in *SecretStoreReference) DeepCopy() *SecretStoreReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreReference.
func (*SecretStoreReference) DeepCopyInto ¶ added in v0.4.0
func (in *SecretStoreReference) DeepCopyInto(out *SecretStoreReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretTemplate ¶ added in v0.4.0
type SecretTemplate struct {
// Type of the Kubernetes Secret (Opaque, kubernetes.io/dockerconfigjson, etc.)
// +kubebuilder:validation:Enum=Opaque;kubernetes.io/dockerconfigjson;kubernetes.io/dockercfg;kubernetes.io/basic-auth;kubernetes.io/ssh-auth;kubernetes.io/tls;bootstrap.kubernetes.io/token
// +kubebuilder:default="Opaque"
// +optional
Type corev1.SecretType `json:"type,omitempty"`
// Metadata to add to the generated secret
// +optional
Metadata *SecretMetadata `json:"metadata,omitempty"`
}
SecretTemplate defines the structure of the resulting Kubernetes Secret.
func (*SecretTemplate) DeepCopy ¶ added in v0.4.0
func (in *SecretTemplate) DeepCopy() *SecretTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretTemplate.
func (*SecretTemplate) DeepCopyInto ¶ added in v0.4.0
func (in *SecretTemplate) DeepCopyInto(out *SecretTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityConfig ¶
type SecurityConfig struct {
// +optional
RemoteJWKS `json:"remoteJwks"`
}
func (*SecurityConfig) DeepCopy ¶
func (in *SecurityConfig) DeepCopy() *SecurityConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityConfig.
func (*SecurityConfig) DeepCopyInto ¶
func (in *SecurityConfig) DeepCopyInto(out *SecurityConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityPolicy ¶
type SecurityPolicy struct {
AllowedIPs []string `json:"allowedIPs,omitempty"`
BlockedIPs []string `json:"blockedIPs,omitempty"`
RequireTLS *bool `json:"requireTLS,omitempty"`
MinTLSVersion *string `json:"minTLSVersion,omitempty"`
}
SecurityPolicy defines security policies
func (*SecurityPolicy) DeepCopy ¶
func (in *SecurityPolicy) DeepCopy() *SecurityPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicy.
func (*SecurityPolicy) DeepCopyInto ¶
func (in *SecurityPolicy) DeepCopyInto(out *SecurityPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Service ¶
type Service struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ServiceSpec `json:"spec,omitempty"`
Status ServiceStatus `json:"status,omitempty"`
}
Service is the Schema for the services API.
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Service) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceAPI ¶
type ServiceAPI struct {
EndpointTemplateSpec `json:",inline"`
}
func (*ServiceAPI) DeepCopy ¶
func (in *ServiceAPI) DeepCopy() *ServiceAPI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAPI.
func (*ServiceAPI) DeepCopyInto ¶
func (in *ServiceAPI) DeepCopyInto(out *ServiceAPI)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceBinding ¶
type ServiceBinding struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ServiceBindingSpec `json:"spec,omitempty"`
Status ServiceBindingStatus `json:"status,omitempty"`
}
ServiceBinding is the Schema for the servicebindings API.
func (*ServiceBinding) DeepCopy ¶
func (in *ServiceBinding) DeepCopy() *ServiceBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBinding.
func (*ServiceBinding) DeepCopyInto ¶
func (in *ServiceBinding) DeepCopyInto(out *ServiceBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBinding) DeepCopyObject ¶
func (in *ServiceBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceBinding) GetConditions ¶
func (sb *ServiceBinding) GetConditions() []metav1.Condition
GetConditions returns the conditions from the status
func (*ServiceBinding) SetConditions ¶
func (sb *ServiceBinding) SetConditions(conditions []metav1.Condition)
SetConditions sets the conditions in the status
type ServiceBindingList ¶
type ServiceBindingList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ServiceBinding `json:"items"`
}
ServiceBindingList contains a list of ServiceBinding.
func (*ServiceBindingList) DeepCopy ¶
func (in *ServiceBindingList) DeepCopy() *ServiceBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingList.
func (*ServiceBindingList) DeepCopyInto ¶
func (in *ServiceBindingList) DeepCopyInto(out *ServiceBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindingList) DeepCopyObject ¶
func (in *ServiceBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceBindingSpec ¶
type ServiceBindingSpec struct {
// Owner defines the component and project that owns this service binding
Owner ServiceOwner `json:"owner"`
// Environment is the target environment for this binding
// +kubebuilder:validation:MinLength=1
Environment string `json:"environment"`
// ClassName is the name of the service class that provides the service-specific deployment configuration.
// +kubebuilder:default=default
ClassName string `json:"className"`
WorkloadSpec WorkloadTemplateSpec `json:"workloadSpec"`
APIs map[string]*ServiceAPI `json:"apis,omitempty"`
// ReleaseState controls the state of the Release created by this binding.
// Active: Resources are deployed normally
// Suspend: Resources are suspended (scaled to zero or paused)
// Undeploy: Resources are removed from the data plane
// +kubebuilder:default=Active
// +kubebuilder:validation:Enum=Active;Suspend;Undeploy
// +optional
ReleaseState ReleaseState `json:"releaseState,omitempty"`
}
ServiceBindingSpec defines the desired state of ServiceBinding.
func (*ServiceBindingSpec) DeepCopy ¶
func (in *ServiceBindingSpec) DeepCopy() *ServiceBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingSpec.
func (*ServiceBindingSpec) DeepCopyInto ¶
func (in *ServiceBindingSpec) DeepCopyInto(out *ServiceBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceBindingStatus ¶
type ServiceBindingStatus struct {
// Conditions represent the latest available observations of the ServiceBinding's current state.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
// Endpoints contain the status of each endpoint
// +optional
Endpoints []EndpointStatus `json:"endpoints,omitempty"`
}
ServiceBindingStatus defines the observed state of ServiceBinding.
func (*ServiceBindingStatus) DeepCopy ¶
func (in *ServiceBindingStatus) DeepCopy() *ServiceBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingStatus.
func (*ServiceBindingStatus) DeepCopyInto ¶
func (in *ServiceBindingStatus) DeepCopyInto(out *ServiceBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceClass ¶
type ServiceClass struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ServiceClassSpec `json:"spec,omitempty"`
Status ServiceClassStatus `json:"status,omitempty"`
}
ServiceClass is the Schema for the serviceclasses API.
func (*ServiceClass) DeepCopy ¶
func (in *ServiceClass) DeepCopy() *ServiceClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceClass.
func (*ServiceClass) DeepCopyInto ¶
func (in *ServiceClass) DeepCopyInto(out *ServiceClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceClass) DeepCopyObject ¶
func (in *ServiceClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceClassList ¶
type ServiceClassList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ServiceClass `json:"items"`
}
ServiceClassList contains a list of ServiceClass.
func (*ServiceClassList) DeepCopy ¶
func (in *ServiceClassList) DeepCopy() *ServiceClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceClassList.
func (*ServiceClassList) DeepCopyInto ¶
func (in *ServiceClassList) DeepCopyInto(out *ServiceClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceClassList) DeepCopyObject ¶
func (in *ServiceClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceClassSpec ¶
type ServiceClassSpec struct {
// +kubebuilder:validation:Schemaless
// +kubebuilder:pruning:PreserveUnknownFields
DeploymentTemplate appsv1.DeploymentSpec `json:"deploymentTemplate,omitempty"`
// +kubebuilder:validation:Schemaless
// +kubebuilder:pruning:PreserveUnknownFields
ServiceTemplate corev1.ServiceSpec `json:"serviceTemplate,omitempty"`
}
ServiceClassSpec defines the desired state of ServiceClass.
func (*ServiceClassSpec) DeepCopy ¶
func (in *ServiceClassSpec) DeepCopy() *ServiceClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceClassSpec.
func (*ServiceClassSpec) DeepCopyInto ¶
func (in *ServiceClassSpec) DeepCopyInto(out *ServiceClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceClassStatus ¶
type ServiceClassStatus struct {
}
ServiceClassStatus defines the observed state of ServiceClass.
func (*ServiceClassStatus) DeepCopy ¶
func (in *ServiceClassStatus) DeepCopy() *ServiceClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceClassStatus.
func (*ServiceClassStatus) DeepCopyInto ¶
func (in *ServiceClassStatus) DeepCopyInto(out *ServiceClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceList ¶
type ServiceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Service `json:"items"`
}
ServiceList contains a list of Service.
func (*ServiceList) DeepCopy ¶
func (in *ServiceList) DeepCopy() *ServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList.
func (*ServiceList) DeepCopyInto ¶
func (in *ServiceList) DeepCopyInto(out *ServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceList) DeepCopyObject ¶
func (in *ServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceOwner ¶
type ServiceOwner struct {
// +kubebuilder:validation:MinLength=1
ProjectName string `json:"projectName"`
// +kubebuilder:validation:MinLength=1
ComponentName string `json:"componentName"`
}
func (*ServiceOwner) DeepCopy ¶
func (in *ServiceOwner) DeepCopy() *ServiceOwner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceOwner.
func (*ServiceOwner) DeepCopyInto ¶
func (in *ServiceOwner) DeepCopyInto(out *ServiceOwner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceSpec ¶
type ServiceSpec struct {
Owner ServiceOwner `json:"owner"`
// WorkloadName is the name of the workload that this service is referencing.
WorkloadName string `json:"workloadName"`
// ClassName is the name of the service class that provides the service-specific deployment configuration.
// +kubebuilder:default=default
ClassName string `json:"className"`
Overrides map[string]bool `json:"overrides,omitempty"` // TODO: Think about how to structure this
APIs map[string]*ServiceAPI `json:"apis,omitempty"`
}
ServiceSpec defines the desired state of Service.
func (*ServiceSpec) DeepCopy ¶
func (in *ServiceSpec) DeepCopy() *ServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
func (*ServiceSpec) DeepCopyInto ¶
func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceStatus ¶
type ServiceStatus struct {
}
ServiceStatus defines the observed state of Service.
func (*ServiceStatus) DeepCopy ¶
func (in *ServiceStatus) DeepCopy() *ServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus.
func (*ServiceStatus) DeepCopyInto ¶
func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Target ¶
type Target struct {
// URL of the upstream service
URL string `json:"url"`
}
Target defines the target service URL for the upstream service. This is used for proxies
func (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetArtifact ¶
type TargetArtifact struct {
// Mutually exclusive references to a build or an image.
// +optional
FromBuildRef *FromBuildRef `json:"fromBuildRef,omitempty"`
// Mutually exclusive references to a specific image tag.
// +optional
FromImageRef *FromImageRef `json:"fromImageRef,omitempty"`
}
TargetArtifact references the source artifact to be deployed.
func (*TargetArtifact) DeepCopy ¶
func (in *TargetArtifact) DeepCopy() *TargetArtifact
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetArtifact.
func (*TargetArtifact) DeepCopyInto ¶
func (in *TargetArtifact) DeepCopyInto(out *TargetArtifact)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetEnvironmentRef ¶
type TargetEnvironmentRef struct {
// Name of the target environment
Name string `json:"name"`
// RequiresApproval indicates if promotion to this environment requires approval
// +optional
RequiresApproval bool `json:"requiresApproval,omitempty"`
// IsManualApprovalRequired indicates if manual approval is needed for promotion
// +optional
IsManualApprovalRequired bool `json:"isManualApprovalRequired,omitempty"`
}
TargetEnvironmentRef defines a reference to a target environment with approval settings
func (*TargetEnvironmentRef) DeepCopy ¶
func (in *TargetEnvironmentRef) DeepCopy() *TargetEnvironmentRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetEnvironmentRef.
func (*TargetEnvironmentRef) DeepCopyInto ¶
func (in *TargetEnvironmentRef) DeepCopyInto(out *TargetEnvironmentRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskConfig ¶
type TaskConfig struct {
// +optional
Disabled bool `json:"disabled,omitempty"`
// Only applicable for scheduled tasks.
// +optional
Schedule *TaskSchedule `json:"schedule,omitempty"`
}
TaskConfig captures scheduling/manual execution details for a task.
func (*TaskConfig) DeepCopy ¶
func (in *TaskConfig) DeepCopy() *TaskConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskConfig.
func (*TaskConfig) DeepCopyInto ¶
func (in *TaskConfig) DeepCopyInto(out *TaskConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskSchedule ¶
type TaskSchedule struct {
// +required
Cron string `json:"cron"`
// +optional
Timezone string `json:"timezone,omitempty"`
}
TaskSchedule defines the cron schedule and timezone.
func (*TaskSchedule) DeepCopy ¶
func (in *TaskSchedule) DeepCopy() *TaskSchedule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskSchedule.
func (*TaskSchedule) DeepCopyInto ¶
func (in *TaskSchedule) DeepCopyInto(out *TaskSchedule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateRef ¶
type TemplateRef struct {
// Engine specifies the build engine
Engine string `json:"engine,omitempty"`
// Name is the template name
Name string `json:"name"`
// Parameters contains the template parameters
Parameters []Parameter `json:"parameters,omitempty"`
}
TemplateRef defines the build template reference
func (*TemplateRef) DeepCopy ¶
func (in *TemplateRef) DeepCopy() *TemplateRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateRef.
func (*TemplateRef) DeepCopyInto ¶
func (in *TemplateRef) DeepCopyInto(out *TemplateRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Trait ¶ added in v0.4.0
type Trait struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec TraitSpec `json:"spec,omitempty"`
Status TraitStatus `json:"status,omitempty"`
}
Trait is the Schema for the traits API.
func (*Trait) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trait.
func (*Trait) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Trait) DeepCopyObject ¶ added in v0.4.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TraitCreate ¶ added in v0.4.0
type TraitCreate struct {
// Template contains the Kubernetes resource with CEL expressions
// CEL expressions are enclosed in ${...} and will be evaluated at runtime
// +kubebuilder:validation:Required
// +kubebuilder:pruning:PreserveUnknownFields
Template *runtime.RawExtension `json:"template"`
}
TraitCreate defines a resource template to be created by the trait
func (*TraitCreate) DeepCopy ¶ added in v0.4.0
func (in *TraitCreate) DeepCopy() *TraitCreate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraitCreate.
func (*TraitCreate) DeepCopyInto ¶ added in v0.4.0
func (in *TraitCreate) DeepCopyInto(out *TraitCreate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TraitList ¶ added in v0.4.0
type TraitList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Trait `json:"items"`
}
TraitList contains a list of Trait.
func (*TraitList) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraitList.
func (*TraitList) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TraitList) DeepCopyObject ¶ added in v0.4.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TraitPatch ¶ added in v0.4.0
type TraitPatch struct {
// ForEach repeats this patch for every item in a CEL-evaluated list
// Requires 'var' to be set to name the binding used in operations
// Example: forEach: ${spec.mounts}
// +optional
// +kubebuilder:validation:Pattern=`^\$\{.+\}$`
ForEach string `json:"forEach,omitempty"`
// Var names the binding for forEach iterations
// Required when forEach is specified
// Example: var: mount
// +optional
// +kubebuilder:validation:Pattern=`^[a-zA-Z_][a-zA-Z0-9_]*$`
Var string `json:"var,omitempty"`
// Target specifies which resource to patch
// +kubebuilder:validation:Required
Target PatchTarget `json:"target"`
// Operations is the list of JSONPatch operations to apply to the target resource
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinItems=1
Operations []JSONPatchOperation `json:"operations"`
}
TraitPatch defines a modification to an existing resource +kubebuilder:validation:XValidation:rule="!has(self.forEach) || has(self.var)",message="var is required when forEach is specified"
func (*TraitPatch) DeepCopy ¶ added in v0.4.0
func (in *TraitPatch) DeepCopy() *TraitPatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraitPatch.
func (*TraitPatch) DeepCopyInto ¶ added in v0.4.0
func (in *TraitPatch) DeepCopyInto(out *TraitPatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TraitSchema ¶ added in v0.4.0
type TraitSchema struct {
// Types defines reusable type definitions that can be referenced in schema fields
// This is a nested map structure where keys are type names and values are type definitions
// +optional
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:Type=object
Types *runtime.RawExtension `json:"types,omitempty"`
// Parameters are developer-facing configuration options.
// This is a nested map structure where keys are field names and values
// are either nested maps or type definition strings.
// Type definition format: "type | default=value | required=true | enum=val1,val2"
// +optional
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:Type=object
Parameters *runtime.RawExtension `json:"parameters,omitempty"`
// EnvOverrides can be overridden per environment via ComponentDeployment.
// Same nested map structure and type definition format as Parameters.
// +optional
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:Type=object
EnvOverrides *runtime.RawExtension `json:"envOverrides,omitempty"`
}
TraitSchema defines the configurable parameters for a trait Uses the same nested map structure and inline schema syntax as ComponentTypeSchema
Example:
parameters: volumeName: "string | required=true" mountPath: "string | required=true" containerName: "string | default=app" envOverrides: size: "string | default=10Gi" storageClass: "string | default=standard"
func (*TraitSchema) DeepCopy ¶ added in v0.4.0
func (in *TraitSchema) DeepCopy() *TraitSchema
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraitSchema.
func (*TraitSchema) DeepCopyInto ¶ added in v0.4.0
func (in *TraitSchema) DeepCopyInto(out *TraitSchema)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TraitSpec ¶ added in v0.4.0
type TraitSpec struct {
// Schema defines trait parameters
// +optional
Schema TraitSchema `json:"schema,omitempty"`
// Creates defines new Kubernetes resources to create when this trait is applied
// +optional
Creates []TraitCreate `json:"creates,omitempty"`
// Patches defines modifications to existing resources generated by the ComponentType
// +optional
Patches []TraitPatch `json:"patches,omitempty"`
}
TraitSpec defines the desired state of Trait.
func (*TraitSpec) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraitSpec.
func (*TraitSpec) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TraitStatus ¶ added in v0.4.0
type TraitStatus struct {
}
TraitStatus defines the observed state of Trait.
func (*TraitStatus) DeepCopy ¶ added in v0.4.0
func (in *TraitStatus) DeepCopy() *TraitStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraitStatus.
func (*TraitStatus) DeepCopyInto ¶ added in v0.4.0
func (in *TraitStatus) DeepCopyInto(out *TraitStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TransformationRule ¶
type TransformationRule struct {
Type string `json:"type"` // json | xml
Action string `json:"action"` // addFields | addHeader | removeHeaders | removeFields
Fields map[string]string `json:"fields,omitempty"`
Headers []string `json:"headers,omitempty"`
HeaderName *string `json:"headerName,omitempty"`
HeaderValue *string `json:"headerValue,omitempty"`
}
TransformationRule defines a single transformation rule
func (*TransformationRule) DeepCopy ¶
func (in *TransformationRule) DeepCopy() *TransformationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformationRule.
func (*TransformationRule) DeepCopyInto ¶
func (in *TransformationRule) DeepCopyInto(out *TransformationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValueFrom ¶ added in v0.4.0
type ValueFrom struct {
// SecretRef is a reference to a secret containing the value
// +optional
SecretRef string `json:"secretRef,omitempty"`
// Value is the inline value (optional fallback)
// +optional
Value string `json:"value,omitempty"`
}
ValueFrom defines a common pattern for referencing secrets or providing inline values
func (*ValueFrom) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFrom.
func (*ValueFrom) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VisibilityConfig ¶
type VisibilityConfig struct {
// +required
Enable bool `json:"enable"`
// +optional
Policies []Policy `json:"policies,omitempty"`
}
func (*VisibilityConfig) DeepCopy ¶
func (in *VisibilityConfig) DeepCopy() *VisibilityConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VisibilityConfig.
func (*VisibilityConfig) DeepCopyInto ¶
func (in *VisibilityConfig) DeepCopyInto(out *VisibilityConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebApplication ¶
type WebApplication struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WebApplicationSpec `json:"spec,omitempty"`
Status WebApplicationStatus `json:"status,omitempty"`
}
WebApplication is the Schema for the webapplications API.
func (*WebApplication) DeepCopy ¶
func (in *WebApplication) DeepCopy() *WebApplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplication.
func (*WebApplication) DeepCopyInto ¶
func (in *WebApplication) DeepCopyInto(out *WebApplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebApplication) DeepCopyObject ¶
func (in *WebApplication) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WebApplicationBinding ¶
type WebApplicationBinding struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WebApplicationBindingSpec `json:"spec,omitempty"`
Status WebApplicationBindingStatus `json:"status,omitempty"`
}
WebApplicationBinding is the Schema for the webapplicationbindings API.
func (*WebApplicationBinding) DeepCopy ¶
func (in *WebApplicationBinding) DeepCopy() *WebApplicationBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationBinding.
func (*WebApplicationBinding) DeepCopyInto ¶
func (in *WebApplicationBinding) DeepCopyInto(out *WebApplicationBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebApplicationBinding) DeepCopyObject ¶
func (in *WebApplicationBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*WebApplicationBinding) GetConditions ¶
func (wab *WebApplicationBinding) GetConditions() []metav1.Condition
GetConditions returns the conditions from the status
func (*WebApplicationBinding) SetConditions ¶
func (wab *WebApplicationBinding) SetConditions(conditions []metav1.Condition)
SetConditions sets the conditions in the status
type WebApplicationBindingList ¶
type WebApplicationBindingList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WebApplicationBinding `json:"items"`
}
WebApplicationBindingList contains a list of WebApplicationBinding.
func (*WebApplicationBindingList) DeepCopy ¶
func (in *WebApplicationBindingList) DeepCopy() *WebApplicationBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationBindingList.
func (*WebApplicationBindingList) DeepCopyInto ¶
func (in *WebApplicationBindingList) DeepCopyInto(out *WebApplicationBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebApplicationBindingList) DeepCopyObject ¶
func (in *WebApplicationBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WebApplicationBindingSpec ¶
type WebApplicationBindingSpec struct {
// Owner defines the component and project that owns this web application binding
Owner WebApplicationOwner `json:"owner"`
// Environment is the target environment for this binding
// +kubebuilder:validation:MinLength=1
Environment string `json:"environment"`
// ClassName is the name of the web application class that provides the web application-specific deployment configuration.
// +kubebuilder:default=default
ClassName string `json:"className"`
// WorkloadSpec contains the copied workload specification for this environment-specific binding
WorkloadSpec WorkloadTemplateSpec `json:"workloadSpec"`
// Overrides contains web application-specific overrides for this binding
Overrides map[string]bool `json:"overrides,omitempty"`
// ReleaseState controls the state of the Release created by this binding.
// Active: Resources are deployed normally
// Suspend: Resources are suspended (scaled to zero or paused)
// Undeploy: Resources are removed from the data plane
// +kubebuilder:default=Active
// +kubebuilder:validation:Enum=Active;Suspend;Undeploy
// +optional
ReleaseState ReleaseState `json:"releaseState,omitempty"`
}
WebApplicationBindingSpec defines the desired state of WebApplicationBinding.
func (*WebApplicationBindingSpec) DeepCopy ¶
func (in *WebApplicationBindingSpec) DeepCopy() *WebApplicationBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationBindingSpec.
func (*WebApplicationBindingSpec) DeepCopyInto ¶
func (in *WebApplicationBindingSpec) DeepCopyInto(out *WebApplicationBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebApplicationBindingStatus ¶
type WebApplicationBindingStatus struct {
// Conditions represent the latest available observations of the WebApplicationBinding's current state.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
// Endpoints contain the status of each endpoint
// +optional
Endpoints []EndpointStatus `json:"endpoints,omitempty"`
}
WebApplicationBindingStatus defines the observed state of WebApplicationBinding.
func (*WebApplicationBindingStatus) DeepCopy ¶
func (in *WebApplicationBindingStatus) DeepCopy() *WebApplicationBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationBindingStatus.
func (*WebApplicationBindingStatus) DeepCopyInto ¶
func (in *WebApplicationBindingStatus) DeepCopyInto(out *WebApplicationBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebApplicationClass ¶
type WebApplicationClass struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WebApplicationClassSpec `json:"spec,omitempty"`
Status WebApplicationClassStatus `json:"status,omitempty"`
}
WebApplicationClass is the Schema for the webapplicationclasses API.
func (*WebApplicationClass) DeepCopy ¶
func (in *WebApplicationClass) DeepCopy() *WebApplicationClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationClass.
func (*WebApplicationClass) DeepCopyInto ¶
func (in *WebApplicationClass) DeepCopyInto(out *WebApplicationClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebApplicationClass) DeepCopyObject ¶
func (in *WebApplicationClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WebApplicationClassList ¶
type WebApplicationClassList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WebApplicationClass `json:"items"`
}
WebApplicationClassList contains a list of WebApplicationClass.
func (*WebApplicationClassList) DeepCopy ¶
func (in *WebApplicationClassList) DeepCopy() *WebApplicationClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationClassList.
func (*WebApplicationClassList) DeepCopyInto ¶
func (in *WebApplicationClassList) DeepCopyInto(out *WebApplicationClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebApplicationClassList) DeepCopyObject ¶
func (in *WebApplicationClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WebApplicationClassSpec ¶
type WebApplicationClassSpec struct {
// +kubebuilder:validation:Schemaless
// +kubebuilder:pruning:PreserveUnknownFields
DeploymentTemplate appsv1.DeploymentSpec `json:"deploymentTemplate,omitempty"`
// +kubebuilder:validation:Schemaless
// +kubebuilder:pruning:PreserveUnknownFields
ServiceTemplate corev1.ServiceSpec `json:"serviceTemplate,omitempty"`
}
WebApplicationClassSpec defines the desired state of WebApplicationClass.
func (*WebApplicationClassSpec) DeepCopy ¶
func (in *WebApplicationClassSpec) DeepCopy() *WebApplicationClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationClassSpec.
func (*WebApplicationClassSpec) DeepCopyInto ¶
func (in *WebApplicationClassSpec) DeepCopyInto(out *WebApplicationClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebApplicationClassStatus ¶
type WebApplicationClassStatus struct {
}
WebApplicationClassStatus defines the observed state of WebApplicationClass.
func (*WebApplicationClassStatus) DeepCopy ¶
func (in *WebApplicationClassStatus) DeepCopy() *WebApplicationClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationClassStatus.
func (*WebApplicationClassStatus) DeepCopyInto ¶
func (in *WebApplicationClassStatus) DeepCopyInto(out *WebApplicationClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebApplicationList ¶
type WebApplicationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WebApplication `json:"items"`
}
WebApplicationList contains a list of WebApplication.
func (*WebApplicationList) DeepCopy ¶
func (in *WebApplicationList) DeepCopy() *WebApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationList.
func (*WebApplicationList) DeepCopyInto ¶
func (in *WebApplicationList) DeepCopyInto(out *WebApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebApplicationList) DeepCopyObject ¶
func (in *WebApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WebApplicationOwner ¶
type WebApplicationOwner struct {
// +kubebuilder:validation:MinLength=1
ProjectName string `json:"projectName"`
// +kubebuilder:validation:MinLength=1
ComponentName string `json:"componentName"`
}
func (*WebApplicationOwner) DeepCopy ¶
func (in *WebApplicationOwner) DeepCopy() *WebApplicationOwner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationOwner.
func (*WebApplicationOwner) DeepCopyInto ¶
func (in *WebApplicationOwner) DeepCopyInto(out *WebApplicationOwner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebApplicationSpec ¶
type WebApplicationSpec struct {
Owner WebApplicationOwner `json:"owner"`
// WorkloadName is the name of the workload that this web application is referencing.
WorkloadName string `json:"workloadName"`
// ClassName is the name of the web application class that provides the web application-specific deployment configuration.
// +kubebuilder:default=default
ClassName string `json:"className"`
Overrides map[string]bool `json:"overrides,omitempty"` // TODO: Think about how to structure this
}
WebApplicationSpec defines the desired state of WebApplication.
func (*WebApplicationSpec) DeepCopy ¶
func (in *WebApplicationSpec) DeepCopy() *WebApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationSpec.
func (*WebApplicationSpec) DeepCopyInto ¶
func (in *WebApplicationSpec) DeepCopyInto(out *WebApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebApplicationStatus ¶
type WebApplicationStatus struct {
}
WebApplicationStatus defines the observed state of WebApplication.
func (*WebApplicationStatus) DeepCopy ¶
func (in *WebApplicationStatus) DeepCopy() *WebApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApplicationStatus.
func (*WebApplicationStatus) DeepCopyInto ¶
func (in *WebApplicationStatus) DeepCopyInto(out *WebApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Workflow ¶ added in v0.4.0
type Workflow struct {
metav1.TypeMeta `json:",inline"`
// metadata is a standard object metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitempty,omitzero"`
// spec defines the desired state of Workflow
// +required
Spec WorkflowSpec `json:"spec"`
// status defines the observed state of Workflow
// +optional
Status WorkflowStatus `json:"status,omitempty,omitzero"`
}
Workflow is the Schema for the workflows API Workflow provides a template definition for workflow execution with schema and resource templates.
func (*Workflow) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workflow.
func (*Workflow) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Workflow) DeepCopyObject ¶ added in v0.4.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkflowConfig ¶ added in v0.4.0
type WorkflowConfig struct {
// Name references the Workflow CR to use for this execution.
// The Workflow CR contains the schema definition and resource template.
// +required
// +kubebuilder:validation:MinLength=1
Name string `json:"name"`
// Schema contains the developer-provided values that conform to the schema
// defined in the referenced Workflow CR.
//
// These values are merged with context variables when rendering the final workflow resource.
//
// +optional
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:Type=object
Schema *runtime.RawExtension `json:"schema,omitempty"`
}
WorkflowConfig defines the workflow configuration for execution.
func (*WorkflowConfig) DeepCopy ¶ added in v0.4.0
func (in *WorkflowConfig) DeepCopy() *WorkflowConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowConfig.
func (*WorkflowConfig) DeepCopyInto ¶ added in v0.4.0
func (in *WorkflowConfig) DeepCopyInto(out *WorkflowConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowImage ¶ added in v0.4.0
type WorkflowImage struct {
// Image is the fully qualified image name (e.g., registry.example.com/myapp:v1.0.0)
// +optional
Image string `json:"image,omitempty"`
}
WorkflowImage contains information about a container image produced by a workflow
func (*WorkflowImage) DeepCopy ¶ added in v0.4.0
func (in *WorkflowImage) DeepCopy() *WorkflowImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowImage.
func (*WorkflowImage) DeepCopyInto ¶ added in v0.4.0
func (in *WorkflowImage) DeepCopyInto(out *WorkflowImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowList ¶ added in v0.4.0
type WorkflowList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Workflow `json:"items"`
}
WorkflowList contains a list of Workflow
func (*WorkflowList) DeepCopy ¶ added in v0.4.0
func (in *WorkflowList) DeepCopy() *WorkflowList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowList.
func (*WorkflowList) DeepCopyInto ¶ added in v0.4.0
func (in *WorkflowList) DeepCopyInto(out *WorkflowList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkflowList) DeepCopyObject ¶ added in v0.4.0
func (in *WorkflowList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkflowOwner ¶ added in v0.4.0
type WorkflowOwner struct {
// +required
// +kubebuilder:validation:MinLength=1
ProjectName string `json:"projectName"`
// ComponentName is the name of the owning Component
// +required
// +kubebuilder:validation:MinLength=1
ComponentName string `json:"componentName"`
}
WorkflowOwner identifies the Component that owns a WorkflowRun execution.
func (*WorkflowOwner) DeepCopy ¶ added in v0.4.0
func (in *WorkflowOwner) DeepCopy() *WorkflowOwner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowOwner.
func (*WorkflowOwner) DeepCopyInto ¶ added in v0.4.0
func (in *WorkflowOwner) DeepCopyInto(out *WorkflowOwner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowRun ¶ added in v0.4.0
type WorkflowRun struct {
metav1.TypeMeta `json:",inline"`
// metadata is a standard object metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitempty,omitzero"`
// spec defines the desired state of WorkflowRun
// +required
Spec WorkflowRunSpec `json:"spec"`
// status defines the observed state of WorkflowRun
// +optional
Status WorkflowRunStatus `json:"status,omitempty,omitzero"`
}
WorkflowRun is the Schema for the workflowruns API WorkflowRun represents a runtime execution instance of a Workflow.
func (*WorkflowRun) DeepCopy ¶ added in v0.4.0
func (in *WorkflowRun) DeepCopy() *WorkflowRun
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowRun.
func (*WorkflowRun) DeepCopyInto ¶ added in v0.4.0
func (in *WorkflowRun) DeepCopyInto(out *WorkflowRun)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkflowRun) DeepCopyObject ¶ added in v0.4.0
func (in *WorkflowRun) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*WorkflowRun) GetConditions ¶ added in v0.4.0
func (w *WorkflowRun) GetConditions() []metav1.Condition
GetConditions returns the conditions from the workflowrun status
func (*WorkflowRun) SetConditions ¶ added in v0.4.0
func (w *WorkflowRun) SetConditions(conditions []metav1.Condition)
SetConditions sets the conditions in the workflowrun status
type WorkflowRunList ¶ added in v0.4.0
type WorkflowRunList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WorkflowRun `json:"items"`
}
WorkflowRunList contains a list of WorkflowRun
func (*WorkflowRunList) DeepCopy ¶ added in v0.4.0
func (in *WorkflowRunList) DeepCopy() *WorkflowRunList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowRunList.
func (*WorkflowRunList) DeepCopyInto ¶ added in v0.4.0
func (in *WorkflowRunList) DeepCopyInto(out *WorkflowRunList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkflowRunList) DeepCopyObject ¶ added in v0.4.0
func (in *WorkflowRunList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkflowRunReference ¶ added in v0.4.0
type WorkflowRunReference struct {
// Name is the name of the workflow run resource in the target cluster
// +optional
Name string `json:"name,omitempty"`
// Namespace is the namespace of the workflow run resource in the target cluster
// +optional
Namespace string `json:"namespace,omitempty"`
}
WorkflowRunReference contains a reference to the workflow run resource applied to the cluster. This allows tracking the actual workflow execution instance that was created in the target cluster.
func (*WorkflowRunReference) DeepCopy ¶ added in v0.4.0
func (in *WorkflowRunReference) DeepCopy() *WorkflowRunReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowRunReference.
func (*WorkflowRunReference) DeepCopyInto ¶ added in v0.4.0
func (in *WorkflowRunReference) DeepCopyInto(out *WorkflowRunReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowRunSpec ¶ added in v0.4.0
type WorkflowRunSpec struct {
// Owner identifies the Component that owns this WorkflowRun.
// This is optional for generic workflows not bound to components.
// +optional
Owner WorkflowOwner `json:"owner,omitempty"`
// Workflow configuration referencing the Workflow CR and providing schema values.
// +required
Workflow WorkflowConfig `json:"workflow"`
}
WorkflowRunSpec defines the desired state of WorkflowRun. WorkflowRun represents a runtime execution instance of a Workflow.
func (*WorkflowRunSpec) DeepCopy ¶ added in v0.4.0
func (in *WorkflowRunSpec) DeepCopy() *WorkflowRunSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowRunSpec.
func (*WorkflowRunSpec) DeepCopyInto ¶ added in v0.4.0
func (in *WorkflowRunSpec) DeepCopyInto(out *WorkflowRunSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowRunStatus ¶ added in v0.4.0
type WorkflowRunStatus struct {
// conditions represent the current state of the WorkflowRun resource.
// +listType=map
// +listMapKey=type
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
// ImageStatus contains information about the built image from the workflow
// +optional
ImageStatus WorkflowImage `json:"imageStatus,omitempty"`
// RunReference contains a reference to the workflow run resource that was applied to the cluster.
// This tracks the actual workflow execution instance in the target cluster.
// +optional
RunReference WorkflowRunReference `json:"runReference,omitempty"`
}
WorkflowRunStatus defines the observed state of WorkflowRun.
func (*WorkflowRunStatus) DeepCopy ¶ added in v0.4.0
func (in *WorkflowRunStatus) DeepCopy() *WorkflowRunStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowRunStatus.
func (*WorkflowRunStatus) DeepCopyInto ¶ added in v0.4.0
func (in *WorkflowRunStatus) DeepCopyInto(out *WorkflowRunStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowSpec ¶ added in v0.4.0
type WorkflowSpec struct {
// Schema defines the developer-facing parameters that can be configured
// when creating a WorkflowRun instance. Uses the same shorthand schema syntax
// as ComponentType.
//
// Schema format: nested maps where keys are field names and values are either
// nested maps or type definition strings.
// Type definition format: "type | default=value minimum=2 enum=[val1,val2]"
//
// Example:
// repository:
// url: "string"
// revision:
// branch: "string | default=main"
// commit: "string | default=HEAD"
// appPath: "string | default=."
// credentialsRef: "string | enum=checkout-repo-credentials-dev,payments-repo-credentials-dev"
// version: "integer | default=1"
// testMode: "string | enum=unit,integration,none default=unit"
//
// +optional
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:Type=object
Schema *runtime.RawExtension `json:"schema,omitempty"`
// Secrets lists the secret references that should be synchronized to the build plane.
// Can reference fields from the schema using CEL expressions like ${schema.repository.credentialsRef}.
//
// +optional
Secrets []string `json:"secrets,omitempty"`
// Resource contains the Kubernetes resource (typically an Argo Workflow)
// with CEL expressions enclosed in ${...} that will be evaluated at runtime.
//
// Available CEL variables:
// - ${ctx.workflowRunName} - WorkflowRun name (the execution instance)
// - ${ctx.componentName} - Component name (if workflow is component-bound)
// - ${ctx.projectName} - Project name (if workflow is component-bound)
// - ${ctx.orgName} - Organization name
// - ${ctx.timestamp} - Unix timestamp
// - ${ctx.uuid} - Short UUID (8 chars)
// - ${schema.*} - Developer-provided values from schema
//
// Note: PE-controlled parameters should be hardcoded directly in the resource.
//
// +required
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:Type=object
Resource *runtime.RawExtension `json:"resource"`
}
WorkflowSpec defines the desired state of Workflow. Workflow provides a schema-driven template for workflow execution with developer-facing schemas and CEL-based resource rendering. PE-controlled parameters should be hardcoded directly in the template.
func (*WorkflowSpec) DeepCopy ¶ added in v0.4.0
func (in *WorkflowSpec) DeepCopy() *WorkflowSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowSpec.
func (*WorkflowSpec) DeepCopyInto ¶ added in v0.4.0
func (in *WorkflowSpec) DeepCopyInto(out *WorkflowSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowStatus ¶ added in v0.4.0
type WorkflowStatus struct {
// conditions represent the current state of the Workflow resource.
// Each condition has a unique type and reflects the status of a specific aspect of the resource.
//
// Standard condition types include:
// - "Available": the resource is fully functional
// - "Progressing": the resource is being created or updated
// - "Degraded": the resource failed to reach or maintain its desired state
//
// The status of each condition is one of True, False, or Unknown.
// +listType=map
// +listMapKey=type
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
WorkflowStatus defines the observed state of Workflow.
func (*WorkflowStatus) DeepCopy ¶ added in v0.4.0
func (in *WorkflowStatus) DeepCopy() *WorkflowStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStatus.
func (*WorkflowStatus) DeepCopyInto ¶ added in v0.4.0
func (in *WorkflowStatus) DeepCopyInto(out *WorkflowStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Workload ¶
type Workload struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WorkloadSpec `json:"spec,omitempty"`
Status WorkloadStatus `json:"status,omitempty"`
}
Workload is the Schema for the workloads API.
func (*Workload) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workload.
func (*Workload) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Workload) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadConnection ¶
type WorkloadConnection struct {
// Type of connection - only "api" for now
// +kubebuilder:validation:Required
// +kubebuilder:validation:Enum=api
Type string `json:"type"`
// Parameters for connection configuration (dynamic key-value pairs)
// +optional
Params map[string]string `json:"params,omitempty"`
// Inject defines how connection details are injected into the workload
// +kubebuilder:validation:Required
Inject WorkloadConnectionInject `json:"inject"`
}
WorkloadConnection represents an internal API connection
func (*WorkloadConnection) DeepCopy ¶
func (in *WorkloadConnection) DeepCopy() *WorkloadConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConnection.
func (*WorkloadConnection) DeepCopyInto ¶
func (in *WorkloadConnection) DeepCopyInto(out *WorkloadConnection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadConnectionEnvVar ¶
type WorkloadConnectionEnvVar struct {
// Environment variable name
// +kubebuilder:validation:Required
Name string `json:"name"`
// Template value using connection properties (e.g., "{{ .url }}")
// +kubebuilder:validation:Required
Value string `json:"value"`
}
WorkloadConnectionEnvVar defines an environment variable injection
func (*WorkloadConnectionEnvVar) DeepCopy ¶
func (in *WorkloadConnectionEnvVar) DeepCopy() *WorkloadConnectionEnvVar
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConnectionEnvVar.
func (*WorkloadConnectionEnvVar) DeepCopyInto ¶
func (in *WorkloadConnectionEnvVar) DeepCopyInto(out *WorkloadConnectionEnvVar)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadConnectionInject ¶
type WorkloadConnectionInject struct {
// Environment variables to inject
// +kubebuilder:validation:Required
Env []WorkloadConnectionEnvVar `json:"env"`
}
WorkloadConnectionInject defines how connection details are injected
func (*WorkloadConnectionInject) DeepCopy ¶
func (in *WorkloadConnectionInject) DeepCopy() *WorkloadConnectionInject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConnectionInject.
func (*WorkloadConnectionInject) DeepCopyInto ¶
func (in *WorkloadConnectionInject) DeepCopyInto(out *WorkloadConnectionInject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadEndpoint ¶
type WorkloadEndpoint struct {
// Type indicates the protocol/technology of the endpoint (HTTP, REST, gRPC, GraphQL, Websocket, TCP, UDP).
// +kubebuilder:validation:Required
// +kubebuilder:validation:Enum=HTTP;REST;gRPC;GraphQL;Websocket;TCP;UDP
Type EndpointType `json:"type"`
// Port number for the endpoint.
// +kubebuilder:validation:Required
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=65535
Port int32 `json:"port"`
// Optional schema for the endpoint.
// This can be used to define the actual API definition of the endpoint that is exposed by the workload.
// +optional
Schema *Schema `json:"schema,omitempty"`
}
WorkloadEndpoint represents a simple network endpoint for basic exposure.
func (*WorkloadEndpoint) DeepCopy ¶
func (in *WorkloadEndpoint) DeepCopy() *WorkloadEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadEndpoint.
func (*WorkloadEndpoint) DeepCopyInto ¶
func (in *WorkloadEndpoint) DeepCopyInto(out *WorkloadEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadList ¶
type WorkloadList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Workload `json:"items"`
}
WorkloadList contains a list of Workload.
func (*WorkloadList) DeepCopy ¶
func (in *WorkloadList) DeepCopy() *WorkloadList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadList.
func (*WorkloadList) DeepCopyInto ¶
func (in *WorkloadList) DeepCopyInto(out *WorkloadList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadList) DeepCopyObject ¶
func (in *WorkloadList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadOwner ¶
type WorkloadOwner struct {
// +kubebuilder:validation:MinLength=1
ProjectName string `json:"projectName"`
// +kubebuilder:validation:MinLength=1
ComponentName string `json:"componentName"`
}
func (*WorkloadOwner) DeepCopy ¶
func (in *WorkloadOwner) DeepCopy() *WorkloadOwner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadOwner.
func (*WorkloadOwner) DeepCopyInto ¶
func (in *WorkloadOwner) DeepCopyInto(out *WorkloadOwner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadSpec ¶
type WorkloadSpec struct {
Owner WorkloadOwner `json:"owner"`
// Inline *all* the template fields so they appear at top level.
WorkloadTemplateSpec `json:",inline"`
}
func (*WorkloadSpec) DeepCopy ¶
func (in *WorkloadSpec) DeepCopy() *WorkloadSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSpec.
func (*WorkloadSpec) DeepCopyInto ¶
func (in *WorkloadSpec) DeepCopyInto(out *WorkloadSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadStatus ¶
type WorkloadStatus struct {
}
WorkloadStatus defines the observed state of Workload.
func (*WorkloadStatus) DeepCopy ¶
func (in *WorkloadStatus) DeepCopy() *WorkloadStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadStatus.
func (*WorkloadStatus) DeepCopyInto ¶
func (in *WorkloadStatus) DeepCopyInto(out *WorkloadStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadTemplateSpec ¶
type WorkloadTemplateSpec struct {
// Containers define the container specifications for this workload.
// The key is the container name, and the value is the container specification.
// +optional
Containers map[string]Container `json:"containers,omitempty"`
// Endpoints define simple network endpoints for basic port exposure.
// The key is the endpoint name, and the value is the endpoint specification.
// +optional
Endpoints map[string]WorkloadEndpoint `json:"endpoints,omitempty"`
// Connections define how this workload consumes internal and external resources.
// The key is the connection name, and the value is the connection specification.
// +optional
Connections map[string]WorkloadConnection `json:"connections,omitempty"`
}
WorkloadTemplateSpec defines the desired state of Workload.
func (*WorkloadTemplateSpec) DeepCopy ¶
func (in *WorkloadTemplateSpec) DeepCopy() *WorkloadTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadTemplateSpec.
func (*WorkloadTemplateSpec) DeepCopyInto ¶
func (in *WorkloadTemplateSpec) DeepCopyInto(out *WorkloadTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadType ¶
type WorkloadType string
WorkloadType defines how the workload is deployed.
const ( WorkloadTypeService WorkloadType = "Service" WorkloadTypeManualTask WorkloadType = "ManualTask" WorkloadTypeScheduledTask WorkloadType = "ScheduledTask" WorkloadTypeWebApplication WorkloadType = "WebApplication" )
Source Files
¶
- api_types.go
- apibinding_types.go
- apiclass_types.go
- build_types.go
- buildplane_types.go
- component_types.go
- componentdeployment_types.go
- componentenvsnapshot_types.go
- componenttype_types.go
- configurationgroup_types.go
- dataplane_types.go
- deployableartifact_types.go
- deployment_types.go
- deploymentpipeline_types.go
- deploymenttrack_types.go
- endpoint_types.go
- environment_types.go
- gitcommitrequest_types.go
- groupversion_info.go
- organization_types.go
- project_types.go
- release_types.go
- scheduledtask_types.go
- scheduledtaskbinding_types.go
- scheduledtaskclass_types.go
- secretreference_types.go
- service_types.go
- servicebinding_types.go
- serviceclass_types.go
- trait_types.go
- types.go
- webapplication_types.go
- webapplicationbinding_types.go
- webapplicationclass_types.go
- workflow_types.go
- workflowrun_types.go
- workload_types.go
- zz_generated.deepcopy.go