v1alpha3

package
v0.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha3 contains the v1alpha3 API implementation. +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-ibmcloud/api/v1beta1

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

Index

Constants

View Source
const (
	// ClusterFinalizer allows DockerClusterReconciler to clean up resources associated with DockerCluster before
	// removing it from the apiserver.
	ClusterFinalizer = "ibmvpccluster.infrastructure.cluster.x-k8s.io"
)
View Source
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

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

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

func Convert_v1alpha3_APIEndpoint_To_v1beta1_APIEndpoint added in v0.2.0

func Convert_v1alpha3_APIEndpoint_To_v1beta1_APIEndpoint(in *capiv1alpha3.APIEndpoint, out *capiv1beta1.APIEndpoint, s apiconversion.Scope) error

func Convert_v1alpha3_IBMVPCClusterList_To_v1beta1_IBMVPCClusterList added in v0.2.0

func Convert_v1alpha3_IBMVPCClusterList_To_v1beta1_IBMVPCClusterList(in *IBMVPCClusterList, out *v1beta1.IBMVPCClusterList, s conversion.Scope) error

Convert_v1alpha3_IBMVPCClusterList_To_v1beta1_IBMVPCClusterList is an autogenerated conversion function.

func Convert_v1alpha3_IBMVPCClusterSpec_To_v1beta1_IBMVPCClusterSpec added in v0.2.0

func Convert_v1alpha3_IBMVPCClusterSpec_To_v1beta1_IBMVPCClusterSpec(in *IBMVPCClusterSpec, out *v1beta1.IBMVPCClusterSpec, s conversion.Scope) error

Convert_v1alpha3_IBMVPCClusterSpec_To_v1beta1_IBMVPCClusterSpec is an autogenerated conversion function.

func Convert_v1alpha3_IBMVPCClusterStatus_To_v1beta1_IBMVPCClusterStatus added in v0.2.0

func Convert_v1alpha3_IBMVPCClusterStatus_To_v1beta1_IBMVPCClusterStatus(in *IBMVPCClusterStatus, out *v1beta1.IBMVPCClusterStatus, s conversion.Scope) error

Convert_v1alpha3_IBMVPCClusterStatus_To_v1beta1_IBMVPCClusterStatus is an autogenerated conversion function.

func Convert_v1alpha3_IBMVPCCluster_To_v1beta1_IBMVPCCluster added in v0.2.0

func Convert_v1alpha3_IBMVPCCluster_To_v1beta1_IBMVPCCluster(in *IBMVPCCluster, out *v1beta1.IBMVPCCluster, s conversion.Scope) error

Convert_v1alpha3_IBMVPCCluster_To_v1beta1_IBMVPCCluster is an autogenerated conversion function.

func Convert_v1alpha3_IBMVPCMachineList_To_v1beta1_IBMVPCMachineList added in v0.2.0

func Convert_v1alpha3_IBMVPCMachineList_To_v1beta1_IBMVPCMachineList(in *IBMVPCMachineList, out *v1beta1.IBMVPCMachineList, s conversion.Scope) error

Convert_v1alpha3_IBMVPCMachineList_To_v1beta1_IBMVPCMachineList is an autogenerated conversion function.

func Convert_v1alpha3_IBMVPCMachineSpec_To_v1beta1_IBMVPCMachineSpec added in v0.2.0

func Convert_v1alpha3_IBMVPCMachineSpec_To_v1beta1_IBMVPCMachineSpec(in *IBMVPCMachineSpec, out *v1beta1.IBMVPCMachineSpec, s conversion.Scope) error

Convert_v1alpha3_IBMVPCMachineSpec_To_v1beta1_IBMVPCMachineSpec is an autogenerated conversion function.

func Convert_v1alpha3_IBMVPCMachineStatus_To_v1beta1_IBMVPCMachineStatus added in v0.2.0

func Convert_v1alpha3_IBMVPCMachineStatus_To_v1beta1_IBMVPCMachineStatus(in *IBMVPCMachineStatus, out *v1beta1.IBMVPCMachineStatus, s conversion.Scope) error

Convert_v1alpha3_IBMVPCMachineStatus_To_v1beta1_IBMVPCMachineStatus is an autogenerated conversion function.

func Convert_v1alpha3_IBMVPCMachineTemplateList_To_v1beta1_IBMVPCMachineTemplateList added in v0.2.0

func Convert_v1alpha3_IBMVPCMachineTemplateList_To_v1beta1_IBMVPCMachineTemplateList(in *IBMVPCMachineTemplateList, out *v1beta1.IBMVPCMachineTemplateList, s conversion.Scope) error

Convert_v1alpha3_IBMVPCMachineTemplateList_To_v1beta1_IBMVPCMachineTemplateList is an autogenerated conversion function.

func Convert_v1alpha3_IBMVPCMachineTemplateResource_To_v1beta1_IBMVPCMachineTemplateResource added in v0.2.0

func Convert_v1alpha3_IBMVPCMachineTemplateResource_To_v1beta1_IBMVPCMachineTemplateResource(in *IBMVPCMachineTemplateResource, out *v1beta1.IBMVPCMachineTemplateResource, s conversion.Scope) error

Convert_v1alpha3_IBMVPCMachineTemplateResource_To_v1beta1_IBMVPCMachineTemplateResource is an autogenerated conversion function.

func Convert_v1alpha3_IBMVPCMachineTemplateSpec_To_v1beta1_IBMVPCMachineTemplateSpec added in v0.2.0

func Convert_v1alpha3_IBMVPCMachineTemplateSpec_To_v1beta1_IBMVPCMachineTemplateSpec(in *IBMVPCMachineTemplateSpec, out *v1beta1.IBMVPCMachineTemplateSpec, s conversion.Scope) error

Convert_v1alpha3_IBMVPCMachineTemplateSpec_To_v1beta1_IBMVPCMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha3_IBMVPCMachineTemplate_To_v1beta1_IBMVPCMachineTemplate added in v0.2.0

func Convert_v1alpha3_IBMVPCMachineTemplate_To_v1beta1_IBMVPCMachineTemplate(in *IBMVPCMachineTemplate, out *v1beta1.IBMVPCMachineTemplate, s conversion.Scope) error

Convert_v1alpha3_IBMVPCMachineTemplate_To_v1beta1_IBMVPCMachineTemplate is an autogenerated conversion function.

func Convert_v1alpha3_IBMVPCMachine_To_v1beta1_IBMVPCMachine added in v0.2.0

func Convert_v1alpha3_IBMVPCMachine_To_v1beta1_IBMVPCMachine(in *IBMVPCMachine, out *v1beta1.IBMVPCMachine, s conversion.Scope) error

Convert_v1alpha3_IBMVPCMachine_To_v1beta1_IBMVPCMachine is an autogenerated conversion function.

func Convert_v1alpha3_NetworkInterface_To_v1beta1_NetworkInterface added in v0.2.0

func Convert_v1alpha3_NetworkInterface_To_v1beta1_NetworkInterface(in *NetworkInterface, out *v1beta1.NetworkInterface, s conversion.Scope) error

Convert_v1alpha3_NetworkInterface_To_v1beta1_NetworkInterface is an autogenerated conversion function.

func Convert_v1alpha3_Subnet_To_v1beta1_Subnet added in v0.2.0

func Convert_v1alpha3_Subnet_To_v1beta1_Subnet(in *Subnet, out *v1beta1.Subnet, s conversion.Scope) error

Convert_v1alpha3_Subnet_To_v1beta1_Subnet is an autogenerated conversion function.

func Convert_v1alpha3_VPCEndpoint_To_v1beta1_VPCEndpoint added in v0.2.0

func Convert_v1alpha3_VPCEndpoint_To_v1beta1_VPCEndpoint(in *VPCEndpoint, out *v1beta1.VPCEndpoint, s conversion.Scope) error

Convert_v1alpha3_VPCEndpoint_To_v1beta1_VPCEndpoint is an autogenerated conversion function.

func Convert_v1alpha3_VPC_To_v1beta1_VPC added in v0.2.0

func Convert_v1alpha3_VPC_To_v1beta1_VPC(in *VPC, out *v1beta1.VPC, s conversion.Scope) error

Convert_v1alpha3_VPC_To_v1beta1_VPC is an autogenerated conversion function.

func Convert_v1beta1_APIEndpoint_To_v1alpha3_APIEndpoint added in v0.2.0

func Convert_v1beta1_APIEndpoint_To_v1alpha3_APIEndpoint(in *capiv1beta1.APIEndpoint, out *capiv1alpha3.APIEndpoint, s apiconversion.Scope) error

func Convert_v1beta1_IBMVPCClusterList_To_v1alpha3_IBMVPCClusterList added in v0.2.0

func Convert_v1beta1_IBMVPCClusterList_To_v1alpha3_IBMVPCClusterList(in *v1beta1.IBMVPCClusterList, out *IBMVPCClusterList, s conversion.Scope) error

Convert_v1beta1_IBMVPCClusterList_To_v1alpha3_IBMVPCClusterList is an autogenerated conversion function.

func Convert_v1beta1_IBMVPCClusterSpec_To_v1alpha3_IBMVPCClusterSpec added in v0.2.0

func Convert_v1beta1_IBMVPCClusterSpec_To_v1alpha3_IBMVPCClusterSpec(in *v1beta1.IBMVPCClusterSpec, out *IBMVPCClusterSpec, s conversion.Scope) error

Convert_v1beta1_IBMVPCClusterSpec_To_v1alpha3_IBMVPCClusterSpec is an autogenerated conversion function.

func Convert_v1beta1_IBMVPCClusterStatus_To_v1alpha3_IBMVPCClusterStatus added in v0.2.0

func Convert_v1beta1_IBMVPCClusterStatus_To_v1alpha3_IBMVPCClusterStatus(in *v1beta1.IBMVPCClusterStatus, out *IBMVPCClusterStatus, s conversion.Scope) error

Convert_v1beta1_IBMVPCClusterStatus_To_v1alpha3_IBMVPCClusterStatus is an autogenerated conversion function.

func Convert_v1beta1_IBMVPCCluster_To_v1alpha3_IBMVPCCluster added in v0.2.0

func Convert_v1beta1_IBMVPCCluster_To_v1alpha3_IBMVPCCluster(in *v1beta1.IBMVPCCluster, out *IBMVPCCluster, s conversion.Scope) error

Convert_v1beta1_IBMVPCCluster_To_v1alpha3_IBMVPCCluster is an autogenerated conversion function.

func Convert_v1beta1_IBMVPCMachineList_To_v1alpha3_IBMVPCMachineList added in v0.2.0

func Convert_v1beta1_IBMVPCMachineList_To_v1alpha3_IBMVPCMachineList(in *v1beta1.IBMVPCMachineList, out *IBMVPCMachineList, s conversion.Scope) error

Convert_v1beta1_IBMVPCMachineList_To_v1alpha3_IBMVPCMachineList is an autogenerated conversion function.

func Convert_v1beta1_IBMVPCMachineSpec_To_v1alpha3_IBMVPCMachineSpec added in v0.2.0

func Convert_v1beta1_IBMVPCMachineSpec_To_v1alpha3_IBMVPCMachineSpec(in *v1beta1.IBMVPCMachineSpec, out *IBMVPCMachineSpec, s conversion.Scope) error

Convert_v1beta1_IBMVPCMachineSpec_To_v1alpha3_IBMVPCMachineSpec is an autogenerated conversion function.

func Convert_v1beta1_IBMVPCMachineStatus_To_v1alpha3_IBMVPCMachineStatus added in v0.2.0

func Convert_v1beta1_IBMVPCMachineStatus_To_v1alpha3_IBMVPCMachineStatus(in *v1beta1.IBMVPCMachineStatus, out *IBMVPCMachineStatus, s conversion.Scope) error

Convert_v1beta1_IBMVPCMachineStatus_To_v1alpha3_IBMVPCMachineStatus is an autogenerated conversion function.

func Convert_v1beta1_IBMVPCMachineTemplateList_To_v1alpha3_IBMVPCMachineTemplateList added in v0.2.0

func Convert_v1beta1_IBMVPCMachineTemplateList_To_v1alpha3_IBMVPCMachineTemplateList(in *v1beta1.IBMVPCMachineTemplateList, out *IBMVPCMachineTemplateList, s conversion.Scope) error

Convert_v1beta1_IBMVPCMachineTemplateList_To_v1alpha3_IBMVPCMachineTemplateList is an autogenerated conversion function.

func Convert_v1beta1_IBMVPCMachineTemplateResource_To_v1alpha3_IBMVPCMachineTemplateResource added in v0.2.0

func Convert_v1beta1_IBMVPCMachineTemplateResource_To_v1alpha3_IBMVPCMachineTemplateResource(in *v1beta1.IBMVPCMachineTemplateResource, out *IBMVPCMachineTemplateResource, s conversion.Scope) error

Convert_v1beta1_IBMVPCMachineTemplateResource_To_v1alpha3_IBMVPCMachineTemplateResource is an autogenerated conversion function.

func Convert_v1beta1_IBMVPCMachineTemplateSpec_To_v1alpha3_IBMVPCMachineTemplateSpec added in v0.2.0

func Convert_v1beta1_IBMVPCMachineTemplateSpec_To_v1alpha3_IBMVPCMachineTemplateSpec(in *v1beta1.IBMVPCMachineTemplateSpec, out *IBMVPCMachineTemplateSpec, s conversion.Scope) error

Convert_v1beta1_IBMVPCMachineTemplateSpec_To_v1alpha3_IBMVPCMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1beta1_IBMVPCMachineTemplate_To_v1alpha3_IBMVPCMachineTemplate added in v0.2.0

func Convert_v1beta1_IBMVPCMachineTemplate_To_v1alpha3_IBMVPCMachineTemplate(in *v1beta1.IBMVPCMachineTemplate, out *IBMVPCMachineTemplate, s conversion.Scope) error

Convert_v1beta1_IBMVPCMachineTemplate_To_v1alpha3_IBMVPCMachineTemplate is an autogenerated conversion function.

func Convert_v1beta1_IBMVPCMachine_To_v1alpha3_IBMVPCMachine added in v0.2.0

func Convert_v1beta1_IBMVPCMachine_To_v1alpha3_IBMVPCMachine(in *v1beta1.IBMVPCMachine, out *IBMVPCMachine, s conversion.Scope) error

Convert_v1beta1_IBMVPCMachine_To_v1alpha3_IBMVPCMachine is an autogenerated conversion function.

func Convert_v1beta1_NetworkInterface_To_v1alpha3_NetworkInterface added in v0.2.0

func Convert_v1beta1_NetworkInterface_To_v1alpha3_NetworkInterface(in *v1beta1.NetworkInterface, out *NetworkInterface, s conversion.Scope) error

Convert_v1beta1_NetworkInterface_To_v1alpha3_NetworkInterface is an autogenerated conversion function.

func Convert_v1beta1_Subnet_To_v1alpha3_Subnet added in v0.2.0

func Convert_v1beta1_Subnet_To_v1alpha3_Subnet(in *v1beta1.Subnet, out *Subnet, s conversion.Scope) error

Convert_v1beta1_Subnet_To_v1alpha3_Subnet is an autogenerated conversion function.

func Convert_v1beta1_VPCEndpoint_To_v1alpha3_VPCEndpoint added in v0.2.0

func Convert_v1beta1_VPCEndpoint_To_v1alpha3_VPCEndpoint(in *v1beta1.VPCEndpoint, out *VPCEndpoint, s conversion.Scope) error

Convert_v1beta1_VPCEndpoint_To_v1alpha3_VPCEndpoint is an autogenerated conversion function.

func Convert_v1beta1_VPC_To_v1alpha3_VPC added in v0.2.0

func Convert_v1beta1_VPC_To_v1alpha3_VPC(in *v1beta1.VPC, out *VPC, s conversion.Scope) error

Convert_v1beta1_VPC_To_v1alpha3_VPC is an autogenerated conversion function.

func RegisterConversions added in v0.2.0

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

Types

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) ConvertFrom added in v0.2.0

func (dst *IBMVPCCluster) ConvertFrom(srcRaw conversion.Hub) error

func (*IBMVPCCluster) ConvertTo added in v0.2.0

func (src *IBMVPCCluster) ConvertTo(dstRaw conversion.Hub) error

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) ConvertFrom added in v0.2.0

func (dst *IBMVPCClusterList) ConvertFrom(srcRaw conversion.Hub) error

func (*IBMVPCClusterList) ConvertTo added in v0.2.0

func (src *IBMVPCClusterList) ConvertTo(dstRaw conversion.Hub) error

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 capiv1alpha3.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) ConvertFrom added in v0.2.0

func (dst *IBMVPCMachine) ConvertFrom(srcRaw conversion.Hub) error

func (*IBMVPCMachine) ConvertTo added in v0.2.0

func (src *IBMVPCMachine) ConvertTo(dstRaw conversion.Hub) error

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) ConvertFrom added in v0.2.0

func (dst *IBMVPCMachineList) ConvertFrom(srcRaw conversion.Hub) error

func (*IBMVPCMachineList) ConvertTo added in v0.2.0

func (src *IBMVPCMachineList) ConvertTo(dstRaw conversion.Hub) error

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 []corev1.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) ConvertFrom added in v0.2.0

func (dst *IBMVPCMachineTemplate) ConvertFrom(srcRaw conversion.Hub) error

func (*IBMVPCMachineTemplate) ConvertTo added in v0.2.0

func (src *IBMVPCMachineTemplate) ConvertTo(dstRaw conversion.Hub) error

func (*IBMVPCMachineTemplate) DeepCopy

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) ConvertFrom added in v0.2.0

func (dst *IBMVPCMachineTemplateList) ConvertFrom(srcRaw conversion.Hub) error

func (*IBMVPCMachineTemplateList) ConvertTo added in v0.2.0

func (src *IBMVPCMachineTemplateList) ConvertTo(dstRaw conversion.Hub) error

func (*IBMVPCMachineTemplateList) DeepCopy

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

func (*IBMVPCMachineTemplateList) DeepCopyInto

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

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

func (*IBMVPCMachineTemplateResource) DeepCopyInto

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

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

func (*IBMVPCMachineTemplateSpec) DeepCopyInto

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

func (in *Subnet) DeepCopy() *Subnet

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

func (*Subnet) DeepCopyInto

func (in *Subnet) DeepCopyInto(out *Subnet)

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

type VPC

type VPC struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

VPC holds the VPC information.

func (*VPC) DeepCopy

func (in *VPC) DeepCopy() *VPC

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

func (*VPC) DeepCopyInto

func (in *VPC) DeepCopyInto(out *VPC)

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

type VPCEndpoint

type VPCEndpoint struct {
	Address *string `json:"address"`
	FIPID   *string `json:"floatingIPID"`
}

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.

Jump to

Keyboard shortcuts

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