Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group.
Index ¶
- Constants
- Variables
- func NewHostedControlPlaneWebhook() *hostedControlPlaneWebhook
- type APIServerPod
- type Audit
- type AuditWebhook
- type AuditWebhookAuthentication
- type AuditWebhookTarget
- type Container
- type ETCDBackup
- type ETCDBackupSecret
- type ETCDComponent
- type GatewayReference
- type HostedControlPlane
- func (in *HostedControlPlane) DeepCopy() *HostedControlPlane
- func (in *HostedControlPlane) DeepCopyInto(out *HostedControlPlane)
- func (in *HostedControlPlane) DeepCopyObject() runtime.Object
- func (hcp *HostedControlPlane) GetConditions() []metav1.Condition
- func (*HostedControlPlane) Hub()
- func (hcp *HostedControlPlane) SetConditions(conditions []metav1.Condition)
- func (hcp *HostedControlPlane) SetupWebhookWithManager(mgr ctrl.Manager) error
- type HostedControlPlaneDeployment
- type HostedControlPlaneInitializationStatus
- type HostedControlPlaneInlineSpec
- type HostedControlPlaneList
- type HostedControlPlaneSpec
- type HostedControlPlaneStatus
- type HostedControlPlaneTemplate
- type HostedControlPlaneTemplateList
- type HostedControlPlaneTemplateResource
- type HostedControlPlaneTemplateSpec
- type ImageSpec
- type KubeProxyComponent
- type Mount
- type Pod
- type ScalablePod
Constants ¶
const ( APIServerServiceReadyCondition = "APIServerServiceReady" APIServerServiceFailedReason = "APIServerServiceFailed" APIServerTLSRoutesReadyCondition = "APIServerTLSRoutesReady" APIServerTLSRoutesFailedReason = "APIServerTLSRoutesFailed" SyncControlPlaneEndpointReadyCondition = "SyncControlPlaneEndpointReady" SyncControlPlaneEndpointFailedReason = "SyncControlPlaneEndpointFailed" APIServerDeploymentsReadyCondition = "APIServerDeploymentsReady" APIServerDeploymentsFailedReason = "APIServerDeploymentsFailed" CACertificatesReadyCondition = "CACertificatesReady" CACertificatesFailedReason = "CACertificatesFailed" CertificatesReadyCondition = "CertificatesReady" CertificatesFailedReason = "CertificatesFailed" KubeconfigReadyCondition = "KubeconfigReady" KubeconfigFailedReason = "KubeconfigFailed" EtcdClusterReadyCondition = "EtcdClusterReady" EtcdClusterFailedReason = "EtcdClusterFailed" WorkloadClusterResourcesReadyCondition = "WorkloadSetupReady" WorkloadClusterResourcesFailedReason = "WorkloadSetupFailed" WorkloadRBACReadyCondition = "WorkloadRBACReady" WorkloadRBACFailedReason = "WorkloadRBACFailed" WorkloadClusterInfoReadyCondition = "WorkloadClusterInfoReady" WorkloadClusterInfoFailedReason = "WorkloadClusterInfoFailed" WorkloadKubeadmConfigReadyCondition = "WorkloadKubeadmConfigReady" WorkloadKubeadmConfigFailedReason = "WorkloadKubeadmConfigFailed" WorkloadKubeletConfigReadyCondition = "WorkloadKubeletConfigReady" WorkloadKubeletConfigFailedReason = "WorkloadKubeletConfigFailed" WorkloadKonnectivityReadyCondition = "WorkloadKonnectivityReady" WorkloadKonnectivityFailedReason = "WorkloadKonnectivityFailed" WorkloadCoreDNSReadyCondition = "WorkloadCoreDNSReady" WorkloadCoreDNSFailedReason = "WorkloadCoreDNSFailed" WorkloadKubeProxyReadyCondition = "WorkloadKubeProxyReady" WorkloadKubeProxyFailedReason = "WorkloadKubeProxyFailed" )
Variables ¶
var ( SchemeGroupVersion = schema.GroupVersion{Group: api.GroupName, Version: "v1alpha1"} AddToScheme = localSchemeBuilder.AddToScheme )
Functions ¶
func NewHostedControlPlaneWebhook ¶ added in v1.2.0
func NewHostedControlPlaneWebhook() *hostedControlPlaneWebhook
Types ¶
type APIServerPod ¶
type APIServerPod struct {
Pod `json:",inline"`
//+kubebuilder:validation:Optional
Mounts map[string]Mount `json:"mounts,omitempty"`
//+kubebuilder:validation:Optional
Konnectivity Container `json:"konnectivity,omitempty"`
//+kubebuilder:validation:Optional
Audit *Audit `json:"audit,omitempty"`
}
func (*APIServerPod) DeepCopy ¶
func (in *APIServerPod) DeepCopy() *APIServerPod
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServerPod.
func (*APIServerPod) DeepCopyInto ¶
func (in *APIServerPod) DeepCopyInto(out *APIServerPod)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Audit ¶
type Audit struct {
//+kubebuilder:validation:Required
Policy auditv1.Policy `json:"policy"`
//+kubebuilder:validation:Optional
//+kubebuilder:validation:Enum=batch;blocking;blocking-strict
Mode *string `json:"mode,omitempty"`
//+kubebuilder:validation:Optional
Webhook *AuditWebhook `json:"webhook,omitempty"`
}
func (*Audit) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Audit.
func (*Audit) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Audit) ModeOrDefault ¶ added in v1.2.0
type AuditWebhook ¶
type AuditWebhook struct {
Container `json:",inline"`
//+kubebuilder:validation:Required
//+kubebuilder:validation:MinItems=1
Targets []AuditWebhookTarget `json:"targets"`
}
func (*AuditWebhook) DeepCopy ¶
func (in *AuditWebhook) DeepCopy() *AuditWebhook
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditWebhook.
func (*AuditWebhook) DeepCopyInto ¶
func (in *AuditWebhook) DeepCopyInto(out *AuditWebhook)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuditWebhookAuthentication ¶
type AuditWebhookAuthentication struct {
//+kubebuilder:validation:Required
SecretName string `json:"secretName"`
//+kubebuilder:validation:Optional
// SecretNamespace. If not set, defaults to the namespace of the HostedControlPlane.
SecretNamespace *string `json:"secretNamespace,omitempty"`
//+kubebuilder:validation:Optional
TokenKey *string `json:"tokenKey,omitempty"`
}
func (*AuditWebhookAuthentication) DeepCopy ¶
func (in *AuditWebhookAuthentication) DeepCopy() *AuditWebhookAuthentication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditWebhookAuthentication.
func (*AuditWebhookAuthentication) DeepCopyInto ¶
func (in *AuditWebhookAuthentication) DeepCopyInto(out *AuditWebhookAuthentication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuditWebhookAuthentication) TokenKeyOrDefault ¶ added in v1.2.0
func (awc *AuditWebhookAuthentication) TokenKeyOrDefault() string
type AuditWebhookTarget ¶
type AuditWebhookTarget struct {
//+kubebuilder:validation:Required
Server string `json:"server"`
//+kubebuilder:validation:Optional
Authentication *AuditWebhookAuthentication `json:"authentication,omitempty"`
}
func (*AuditWebhookTarget) DeepCopy ¶
func (in *AuditWebhookTarget) DeepCopy() *AuditWebhookTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditWebhookTarget.
func (*AuditWebhookTarget) DeepCopyInto ¶
func (in *AuditWebhookTarget) DeepCopyInto(out *AuditWebhookTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Container ¶
type Container struct {
//+kubebuilder:validation:Optional
Image *ImageSpec `json:"image,omitempty"`
//+kubebuilder:validation:Optional
ImagePullPolicy *corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
//+kubebuilder:validation:Optional
Args map[string]string `json:"args,omitempty"`
//+kubebuilder:validation:Optional
Resources *corev1.ResourceRequirements `json:"resources,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.
func (*Container) ImagePullPolicyOrDefault ¶ added in v1.2.0
func (c *Container) ImagePullPolicyOrDefault() corev1.PullPolicy
type ETCDBackup ¶
type ETCDBackup struct {
//+kubebuilder:validation:Required
Schedule string `json:"schedule"`
//+kubebuilder:validation:Required
Bucket string `json:"bucket"`
//+kubebuilder:validation:Required
Secret ETCDBackupSecret `json:"secret"`
//+kubebuilder:validation:Optional
Region string `json:"region,omitempty"`
}
func (*ETCDBackup) DeepCopy ¶
func (in *ETCDBackup) DeepCopy() *ETCDBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDBackup.
func (*ETCDBackup) DeepCopyInto ¶
func (in *ETCDBackup) DeepCopyInto(out *ETCDBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ETCDBackupSecret ¶
type ETCDBackupSecret struct {
//+kubebuilder:validation:Required
Name string `json:"name"`
//+kubebuilder:validation:Optional
Namespace *string `json:"namespace"`
//+kubebuilder:validation:Optional
AccessKeyIDKey *string `json:"accessKeyIDKey,omitempty"`
//+kubebuilder:validation:Optional
SecretAccessKeyKey *string `json:"secretAccessKeyKey,omitempty"`
}
func (*ETCDBackupSecret) AccessKeyIDKeyOrDefault ¶ added in v1.2.0
func (ebs *ETCDBackupSecret) AccessKeyIDKeyOrDefault() string
func (*ETCDBackupSecret) DeepCopy ¶
func (in *ETCDBackupSecret) DeepCopy() *ETCDBackupSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDBackupSecret.
func (*ETCDBackupSecret) DeepCopyInto ¶
func (in *ETCDBackupSecret) DeepCopyInto(out *ETCDBackupSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ETCDBackupSecret) SecretAccessKeyKeyOrDefault ¶ added in v1.2.0
func (ebs *ETCDBackupSecret) SecretAccessKeyKeyOrDefault() string
type ETCDComponent ¶
type ETCDComponent struct {
Container `json:",inline"`
//+kubebuilder:validation:Optional
VolumeSize *resource.Quantity `json:"volumeSize,omitempty"`
// AutoGrow will increase the volume size automatically when it is near full.
//+kubebuilder:validation:Optional
AutoGrow *bool `json:"autoGrow,omitempty"`
//+kubebuilder:validation:Optional
PriorityClassName string `json:"priorityClassName,omitempty"`
//+kubebuilder:validation:Optional
Backup *ETCDBackup `json:"backup,omitempty"`
}
func (*ETCDComponent) AutoGrowEnabled ¶ added in v1.2.0
func (e *ETCDComponent) AutoGrowEnabled() bool
func (*ETCDComponent) DeepCopy ¶
func (in *ETCDComponent) DeepCopy() *ETCDComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDComponent.
func (*ETCDComponent) DeepCopyInto ¶
func (in *ETCDComponent) DeepCopyInto(out *ETCDComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayReference ¶
type GatewayReference struct {
//+kubebuilder:validation:Required
Namespace string `json:"namespace"`
//+kubebuilder:validation:Required
Name string `json:"name"`
}
func (*GatewayReference) DeepCopy ¶
func (in *GatewayReference) DeepCopy() *GatewayReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayReference.
func (*GatewayReference) DeepCopyInto ¶
func (in *GatewayReference) DeepCopyInto(out *GatewayReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostedControlPlane ¶
type HostedControlPlane struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec HostedControlPlaneSpec `json:"spec,omitempty"`
Status HostedControlPlaneStatus `json:"status,omitempty"`
}
func (*HostedControlPlane) DeepCopy ¶
func (in *HostedControlPlane) DeepCopy() *HostedControlPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedControlPlane.
func (*HostedControlPlane) DeepCopyInto ¶
func (in *HostedControlPlane) DeepCopyInto(out *HostedControlPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostedControlPlane) DeepCopyObject ¶
func (in *HostedControlPlane) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HostedControlPlane) GetConditions ¶
func (hcp *HostedControlPlane) GetConditions() []metav1.Condition
func (*HostedControlPlane) Hub ¶
func (*HostedControlPlane) Hub()
func (*HostedControlPlane) SetConditions ¶
func (hcp *HostedControlPlane) SetConditions(conditions []metav1.Condition)
func (*HostedControlPlane) SetupWebhookWithManager ¶
func (hcp *HostedControlPlane) SetupWebhookWithManager(mgr ctrl.Manager) error
type HostedControlPlaneDeployment ¶
type HostedControlPlaneDeployment struct {
//+kubebuilder:validation:Optional
APIServer APIServerPod `json:"apiServer,omitempty"`
//+kubebuilder:validation:Optional
ControllerManager ScalablePod `json:"controllerManager,omitempty"`
//+kubebuilder:validation:Optional
Scheduler ScalablePod `json:"scheduler,omitempty"`
}
func (*HostedControlPlaneDeployment) DeepCopy ¶
func (in *HostedControlPlaneDeployment) DeepCopy() *HostedControlPlaneDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedControlPlaneDeployment.
func (*HostedControlPlaneDeployment) DeepCopyInto ¶
func (in *HostedControlPlaneDeployment) DeepCopyInto(out *HostedControlPlaneDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostedControlPlaneInitializationStatus ¶ added in v1.2.1
type HostedControlPlaneInitializationStatus struct {
//+kubebuilder:validation:Optional
ControlPlaneInitialized *bool `json:"controlPlaneInitialized,omitempty"`
}
func (*HostedControlPlaneInitializationStatus) DeepCopy ¶ added in v1.2.1
func (in *HostedControlPlaneInitializationStatus) DeepCopy() *HostedControlPlaneInitializationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedControlPlaneInitializationStatus.
func (*HostedControlPlaneInitializationStatus) DeepCopyInto ¶ added in v1.2.1
func (in *HostedControlPlaneInitializationStatus) DeepCopyInto(out *HostedControlPlaneInitializationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostedControlPlaneInlineSpec ¶
type HostedControlPlaneInlineSpec struct {
//+kubebuilder:validation:Optional
Deployment HostedControlPlaneDeployment `json:"deployment,omitempty"`
//+kubebuilder:validation:Required
Gateway GatewayReference `json:"gateway"`
//+kubebuilder:validation:Optional
KonnectivityClient ScalablePod `json:"konnectivityClient,omitempty"`
//+kubebuilder:validation:Optional
KubeProxy KubeProxyComponent `json:"kubeProxy,omitempty"`
//+kubebuilder:validation:Optional
CoreDNS ScalablePod `json:"coredns,omitempty"`
//+kubebuilder:validation:Optional
ETCD ETCDComponent `json:"etcd,omitempty"`
}
func (*HostedControlPlaneInlineSpec) DeepCopy ¶
func (in *HostedControlPlaneInlineSpec) DeepCopy() *HostedControlPlaneInlineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedControlPlaneInlineSpec.
func (*HostedControlPlaneInlineSpec) DeepCopyInto ¶
func (in *HostedControlPlaneInlineSpec) DeepCopyInto(out *HostedControlPlaneInlineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostedControlPlaneList ¶
type HostedControlPlaneList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []HostedControlPlane `json:"items"`
}
func (*HostedControlPlaneList) DeepCopy ¶
func (in *HostedControlPlaneList) DeepCopy() *HostedControlPlaneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedControlPlaneList.
func (*HostedControlPlaneList) DeepCopyInto ¶
func (in *HostedControlPlaneList) DeepCopyInto(out *HostedControlPlaneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostedControlPlaneList) DeepCopyObject ¶
func (in *HostedControlPlaneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HostedControlPlaneList) Hub ¶
func (*HostedControlPlaneList) Hub()
type HostedControlPlaneSpec ¶
type HostedControlPlaneSpec struct {
// The Kubernetes version of the cluster.
//+kubebuilder:validation:Required
//+kubebuilder:validation:MinLength=1
//+kubebuilder:validation:MaxLength=256
Version string `json:"version"`
//+kubebuilder:default=2
//+kubebuilder:validation:Minimum=1
//+kubebuilder:validation:Optional
Replicas *int32 `json:"replicas,omitempty"`
HostedControlPlaneInlineSpec `json:",inline"`
}
func (*HostedControlPlaneSpec) DeepCopy ¶
func (in *HostedControlPlaneSpec) DeepCopy() *HostedControlPlaneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedControlPlaneSpec.
func (*HostedControlPlaneSpec) DeepCopyInto ¶
func (in *HostedControlPlaneSpec) DeepCopyInto(out *HostedControlPlaneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostedControlPlaneSpec) ReplicasOrDefault ¶ added in v1.2.0
func (s *HostedControlPlaneSpec) ReplicasOrDefault() int32
type HostedControlPlaneStatus ¶
type HostedControlPlaneStatus struct {
//+kubebuilder:validation:Optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
//+kubebuilder:validation:Optional
LegacyIP string `json:"legacyIP,omitempty"`
//+kubebuilder:validation:Optional
ETCDVolumeSize resource.Quantity `json:"etcdVolumeSize,omitempty"`
//+kubebuilder:validation:Optional
ETCDVolumeUsage resource.Quantity `json:"etcdVolumeUsage,omitempty"`
//+kubebuilder:validation:Optional
ETCDLastBackupTime metav1.Time `json:"etcdLastBackupTime,omitempty"`
//+kubebuilder:validation:Optional
ETCDNextBackupTime metav1.Time `json:"etcdNextBackupTime,omitempty"`
//+kubebuilder:validation:Optional
Selector string `json:"selector,omitempty"`
//+kubebuilder:validation:Optional
Replicas int32 `json:"replicas,omitempty"`
//+kubebuilder:validation:Optional
ReadyReplicas int32 `json:"readyReplicas,omitempty"`
//+kubebuilder:validation:Optional
AvailableReplicas int32 `json:"availableReplicas,omitempty"`
//+kubebuilder:validation:Optional
UpToDateReplicas int32 `json:"upToDateReplicas,omitempty"`
//+kubebuilder:validation:Optional
Initialization HostedControlPlaneInitializationStatus `json:"initialization,omitempty"`
//+kubebuilder:validation:Optional
Ready bool `json:"ready"`
//+kubebuilder:validation:Optional
Version string `json:"version,omitempty"`
ExternalManagedControlPlane *bool `json:"externalManagedControlPlane"`
}
func (*HostedControlPlaneStatus) DeepCopy ¶
func (in *HostedControlPlaneStatus) DeepCopy() *HostedControlPlaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedControlPlaneStatus.
func (*HostedControlPlaneStatus) DeepCopyInto ¶
func (in *HostedControlPlaneStatus) DeepCopyInto(out *HostedControlPlaneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostedControlPlaneTemplate ¶
type HostedControlPlaneTemplate struct {
metav1.TypeMeta `json:",inline"`
//+kubebuilder:validation:Optional
metav1.ObjectMeta `json:"metadata,omitempty"`
//+kubebuilder:validation:Optional
Spec HostedControlPlaneTemplateSpec `json:"spec,omitempty"`
}
func (*HostedControlPlaneTemplate) DeepCopy ¶
func (in *HostedControlPlaneTemplate) DeepCopy() *HostedControlPlaneTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedControlPlaneTemplate.
func (*HostedControlPlaneTemplate) DeepCopyInto ¶
func (in *HostedControlPlaneTemplate) DeepCopyInto(out *HostedControlPlaneTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostedControlPlaneTemplate) DeepCopyObject ¶
func (in *HostedControlPlaneTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostedControlPlaneTemplateList ¶
type HostedControlPlaneTemplateList struct {
metav1.TypeMeta `json:",inline"`
//+kubebuilder:validation:Optional
metav1.ListMeta `json:"metadata,omitempty"`
Items []HostedControlPlaneTemplate `json:"items"`
}
func (*HostedControlPlaneTemplateList) DeepCopy ¶
func (in *HostedControlPlaneTemplateList) DeepCopy() *HostedControlPlaneTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedControlPlaneTemplateList.
func (*HostedControlPlaneTemplateList) DeepCopyInto ¶
func (in *HostedControlPlaneTemplateList) DeepCopyInto(out *HostedControlPlaneTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostedControlPlaneTemplateList) DeepCopyObject ¶
func (in *HostedControlPlaneTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostedControlPlaneTemplateResource ¶
type HostedControlPlaneTemplateResource struct {
//+kubebuilder:validation:Optional
ObjectMeta metav1.ObjectMeta `json:"metadata,omitempty"`
//+kubebuilder:validation:Required
Spec HostedControlPlaneInlineSpec `json:"spec"`
}
func (*HostedControlPlaneTemplateResource) DeepCopy ¶
func (in *HostedControlPlaneTemplateResource) DeepCopy() *HostedControlPlaneTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedControlPlaneTemplateResource.
func (*HostedControlPlaneTemplateResource) DeepCopyInto ¶
func (in *HostedControlPlaneTemplateResource) DeepCopyInto(out *HostedControlPlaneTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostedControlPlaneTemplateSpec ¶
type HostedControlPlaneTemplateSpec struct {
//+kubebuilder:validation:Required
Template HostedControlPlaneTemplateResource `json:"template"`
}
func (*HostedControlPlaneTemplateSpec) DeepCopy ¶
func (in *HostedControlPlaneTemplateSpec) DeepCopy() *HostedControlPlaneTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostedControlPlaneTemplateSpec.
func (*HostedControlPlaneTemplateSpec) DeepCopyInto ¶
func (in *HostedControlPlaneTemplateSpec) DeepCopyInto(out *HostedControlPlaneTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpec ¶
type ImageSpec struct {
//+kubebuilder:validation:Optional
Registry *string `json:"registry,omitempty"`
//+kubebuilder:validation:Optional
Repository *string `json:"repository,omitempty"`
//+kubebuilder:validation:Optional
Tag *string `json:"tag,omitempty"`
}
func (*ImageSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeProxyComponent ¶
type KubeProxyComponent struct {
Pod `json:",inline"`
//+kubebuilder:validation:Optional
Disabled *bool `json:"enabled,omitempty"`
}
func (*KubeProxyComponent) DeepCopy ¶
func (in *KubeProxyComponent) DeepCopy() *KubeProxyComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyComponent.
func (*KubeProxyComponent) DeepCopyInto ¶
func (in *KubeProxyComponent) DeepCopyInto(out *KubeProxyComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubeProxyComponent) Enabled ¶ added in v1.2.0
func (kp *KubeProxyComponent) Enabled() bool
type Mount ¶
type Mount struct {
//+kubebuilder:validation:Required
Path string `json:"path"`
//+kubebuilder:validation:Optional
ConfigMap *corev1.ConfigMapVolumeSource `json:"configMap,omitempty"`
//+kubebuilder:validation:Optional
Secret *corev1.SecretVolumeSource `json:"secret,omitempty"`
}
func (*Mount) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mount.
func (*Mount) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Pod ¶
type Pod struct {
Container `json:",inline"`
//+kubebuilder:validation:Optional
PriorityClassName string `json:"priorityClassName,omitempty"`
}
func (*Pod) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod.
func (*Pod) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScalablePod ¶
type ScalablePod struct {
Pod `json:",inline"`
//+kubebuilder:validation:Optional
Replicas *int32 `json:"replicas,omitempty"`
}
func (*ScalablePod) DeepCopy ¶
func (in *ScalablePod) DeepCopy() *ScalablePod
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalablePod.
func (*ScalablePod) DeepCopyInto ¶
func (in *ScalablePod) DeepCopyInto(out *ScalablePod)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScalablePod) ReplicaCount ¶ added in v1.2.0
func (sp *ScalablePod) ReplicaCount(defaultReplicas int32) int32