Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the deployments v1alpha1 API group +kubebuilder:object:generate=true +groupName=deployments.plural.sh
Index ¶
- Constants
- Variables
- type Binding
- type Bindings
- type CloudProvider
- type CloudProviderSettings
- type CloudSettingsGetter
- type Cluster
- func (c *Cluster) Attributes(providerId *string) console.ClusterAttributes
- func (c *Cluster) ConsoleID() *string
- func (c *Cluster) ConsoleName() string
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (in *Cluster) DeepCopyObject() runtime.Object
- func (c *Cluster) SetCondition(condition metav1.Condition)
- func (c *Cluster) TagUpdateAttributes() console.ClusterUpdateAttributes
- func (c *Cluster) UpdateAttributes() console.ClusterUpdateAttributes
- type ClusterAWSCloudSettings
- type ClusterAzureCloudSettings
- type ClusterCloudSettings
- type ClusterGCPCloudSettings
- type ClusterList
- type ClusterNodePool
- type ClusterNodePoolAWSCloudSettings
- type ClusterNodePoolCloudSettings
- type ClusterRestore
- type ClusterRestoreList
- type ClusterRestoreSpec
- type ClusterRestoreStatus
- type ClusterRestoreTrigger
- type ClusterRestoreTriggerList
- type ClusterRestoreTriggerSpec
- type ClusterRestoreTriggerStatus
- type ClusterSpec
- type ClusterStatus
- type ClusterTarget
- type ComponentState
- type Condition
- type ConditionMessage
- type ConditionReason
- type ConditionType
- type Container
- type Env
- type EnvFrom
- type GateJob
- type GateSpec
- type GitHealth
- type GitRef
- type GitRepository
- func (in *GitRepository) ConsoleID() *string
- func (in *GitRepository) ConsoleName() string
- func (in *GitRepository) DeepCopy() *GitRepository
- func (in *GitRepository) DeepCopyInto(out *GitRepository)
- func (in *GitRepository) DeepCopyObject() runtime.Object
- func (in *GitRepository) SetCondition(condition metav1.Condition)
- type GitRepositoryList
- type GitRepositorySpec
- type GitRepositoryStatus
- type GlobalService
- type GlobalServiceList
- type GlobalServiceSpec
- type Hasher
- type InfrastructureStack
- func (in *InfrastructureStack) DeepCopy() *InfrastructureStack
- func (in *InfrastructureStack) DeepCopyInto(out *InfrastructureStack)
- func (in *InfrastructureStack) DeepCopyObject() runtime.Object
- func (p *InfrastructureStack) SetCondition(condition metav1.Condition)
- func (p *InfrastructureStack) StackName() string
- type InfrastructureStackList
- type InfrastructureStackSpec
- type ManagedNamespace
- type ManagedNamespaceList
- type ManagedNamespaceSpec
- type NamespacedName
- type NamespacedPluralResource
- type NotificationRouter
- func (in *NotificationRouter) DeepCopy() *NotificationRouter
- func (in *NotificationRouter) DeepCopyInto(out *NotificationRouter)
- func (in *NotificationRouter) DeepCopyObject() runtime.Object
- func (p *NotificationRouter) NotificationName() string
- func (p *NotificationRouter) SetCondition(condition metav1.Condition)
- type NotificationRouterList
- type NotificationRouterSpec
- type NotificationSink
- func (in *NotificationSink) DeepCopy() *NotificationSink
- func (in *NotificationSink) DeepCopyInto(out *NotificationSink)
- func (in *NotificationSink) DeepCopyObject() runtime.Object
- func (p *NotificationSink) NotificationName() string
- func (p *NotificationSink) SetCondition(condition metav1.Condition)
- type NotificationSinkList
- type NotificationSinkSpec
- type Pipeline
- type PipelineContext
- type PipelineContextList
- type PipelineContextSpec
- type PipelineEdge
- type PipelineGate
- type PipelineList
- type PipelineSpec
- type PipelineStage
- type PipelineStageService
- type PipelineStageServicePromotionCriteria
- type PluralResource
- type PrAutomation
- func (in *PrAutomation) Attributes(clusterID *string, serviceID *string, connectionID *string, ...) *console.PrAutomationAttributes
- func (in *PrAutomation) ConsoleID() *string
- func (in *PrAutomation) ConsoleName() string
- func (in *PrAutomation) DeepCopy() *PrAutomation
- func (in *PrAutomation) DeepCopyInto(out *PrAutomation)
- func (in *PrAutomation) DeepCopyObject() runtime.Object
- func (in *PrAutomation) Diff(hasher Hasher) (changed bool, sha string, err error)
- func (in *PrAutomation) SetCondition(condition metav1.Condition)
- type PrAutomationBindings
- type PrAutomationConfiguration
- type PrAutomationCreateConfiguration
- type PrAutomationList
- type PrAutomationSpec
- type PrAutomationTemplate
- type PrAutomationTrigger
- type PrAutomationTriggerList
- type PrAutomationTriggerSpec
- type PrAutomationUpdateConfiguration
- type Provider
- func (p *Provider) Attributes(ctx context.Context, cloudSettingsGetter CloudSettingsGetter) (console.ClusterProviderAttributes, error)
- func (in *Provider) DeepCopy() *Provider
- func (in *Provider) DeepCopyInto(out *Provider)
- func (in *Provider) DeepCopyObject() runtime.Object
- func (p *Provider) Diff(ctx context.Context, getter CloudSettingsGetter, hasher Hasher) (changed bool, sha string, err error)
- func (p *Provider) SetCondition(condition metav1.Condition)
- func (p *Provider) UpdateAttributes(ctx context.Context, cloudSettingsGetter CloudSettingsGetter) (console.ClusterProviderUpdateAttributes, error)
- type ProviderList
- type ProviderSpec
- type RegexReplacement
- type RouterFilters
- type ScmConnection
- func (s *ScmConnection) Attributes(token *string) console.ScmConnectionAttributes
- func (s *ScmConnection) ConsoleID() *string
- func (s *ScmConnection) ConsoleName() string
- func (in *ScmConnection) DeepCopy() *ScmConnection
- func (in *ScmConnection) DeepCopyInto(out *ScmConnection)
- func (in *ScmConnection) DeepCopyObject() runtime.Object
- func (s *ScmConnection) Diff(hasher Hasher) (changed bool, sha string, err error)
- func (s *ScmConnection) SetCondition(condition metav1.Condition)
- type ScmConnectionList
- type ScmConnectionSpec
- type ServiceComponent
- type ServiceDeployment
- func (s *ServiceDeployment) ConsoleID() *string
- func (s *ServiceDeployment) ConsoleName() string
- func (s *ServiceDeployment) ConsoleNamespace() string
- func (in *ServiceDeployment) DeepCopy() *ServiceDeployment
- func (in *ServiceDeployment) DeepCopyInto(out *ServiceDeployment)
- func (in *ServiceDeployment) DeepCopyObject() runtime.Object
- func (s *ServiceDeployment) SetCondition(condition metav1.Condition)
- type ServiceDeploymentList
- type ServiceError
- type ServiceHelm
- type ServiceKustomize
- type ServiceSpec
- type ServiceStatus
- type ServiceTemplate
- type SinkConfiguration
- type SinkURL
- type StackConfiguration
- type StackEnvironment
- type StackFile
- type Status
- func (in *Status) DeepCopy() *Status
- func (in *Status) DeepCopyInto(out *Status)
- func (p *Status) GetID() string
- func (p *Status) GetSHA() string
- func (p *Status) HasID() bool
- func (p *Status) HasReadonlyCondition() bool
- func (p *Status) HasSHA() bool
- func (p *Status) IsReadonly() bool
- func (p *Status) IsSHAEqual(sha string) bool
- func (p *Status) IsStatusConditionTrue(condition ConditionType) bool
- type SyncConfigAttributes
- type Taint
- type TaintEffect
Constants ¶
const (
// GroupName uniquely identifies this API group
GroupName = "deployments.plural.sh"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: GroupName, 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 )
Functions ¶
This section is empty.
Types ¶
type Binding ¶
type Binding struct { // +kubebuilder:validation:Optional ID *string `json:"id,omitempty"` // +kubebuilder:validation:Optional UserID *string `json:"UserID,omitempty"` // +kubebuilder:validation:Optional UserEmail *string `json:"userEmail,omitempty"` // +kubebuilder:validation:Optional GroupID *string `json:"groupID,omitempty"` // +kubebuilder:validation:Optional GroupName *string `json:"groupName,omitempty"` }
Binding ...
func (*Binding) Attributes ¶
func (b *Binding) Attributes() *console.PolicyBindingAttributes
func (*Binding) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding.
func (*Binding) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Bindings ¶
type Bindings struct { // Read bindings. // +kubebuilder:validation:Optional Read []Binding `json:"read,omitempty"` // Write bindings. // +kubebuilder:validation:Optional Write []Binding `json:"write,omitempty"` }
Bindings ...
func (*Bindings) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bindings.
func (*Bindings) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudProvider ¶
type CloudProvider string
const ( AWS CloudProvider = "aws" Azure CloudProvider = "azure" GCP CloudProvider = "gcp" )
func (CloudProvider) Attribute ¶
func (c CloudProvider) Attribute() *string
type CloudProviderSettings ¶
type CloudProviderSettings struct { // +kubebuilder:validation:Optional AWS *v1.SecretReference `json:"aws,omitempty"` // +kubebuilder:validation:Optional Azure *v1.SecretReference `json:"azure,omitempty"` // +kubebuilder:validation:Optional GCP *v1.SecretReference `json:"gcp,omitempty"` }
CloudProviderSettings ...
func (*CloudProviderSettings) DeepCopy ¶
func (in *CloudProviderSettings) DeepCopy() *CloudProviderSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudProviderSettings.
func (*CloudProviderSettings) DeepCopyInto ¶
func (in *CloudProviderSettings) DeepCopyInto(out *CloudProviderSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudSettingsGetter ¶
type CloudSettingsGetter func(context.Context, Provider) (*console.CloudProviderSettingsAttributes, error)
CloudSettingsGetter is just a helper function that can be implemented to properly build Console API attributes +kubebuilder:object:generate:=false
type Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec,omitempty"` Status ClusterStatus `json:"status,omitempty"` }
Cluster ... +kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="CurrentVersion",type="string",JSONPath=".status.currentVersion",description="Current Kubernetes version" +kubebuilder:printcolumn:name="Id",type="string",JSONPath=".status.id",description="Console ID"
func (*Cluster) Attributes ¶
func (c *Cluster) Attributes(providerId *string) console.ClusterAttributes
func (*Cluster) ConsoleName ¶
ConsoleName implements PluralResource interface
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cluster) SetCondition ¶
func (*Cluster) TagUpdateAttributes ¶
func (c *Cluster) TagUpdateAttributes() console.ClusterUpdateAttributes
func (*Cluster) UpdateAttributes ¶
func (c *Cluster) UpdateAttributes() console.ClusterUpdateAttributes
type ClusterAWSCloudSettings ¶
type ClusterAWSCloudSettings struct { // Region in AWS to deploy this cluster to. // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string Region string `json:"region"` }
func (*ClusterAWSCloudSettings) Attributes ¶
func (cs *ClusterAWSCloudSettings) Attributes() *console.AwsCloudAttributes
func (*ClusterAWSCloudSettings) DeepCopy ¶
func (in *ClusterAWSCloudSettings) DeepCopy() *ClusterAWSCloudSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAWSCloudSettings.
func (*ClusterAWSCloudSettings) DeepCopyInto ¶
func (in *ClusterAWSCloudSettings) DeepCopyInto(out *ClusterAWSCloudSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterAzureCloudSettings ¶
type ClusterAzureCloudSettings struct { // ResourceGroup is a name for the Azure resource group for this cluster. // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string // +kubebuilder:example:=myresourcegroup ResourceGroup string `json:"resourceGroup"` // Network is a name for the Azure virtual network for this cluster. // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string // +kubebuilder:example:=mynetwork Network string `json:"network"` // SubscriptionId is GUID of the Azure subscription to hold this cluster. // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string SubscriptionId string `json:"subscriptionId"` // Location in Azure to deploy this cluster to. // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string // +kubebuilder:example:=eastus Location string `json:"location"` }
func (*ClusterAzureCloudSettings) Attributes ¶
func (cs *ClusterAzureCloudSettings) Attributes() *console.AzureCloudAttributes
func (*ClusterAzureCloudSettings) DeepCopy ¶
func (in *ClusterAzureCloudSettings) DeepCopy() *ClusterAzureCloudSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAzureCloudSettings.
func (*ClusterAzureCloudSettings) DeepCopyInto ¶
func (in *ClusterAzureCloudSettings) DeepCopyInto(out *ClusterAzureCloudSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterCloudSettings ¶
type ClusterCloudSettings struct { // AWS cluster customizations. // +kubebuilder:validation:Optional AWS *ClusterAWSCloudSettings `json:"aws,omitempty"` // Azure cluster customizations. // +kubebuilder:validation:Optional Azure *ClusterAzureCloudSettings `json:"azure,omitempty"` // GCP cluster customizations. // +kubebuilder:validation:Optional GCP *ClusterGCPCloudSettings `json:"gcp,omitempty"` }
func (*ClusterCloudSettings) Attributes ¶
func (cs *ClusterCloudSettings) Attributes() *console.CloudSettingsAttributes
func (*ClusterCloudSettings) DeepCopy ¶
func (in *ClusterCloudSettings) DeepCopy() *ClusterCloudSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCloudSettings.
func (*ClusterCloudSettings) DeepCopyInto ¶
func (in *ClusterCloudSettings) DeepCopyInto(out *ClusterCloudSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterGCPCloudSettings ¶
type ClusterGCPCloudSettings struct { // Project in GCP to deploy cluster to. // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string Project string `json:"project"` // Network in GCP to use when creating the cluster. // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string Network string `json:"network"` // Region in GCP to deploy cluster to. // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string Region string `json:"region"` }
func (*ClusterGCPCloudSettings) Attributes ¶
func (cs *ClusterGCPCloudSettings) Attributes() *console.GcpCloudAttributes
func (*ClusterGCPCloudSettings) DeepCopy ¶
func (in *ClusterGCPCloudSettings) DeepCopy() *ClusterGCPCloudSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGCPCloudSettings.
func (*ClusterGCPCloudSettings) DeepCopyInto ¶
func (in *ClusterGCPCloudSettings) DeepCopyInto(out *ClusterGCPCloudSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Cluster `json:"items"` }
ClusterList ... +kubebuilder:object:root=true
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterNodePool ¶
type ClusterNodePool struct { // Name of the node pool. Must be unique. // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string Name string `json:"name"` // InstanceType contains the type of node to use. Usually cloud-specific. // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string InstanceType string `json:"instanceType"` // MinSize is minimum number of instances in this node pool. // +kubebuilder:validation:Required // +kubebuilder:validation:Minimum=1 MinSize int64 `json:"minSize"` // MaxSize is maximum number of instances in this node pool. // +kubebuilder:validation:Required // +kubebuilder:validation:Minimum=1 MaxSize int64 `json:"maxSize"` // Labels to apply to the nodes in this pool. Useful for node selectors. // +kubebuilder:validation:Optional Labels map[string]string `json:"labels,omitempty"` // Taints you'd want to apply to a node, i.e. for preventing scheduling on spot instances. // +kubebuilder:validation:Optional Taints []Taint `json:"taints,omitempty"` // CloudSettings contains cloud-specific settings for this node pool. // +kubebuilder:validation:Optional // +structType=atomic CloudSettings *ClusterNodePoolCloudSettings `json:"cloudSettings,omitempty"` }
func (*ClusterNodePool) Attributes ¶
func (np *ClusterNodePool) Attributes() *console.NodePoolAttributes
func (*ClusterNodePool) DeepCopy ¶
func (in *ClusterNodePool) DeepCopy() *ClusterNodePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePool.
func (*ClusterNodePool) DeepCopyInto ¶
func (in *ClusterNodePool) DeepCopyInto(out *ClusterNodePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterNodePoolAWSCloudSettings ¶
type ClusterNodePoolAWSCloudSettings struct { // LaunchTemplateId is an ID of custom launch template for your nodes. Useful for Golden AMI setups. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string LaunchTemplateId *string `json:"launchTemplateId,omitempty"` }
func (*ClusterNodePoolAWSCloudSettings) Attributes ¶
func (cs *ClusterNodePoolAWSCloudSettings) Attributes() *console.AwsNodeCloudAttributes
func (*ClusterNodePoolAWSCloudSettings) DeepCopy ¶
func (in *ClusterNodePoolAWSCloudSettings) DeepCopy() *ClusterNodePoolAWSCloudSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolAWSCloudSettings.
func (*ClusterNodePoolAWSCloudSettings) DeepCopyInto ¶
func (in *ClusterNodePoolAWSCloudSettings) DeepCopyInto(out *ClusterNodePoolAWSCloudSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterNodePoolCloudSettings ¶
type ClusterNodePoolCloudSettings struct { // AWS node pool customizations. // +kubebuilder:validation:Optional AWS *ClusterNodePoolAWSCloudSettings `json:"aws,omitempty"` }
func (*ClusterNodePoolCloudSettings) Attributes ¶
func (cs *ClusterNodePoolCloudSettings) Attributes() *console.NodePoolCloudAttributes
func (*ClusterNodePoolCloudSettings) DeepCopy ¶
func (in *ClusterNodePoolCloudSettings) DeepCopy() *ClusterNodePoolCloudSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolCloudSettings.
func (*ClusterNodePoolCloudSettings) DeepCopyInto ¶
func (in *ClusterNodePoolCloudSettings) DeepCopyInto(out *ClusterNodePoolCloudSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterRestore ¶
type ClusterRestore struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterRestoreSpec `json:"spec,omitempty"` Status ClusterRestoreStatus `json:"status,omitempty"` }
ClusterRestore is the Schema for the clusterrestores API
func (*ClusterRestore) DeepCopy ¶
func (in *ClusterRestore) DeepCopy() *ClusterRestore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRestore.
func (*ClusterRestore) DeepCopyInto ¶
func (in *ClusterRestore) DeepCopyInto(out *ClusterRestore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRestore) DeepCopyObject ¶
func (in *ClusterRestore) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterRestore) SetCondition ¶
func (s *ClusterRestore) SetCondition(condition metav1.Condition)
type ClusterRestoreList ¶
type ClusterRestoreList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterRestore `json:"items"` }
ClusterRestoreList contains a list of ClusterRestore
func (*ClusterRestoreList) DeepCopy ¶
func (in *ClusterRestoreList) DeepCopy() *ClusterRestoreList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRestoreList.
func (*ClusterRestoreList) DeepCopyInto ¶
func (in *ClusterRestoreList) DeepCopyInto(out *ClusterRestoreList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRestoreList) DeepCopyObject ¶
func (in *ClusterRestoreList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterRestoreSpec ¶
type ClusterRestoreSpec struct { // BackupID is an ID of the backup to restore. // If BackupID is specified, then BackupName, BackupNamespace and BackupClusterRef are not needed. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="BackupID is immutable" BackupID *string `json:"backupID"` // BackupName is a name of the backup to restore. // BackupNamespace and BackupClusterRef have to be specified as well with it. // If BackupName, BackupNamespace and BackupCluster are specified, then BackupID is not needed. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="BackupName is immutable" BackupName *string `json:"backupName"` // BackupNamespace is a namespace of the backup to restore. // BackupName and BackupClusterRef have to be specified as well with it. // If BackupName, BackupNamespace and BackupCluster are specified, then BackupID is not needed. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="BackupNamespace is immutable" BackupNamespace *string `json:"backupNamespace"` // BackupClusterID is an ID of a cluster where the backup to restore is located. // BackupName and BackupNamespace have to be specified as well with it. // If BackupName, BackupNamespace and BackupClusterRef are specified, then BackupID is not needed. // +kubebuilder:validation:Optional // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="BackupClusterRef is immutable" BackupClusterRef *corev1.ObjectReference `json:"backupClusterRef"` }
ClusterRestoreSpec defines the desired state of ClusterRestore
func (*ClusterRestoreSpec) DeepCopy ¶
func (in *ClusterRestoreSpec) DeepCopy() *ClusterRestoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRestoreSpec.
func (*ClusterRestoreSpec) DeepCopyInto ¶
func (in *ClusterRestoreSpec) DeepCopyInto(out *ClusterRestoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRestoreSpec) GetBackupID ¶
func (p *ClusterRestoreSpec) GetBackupID() string
func (*ClusterRestoreSpec) HasBackupID ¶
func (p *ClusterRestoreSpec) HasBackupID() bool
type ClusterRestoreStatus ¶
type ClusterRestoreStatus struct { // ID of the cluster restore in the Console API. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string ID *string `json:"id,omitempty"` // +kubebuilder:validation:Enum=CREATED;PENDING;SUCCESSFUL;FAILED Status console.RestoreStatus `json:"status,omitempty"` // Represents the observations of ClusterRestore current state. // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` }
ClusterRestoreStatus defines the observed state of ClusterRestore
func (*ClusterRestoreStatus) DeepCopy ¶
func (in *ClusterRestoreStatus) DeepCopy() *ClusterRestoreStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRestoreStatus.
func (*ClusterRestoreStatus) DeepCopyInto ¶
func (in *ClusterRestoreStatus) DeepCopyInto(out *ClusterRestoreStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRestoreStatus) GetID ¶
func (p *ClusterRestoreStatus) GetID() string
func (*ClusterRestoreStatus) HasID ¶
func (p *ClusterRestoreStatus) HasID() bool
type ClusterRestoreTrigger ¶
type ClusterRestoreTrigger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterRestoreTriggerSpec `json:"spec,omitempty"` Status Status `json:"status,omitempty"` }
ClusterRestoreTrigger is the Schema for the clusterrestoretriggers API
func (*ClusterRestoreTrigger) DeepCopy ¶
func (in *ClusterRestoreTrigger) DeepCopy() *ClusterRestoreTrigger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRestoreTrigger.
func (*ClusterRestoreTrigger) DeepCopyInto ¶
func (in *ClusterRestoreTrigger) DeepCopyInto(out *ClusterRestoreTrigger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRestoreTrigger) DeepCopyObject ¶
func (in *ClusterRestoreTrigger) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterRestoreTrigger) SetCondition ¶
func (p *ClusterRestoreTrigger) SetCondition(condition metav1.Condition)
type ClusterRestoreTriggerList ¶
type ClusterRestoreTriggerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterRestoreTrigger `json:"items"` }
ClusterRestoreTriggerList contains a list of ClusterRestoreTrigger
func (*ClusterRestoreTriggerList) DeepCopy ¶
func (in *ClusterRestoreTriggerList) DeepCopy() *ClusterRestoreTriggerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRestoreTriggerList.
func (*ClusterRestoreTriggerList) DeepCopyInto ¶
func (in *ClusterRestoreTriggerList) DeepCopyInto(out *ClusterRestoreTriggerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRestoreTriggerList) DeepCopyObject ¶
func (in *ClusterRestoreTriggerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterRestoreTriggerSpec ¶
type ClusterRestoreTriggerSpec struct { // ClusterRestoreRef pointing to source ClusterRestore. // +kubebuilder:validation:Optional ClusterRestoreRef *corev1.ObjectReference `json:"clusterRestoreRef,omitempty"` }
ClusterRestoreTriggerSpec defines the desired state of ClusterRestoreTrigger
func (*ClusterRestoreTriggerSpec) DeepCopy ¶
func (in *ClusterRestoreTriggerSpec) DeepCopy() *ClusterRestoreTriggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRestoreTriggerSpec.
func (*ClusterRestoreTriggerSpec) DeepCopyInto ¶
func (in *ClusterRestoreTriggerSpec) DeepCopyInto(out *ClusterRestoreTriggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterRestoreTriggerStatus ¶
type ClusterRestoreTriggerStatus struct { }
ClusterRestoreTriggerStatus defines the observed state of ClusterRestoreTrigger
func (*ClusterRestoreTriggerStatus) DeepCopy ¶
func (in *ClusterRestoreTriggerStatus) DeepCopy() *ClusterRestoreTriggerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRestoreTriggerStatus.
func (*ClusterRestoreTriggerStatus) DeepCopyInto ¶
func (in *ClusterRestoreTriggerStatus) DeepCopyInto(out *ClusterRestoreTriggerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpec ¶
type ClusterSpec struct { // Handle is a short, unique human-readable name used to identify this cluster. // Does not necessarily map to the cloud resource name. // This has to be specified in order to adopt existing cluster. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string // +kubebuilder:example:=myclusterhandle Handle *string `json:"handle,omitempty"` // Version of Kubernetes to use for this cluster. Can be skipped only for BYOK. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string // +kubebuilder:example:="1.25.11" Version *string `json:"version,omitempty"` // ProviderRef references provider to use for this cluster. Can be skipped only for BYOK. // +kubebuilder:validation:Optional ProviderRef *corev1.ObjectReference `json:"providerRef,omitempty"` // Cloud provider to use for this cluster. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string // +kubebuilder:validation:Enum=aws;azure;gcp;byok // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Cloud is immutable" // +kubebuilder:example:=azure Cloud string `json:"cloud"` // Protect cluster from being deleted. // +kubebuilder:validation:Optional // +kubebuilder:example:=false Protect *bool `json:"protect,omitempty"` // Tags used to filter clusters. // +kubebuilder:validation:Optional Tags map[string]string `json:"tags,omitempty"` // Metadata for the cluster // +kubebuilder:validation:Optional Metadata *runtime.RawExtension `json:"metadata,omitempty"` // Bindings contain read and write policies of this cluster // +kubebuilder:validation:Optional Bindings *Bindings `json:"bindings,omitempty"` // CloudSettings contains cloud-specific settings for this cluster. // +kubebuilder:validation:Optional // +structType=atomic CloudSettings *ClusterCloudSettings `json:"cloudSettings,omitempty"` // NodePools contains specs of node pools managed by this cluster. // +kubebuilder:validation:Optional NodePools []ClusterNodePool `json:"nodePools"` }
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterSpec) HasHandle ¶
func (cs *ClusterSpec) HasHandle() bool
func (*ClusterSpec) HasProviderRef ¶
func (cs *ClusterSpec) HasProviderRef() bool
func (*ClusterSpec) IsProviderRefRequired ¶
func (cs *ClusterSpec) IsProviderRefRequired() bool
type ClusterStatus ¶
type ClusterStatus struct { Status `json:",inline"` // CurrentVersion contains current Kubernetes version this cluster is using. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string CurrentVersion *string `json:"currentVersion,omitempty"` // KasURL contains KAS URL. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string KasURL *string `json:"kasURL,omitempty"` // PingedAt contains timestamp of last successful cluster ping. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string PingedAt *string `json:"pingedAt,omitempty"` }
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterTarget ¶
type ClusterTarget struct { // Tags the cluster tags to target // +kubebuilder:validation:Optional Tags map[string]string `json:"tags,omitempty"` // Distro kubernetes distribution to target // +kubebuilder:validation:Optional Distro *console.ClusterDistro `json:"distro,omitempty"` ClusterRefs []corev1.ObjectReference `json:"clusterRefs"` }
A spec for targeting clusters
func (*ClusterTarget) DeepCopy ¶
func (in *ClusterTarget) DeepCopy() *ClusterTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTarget.
func (*ClusterTarget) DeepCopyInto ¶
func (in *ClusterTarget) DeepCopyInto(out *ClusterTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentState ¶
type ComponentState string
const ( ComponentStateRunning ComponentState = "RUNNING" ComponentStatePending ComponentState = "PENDING" ComponentStateFailed ComponentState = "FAILED" )
type Condition ¶
type Condition struct { // +kubebuilder:validation:Required Field string `json:"field"` // +kubebuilder:validation:Required console.Operation `json:"operation"` // +kubebuilder:validation:Optional Value *string `json:"value,omitempty"` }
Condition ...
func (*Condition) Attributes ¶
func (in *Condition) Attributes() *console.ConditionAttributes
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionMessage ¶
type ConditionMessage string
const (
ReadonlyTrueConditionMessage ConditionMessage = "Running in read-only mode"
)
func (ConditionMessage) String ¶
func (c ConditionMessage) String() string
type ConditionReason ¶
type ConditionReason string
const ( ReadonlyConditionReason ConditionReason = "Readonly" ReadyConditionReason ConditionReason = "Ready" ReadyConditionReasonDeleting ConditionReason = "Deleting" SynchronizedConditionReason ConditionReason = "Synchronized" SynchronizedConditionReasonError ConditionReason = "Error" SynchronizedConditionReasonNotFound ConditionReason = "NotFound" SynchronizedConditionReasonDeleting ConditionReason = "Deleting" )
func (ConditionReason) String ¶
func (c ConditionReason) String() string
type ConditionType ¶
type ConditionType string
const ( ReadonlyConditionType ConditionType = "Readonly" ReadyConditionType ConditionType = "Ready" SynchronizedConditionType ConditionType = "Synchronized" )
func (ConditionType) String ¶
func (c ConditionType) String() string
type Container ¶
type Container struct { // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string Image string `json:"image"` // +kubebuilder:validation:Optional Args []*string `json:"args,omitempty"` // +kubebuilder:validation:Optional Env []*Env `json:"env,omitempty"` // +kubebuilder:validation:Optional EnvFrom []*EnvFrom `json:"envFrom,omitempty"` }
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 Env ¶
type Env struct { // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string Name string `json:"name"` // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string Value string `json:"value"` }
func (*Env) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Env.
func (*Env) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvFrom ¶
type EnvFrom struct { // +kubebuilder:validation:Type:=string Secret string `json:"secret"` // +kubebuilder:validation:Type:=string ConfigMap string `json:"configMap"` }
func (*EnvFrom) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvFrom.
func (*EnvFrom) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GateJob ¶
type GateJob struct { // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string Namespace string `json:"namespace"` // +kubebuilder:validation:Optional Containers []*Container `json:"containers,omitempty"` // +kubebuilder:validation:Optional Labels map[string]string `json:"labels,omitempty"` // +kubebuilder:validation:Optional Annotations map[string]string `json:"annotations,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string ServiceAccount *string `json:"serviceAccount,omitempty"` // Raw can be used if you'd rather define the job spec via straight Kubernetes manifest file. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string Raw *string `json:"raw,omitempty"` }
GateJob is a spec for a job gate.
func (*GateJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GateJob.
func (*GateJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GateSpec ¶
type GateSpec struct { // +kubebuilder:validation:Optional Job *GateJob `json:"job,omitempty"` }
GateSpec is a more refined spec for parameters needed for complex gates.
func (*GateSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GateSpec.
func (*GateSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitRef ¶
type GitRef struct { // Folder ... // +kubebuilder:validation:Required Folder string `json:"folder"` // Ref ... // +kubebuilder:validation:Required Ref string `json:"ref"` }
GitRef ...
func (*GitRef) Attributes ¶
func (in *GitRef) Attributes() *console.GitRefAttributes
func (*GitRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRef.
func (*GitRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitRepository ¶
type GitRepository struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GitRepositorySpec `json:"spec,omitempty"` Status GitRepositoryStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Health",type="string",JSONPath=".status.health",description="Repo health status" +kubebuilder:printcolumn:name="Id",type="string",JSONPath=".status.id",description="Console repo Id"
func (*GitRepository) ConsoleID ¶
func (in *GitRepository) ConsoleID() *string
ConsoleID implements PluralResource interface
func (*GitRepository) ConsoleName ¶
func (in *GitRepository) ConsoleName() string
ConsoleName implements PluralResource interface
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.
func (*GitRepository) DeepCopyObject ¶
func (in *GitRepository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GitRepository) SetCondition ¶
func (in *GitRepository) SetCondition(condition metav1.Condition)
type GitRepositoryList ¶
type GitRepositoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GitRepository `json:"items"` }
func (*GitRepositoryList) DeepCopy ¶
func (in *GitRepositoryList) DeepCopy() *GitRepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositoryList.
func (*GitRepositoryList) DeepCopyInto ¶
func (in *GitRepositoryList) DeepCopyInto(out *GitRepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitRepositoryList) DeepCopyObject ¶
func (in *GitRepositoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitRepositorySpec ¶
type GitRepositorySpec struct { // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Url is immutable" Url string `json:"url"` // CredentialsRef is a secret reference which should contain privateKey, passphrase, username and password. // +kubebuilder:validation:Optional CredentialsRef *corev1.SecretReference `json:"credentialsRef,omitempty"` }
func (*GitRepositorySpec) DeepCopy ¶
func (in *GitRepositorySpec) DeepCopy() *GitRepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositorySpec.
func (*GitRepositorySpec) DeepCopyInto ¶
func (in *GitRepositorySpec) DeepCopyInto(out *GitRepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitRepositoryStatus ¶
type GitRepositoryStatus struct { Status `json:",inline"` // Health status. // +kubebuilder:validation:Optional // +kubebuilder:validation:Enum:=PULLABLE;FAILED Health GitHealth `json:"health,omitempty"` // Message indicating details about last transition. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty"` }
func (*GitRepositoryStatus) DeepCopy ¶
func (in *GitRepositoryStatus) DeepCopy() *GitRepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositoryStatus.
func (*GitRepositoryStatus) DeepCopyInto ¶
func (in *GitRepositoryStatus) DeepCopyInto(out *GitRepositoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GlobalService ¶
type GlobalService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GlobalServiceSpec `json:"spec,omitempty"` Status Status `json:"status,omitempty"` }
GlobalService is the Schema for the globalservices API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Id",type="string",JSONPath=".status.id",description="Global service Id"
func (*GlobalService) DeepCopy ¶
func (in *GlobalService) DeepCopy() *GlobalService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalService.
func (*GlobalService) DeepCopyInto ¶
func (in *GlobalService) DeepCopyInto(out *GlobalService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GlobalService) DeepCopyObject ¶
func (in *GlobalService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GlobalService) SetCondition ¶
func (p *GlobalService) SetCondition(condition metav1.Condition)
type GlobalServiceList ¶
type GlobalServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GlobalService `json:"items"` }
GlobalServiceList contains a list of GlobalService +kubebuilder:object:root=true
func (*GlobalServiceList) DeepCopy ¶
func (in *GlobalServiceList) DeepCopy() *GlobalServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalServiceList.
func (*GlobalServiceList) DeepCopyInto ¶
func (in *GlobalServiceList) DeepCopyInto(out *GlobalServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GlobalServiceList) DeepCopyObject ¶
func (in *GlobalServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GlobalServiceSpec ¶
type GlobalServiceSpec struct { // Tags a set of tags to select clusters for this global service // +kubebuilder:validation:Optional Tags map[string]string `json:"tags,omitempty"` // Distro of kubernetes this cluster is running // +kubebuilder:validation:Optional // +kubebuilder:validation:Enum=GENERIC;EKS;AKS;GKE;RKE;K3S Distro *console.ClusterDistro `json:"distro,omitempty"` // ServiceRef to replicate across clusters // +kubebuilder:validation:Optional ServiceRef *corev1.ObjectReference `json:"serviceRef,omitempty"` // ProviderRef apply to clusters with this provider // +kubebuilder:validation:Optional ProviderRef *corev1.ObjectReference `json:"providerRef,omitempty"` // +kubebuilder:validation:Optional Template *ServiceTemplate `json:"template,omitempty"` }
GlobalServiceSpec defines the desired state of GlobalService
func (*GlobalServiceSpec) DeepCopy ¶
func (in *GlobalServiceSpec) DeepCopy() *GlobalServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalServiceSpec.
func (*GlobalServiceSpec) DeepCopyInto ¶
func (in *GlobalServiceSpec) DeepCopyInto(out *GlobalServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InfrastructureStack ¶
type InfrastructureStack struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InfrastructureStackSpec `json:"spec,omitempty"` Status Status `json:"status,omitempty"` }
InfrastructureStack is the Schema for the infrastructurestacks API
func (*InfrastructureStack) DeepCopy ¶
func (in *InfrastructureStack) DeepCopy() *InfrastructureStack
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureStack.
func (*InfrastructureStack) DeepCopyInto ¶
func (in *InfrastructureStack) DeepCopyInto(out *InfrastructureStack)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureStack) DeepCopyObject ¶
func (in *InfrastructureStack) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InfrastructureStack) SetCondition ¶
func (p *InfrastructureStack) SetCondition(condition metav1.Condition)
func (*InfrastructureStack) StackName ¶
func (p *InfrastructureStack) StackName() string
type InfrastructureStackList ¶
type InfrastructureStackList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []InfrastructureStack `json:"items"` }
InfrastructureStackList contains a list of InfrastructureStack
func (*InfrastructureStackList) DeepCopy ¶
func (in *InfrastructureStackList) DeepCopy() *InfrastructureStackList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureStackList.
func (*InfrastructureStackList) DeepCopyInto ¶
func (in *InfrastructureStackList) DeepCopyInto(out *InfrastructureStackList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureStackList) DeepCopyObject ¶
func (in *InfrastructureStackList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InfrastructureStackSpec ¶
type InfrastructureStackSpec struct { // Name of this Stack. If not provided InfrastructureStack's own name from InfrastructureStack.ObjectMeta will be used. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty"` // Type specifies the tool to use to apply it // +kubebuilder:validation:Enum=TERRAFORM;ANSIBLE Type console.StackType `json:"type"` // RepositoryRef to source IaC from RepositoryRef corev1.ObjectReference `json:"repositoryRef"` // +kubebuilder:validation:Required // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Cluster is immutable" ClusterRef corev1.ObjectReference `json:"clusterRef"` // Git reference w/in the repository where the IaC lives Git GitRef `json:"git"` // JobSpec optional k8s job configuration for the job that will apply this stack // +kubebuilder:validation:Optional JobSpec *batchv1.JobSpec `json:"jobSpec,omitempty"` // Configuration version/image config for the tool you're using Configuration StackConfiguration `json:"configuration"` // Approval whether to require approval // +kubebuilder:validation:Optional Approval *bool `json:"approval,omitempty"` // Bindings contain read and write policies of this cluster // +kubebuilder:validation:Optional Bindings *Bindings `json:"bindings,omitempty"` // +kubebuilder:validation:Optional Environment []StackEnvironment `json:"environment,omitempty"` // Files reference to ConfigMap with a key as a path and value as a content // +kubebuilder:validation:Optional Files *corev1.LocalObjectReference `json:"files,omitempty"` // Detach determined if user want to delete or detach stack Detach bool `json:"detach"` }
InfrastructureStackSpec defines the desired state of InfrastructureStack
func (*InfrastructureStackSpec) DeepCopy ¶
func (in *InfrastructureStackSpec) DeepCopy() *InfrastructureStackSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureStackSpec.
func (*InfrastructureStackSpec) DeepCopyInto ¶
func (in *InfrastructureStackSpec) DeepCopyInto(out *InfrastructureStackSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedNamespace ¶
type ManagedNamespace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagedNamespaceSpec `json:"spec,omitempty"` Status Status `json:"status,omitempty"` }
ManagedNamespace is the Schema for the managednamespaces API
func (*ManagedNamespace) DeepCopy ¶
func (in *ManagedNamespace) DeepCopy() *ManagedNamespace
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedNamespace.
func (*ManagedNamespace) DeepCopyInto ¶
func (in *ManagedNamespace) DeepCopyInto(out *ManagedNamespace)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedNamespace) DeepCopyObject ¶
func (in *ManagedNamespace) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManagedNamespace) NamespaceName ¶
func (p *ManagedNamespace) NamespaceName() string
func (*ManagedNamespace) SetCondition ¶
func (p *ManagedNamespace) SetCondition(condition metav1.Condition)
type ManagedNamespaceList ¶
type ManagedNamespaceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManagedNamespace `json:"items"` }
ManagedNamespaceList contains a list of ManagedNamespace
func (*ManagedNamespaceList) DeepCopy ¶
func (in *ManagedNamespaceList) DeepCopy() *ManagedNamespaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedNamespaceList.
func (*ManagedNamespaceList) DeepCopyInto ¶
func (in *ManagedNamespaceList) DeepCopyInto(out *ManagedNamespaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedNamespaceList) DeepCopyObject ¶
func (in *ManagedNamespaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedNamespaceSpec ¶
type ManagedNamespaceSpec struct { // Name of this namespace once its placed on a cluster. If not provided ManagedNamespace's own name from ManagedNamespace.ObjectMeta will be used. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty"` // Description a short description of the purpose of this namespace // +kubebuilder:validation:Optional Description *string `json:"description,omitempty"` // Labels for this namespace // +kubebuilder:validation:Optional Labels map[string]string `json:"labels,omitempty"` // Annotations for this namespace // +kubebuilder:validation:Optional Annotations map[string]string `json:"annotations,omitempty"` // PullSecrets a list of pull secrets to attach to this namespace // +kubebuilder:validation:Optional PullSecrets []string `json:"pullSecrets,omitempty"` // +kubebuilder:validation:Optional Service *ServiceTemplate `json:"service,omitempty"` // +kubebuilder:validation:Optional Target *ClusterTarget `json:"target,omitempty"` }
ManagedNamespaceSpec defines the desired state of ManagedNamespace
func (*ManagedNamespaceSpec) DeepCopy ¶
func (in *ManagedNamespaceSpec) DeepCopy() *ManagedNamespaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedNamespaceSpec.
func (*ManagedNamespaceSpec) DeepCopyInto ¶
func (in *ManagedNamespaceSpec) DeepCopyInto(out *ManagedNamespaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedName ¶
type NamespacedName struct { // Name is a resource name. // +kubebuilder:validation:Required Name string `json:"name"` // Namespace is a resource namespace. // +kubebuilder:validation:Required Namespace string `json:"namespace"` }
NamespacedName is the same as types.NamespacedName with the addition of kubebuilder/json annotations for better schema support.
func (*NamespacedName) DeepCopy ¶
func (in *NamespacedName) DeepCopy() *NamespacedName
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedName.
func (*NamespacedName) DeepCopyInto ¶
func (in *NamespacedName) DeepCopyInto(out *NamespacedName)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedPluralResource ¶
type NamespacedPluralResource interface { PluralResource // ConsoleNamespace returns a resource namespace read from the Console API ConsoleNamespace() string }
NamespacedPluralResource ... +k8s:deepcopy-gen=false
type NotificationRouter ¶
type NotificationRouter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NotificationRouterSpec `json:"spec,omitempty"` Status Status `json:"status,omitempty"` }
NotificationRouter is the Schema for the notificationrouters API
func (*NotificationRouter) DeepCopy ¶
func (in *NotificationRouter) DeepCopy() *NotificationRouter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRouter.
func (*NotificationRouter) DeepCopyInto ¶
func (in *NotificationRouter) DeepCopyInto(out *NotificationRouter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationRouter) DeepCopyObject ¶
func (in *NotificationRouter) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NotificationRouter) NotificationName ¶
func (p *NotificationRouter) NotificationName() string
NotificationName implements NamespacedPluralResource interface
func (*NotificationRouter) SetCondition ¶
func (p *NotificationRouter) SetCondition(condition metav1.Condition)
type NotificationRouterList ¶
type NotificationRouterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NotificationRouter `json:"items"` }
NotificationRouterList contains a list of NotificationRouter
func (*NotificationRouterList) DeepCopy ¶
func (in *NotificationRouterList) DeepCopy() *NotificationRouterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRouterList.
func (*NotificationRouterList) DeepCopyInto ¶
func (in *NotificationRouterList) DeepCopyInto(out *NotificationRouterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationRouterList) DeepCopyObject ¶
func (in *NotificationRouterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NotificationRouterSpec ¶
type NotificationRouterSpec struct { // Name the name of this router, if not provided NotificationRouter's own name from NotificationRouter.ObjectMeta will be used. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty"` // Events the events to trigger, or use * for any Events []string `json:"events,omitempty"` // Filters filters by object type // +kubebuilder:validation:Optional Filters []RouterFilters `json:"filters,omitempty"` // Sinks notification sinks to deliver notifications to // +kubebuilder:validation:Optional Sinks []corev1.ObjectReference `json:"sinks,omitempty"` }
NotificationRouterSpec defines the desired state of NotificationRouter
func (*NotificationRouterSpec) DeepCopy ¶
func (in *NotificationRouterSpec) DeepCopy() *NotificationRouterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationRouterSpec.
func (*NotificationRouterSpec) DeepCopyInto ¶
func (in *NotificationRouterSpec) DeepCopyInto(out *NotificationRouterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationRouterSpec) HasName ¶
func (p *NotificationRouterSpec) HasName() bool
type NotificationSink ¶
type NotificationSink struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NotificationSinkSpec `json:"spec,omitempty"` Status Status `json:"status,omitempty"` }
NotificationSink is the Schema for the notificationsinks API
func (*NotificationSink) DeepCopy ¶
func (in *NotificationSink) DeepCopy() *NotificationSink
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationSink.
func (*NotificationSink) DeepCopyInto ¶
func (in *NotificationSink) DeepCopyInto(out *NotificationSink)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationSink) DeepCopyObject ¶
func (in *NotificationSink) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NotificationSink) NotificationName ¶
func (p *NotificationSink) NotificationName() string
NotificationName implements NamespacedPluralResource interface
func (*NotificationSink) SetCondition ¶
func (p *NotificationSink) SetCondition(condition metav1.Condition)
type NotificationSinkList ¶
type NotificationSinkList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NotificationSink `json:"items"` }
NotificationSinkList contains a list of NotificationSink
func (*NotificationSinkList) DeepCopy ¶
func (in *NotificationSinkList) DeepCopy() *NotificationSinkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationSinkList.
func (*NotificationSinkList) DeepCopyInto ¶
func (in *NotificationSinkList) DeepCopyInto(out *NotificationSinkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationSinkList) DeepCopyObject ¶
func (in *NotificationSinkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NotificationSinkSpec ¶
type NotificationSinkSpec struct { // Name the name of this service, if not provided NotificationSink's own name from NotificationSink.ObjectMeta will be used. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty"` // Type the channel type of this sink. // +kubebuilder:validation:Optional // +kubebuilder:validation:Enum=SLACK;TEAMS Type console.SinkType `json:"type"` // Configuration for the specific type // +kubebuilder:validation:Optional Configuration SinkConfiguration `json:"configuration"` }
NotificationSinkSpec defines the desired state of NotificationSink
func (*NotificationSinkSpec) DeepCopy ¶
func (in *NotificationSinkSpec) DeepCopy() *NotificationSinkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationSinkSpec.
func (*NotificationSinkSpec) DeepCopyInto ¶
func (in *NotificationSinkSpec) DeepCopyInto(out *NotificationSinkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationSinkSpec) HasName ¶
func (p *NotificationSinkSpec) HasName() bool
type Pipeline ¶
type Pipeline struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PipelineSpec `json:"spec,omitempty"` Status Status `json:"status,omitempty"` }
Pipeline is the Schema for the pipelines API +kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="Console ID"
func (*Pipeline) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pipeline.
func (*Pipeline) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Pipeline) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Pipeline) SetCondition ¶
type PipelineContext ¶
type PipelineContext struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PipelineContextSpec `json:"spec,omitempty"` Status Status `json:"status,omitempty"` }
PipelineContext is the Schema for the pipelinecontexts API
func (*PipelineContext) DeepCopy ¶
func (in *PipelineContext) DeepCopy() *PipelineContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineContext.
func (*PipelineContext) DeepCopyInto ¶
func (in *PipelineContext) DeepCopyInto(out *PipelineContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PipelineContext) DeepCopyObject ¶
func (in *PipelineContext) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PipelineContext) SetCondition ¶
func (p *PipelineContext) SetCondition(condition metav1.Condition)
type PipelineContextList ¶
type PipelineContextList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PipelineContext `json:"items"` }
PipelineContextList contains a list of PipelineContext
func (*PipelineContextList) DeepCopy ¶
func (in *PipelineContextList) DeepCopy() *PipelineContextList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineContextList.
func (*PipelineContextList) DeepCopyInto ¶
func (in *PipelineContextList) DeepCopyInto(out *PipelineContextList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PipelineContextList) DeepCopyObject ¶
func (in *PipelineContextList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PipelineContextSpec ¶
type PipelineContextSpec struct { // PipelineRef pointing to source Pipeline. // +kubebuilder:validation:Optional PipelineRef *corev1.ObjectReference `json:"pipelineRef,omitempty"` // Context is a Pipeline context Context runtime.RawExtension `json:"context,omitempty"` }
PipelineContextSpec defines the desired state of PipelineContext
func (*PipelineContextSpec) DeepCopy ¶
func (in *PipelineContextSpec) DeepCopy() *PipelineContextSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineContextSpec.
func (*PipelineContextSpec) DeepCopyInto ¶
func (in *PipelineContextSpec) DeepCopyInto(out *PipelineContextSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineEdge ¶
type PipelineEdge struct { // FromID is stage ID the edge is from, can also be specified by name. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string FromID *string `json:"fromId,omitempty"` // ToID is stage ID the edge is to, can also be specified by name. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string ToID *string `json:"toId,omitempty"` // From is the name of the pipeline stage this edge emits from. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string From *string `json:"from,omitempty"` // To is the name of the pipeline stage this edge points to. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string To *string `json:"to,omitempty"` // Gates are any optional promotion gates you wish to configure. // +kubebuilder:validation:Optional Gates []PipelineGate `json:"gates,omitempty"` }
PipelineEdge is a specification of an edge between two pipeline stages.
func (*PipelineEdge) DeepCopy ¶
func (in *PipelineEdge) DeepCopy() *PipelineEdge
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineEdge.
func (*PipelineEdge) DeepCopyInto ¶
func (in *PipelineEdge) DeepCopyInto(out *PipelineEdge)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineGate ¶
type PipelineGate struct { // Name of this gate. // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string Name string `json:"name"` // Type of gate this is. // +kubebuilder:validation:Required // +kubebuilder:validation:Enum=APPROVAL;WINDOW;JOB Type console.GateType `json:"type"` // ClusterRef of a Cluster this gate will execute on. // +kubebuilder:validation:Optional ClusterRef *v1.ObjectReference `json:"clusterRef,omitempty"` // Spec contains specification for more complex gate types. // +kubebuilder:validation:Optional Spec *GateSpec `json:"spec,omitempty"` }
PipelineGate will configure a promotion gate for a pipeline.
func (*PipelineGate) DeepCopy ¶
func (in *PipelineGate) DeepCopy() *PipelineGate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineGate.
func (*PipelineGate) DeepCopyInto ¶
func (in *PipelineGate) DeepCopyInto(out *PipelineGate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineList ¶
type PipelineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Pipeline `json:"items"` }
PipelineList contains a list of Pipeline +kubebuilder:object:root=true
func (*PipelineList) DeepCopy ¶
func (in *PipelineList) DeepCopy() *PipelineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineList.
func (*PipelineList) DeepCopyInto ¶
func (in *PipelineList) DeepCopyInto(out *PipelineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PipelineList) DeepCopyObject ¶
func (in *PipelineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PipelineSpec ¶
type PipelineSpec struct { // Stages of a pipeline. Stages []PipelineStage `json:"stages,omitempty"` // Edges of a pipeline. Edges []PipelineEdge `json:"edges,omitempty"` }
PipelineSpec defines the desired state of Pipeline.
func (*PipelineSpec) DeepCopy ¶
func (in *PipelineSpec) DeepCopy() *PipelineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineSpec.
func (*PipelineSpec) DeepCopyInto ¶
func (in *PipelineSpec) DeepCopyInto(out *PipelineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineStage ¶
type PipelineStage struct { // Name of this stage. // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string Name string `json:"name"` // Services including optional promotion criteria. Services []PipelineStageService `json:"services,omitempty"` }
PipelineStage defines the Pipeline stage.
func (*PipelineStage) DeepCopy ¶
func (in *PipelineStage) DeepCopy() *PipelineStage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineStage.
func (*PipelineStage) DeepCopyInto ¶
func (in *PipelineStage) DeepCopyInto(out *PipelineStage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineStageService ¶
type PipelineStageService struct { ServiceRef *v1.ObjectReference `json:"serviceRef,omitempty"` // +kubebuilder:validation:Optional Criteria *PipelineStageServicePromotionCriteria `json:"criteria,omitempty"` }
PipelineStageService is the configuration of a service within a pipeline stage, including optional promotion criteria.
func (*PipelineStageService) DeepCopy ¶
func (in *PipelineStageService) DeepCopy() *PipelineStageService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineStageService.
func (*PipelineStageService) DeepCopyInto ¶
func (in *PipelineStageService) DeepCopyInto(out *PipelineStageService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineStageServicePromotionCriteria ¶
type PipelineStageServicePromotionCriteria struct { // ServiceRef pointing to source service to promote from. // +kubebuilder:validation:Optional ServiceRef *v1.ObjectReference `json:"serviceRef,omitempty"` // PrAutomationRef pointing to source PR automation to promote from. // +kubebuilder:validation:Optional PrAutomationRef *v1.ObjectReference `json:"prAutomationRef,omitempty"` // Secrets to copy over in a promotion. // +kubebuilder:validation:Optional Secrets []*string `json:"secrets,omitempty"` }
PipelineStageServicePromotionCriteria represents actions to perform if this stage service were promoted.
func (*PipelineStageServicePromotionCriteria) DeepCopy ¶
func (in *PipelineStageServicePromotionCriteria) DeepCopy() *PipelineStageServicePromotionCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineStageServicePromotionCriteria.
func (*PipelineStageServicePromotionCriteria) DeepCopyInto ¶
func (in *PipelineStageServicePromotionCriteria) DeepCopyInto(out *PipelineStageServicePromotionCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PluralResource ¶
type PluralResource interface { client.Object // ConsoleID returns a resource id read from the Console API ConsoleID() *string // ConsoleName returns a resource name read from the Console API ConsoleName() string }
PluralResource ... +k8s:deepcopy-gen=false
type PrAutomation ¶
type PrAutomation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec ... // +kubebuilder:validation:Required Spec PrAutomationSpec `json:"spec"` // Status ... // +kubebuilder:validation:Optional Status Status `json:"status,omitempty"` }
PrAutomation ... +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="ID of the pr automation in the Console API."
func (*PrAutomation) Attributes ¶
func (in *PrAutomation) Attributes(clusterID *string, serviceID *string, connectionID *string, repositoryID *string) *console.PrAutomationAttributes
func (*PrAutomation) ConsoleID ¶
func (in *PrAutomation) ConsoleID() *string
ConsoleID implements PluralResource interface
func (*PrAutomation) ConsoleName ¶
func (in *PrAutomation) ConsoleName() string
ConsoleName implements PluralResource interface
func (*PrAutomation) DeepCopy ¶
func (in *PrAutomation) DeepCopy() *PrAutomation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrAutomation.
func (*PrAutomation) DeepCopyInto ¶
func (in *PrAutomation) DeepCopyInto(out *PrAutomation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrAutomation) DeepCopyObject ¶
func (in *PrAutomation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PrAutomation) Diff ¶
func (in *PrAutomation) Diff(hasher Hasher) (changed bool, sha string, err error)
func (*PrAutomation) SetCondition ¶
func (in *PrAutomation) SetCondition(condition metav1.Condition)
type PrAutomationBindings ¶
type PrAutomationBindings struct { // Create bindings. // +kubebuilder:validation:Optional Create []Binding `json:"create,omitempty"` // Write bindings. // +kubebuilder:validation:Optional Write []Binding `json:"write,omitempty"` }
PrAutomationBindings ...
func (*PrAutomationBindings) DeepCopy ¶
func (in *PrAutomationBindings) DeepCopy() *PrAutomationBindings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrAutomationBindings.
func (*PrAutomationBindings) DeepCopyInto ¶
func (in *PrAutomationBindings) DeepCopyInto(out *PrAutomationBindings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrAutomationConfiguration ¶
type PrAutomationConfiguration struct { // +kubebuilder:validation:Required Name string `json:"name"` // +kubebuilder:validation:Required Type console.ConfigurationType `json:"type"` // +kubebuilder:validation:Optional *Condition `json:"condition,omitempty"` // +kubebuilder:validation:Optional Default *string `json:"default,omitempty"` // +kubebuilder:validation:Optional Documentation *string `json:"documentation,omitempty"` // +kubebuilder:validation:Optional Longform *string `json:"longform,omitempty"` // +kubebuilder:validation:Optional Optional *bool `json:"optional,omitempty"` // +kubebuilder:validation:Optional Placeholder *string `json:"placeholder,omitempty"` }
PrAutomationConfiguration ...
func (*PrAutomationConfiguration) Attributes ¶
func (in *PrAutomationConfiguration) Attributes() *console.PrConfigurationAttributes
func (*PrAutomationConfiguration) DeepCopy ¶
func (in *PrAutomationConfiguration) DeepCopy() *PrAutomationConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrAutomationConfiguration.
func (*PrAutomationConfiguration) DeepCopyInto ¶
func (in *PrAutomationConfiguration) DeepCopyInto(out *PrAutomationConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrAutomationCreateConfiguration ¶
type PrAutomationCreateConfiguration struct { // Git ... // +kubebuilder:validation:Optional Git *GitRef `json:"git,omitempty"` // Templates ... // +kubebuilder:validation:Optional Templates []PrAutomationTemplate `json:"templates,omitempty"` }
PrAutomationCreateConfiguration ...
func (*PrAutomationCreateConfiguration) Attributes ¶
func (in *PrAutomationCreateConfiguration) Attributes() *console.PrAutomationCreateSpecAttributes
func (*PrAutomationCreateConfiguration) DeepCopy ¶
func (in *PrAutomationCreateConfiguration) DeepCopy() *PrAutomationCreateConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrAutomationCreateConfiguration.
func (*PrAutomationCreateConfiguration) DeepCopyInto ¶
func (in *PrAutomationCreateConfiguration) DeepCopyInto(out *PrAutomationCreateConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrAutomationList ¶
type PrAutomationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PrAutomation `json:"items"` }
PrAutomationList ... +kubebuilder:object:root=true
func (*PrAutomationList) DeepCopy ¶
func (in *PrAutomationList) DeepCopy() *PrAutomationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrAutomationList.
func (*PrAutomationList) DeepCopyInto ¶
func (in *PrAutomationList) DeepCopyInto(out *PrAutomationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrAutomationList) DeepCopyObject ¶
func (in *PrAutomationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrAutomationSpec ¶
type PrAutomationSpec struct { // Addon is a link to an addon name // +kubebuilder:validation:Optional Addon *string `json:"addon,omitempty"` // Branch ... // +kubebuilder:validation:Optional Branch *string `json:"branch,omitempty"` // Documentation ... // +kubebuilder:validation:Optional Documentation *string `json:"documentation,omitempty"` // Identifier is a string referencing the repository, i.e. for GitHub it would be "<organization>/<repositoryName>" // +kubebuilder:validation:Optional Identifier *string `json:"identifier,omitempty"` // Message ... // +kubebuilder:validation:Optional Message *string `json:"message,omitempty"` // Name ... // +kubebuilder:validation:Optional Name *string `json:"name,omitempty"` // Title... // +kubebuilder:validation:Optional Title *string `json:"title,omitempty"` // ClusterRef ... // +kubebuilder:validation:Optional ClusterRef *corev1.ObjectReference `json:"clusterRef,omitempty"` // ScmConnectionRef ... // +kubebuilder:validation:Required ScmConnectionRef corev1.ObjectReference `json:"scmConnectionRef,omitempty"` // RepositoryRef ... // +kubebuilder:validation:Optional RepositoryRef *corev1.ObjectReference `json:"repositoryRef,omitempty"` // ServiceRef ... // +kubebuilder:validation:Optional ServiceRef *corev1.ObjectReference `json:"serviceRef,omitempty"` // Bindings contain read and write policies of pr automation // +kubebuilder:validation:Optional Bindings *PrAutomationBindings `json:"bindings,omitempty"` // Configuration ... // +kubebuilder:validation:Optional Configuration []PrAutomationConfiguration `json:"configuration,omitempty"` // Creates ... // +kubebuilder:validation:Optional Creates *PrAutomationCreateConfiguration `json:"creates,omitempty"` // Updates ... // +kubebuilder:validation:Optional Updates *PrAutomationUpdateConfiguration `json:"updates,omitempty"` }
PrAutomationSpec ...
func (*PrAutomationSpec) DeepCopy ¶
func (in *PrAutomationSpec) DeepCopy() *PrAutomationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrAutomationSpec.
func (*PrAutomationSpec) DeepCopyInto ¶
func (in *PrAutomationSpec) DeepCopyInto(out *PrAutomationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrAutomationTemplate ¶
type PrAutomationTemplate struct { // Destination ... // +kubebuilder:validation:Required Destination string `json:"destination"` // External ... // +kubebuilder:validation:Required External bool `json:"external"` // Source ... // +kubebuilder:validation:Optional Source string `json:"source"` }
PrAutomationTemplate ...
func (*PrAutomationTemplate) Attributes ¶
func (in *PrAutomationTemplate) Attributes() *console.PrAutomationTemplateAttributes
func (*PrAutomationTemplate) DeepCopy ¶
func (in *PrAutomationTemplate) DeepCopy() *PrAutomationTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrAutomationTemplate.
func (*PrAutomationTemplate) DeepCopyInto ¶
func (in *PrAutomationTemplate) DeepCopyInto(out *PrAutomationTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrAutomationTrigger ¶
type PrAutomationTrigger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PrAutomationTriggerSpec `json:"spec,omitempty"` Status Status `json:"status,omitempty"` }
PrAutomationTrigger is the Schema for the prautomationtriggers API
func (*PrAutomationTrigger) DeepCopy ¶
func (in *PrAutomationTrigger) DeepCopy() *PrAutomationTrigger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrAutomationTrigger.
func (*PrAutomationTrigger) DeepCopyInto ¶
func (in *PrAutomationTrigger) DeepCopyInto(out *PrAutomationTrigger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrAutomationTrigger) DeepCopyObject ¶
func (in *PrAutomationTrigger) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PrAutomationTrigger) SetCondition ¶
func (p *PrAutomationTrigger) SetCondition(condition metav1.Condition)
type PrAutomationTriggerList ¶
type PrAutomationTriggerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PrAutomationTrigger `json:"items"` }
PrAutomationTriggerList contains a list of PrAutomationTrigger
func (*PrAutomationTriggerList) DeepCopy ¶
func (in *PrAutomationTriggerList) DeepCopy() *PrAutomationTriggerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrAutomationTriggerList.
func (*PrAutomationTriggerList) DeepCopyInto ¶
func (in *PrAutomationTriggerList) DeepCopyInto(out *PrAutomationTriggerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrAutomationTriggerList) DeepCopyObject ¶
func (in *PrAutomationTriggerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrAutomationTriggerSpec ¶
type PrAutomationTriggerSpec struct { // PrAutomationRef pointing to source PrAutomation. // +kubebuilder:validation:Optional PrAutomationRef *corev1.ObjectReference `json:"prAutomationRef,omitempty"` // Context is a PrAutomation context Context runtime.RawExtension `json:"context,omitempty"` }
PrAutomationTriggerSpec defines the desired state of PrAutomationTrigger
func (*PrAutomationTriggerSpec) DeepCopy ¶
func (in *PrAutomationTriggerSpec) DeepCopy() *PrAutomationTriggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrAutomationTriggerSpec.
func (*PrAutomationTriggerSpec) DeepCopyInto ¶
func (in *PrAutomationTriggerSpec) DeepCopyInto(out *PrAutomationTriggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrAutomationUpdateConfiguration ¶
type PrAutomationUpdateConfiguration struct { // Files ... // +kubebuilder:validation:Optional Files []*string `json:"files,omitempty"` // MatchStrategy ... // +kubebuilder:validation:Optional MatchStrategy *console.MatchStrategy `json:"matchStrategy,omitempty"` // RegexReplacements ... // +kubebuilder:validation:Optional RegexReplacements []RegexReplacement `json:"regexReplacements,omitempty"` // Regexes ... // +kubebuilder:validation:Optional Regexes []*string `json:"regexes,omitempty"` // ReplaceTemplate ... // +kubebuilder:validation:Optional ReplaceTemplate *string `json:"replaceTemplate,omitempty"` // Yq ... // +kubebuilder:validation:Optional Yq *string `json:"yq,omitempty"` }
PrAutomationUpdateConfiguration ...
func (*PrAutomationUpdateConfiguration) Attributes ¶
func (in *PrAutomationUpdateConfiguration) Attributes() *console.PrAutomationUpdateSpecAttributes
func (*PrAutomationUpdateConfiguration) DeepCopy ¶
func (in *PrAutomationUpdateConfiguration) DeepCopy() *PrAutomationUpdateConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrAutomationUpdateConfiguration.
func (*PrAutomationUpdateConfiguration) DeepCopyInto ¶
func (in *PrAutomationUpdateConfiguration) DeepCopyInto(out *PrAutomationUpdateConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Provider ¶
type Provider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:Required Spec ProviderSpec `json:"spec"` // +kubebuilder:validation:Optional Status Status `json:"status,omitempty"` }
Provider ... +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="ID of the provider in the Console API." +kubebuilder:printcolumn:name="Name",type="string",JSONPath=".spec.name",description="Human-readable name of the Provider." +kubebuilder:printcolumn:name="Cloud",type="string",JSONPath=".spec.cloud",description="Name of the Provider cloud service."
func (*Provider) Attributes ¶
func (p *Provider) Attributes(ctx context.Context, cloudSettingsGetter CloudSettingsGetter) (console.ClusterProviderAttributes, error)
func (*Provider) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Provider.
func (*Provider) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Provider) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Provider) SetCondition ¶
func (*Provider) UpdateAttributes ¶
func (p *Provider) UpdateAttributes(ctx context.Context, cloudSettingsGetter CloudSettingsGetter) (console.ClusterProviderUpdateAttributes, error)
type ProviderList ¶
type ProviderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Provider `json:"items"` }
ProviderList ... +kubebuilder:object:root=true
func (*ProviderList) DeepCopy ¶
func (in *ProviderList) DeepCopy() *ProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderList.
func (*ProviderList) DeepCopyInto ¶
func (in *ProviderList) DeepCopyInto(out *ProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProviderList) DeepCopyObject ¶
func (in *ProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProviderSpec ¶
type ProviderSpec struct { // Cloud is the name of the cloud service for the Provider. // One of (CloudProvider): [gcp, aws, azure] // +kubebuilder:example:=aws // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string // +kubebuilder:validation:Enum:=gcp;aws;azure // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Cloud is immutable" Cloud CloudProvider `json:"cloud"` // CloudSettings reference cloud provider credentials secrets used for provisioning the Cluster. // Not required when Cloud is set to CloudProvider(BYOK). // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=object // +structType=atomic CloudSettings *CloudProviderSettings `json:"cloudSettings"` // Name is a human-readable name of the Provider. // +kubebuilder:example:=gcp-provider // +kubebuilder:validation:Optional // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Name is immutable" Name string `json:"name"` // Namespace is the namespace ClusterAPI resources are deployed into. // +kubebuilder:example:=capi-gcp // +kubebuilder:validation:Optional // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Namespace is immutable" Namespace string `json:"namespace,omitempty"` }
ProviderSpec ...
func (*ProviderSpec) DeepCopy ¶
func (in *ProviderSpec) DeepCopy() *ProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderSpec.
func (*ProviderSpec) DeepCopyInto ¶
func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegexReplacement ¶
type RegexReplacement struct { // Regex ... // +kubebuilder:validation:Required Regex string `json:"regex"` // The file this replacement will work on // +kubebuilder:validation:Required File string `json:"file"` // Replacement to be substituted for the match in the regex // +kubebuilder:validation:Required Replacement string `json:"replacement"` // Whether you want to apply templating to the regex before compiling // +kubebuilder:validation:Optional Templated *bool `json:"templated"` }
RegexReplacement ...
func (*RegexReplacement) Attributes ¶
func (in *RegexReplacement) Attributes() *console.RegexReplacementAttributes
func (*RegexReplacement) DeepCopy ¶
func (in *RegexReplacement) DeepCopy() *RegexReplacement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegexReplacement.
func (*RegexReplacement) DeepCopyInto ¶
func (in *RegexReplacement) DeepCopyInto(out *RegexReplacement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouterFilters ¶
type RouterFilters struct { // Regex a regex for filtering by things like pr url // +kubebuilder:validation:Optional Regex *string `json:"regex,omitempty"` // ServiceRef whether to enable delivery for events associated with this service // +kubebuilder:validation:Optional ServiceRef *corev1.ObjectReference `json:"serviceRef,omitempty"` // ClusterRef whether to enable delivery for events associated with this cluster // +kubebuilder:validation:Optional ClusterRef *corev1.ObjectReference `json:"clusterRef,omitempty"` // PipelineRef whether to enable delivery for events associated with this pipeline // +kubebuilder:validation:Optional PipelineRef *corev1.ObjectReference `json:"pipelineRef,omitempty"` }
func (*RouterFilters) DeepCopy ¶
func (in *RouterFilters) DeepCopy() *RouterFilters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouterFilters.
func (*RouterFilters) DeepCopyInto ¶
func (in *RouterFilters) DeepCopyInto(out *RouterFilters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScmConnection ¶
type ScmConnection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:Required Spec ScmConnectionSpec `json:"spec"` // +kubebuilder:validation:Optional Status Status `json:"status,omitempty"` }
ScmConnection ... +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="ID of the scm connection in the Console API." +kubebuilder:printcolumn:name="Provider",type="string",JSONPath=".spec.type",description="Name of the scm provider service."
func (*ScmConnection) Attributes ¶
func (s *ScmConnection) Attributes(token *string) console.ScmConnectionAttributes
func (*ScmConnection) ConsoleID ¶
func (s *ScmConnection) ConsoleID() *string
ConsoleID implements PluralResource interface
func (*ScmConnection) ConsoleName ¶
func (s *ScmConnection) ConsoleName() string
ConsoleName implements PluralResource interface
func (*ScmConnection) DeepCopy ¶
func (in *ScmConnection) DeepCopy() *ScmConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScmConnection.
func (*ScmConnection) DeepCopyInto ¶
func (in *ScmConnection) DeepCopyInto(out *ScmConnection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScmConnection) DeepCopyObject ¶
func (in *ScmConnection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ScmConnection) Diff ¶
func (s *ScmConnection) Diff(hasher Hasher) (changed bool, sha string, err error)
func (*ScmConnection) SetCondition ¶
func (s *ScmConnection) SetCondition(condition metav1.Condition)
type ScmConnectionList ¶
type ScmConnectionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ScmConnection `json:"items"` }
ScmConnectionList ... +kubebuilder:object:root=true
func (*ScmConnectionList) DeepCopy ¶
func (in *ScmConnectionList) DeepCopy() *ScmConnectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScmConnectionList.
func (*ScmConnectionList) DeepCopyInto ¶
func (in *ScmConnectionList) DeepCopyInto(out *ScmConnectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScmConnectionList) DeepCopyObject ¶
func (in *ScmConnectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScmConnectionSpec ¶
type ScmConnectionSpec struct { // Name is a human-readable name of the ScmConnection. // +kubebuilder:validation:Required Name string `json:"name"` // Type is the name of the scm service for the ScmConnection. // One of (ScmType): [github, gitlab] // +kubebuilder:example:=GITHUB // +kubebuilder:validation:Required // +kubebuilder:validation:Type:=string // +kubebuilder:validation:Enum:=GITHUB;GITLAB Type console.ScmType `json:"type"` // Token ... // +kubebuilder:validation:Optional TokenSecretRef *corev1.SecretReference `json:"tokenSecretRef,omitempty"` // Username ... // +kubebuilder:validation:Optional Username *string `json:"username,omitempty"` // BaseUrl is a base URL for Git clones for self-hosted versions. // +kubebuilder:validation:Optional BaseUrl *string `json:"baseUrl,omitempty"` // APIUrl is a base URL for HTTP apis for shel-hosted versions if different from BaseUrl. // +kubebuilder:validation:Optional APIUrl *string `json:"apiUrl,omitempty"` }
func (*ScmConnectionSpec) DeepCopy ¶
func (in *ScmConnectionSpec) DeepCopy() *ScmConnectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScmConnectionSpec.
func (*ScmConnectionSpec) DeepCopyInto ¶
func (in *ScmConnectionSpec) DeepCopyInto(out *ScmConnectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceComponent ¶
type ServiceComponent struct { ID string `json:"id"` Name string `json:"name"` // +kubebuilder:validation:Optional Group *string `json:"group,omitempty"` Kind string `json:"kind"` // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty"` // State specifies the component state // +kubebuilder:validation:Enum:=RUNNING;PENDING;FAILED // +kubebuilder:validation:Optional State *ComponentState `json:"state,omitempty"` Synced bool `json:"synced"` // +kubebuilder:validation:Optional Version *string `json:"version,omitempty"` }
func (*ServiceComponent) DeepCopy ¶
func (in *ServiceComponent) DeepCopy() *ServiceComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceComponent.
func (*ServiceComponent) DeepCopyInto ¶
func (in *ServiceComponent) DeepCopyInto(out *ServiceComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceDeployment ¶
type ServiceDeployment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:Required Spec ServiceSpec `json:"spec,omitempty"` Status ServiceStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Id",type="string",JSONPath=".status.id",description="Console repo Id"
func (*ServiceDeployment) ConsoleID ¶
func (s *ServiceDeployment) ConsoleID() *string
ConsoleID implements NamespacedPluralResource interface
func (*ServiceDeployment) ConsoleName ¶
func (s *ServiceDeployment) ConsoleName() string
ConsoleName implements NamespacedPluralResource interface
func (*ServiceDeployment) ConsoleNamespace ¶
func (s *ServiceDeployment) ConsoleNamespace() string
ConsoleNamespace implements NamespacedPluralResource interface
func (*ServiceDeployment) DeepCopy ¶
func (in *ServiceDeployment) DeepCopy() *ServiceDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDeployment.
func (*ServiceDeployment) DeepCopyInto ¶
func (in *ServiceDeployment) DeepCopyInto(out *ServiceDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceDeployment) DeepCopyObject ¶
func (in *ServiceDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceDeployment) SetCondition ¶
func (s *ServiceDeployment) SetCondition(condition metav1.Condition)
type ServiceDeploymentList ¶
type ServiceDeploymentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceDeployment `json:"items"` }
func (*ServiceDeploymentList) DeepCopy ¶
func (in *ServiceDeploymentList) DeepCopy() *ServiceDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDeploymentList.
func (*ServiceDeploymentList) DeepCopyInto ¶
func (in *ServiceDeploymentList) DeepCopyInto(out *ServiceDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceDeploymentList) DeepCopyObject ¶
func (in *ServiceDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceError ¶
func (*ServiceError) DeepCopy ¶
func (in *ServiceError) DeepCopy() *ServiceError
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceError.
func (*ServiceError) DeepCopyInto ¶
func (in *ServiceError) DeepCopyInto(out *ServiceError)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceHelm ¶
type ServiceHelm struct { // Fetches the helm values from a secret in this cluster, will consider any key with yaml data a values file and merge them iteratively // +kubebuilder:validation:Optional ValuesFrom *corev1.SecretReference `json:"valuesFrom,omitempty"` // +kubebuilder:validation:Optional ValuesConfigMapRef *corev1.ConfigMapKeySelector `json:"valuesConfigMapRef,omitempty"` // name of the helm release to use when applying // +kubebuilder:validation:Optional Release *string `json:"release,omitempty"` // arbitrary yaml values to overlay // +kubebuilder:validation:Optional Values *runtime.RawExtension `json:"values,omitempty"` // individual values files to overlay // +kubebuilder:validation:Optional ValuesFiles []*string `json:"valuesFiles,omitempty"` // chart to use // +kubebuilder:validation:Optional Chart *string `json:"chart,omitempty"` // chart version to use // +kubebuilder:validation:Optional Version *string `json:"version,omitempty"` // pointer to the FluxCD helm repository to use // +kubebuilder:validation:Optional Repository *NamespacedName `json:"repository,omitempty"` }
func (*ServiceHelm) DeepCopy ¶
func (in *ServiceHelm) DeepCopy() *ServiceHelm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceHelm.
func (*ServiceHelm) DeepCopyInto ¶
func (in *ServiceHelm) DeepCopyInto(out *ServiceHelm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceKustomize ¶
type ServiceKustomize struct {
Path string `json:"path"`
}
func (*ServiceKustomize) DeepCopy ¶
func (in *ServiceKustomize) DeepCopy() *ServiceKustomize
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceKustomize.
func (*ServiceKustomize) DeepCopyInto ¶
func (in *ServiceKustomize) DeepCopyInto(out *ServiceKustomize)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceSpec ¶
type ServiceSpec struct { // the name of this service, if not provided ServiceDeployment's own name from ServiceDeployment.ObjectMeta will be used. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty"` // the namespace this service will be deployed into, if not provided deploys to the ServiceDeployment's own namespace // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty"` // +kubebuilder:validation:Optional DocsPath *string `json:"docsPath,omitempty"` // +kubebuilder:validation:Optional Version *string `json:"version"` // +kubebuilder:validation:Optional Protect bool `json:"protect,omitempty"` // +kubebuilder:validation:Optional Kustomize *ServiceKustomize `json:"kustomize,omitempty"` // +kubebuilder:validation:Optional Git *GitRef `json:"git,omitempty"` // +kubebuilder:validation:Optional Helm *ServiceHelm `json:"helm,omitempty"` // +kubebuilder:validation:Optional SyncConfig *SyncConfigAttributes `json:"syncConfig,omitempty"` // +kubebuilder:validation:Optional RepositoryRef *corev1.ObjectReference `json:"repositoryRef"` // +kubebuilder:validation:Required // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Cluster is immutable" ClusterRef corev1.ObjectReference `json:"clusterRef"` // ConfigurationRef is a secret reference which should contain service configuration. // +kubebuilder:validation:Optional ConfigurationRef *corev1.SecretReference `json:"configurationRef,omitempty"` // Bindings contain read and write policies of this cluster // +kubebuilder:validation:Optional Bindings *Bindings `json:"bindings,omitempty"` // Dependencies contain dependent services // +kubebuilder:validation:Optional Dependencies []corev1.ObjectReference `json:"dependencies,omitempty"` // Contexts contain dependent service context names // +kubebuilder:validation:Optional Contexts []string `json:"contexts,omitempty"` // Templated should apply liquid templating to raw yaml files, defaults to true // +kubebuilder:validation:Optional Templated *bool `json:"templated,omitempty"` }
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 { Status `json:",inline"` // +kubebuilder:validation:Optional Errors []ServiceError `json:"errors,omitempty"` // +kubebuilder:validation:Optional Components []ServiceComponent `json:"components,omitempty"` }
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 ServiceTemplate ¶
type ServiceTemplate struct { // Name the name for this service (optional for managed namespaces) // +kubebuilder:validation:Optional Name *string `json:"name,omitempty"` // Namespace the namespace for this service (optional for managed namespaces) // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty"` // +kubebuilder:validation:Optional Templated *bool `json:"templated,omitempty"` // +kubebuilder:validation:Optional RepositoryRef *corev1.ObjectReference `json:"repositoryRef"` // a list of context ids to add to this service // +kubebuilder:validation:Optional Contexts []string `json:"contexts,omitempty"` // Git settings to configure git for a service // +kubebuilder:validation:Optional Git *GitRef `json:"git,omitempty"` // Helm settings to configure helm for a service // +kubebuilder:validation:Optional Helm *ServiceHelm `json:"helm,omitempty"` // Kustomize settings for service kustomization // +kubebuilder:validation:Optional Kustomize *ServiceKustomize `json:"kustomize,omitempty"` // SyncConfig attributes to configure sync settings for this service // +kubebuilder:validation:Optional SyncConfig *SyncConfigAttributes `json:"syncConfig,omitempty"` // Dependencies contain dependent services // +kubebuilder:validation:Optional Dependencies []corev1.ObjectReference `json:"dependencies,omitempty"` }
Attributes for configuring a service in something like a managed namespace
func (*ServiceTemplate) DeepCopy ¶
func (in *ServiceTemplate) DeepCopy() *ServiceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplate.
func (*ServiceTemplate) DeepCopyInto ¶
func (in *ServiceTemplate) DeepCopyInto(out *ServiceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SinkConfiguration ¶
type SinkConfiguration struct { // Slack url // +kubebuilder:validation:Optional Slack *SinkURL `json:"slack,omitempty"` // Teams url // +kubebuilder:validation:Optional Teams *SinkURL `json:"teams,omitempty"` }
func (*SinkConfiguration) DeepCopy ¶
func (in *SinkConfiguration) DeepCopy() *SinkConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinkConfiguration.
func (*SinkConfiguration) DeepCopyInto ¶
func (in *SinkConfiguration) DeepCopyInto(out *SinkConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SinkURL ¶
type SinkURL struct {
URL string `json:"url"`
}
func (*SinkURL) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinkURL.
func (*SinkURL) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackConfiguration ¶
type StackConfiguration struct { // Image optional custom image you might want to use // +kubebuilder:validation:Optional Image *string `json:"image,omitempty"` // Version the semver of the tool you wish to use Version string `json:"version"` }
func (*StackConfiguration) DeepCopy ¶
func (in *StackConfiguration) DeepCopy() *StackConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackConfiguration.
func (*StackConfiguration) DeepCopyInto ¶
func (in *StackConfiguration) DeepCopyInto(out *StackConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackEnvironment ¶
type StackEnvironment struct { Name string `json:"name"` Value string `json:"value"` // +kubebuilder:validation:Optional Secret *bool `json:"secret,omitempty"` }
func (*StackEnvironment) DeepCopy ¶
func (in *StackEnvironment) DeepCopy() *StackEnvironment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackEnvironment.
func (*StackEnvironment) DeepCopyInto ¶
func (in *StackEnvironment) DeepCopyInto(out *StackEnvironment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackFile ¶
func (*StackFile) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackFile.
func (*StackFile) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Status ¶
type Status struct { // ID of the resource in the Console API. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string ID *string `json:"id,omitempty"` // SHA of last applied configuration. // +kubebuilder:validation:Optional // +kubebuilder:validation:Type:=string SHA *string `json:"sha,omitempty"` // Represents the observations of a PrAutomation's current state. // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` }
func (*Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Status) HasReadonlyCondition ¶
func (*Status) IsReadonly ¶
func (*Status) IsSHAEqual ¶
func (*Status) IsStatusConditionTrue ¶
func (p *Status) IsStatusConditionTrue(condition ConditionType) bool
type SyncConfigAttributes ¶
type SyncConfigAttributes struct { // +kubebuilder:validation:Optional CreateNamespace *bool `json:"createNamespace,omitempty"` // +kubebuilder:validation:Optional Labels map[string]string `json:"labels,omitempty"` // +kubebuilder:validation:Optional Annotations map[string]string `json:"annotations,omitempty"` }
func (*SyncConfigAttributes) DeepCopy ¶
func (in *SyncConfigAttributes) DeepCopy() *SyncConfigAttributes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncConfigAttributes.
func (*SyncConfigAttributes) DeepCopyInto ¶
func (in *SyncConfigAttributes) DeepCopyInto(out *SyncConfigAttributes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Taint ¶
type Taint struct { // Effect specifies the effect for the taint. // +kubebuilder:validation:Enum=NoSchedule;NoExecute;PreferNoSchedule Effect TaintEffect `json:"effect"` // Key is the key of the taint. Key string `json:"key"` // Value is the value of the taint. Value string `json:"value"` }
Taint represents a Kubernetes taint.
func (*Taint) Attributes ¶
func (t *Taint) Attributes() *console.TaintAttributes
func (*Taint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint.
func (*Taint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- cluster_types.go
- clusterrestore_types.go
- clusterrestoretrigger_types.go
- common_types.go
- gitrepository_types.go
- globalservice_types.go
- groupversion_info.go
- infrastructurestack_types.go
- managednamespace_types.go
- notificationrouter_types.go
- notificationsink_types.go
- pipeline_types.go
- pipelinecontext_types.go
- prautomation_types.go
- prautomationtrigger_types.go
- provider_types.go
- scmconnection_types.go
- servicedeployment_types.go
- zz_generated.deepcopy.go