v1beta2

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package v1beta2 contains API Schema definitions for the controlplane v1beta2 API group +kubebuilder:object:generate=true +groupName=controlplane.cluster.x-k8s.io

Index

Constants

View Source
const (
	ControlPlaneReadyCondition       = "Ready"
	ControlPlaneInitializedCondition = "Initialized"
	ControlPlaneFailedCondition      = "Failed"
	ControlPlaneCreatingCondition    = "Creating"

	ReasonCreating            = "Creating"
	ReasonReady               = "Ready"
	ReasonFailed              = "Failed"
	ReasonWaitingForVPC       = "WaitingForVPC"
	ReasonVPCReadyTimeout     = "VPCReadyTimeout"
	ReasonControlPlaneTimeout = "ControlPlaneTimeout"
	ReasonWorkspaceError      = "WorkspaceError"
)

Condition/Reason names are shared with v1beta1 for compatibility

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "controlplane.cluster.x-k8s.io", Version: "v1beta2"}

	// 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 Addon

type Addon struct {
	Name                string `json:"name"`
	Version             string `json:"version,omitempty"`
	ConfigurationValues string `json:"configurationValues,omitempty"`
}

func (*Addon) DeepCopy

func (in *Addon) DeepCopy() *Addon

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.

func (*Addon) DeepCopyInto

func (in *Addon) DeepCopyInto(out *Addon)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CAPTControlPlane

type CAPTControlPlane struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CAPTControlPlaneSpec   `json:"spec,omitempty"`
	Status CAPTControlPlaneStatus `json:"status,omitempty"`
}

func (*CAPTControlPlane) DeepCopy

func (in *CAPTControlPlane) DeepCopy() *CAPTControlPlane

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlane.

func (*CAPTControlPlane) DeepCopyInto

func (in *CAPTControlPlane) DeepCopyInto(out *CAPTControlPlane)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CAPTControlPlane) DeepCopyObject

func (in *CAPTControlPlane) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CAPTControlPlane) Default

func (r *CAPTControlPlane) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*CAPTControlPlane) Hub

func (*CAPTControlPlane) Hub()

Hub marker

func (*CAPTControlPlane) SetupWebhookWithManager

func (r *CAPTControlPlane) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CAPTControlPlane) ValidateCreate

func (r *CAPTControlPlane) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CAPTControlPlane) ValidateDelete

func (r *CAPTControlPlane) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CAPTControlPlane) ValidateUpdate

func (r *CAPTControlPlane) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CAPTControlPlaneList

type CAPTControlPlaneList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CAPTControlPlane `json:"items"`
}

func (*CAPTControlPlaneList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneList.

func (*CAPTControlPlaneList) DeepCopyInto

func (in *CAPTControlPlaneList) DeepCopyInto(out *CAPTControlPlaneList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CAPTControlPlaneList) DeepCopyObject

func (in *CAPTControlPlaneList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CAPTControlPlaneSpec

type CAPTControlPlaneSpec struct {
	Version                    string                     `json:"version"`
	WorkspaceTemplateRef       WorkspaceTemplateReference `json:"workspaceTemplateRef"`
	ControlPlaneConfig         *ControlPlaneConfig        `json:"controlPlaneConfig,omitempty"`
	AdditionalTags             map[string]string          `json:"additionalTags,omitempty"`
	ControlPlaneEndpoint       clusterv1.APIEndpoint      `json:"controlPlaneEndpoint,omitempty"`
	WorkspaceTemplateApplyName string                     `json:"workspaceTemplateApplyName,omitempty"`
}

func (*CAPTControlPlaneSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneSpec.

func (*CAPTControlPlaneSpec) DeepCopyInto

func (in *CAPTControlPlaneSpec) DeepCopyInto(out *CAPTControlPlaneSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CAPTControlPlaneStatus

type CAPTControlPlaneStatus struct {
	Ready                   bool                     `json:"ready"`
	Initialized             bool                     `json:"initialized"`
	SecretsReady            bool                     `json:"secretsReady"`
	WorkspaceTemplateStatus *WorkspaceTemplateStatus `json:"workspaceTemplateStatus,omitempty"`
	WorkspaceStatus         *WorkspaceStatus         `json:"workspaceStatus,omitempty"`
	FailureReason           *string                  `json:"failureReason,omitempty"`
	FailureMessage          *string                  `json:"failureMessage,omitempty"`
	Phase                   string                   `json:"phase,omitempty"`
	Conditions              []metav1.Condition       `json:"conditions,omitempty"`
}

func (*CAPTControlPlaneStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneStatus.

func (*CAPTControlPlaneStatus) DeepCopyInto

func (in *CAPTControlPlaneStatus) DeepCopyInto(out *CAPTControlPlaneStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CAPTControlPlaneTemplate

type CAPTControlPlaneTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec CAPTControlPlaneTemplateSpec `json:"spec,omitempty"`
}

func (*CAPTControlPlaneTemplate) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneTemplate.

func (*CAPTControlPlaneTemplate) DeepCopyInto

func (in *CAPTControlPlaneTemplate) DeepCopyInto(out *CAPTControlPlaneTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CAPTControlPlaneTemplate) DeepCopyObject

func (in *CAPTControlPlaneTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CAPTControlPlaneTemplate) Hub

func (*CAPTControlPlaneTemplate) Hub()

Hub marker

type CAPTControlPlaneTemplateList

type CAPTControlPlaneTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CAPTControlPlaneTemplate `json:"items"`
}

func (*CAPTControlPlaneTemplateList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneTemplateList.

func (*CAPTControlPlaneTemplateList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CAPTControlPlaneTemplateList) DeepCopyObject

func (in *CAPTControlPlaneTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CAPTControlPlaneTemplateResource

type CAPTControlPlaneTemplateResource struct {
	ObjectMeta metav1.ObjectMeta    `json:"metadata,omitempty"`
	Spec       CAPTControlPlaneSpec `json:"spec"`
}

func (*CAPTControlPlaneTemplateResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneTemplateResource.

func (*CAPTControlPlaneTemplateResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CAPTControlPlaneTemplateSpec

type CAPTControlPlaneTemplateSpec struct {
	Template CAPTControlPlaneTemplateResource `json:"template"`
}

func (*CAPTControlPlaneTemplateSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneTemplateSpec.

func (*CAPTControlPlaneTemplateSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ControlPlaneConfig

type ControlPlaneConfig struct {
	Region         string          `json:"region"`
	EndpointAccess *EndpointAccess `json:"endpointAccess,omitempty"`
	Addons         []Addon         `json:"addons,omitempty"`
	Timeouts       *TimeoutConfig  `json:"timeouts,omitempty"`
}

func (*ControlPlaneConfig) DeepCopy

func (in *ControlPlaneConfig) DeepCopy() *ControlPlaneConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneConfig.

func (*ControlPlaneConfig) DeepCopyInto

func (in *ControlPlaneConfig) DeepCopyInto(out *ControlPlaneConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EndpointAccess

type EndpointAccess struct {
	Public      bool     `json:"public,omitempty"`
	Private     bool     `json:"private,omitempty"`
	PublicCIDRs []string `json:"publicCIDRs,omitempty"`
}

func (*EndpointAccess) DeepCopy

func (in *EndpointAccess) DeepCopy() *EndpointAccess

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAccess.

func (*EndpointAccess) DeepCopyInto

func (in *EndpointAccess) DeepCopyInto(out *EndpointAccess)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TimeoutConfig

type TimeoutConfig struct {
	ControlPlaneTimeout *int `json:"controlPlaneTimeout,omitempty"`
	VPCReadyTimeout     *int `json:"vpcReadyTimeout,omitempty"`
}

func (*TimeoutConfig) DeepCopy

func (in *TimeoutConfig) DeepCopy() *TimeoutConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeoutConfig.

func (*TimeoutConfig) DeepCopyInto

func (in *TimeoutConfig) DeepCopyInto(out *TimeoutConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceStatus

type WorkspaceStatus struct {
	Ready bool   `json:"ready"`
	State string `json:"state,omitempty"`
	// AtProvider contains provider-specific observed state
	// +optional
	AtProvider *runtime.RawExtension `json:"atProvider,omitempty"`
}

func (*WorkspaceStatus) DeepCopy

func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus.

func (*WorkspaceStatus) DeepCopyInto

func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceTemplateReference

type WorkspaceTemplateReference struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace,omitempty"`
}

func (*WorkspaceTemplateReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateReference.

func (*WorkspaceTemplateReference) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkspaceTemplateStatus

type WorkspaceTemplateStatus struct {
	Ready               bool              `json:"ready"`
	State               string            `json:"state,omitempty"`
	LastAppliedRevision string            `json:"lastAppliedRevision,omitempty"`
	Outputs             map[string]string `json:"outputs,omitempty"`
	LastFailedRevision  string            `json:"lastFailedRevision,omitempty"`
	LastFailureMessage  string            `json:"lastFailureMessage,omitempty"`
	// WorkspaceName is the name of the associated Terraform Workspace
	// +optional
	WorkspaceName string `json:"workspaceName,omitempty"`
}

func (*WorkspaceTemplateStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateStatus.

func (*WorkspaceTemplateStatus) DeepCopyInto

func (in *WorkspaceTemplateStatus) DeepCopyInto(out *WorkspaceTemplateStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL