Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type ONECluster
- type ONEClusterList
- type ONEClusterSpec
- type ONEClusterStatus
- type ONEImage
- type ONEMachine
- type ONEMachineList
- type ONEMachineSpec
- type ONEMachineStatus
- type ONEMachineTemplate
- type ONEMachineTemplateList
- type ONEMachineTemplateResource
- type ONEMachineTemplateSpec
- type ONEMachineTemplateStatus
- type ONETemplate
- type ONEVirtualNetwork
- type ONEVirtualRouter
Constants ¶
const (
ClusterFinalizer = "onecluster.infrastructure.cluster.x-k8s.io"
)
const (
MachineFinalizer = "onemachine.infrastructure.cluster.x-k8s.io"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1beta1"} // 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 ONECluster ¶
type ONECluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ONEClusterSpec `json:"spec,omitempty"` Status ONEClusterStatus `json:"status,omitempty"` }
ONECluster is the Schema for the oneclusters API
func (*ONECluster) DeepCopy ¶
func (in *ONECluster) DeepCopy() *ONECluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONECluster.
func (*ONECluster) DeepCopyInto ¶
func (in *ONECluster) DeepCopyInto(out *ONECluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ONECluster) DeepCopyObject ¶
func (in *ONECluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ONECluster) GetConditions ¶
func (c *ONECluster) GetConditions() clusterv1.Conditions
GetConditions returns the set of conditions for this object.
func (*ONECluster) SetConditions ¶
func (c *ONECluster) SetConditions(conditions clusterv1.Conditions)
SetConditions sets the conditions on this object.
type ONEClusterList ¶
type ONEClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ONECluster `json:"items"` }
ONEClusterList contains a list of ONECluster
func (*ONEClusterList) DeepCopy ¶
func (in *ONEClusterList) DeepCopy() *ONEClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEClusterList.
func (*ONEClusterList) DeepCopyInto ¶
func (in *ONEClusterList) DeepCopyInto(out *ONEClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ONEClusterList) DeepCopyObject ¶
func (in *ONEClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ONEClusterSpec ¶
type ONEClusterSpec struct { // +optional ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"` // +required SecretName string `json:"secretName"` // +optional VirtualRouter *ONEVirtualRouter `json:"virtualRouter,omitempty"` // +optional PublicNetwork *ONEVirtualNetwork `json:"publicNetwork,omitempty"` // +optional PrivateNetwork *ONEVirtualNetwork `json:"privateNetwork,omitempty"` // +optional Images []*ONEImage `json:"images,omitempty"` // +optional Templates []*ONETemplate `json:"templates,omitempty"` }
ONEClusterSpec defines the desired state of ONECluster
func (*ONEClusterSpec) DeepCopy ¶
func (in *ONEClusterSpec) DeepCopy() *ONEClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEClusterSpec.
func (*ONEClusterSpec) DeepCopyInto ¶
func (in *ONEClusterSpec) DeepCopyInto(out *ONEClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ONEClusterStatus ¶
type ONEClusterStatus struct { // +optional Ready bool `json:"ready"` // +optional FailureDomains clusterv1.FailureDomains `json:"failureDomains,omitempty"` // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` }
ONEClusterStatus defines the observed state of ONECluster
func (*ONEClusterStatus) DeepCopy ¶
func (in *ONEClusterStatus) DeepCopy() *ONEClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEClusterStatus.
func (*ONEClusterStatus) DeepCopyInto ¶
func (in *ONEClusterStatus) DeepCopyInto(out *ONEClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ONEImage ¶ added in v0.1.1
type ONEImage struct { // +required ImageName string `json:"imageName,omitempty"` // +required ImageContent string `json:"imageContent,omitempty"` }
func (*ONEImage) DeepCopy ¶ added in v0.1.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEImage.
func (*ONEImage) DeepCopyInto ¶ added in v0.1.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ONEMachine ¶
type ONEMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ONEMachineSpec `json:"spec,omitempty"` Status ONEMachineStatus `json:"status,omitempty"` }
ONEMachine is the Schema for the onemachines API
func (*ONEMachine) DeepCopy ¶
func (in *ONEMachine) DeepCopy() *ONEMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEMachine.
func (*ONEMachine) DeepCopyInto ¶
func (in *ONEMachine) DeepCopyInto(out *ONEMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ONEMachine) DeepCopyObject ¶
func (in *ONEMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ONEMachine) GetConditions ¶
func (c *ONEMachine) GetConditions() clusterv1.Conditions
func (*ONEMachine) SetConditions ¶
func (c *ONEMachine) SetConditions(conditions clusterv1.Conditions)
type ONEMachineList ¶
type ONEMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ONEMachine `json:"items"` }
ONEMachineList contains a list of ONEMachine
func (*ONEMachineList) DeepCopy ¶
func (in *ONEMachineList) DeepCopy() *ONEMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEMachineList.
func (*ONEMachineList) DeepCopyInto ¶
func (in *ONEMachineList) DeepCopyInto(out *ONEMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ONEMachineList) DeepCopyObject ¶
func (in *ONEMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ONEMachineSpec ¶
type ONEMachineSpec struct { // +optional ProviderID *string `json:"providerID,omitempty"` // +required TemplateName string `json:"templateName"` }
ONEMachineSpec defines the desired state of ONEMachine
func (*ONEMachineSpec) DeepCopy ¶
func (in *ONEMachineSpec) DeepCopy() *ONEMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEMachineSpec.
func (*ONEMachineSpec) DeepCopyInto ¶
func (in *ONEMachineSpec) DeepCopyInto(out *ONEMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ONEMachineStatus ¶
type ONEMachineStatus struct { // +optional Ready bool `json:"ready"` // +optional Addresses []clusterv1.MachineAddress `json:"addresses,omitempty"` // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` }
ONEMachineStatus defines the observed state of ONEMachine
func (*ONEMachineStatus) DeepCopy ¶
func (in *ONEMachineStatus) DeepCopy() *ONEMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEMachineStatus.
func (*ONEMachineStatus) DeepCopyInto ¶
func (in *ONEMachineStatus) DeepCopyInto(out *ONEMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ONEMachineTemplate ¶
type ONEMachineTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ONEMachineTemplateSpec `json:"spec,omitempty"` Status ONEMachineTemplateStatus `json:"status,omitempty"` }
ONEMachineTemplate is the Schema for the onemachinetemplates API
func (*ONEMachineTemplate) DeepCopy ¶
func (in *ONEMachineTemplate) DeepCopy() *ONEMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEMachineTemplate.
func (*ONEMachineTemplate) DeepCopyInto ¶
func (in *ONEMachineTemplate) DeepCopyInto(out *ONEMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ONEMachineTemplate) DeepCopyObject ¶
func (in *ONEMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ONEMachineTemplateList ¶
type ONEMachineTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ONEMachineTemplate `json:"items"` }
ONEMachineTemplateList contains a list of ONEMachineTemplate
func (*ONEMachineTemplateList) DeepCopy ¶
func (in *ONEMachineTemplateList) DeepCopy() *ONEMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEMachineTemplateList.
func (*ONEMachineTemplateList) DeepCopyInto ¶
func (in *ONEMachineTemplateList) DeepCopyInto(out *ONEMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ONEMachineTemplateList) DeepCopyObject ¶
func (in *ONEMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ONEMachineTemplateResource ¶
type ONEMachineTemplateResource struct { // +optional ObjectMeta clusterv1.ObjectMeta `json:"metadata.omitempty"` // +required Spec ONEMachineSpec `json:"spec"` }
func (*ONEMachineTemplateResource) DeepCopy ¶
func (in *ONEMachineTemplateResource) DeepCopy() *ONEMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEMachineTemplateResource.
func (*ONEMachineTemplateResource) DeepCopyInto ¶
func (in *ONEMachineTemplateResource) DeepCopyInto(out *ONEMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ONEMachineTemplateSpec ¶
type ONEMachineTemplateSpec struct { // +required Template ONEMachineTemplateResource `json:"template"` }
ONEMachineTemplateSpec defines the desired state of ONEMachineTemplate
func (*ONEMachineTemplateSpec) DeepCopy ¶
func (in *ONEMachineTemplateSpec) DeepCopy() *ONEMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEMachineTemplateSpec.
func (*ONEMachineTemplateSpec) DeepCopyInto ¶
func (in *ONEMachineTemplateSpec) DeepCopyInto(out *ONEMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ONEMachineTemplateStatus ¶
type ONEMachineTemplateStatus struct{}
ONEMachineTemplateStatus defines the observed state of ONEMachineTemplate
func (*ONEMachineTemplateStatus) DeepCopy ¶
func (in *ONEMachineTemplateStatus) DeepCopy() *ONEMachineTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEMachineTemplateStatus.
func (*ONEMachineTemplateStatus) DeepCopyInto ¶
func (in *ONEMachineTemplateStatus) DeepCopyInto(out *ONEMachineTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ONETemplate ¶ added in v0.1.1
type ONETemplate struct { // +required TemplateName string `json:"templateName"` // +required TemplateContent string `json:"templateContent,omitempty"` }
func (*ONETemplate) DeepCopy ¶ added in v0.1.1
func (in *ONETemplate) DeepCopy() *ONETemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONETemplate.
func (*ONETemplate) DeepCopyInto ¶ added in v0.1.1
func (in *ONETemplate) DeepCopyInto(out *ONETemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ONEVirtualNetwork ¶
type ONEVirtualNetwork struct { // +required Name string `json:"name"` // +optional FloatingIP *string `json:"floatingIP,omitempty"` // +optional FloatingOnly *bool `json:"floatingOnly,omitempty"` // +optional Gateway *string `json:"gateway,omitempty"` // +optional DNS *string `json:"dns,omitempty"` }
func (*ONEVirtualNetwork) DeepCopy ¶
func (in *ONEVirtualNetwork) DeepCopy() *ONEVirtualNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEVirtualNetwork.
func (*ONEVirtualNetwork) DeepCopyInto ¶
func (in *ONEVirtualNetwork) DeepCopyInto(out *ONEVirtualNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ONEVirtualRouter ¶
type ONEVirtualRouter struct { // +required TemplateName string `json:"templateName"` // +optional Replicas *int32 `json:"replicas,omitempty"` // +optional ListenerPorts []int32 `json:"listenerPorts,omitempty"` // +optional ExtraContext map[string]string `json:"extraContext,omitempty"` }
func (*ONEVirtualRouter) DeepCopy ¶
func (in *ONEVirtualRouter) DeepCopy() *ONEVirtualRouter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ONEVirtualRouter.
func (*ONEVirtualRouter) DeepCopyInto ¶
func (in *ONEVirtualRouter) DeepCopyInto(out *ONEVirtualRouter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.