Documentation ¶
Overview ¶
Package v1alpha4 contains API Schema definitions for the infrastructure v1alpha4 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type IBMPowerVSCluster
- type IBMPowerVSClusterList
- type IBMPowerVSClusterSpec
- type IBMPowerVSClusterStatus
- type IBMPowerVSMachine
- type IBMPowerVSMachineList
- type IBMPowerVSMachineSpec
- type IBMPowerVSMachineStatus
- type IBMPowerVSMachineTemplate
- type IBMPowerVSMachineTemplateList
- type IBMPowerVSMachineTemplateResource
- type IBMPowerVSMachineTemplateSpec
- type IBMPowerVSMachineTemplateStatus
- type IBMPowerVSResourceReference
- type IBMVPCCluster
- type IBMVPCClusterList
- type IBMVPCClusterSpec
- type IBMVPCClusterStatus
- type IBMVPCMachine
- type IBMVPCMachineList
- type IBMVPCMachineSpec
- type IBMVPCMachineStatus
- type IBMVPCMachineTemplate
- type IBMVPCMachineTemplateList
- type IBMVPCMachineTemplateResource
- type IBMVPCMachineTemplateSpec
- type NetworkInterface
- type Subnet
- type VPC
- type VPCEndpoint
Constants ¶
const ( // ClusterFinalizer allows DockerClusterReconciler to clean up resources associated with DockerCluster before // removing it from the apiserver. ClusterFinalizer = "ibmvpccluster.infrastructure.cluster.x-k8s.io" )
const ( // IBMPowerVSClusterFinalizer allows IBMPowerVSClusterReconciler to clean up resources associated with IBMPowerVSCluster before // removing it from the apiserver. IBMPowerVSClusterFinalizer = "ibmpowervscluster.infrastructure.cluster.x-k8s.io" )
const ( // IBMPowerVSMachineFinalizer allows IBMPowerVSMachineReconciler to clean up resources associated with IBMPowerVSMachine before // removing it from the apiserver. IBMPowerVSMachineFinalizer = "ibmpowervsmachine.infrastructure.cluster.x-k8s.io" )
const ( // MachineFinalizer allows IBMVPCMachineReconciler to clean up resources associated with IBMVPCMachine before // removing it from the apiserver. MachineFinalizer = "ibmvpcmachine.infrastructure.cluster.x-k8s.io" )
EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1alpha4"} // 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 IBMPowerVSCluster ¶
type IBMPowerVSCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMPowerVSClusterSpec `json:"spec,omitempty"` Status IBMPowerVSClusterStatus `json:"status,omitempty"` }
IBMPowerVSCluster is the Schema for the ibmpowervsclusters API
func (*IBMPowerVSCluster) DeepCopy ¶
func (in *IBMPowerVSCluster) DeepCopy() *IBMPowerVSCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSCluster.
func (*IBMPowerVSCluster) DeepCopyInto ¶
func (in *IBMPowerVSCluster) DeepCopyInto(out *IBMPowerVSCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMPowerVSCluster) DeepCopyObject ¶
func (in *IBMPowerVSCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMPowerVSClusterList ¶
type IBMPowerVSClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IBMPowerVSCluster `json:"items"` }
IBMPowerVSClusterList contains a list of IBMPowerVSCluster
func (*IBMPowerVSClusterList) DeepCopy ¶
func (in *IBMPowerVSClusterList) DeepCopy() *IBMPowerVSClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSClusterList.
func (*IBMPowerVSClusterList) DeepCopyInto ¶
func (in *IBMPowerVSClusterList) DeepCopyInto(out *IBMPowerVSClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMPowerVSClusterList) DeepCopyObject ¶
func (in *IBMPowerVSClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMPowerVSClusterSpec ¶
type IBMPowerVSClusterSpec struct { // ServiceInstanceID is the id of the power cloud instance where the vsi instance will get deployed ServiceInstanceID string `json:"serviceInstanceID"` // Network is the reference to the Network to use for this cluster. Network IBMPowerVSResourceReference `json:"network"` // ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. // +optional ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"` }
IBMPowerVSClusterSpec defines the desired state of IBMPowerVSCluster
func (*IBMPowerVSClusterSpec) DeepCopy ¶
func (in *IBMPowerVSClusterSpec) DeepCopy() *IBMPowerVSClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSClusterSpec.
func (*IBMPowerVSClusterSpec) DeepCopyInto ¶
func (in *IBMPowerVSClusterSpec) DeepCopyInto(out *IBMPowerVSClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMPowerVSClusterStatus ¶
type IBMPowerVSClusterStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Ready bool `json:"ready"` }
IBMPowerVSClusterStatus defines the observed state of IBMPowerVSCluster
func (*IBMPowerVSClusterStatus) DeepCopy ¶
func (in *IBMPowerVSClusterStatus) DeepCopy() *IBMPowerVSClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSClusterStatus.
func (*IBMPowerVSClusterStatus) DeepCopyInto ¶
func (in *IBMPowerVSClusterStatus) DeepCopyInto(out *IBMPowerVSClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMPowerVSMachine ¶
type IBMPowerVSMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMPowerVSMachineSpec `json:"spec,omitempty"` Status IBMPowerVSMachineStatus `json:"status,omitempty"` }
IBMPowerVSMachine is the Schema for the ibmpowervsmachines API
func (*IBMPowerVSMachine) DeepCopy ¶
func (in *IBMPowerVSMachine) DeepCopy() *IBMPowerVSMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSMachine.
func (*IBMPowerVSMachine) DeepCopyInto ¶
func (in *IBMPowerVSMachine) DeepCopyInto(out *IBMPowerVSMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMPowerVSMachine) DeepCopyObject ¶
func (in *IBMPowerVSMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMPowerVSMachineList ¶
type IBMPowerVSMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IBMPowerVSMachine `json:"items"` }
IBMPowerVSMachineList contains a list of IBMPowerVSMachine
func (*IBMPowerVSMachineList) DeepCopy ¶
func (in *IBMPowerVSMachineList) DeepCopy() *IBMPowerVSMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSMachineList.
func (*IBMPowerVSMachineList) DeepCopyInto ¶
func (in *IBMPowerVSMachineList) DeepCopyInto(out *IBMPowerVSMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMPowerVSMachineList) DeepCopyObject ¶
func (in *IBMPowerVSMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMPowerVSMachineSpec ¶
type IBMPowerVSMachineSpec struct { // ServiceInstanceID is the id of the power cloud instance where the vsi instance will get deployed ServiceInstanceID string `json:"serviceInstanceID"` // SSHKey is the name of the SSH key pair provided to the vsi for authenticating users SSHKey string `json:"sshKey,omitempty"` // Image is the reference to the Image from which to create the machine instance. Image IBMPowerVSResourceReference `json:"image"` // SysType is the System type used to host the vsi SysType string `json:"sysType"` // ProcType is the processor type, e.g: dedicated, shared, capped ProcType string `json:"procType"` // Processors is Number of processors allocated Processors string `json:"processors"` // Memory is Amount of memory allocated (in GB) Memory string `json:"memory"` // Network is the reference to the Network to use for this instance. Network IBMPowerVSResourceReference `json:"network"` // ProviderID is the unique identifier as specified by the cloud provider. // +optional ProviderID *string `json:"providerID,omitempty"` }
IBMPowerVSMachineSpec defines the desired state of IBMPowerVSMachine
func (*IBMPowerVSMachineSpec) DeepCopy ¶
func (in *IBMPowerVSMachineSpec) DeepCopy() *IBMPowerVSMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSMachineSpec.
func (*IBMPowerVSMachineSpec) DeepCopyInto ¶
func (in *IBMPowerVSMachineSpec) DeepCopyInto(out *IBMPowerVSMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMPowerVSMachineStatus ¶
type IBMPowerVSMachineStatus struct { InstanceID string `json:"instanceID,omitempty"` // Ready is true when the provider resource is ready. // +optional Ready bool `json:"ready"` // Addresses contains the vsi associated addresses. Addresses []v1.NodeAddress `json:"addresses,omitempty"` // Health is the health of the vsi // +optional Health string `json:"health,omitempty"` // InstanceState is the status of the vsi InstanceState string `json:"instanceState"` // Fault will report if any fault messages for the vsi // +optional Fault string `json:"fault,omitempty"` }
IBMPowerVSMachineStatus defines the observed state of IBMPowerVSMachine
func (*IBMPowerVSMachineStatus) DeepCopy ¶
func (in *IBMPowerVSMachineStatus) DeepCopy() *IBMPowerVSMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSMachineStatus.
func (*IBMPowerVSMachineStatus) DeepCopyInto ¶
func (in *IBMPowerVSMachineStatus) DeepCopyInto(out *IBMPowerVSMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMPowerVSMachineTemplate ¶
type IBMPowerVSMachineTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMPowerVSMachineTemplateSpec `json:"spec,omitempty"` Status IBMPowerVSMachineTemplateStatus `json:"status,omitempty"` }
IBMPowerVSMachineTemplate is the Schema for the ibmpowervsmachinetemplates API
func (*IBMPowerVSMachineTemplate) DeepCopy ¶
func (in *IBMPowerVSMachineTemplate) DeepCopy() *IBMPowerVSMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSMachineTemplate.
func (*IBMPowerVSMachineTemplate) DeepCopyInto ¶
func (in *IBMPowerVSMachineTemplate) DeepCopyInto(out *IBMPowerVSMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMPowerVSMachineTemplate) DeepCopyObject ¶
func (in *IBMPowerVSMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMPowerVSMachineTemplateList ¶
type IBMPowerVSMachineTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IBMPowerVSMachineTemplate `json:"items"` }
IBMPowerVSMachineTemplateList contains a list of IBMPowerVSMachineTemplate
func (*IBMPowerVSMachineTemplateList) DeepCopy ¶
func (in *IBMPowerVSMachineTemplateList) DeepCopy() *IBMPowerVSMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSMachineTemplateList.
func (*IBMPowerVSMachineTemplateList) DeepCopyInto ¶
func (in *IBMPowerVSMachineTemplateList) DeepCopyInto(out *IBMPowerVSMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMPowerVSMachineTemplateList) DeepCopyObject ¶
func (in *IBMPowerVSMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMPowerVSMachineTemplateResource ¶
type IBMPowerVSMachineTemplateResource struct {
Spec IBMPowerVSMachineSpec `json:"spec"`
}
IBMPowerVSMachineTemplateResource holds the IBMPowerVSMachine spec
func (*IBMPowerVSMachineTemplateResource) DeepCopy ¶
func (in *IBMPowerVSMachineTemplateResource) DeepCopy() *IBMPowerVSMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSMachineTemplateResource.
func (*IBMPowerVSMachineTemplateResource) DeepCopyInto ¶
func (in *IBMPowerVSMachineTemplateResource) DeepCopyInto(out *IBMPowerVSMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMPowerVSMachineTemplateSpec ¶
type IBMPowerVSMachineTemplateSpec struct {
Template IBMPowerVSMachineTemplateResource `json:"template"`
}
IBMPowerVSMachineTemplateSpec defines the desired state of IBMPowerVSMachineTemplate
func (*IBMPowerVSMachineTemplateSpec) DeepCopy ¶
func (in *IBMPowerVSMachineTemplateSpec) DeepCopy() *IBMPowerVSMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSMachineTemplateSpec.
func (*IBMPowerVSMachineTemplateSpec) DeepCopyInto ¶
func (in *IBMPowerVSMachineTemplateSpec) DeepCopyInto(out *IBMPowerVSMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMPowerVSMachineTemplateStatus ¶
type IBMPowerVSMachineTemplateStatus struct { }
IBMPowerVSMachineTemplateStatus defines the observed state of IBMPowerVSMachineTemplate
func (*IBMPowerVSMachineTemplateStatus) DeepCopy ¶
func (in *IBMPowerVSMachineTemplateStatus) DeepCopy() *IBMPowerVSMachineTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSMachineTemplateStatus.
func (*IBMPowerVSMachineTemplateStatus) DeepCopyInto ¶
func (in *IBMPowerVSMachineTemplateStatus) DeepCopyInto(out *IBMPowerVSMachineTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMPowerVSResourceReference ¶
type IBMPowerVSResourceReference struct { // ID of resource // +optional ID *string `json:"id,omitempty"` // Name of resource // +optional Name *string `json:"name,omitempty"` }
IBMPowerVSResourceReference is a reference to a specific PowerVS resource by ID or Name Only one of ID or Name may be specified. Specifying more than one will result in a validation error.
func (*IBMPowerVSResourceReference) DeepCopy ¶
func (in *IBMPowerVSResourceReference) DeepCopy() *IBMPowerVSResourceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMPowerVSResourceReference.
func (*IBMPowerVSResourceReference) DeepCopyInto ¶
func (in *IBMPowerVSResourceReference) DeepCopyInto(out *IBMPowerVSResourceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMVPCCluster ¶
type IBMVPCCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMVPCClusterSpec `json:"spec,omitempty"` Status IBMVPCClusterStatus `json:"status,omitempty"` }
IBMVPCCluster is the Schema for the ibmvpcclusters API
func (*IBMVPCCluster) DeepCopy ¶
func (in *IBMVPCCluster) DeepCopy() *IBMVPCCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMVPCCluster.
func (*IBMVPCCluster) DeepCopyInto ¶
func (in *IBMVPCCluster) DeepCopyInto(out *IBMVPCCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMVPCCluster) DeepCopyObject ¶
func (in *IBMVPCCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMVPCClusterList ¶
type IBMVPCClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IBMVPCCluster `json:"items"` }
IBMVPCClusterList contains a list of IBMVPCCluster
func (*IBMVPCClusterList) DeepCopy ¶
func (in *IBMVPCClusterList) DeepCopy() *IBMVPCClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMVPCClusterList.
func (*IBMVPCClusterList) DeepCopyInto ¶
func (in *IBMVPCClusterList) DeepCopyInto(out *IBMVPCClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMVPCClusterList) DeepCopyObject ¶
func (in *IBMVPCClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMVPCClusterSpec ¶
type IBMVPCClusterSpec struct { // The IBM Cloud Region the cluster lives in. Region string `json:"region"` // The VPC resources should be created under the resource group ResourceGroup string `json:"resourceGroup"` // The Name of VPC VPC string `json:"vpc,omitempty"` // The Name of availability zone Zone string `json:"zone,omitempty"` // ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. // +optional ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"` }
IBMVPCClusterSpec defines the desired state of IBMVPCCluster
func (*IBMVPCClusterSpec) DeepCopy ¶
func (in *IBMVPCClusterSpec) DeepCopy() *IBMVPCClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMVPCClusterSpec.
func (*IBMVPCClusterSpec) DeepCopyInto ¶
func (in *IBMVPCClusterSpec) DeepCopyInto(out *IBMVPCClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMVPCClusterStatus ¶
type IBMVPCClusterStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file VPC VPC `json:"vpc,omitempty"` // Bastion Instance `json:"bastion,omitempty"` Ready bool `json:"ready"` Subnet Subnet `json:"subnet,omitempty"` VPCEndpoint VPCEndpoint `json:"vpcEndpoint,omitempty"` }
IBMVPCClusterStatus defines the observed state of IBMVPCCluster
func (*IBMVPCClusterStatus) DeepCopy ¶
func (in *IBMVPCClusterStatus) DeepCopy() *IBMVPCClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMVPCClusterStatus.
func (*IBMVPCClusterStatus) DeepCopyInto ¶
func (in *IBMVPCClusterStatus) DeepCopyInto(out *IBMVPCClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMVPCMachine ¶
type IBMVPCMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMVPCMachineSpec `json:"spec,omitempty"` Status IBMVPCMachineStatus `json:"status,omitempty"` }
IBMVPCMachine is the Schema for the ibmvpcmachines API
func (*IBMVPCMachine) DeepCopy ¶
func (in *IBMVPCMachine) DeepCopy() *IBMVPCMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMVPCMachine.
func (*IBMVPCMachine) DeepCopyInto ¶
func (in *IBMVPCMachine) DeepCopyInto(out *IBMVPCMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMVPCMachine) DeepCopyObject ¶
func (in *IBMVPCMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMVPCMachineList ¶
type IBMVPCMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IBMVPCMachine `json:"items"` }
IBMVPCMachineList contains a list of IBMVPCMachine
func (*IBMVPCMachineList) DeepCopy ¶
func (in *IBMVPCMachineList) DeepCopy() *IBMVPCMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMVPCMachineList.
func (*IBMVPCMachineList) DeepCopyInto ¶
func (in *IBMVPCMachineList) DeepCopyInto(out *IBMVPCMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMVPCMachineList) DeepCopyObject ¶
func (in *IBMVPCMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMVPCMachineSpec ¶
type IBMVPCMachineSpec struct { // Name of the instance Name string `json:"name,omitempty"` // Image is the id of OS image which would be install on the instance. // Example: r134-ed3f775f-ad7e-4e37-ae62-7199b4988b00 // TODO: allow user to specify a image name is much reasonable. Example: ibm-ubuntu-18-04-1-minimal-amd64-2 Image string `json:"image"` // Zone is the place where the instance should be created. Example: us-south-3 // TODO: Actually zone is transparent to user. The field user can access is location. Example: Dallas 2 Zone string `json:"zone"` // Profile indicates the flavor of instance. Example: bx2-8x32 means 8 vCPUs 32 GB RAM 16 Gbps // TODO: add a reference link of profile Profile string `json:"profile"` // ProviderID is the unique identifier as specified by the cloud provider. // +optional ProviderID *string `json:"providerID,omitempty"` // PrimaryNetworkInterface is required to specify subnet PrimaryNetworkInterface NetworkInterface `json:"primaryNetworkInterface,omitempty"` // SSHKeys is the SSH pub keys that will be used to access VM SSHKeys []*string `json:"sshKeys,omitempty"` }
IBMVPCMachineSpec defines the desired state of IBMVPCMachine
func (*IBMVPCMachineSpec) DeepCopy ¶
func (in *IBMVPCMachineSpec) DeepCopy() *IBMVPCMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMVPCMachineSpec.
func (*IBMVPCMachineSpec) DeepCopyInto ¶
func (in *IBMVPCMachineSpec) DeepCopyInto(out *IBMVPCMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMVPCMachineStatus ¶
type IBMVPCMachineStatus struct { InstanceID string `json:"instanceID,omitempty"` Ready bool `json:"ready"` // Addresses contains the GCP instance associated addresses. Addresses []v1.NodeAddress `json:"addresses,omitempty"` // InstanceStatus is the status of the GCP instance for this machine. // +optional InstanceStatus string `json:"instanceState,omitempty"` }
IBMVPCMachineStatus defines the observed state of IBMVPCMachine
func (*IBMVPCMachineStatus) DeepCopy ¶
func (in *IBMVPCMachineStatus) DeepCopy() *IBMVPCMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMVPCMachineStatus.
func (*IBMVPCMachineStatus) DeepCopyInto ¶
func (in *IBMVPCMachineStatus) DeepCopyInto(out *IBMVPCMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMVPCMachineTemplate ¶
type IBMVPCMachineTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMVPCMachineTemplateSpec `json:"spec,omitempty"` }
IBMVPCMachineTemplate is the Schema for the IBMVPCMachinetemplates API
func (*IBMVPCMachineTemplate) DeepCopy ¶
func (in *IBMVPCMachineTemplate) DeepCopy() *IBMVPCMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMVPCMachineTemplate.
func (*IBMVPCMachineTemplate) DeepCopyInto ¶
func (in *IBMVPCMachineTemplate) DeepCopyInto(out *IBMVPCMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMVPCMachineTemplate) DeepCopyObject ¶
func (in *IBMVPCMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMVPCMachineTemplateList ¶
type IBMVPCMachineTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IBMVPCMachineTemplate `json:"items"` }
IBMVPCMachineTemplateList contains a list of IBMVPCMachineTemplate
func (*IBMVPCMachineTemplateList) DeepCopy ¶
func (in *IBMVPCMachineTemplateList) DeepCopy() *IBMVPCMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMVPCMachineTemplateList.
func (*IBMVPCMachineTemplateList) DeepCopyInto ¶
func (in *IBMVPCMachineTemplateList) DeepCopyInto(out *IBMVPCMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMVPCMachineTemplateList) DeepCopyObject ¶
func (in *IBMVPCMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMVPCMachineTemplateResource ¶
type IBMVPCMachineTemplateResource struct { // Spec is the specification of the desired behavior of the machine. Spec IBMVPCMachineSpec `json:"spec"` }
IBMVPCMachineTemplateResource describes the data needed to create am IBMVPCMachine from a template
func (*IBMVPCMachineTemplateResource) DeepCopy ¶
func (in *IBMVPCMachineTemplateResource) DeepCopy() *IBMVPCMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMVPCMachineTemplateResource.
func (*IBMVPCMachineTemplateResource) DeepCopyInto ¶
func (in *IBMVPCMachineTemplateResource) DeepCopyInto(out *IBMVPCMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMVPCMachineTemplateSpec ¶
type IBMVPCMachineTemplateSpec struct {
Template IBMVPCMachineTemplateResource `json:"template"`
}
IBMVPCMachineTemplateSpec defines the desired state of IBMVPCMachineTemplate
func (*IBMVPCMachineTemplateSpec) DeepCopy ¶
func (in *IBMVPCMachineTemplateSpec) DeepCopy() *IBMVPCMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMVPCMachineTemplateSpec.
func (*IBMVPCMachineTemplateSpec) DeepCopyInto ¶
func (in *IBMVPCMachineTemplateSpec) DeepCopyInto(out *IBMVPCMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkInterface ¶
type NetworkInterface struct { // Subnet ID of the network interface Subnet string `json:"subnet,omitempty"` }
NetworkInterface holds the network interface information like subnet id.
func (*NetworkInterface) DeepCopy ¶
func (in *NetworkInterface) DeepCopy() *NetworkInterface
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterface.
func (*NetworkInterface) DeepCopyInto ¶
func (in *NetworkInterface) DeepCopyInto(out *NetworkInterface)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subnet ¶
type Subnet struct { Ipv4CidrBlock *string `json:"cidr"` Name *string `json:"name"` ID *string `json:"id"` Zone *string `json:"zone"` }
Subnet describes a subnet
func (*Subnet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
func (*Subnet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPC ¶
VPC holds the VPC information
func (*VPC) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPC.
func (*VPC) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPCEndpoint ¶
VPCEndpoint describes a VPCEndpoint
func (*VPCEndpoint) DeepCopy ¶
func (in *VPCEndpoint) DeepCopy() *VPCEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCEndpoint.
func (*VPCEndpoint) DeepCopyInto ¶
func (in *VPCEndpoint) DeepCopyInto(out *VPCEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.