v1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the ibmcloud v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-ibmcloud/pkg/apis/ibmcloud +k8s:defaulter-gen=TypeMeta +groupName=ibmcloud.cluster.k8s.io

Package v1alpha1 contains API Schema definitions for the ibmcloud v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-ibmcloud/pkg/apis/ibmcloud +k8s:defaulter-gen=TypeMeta +groupName=ibmcloud.cluster.k8s.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "ibmcloud.cluster.k8s.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is required by pkg/client/...
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func EncodeClusterStatus

func EncodeClusterStatus(status *IbmcloudClusterProviderStatus) (*runtime.RawExtension, error)

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type IbmcloudClusterProviderSpec

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object IbmcloudClusterProviderSpec defines the desired state of IbmcloudClusterProvider +k8s:openapi-gen=true

func ClusterSpecFromProviderSpec

func ClusterSpecFromProviderSpec(providerSpec clusterv1.ProviderSpec) (*IbmcloudClusterProviderSpec, error)

ClusterConfigFromProviderSpec unmarshals a provider config into an Ibmcloud Cluster type

func (*IbmcloudClusterProviderSpec) DeepCopy

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

func (*IbmcloudClusterProviderSpec) DeepCopyInto

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

func (*IbmcloudClusterProviderSpec) DeepCopyObject

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

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

type IbmcloudClusterProviderSpecList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object IbmcloudClusterProviderList contains a list of IbmcloudClusterProvider

func (*IbmcloudClusterProviderSpecList) DeepCopy

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

func (*IbmcloudClusterProviderSpecList) DeepCopyInto

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

func (*IbmcloudClusterProviderSpecList) DeepCopyObject

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

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

type IbmcloudClusterProviderStatus

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

IbmcloudClusterProviderStatus is the Schema for the ibmcloudclusterproviderstatuses API +k8s:openapi-gen=true

func ClusterStatusFromProviderStatus

func ClusterStatusFromProviderStatus(extension *runtime.RawExtension) (*IbmcloudClusterProviderStatus, error)

ClusterStatusFromProviderStatus unmarshals a provider status into an Ibmcloud Cluster Status type

func (*IbmcloudClusterProviderStatus) DeepCopy

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

func (*IbmcloudClusterProviderStatus) DeepCopyInto

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

func (*IbmcloudClusterProviderStatus) DeepCopyObject

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

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

type IbmcloudClusterProviderStatusList

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

IbmcloudClusterProviderStatusList contains a list of IbmcloudClusterProviderStatus

func (*IbmcloudClusterProviderStatusList) DeepCopy

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

func (*IbmcloudClusterProviderStatusList) DeepCopyInto

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

func (*IbmcloudClusterProviderStatusList) DeepCopyObject

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

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

type IbmcloudMachineProviderSpec

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

	Hostname string `json:"hostname,omitempty"`

	Domain string `json:"domain,omitempty"`

	MaxMemory int `json:"maxMemory,omitempty"`
	StartCpus int `json:"startCpus,omitempty"`

	Datacenter string `json:"dataCenter,omitempty"`

	OSReferenceCode string `json:"osReferenceCode,omitempty"`

	LocalDiskFlag bool `json:"localDiskFlag,omitempty"`

	HourlyBillingFlag bool `json:"hourlyBillingFlag,omitempty"`

	UserDataSecret *corev1.SecretReference `json:"userDataSecret,omitempty"`
	SshKeyName     string                  `json:"sshKeyName,omitempty"`
	SshUserName    string                  `json:"sshUserName,omitempty"`
}

IbmcloudMachineProviderSpec defines the desired state of IbmcloudMachineProvider +k8s:openapi-gen=true

func MachineSpecFromProviderSpec

func MachineSpecFromProviderSpec(providerSpec clusterv1.ProviderSpec) (*IbmcloudMachineProviderSpec, error)

func (*IbmcloudMachineProviderSpec) DeepCopy

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

func (*IbmcloudMachineProviderSpec) DeepCopyInto

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

func (*IbmcloudMachineProviderSpec) DeepCopyObject

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

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

type IbmcloudMachineProviderSpecList

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

IbmcloudMachineProviderSpecList contains a list of IbmcloudMachineProviderSpec

func (*IbmcloudMachineProviderSpecList) DeepCopy

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

func (*IbmcloudMachineProviderSpecList) DeepCopyInto

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

func (*IbmcloudMachineProviderSpecList) DeepCopyObject

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

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

type IbmcloudMachineProviderStatus

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

	Spec   IbmcloudMachineProviderStatusSpec   `json:"spec,omitempty"`
	Status IbmcloudMachineProviderStatusStatus `json:"status,omitempty"`
}

IbmcloudMachineProviderStatus is the Schema for the ibmcloudmachineproviderstatuses API +k8s:openapi-gen=true

func (*IbmcloudMachineProviderStatus) DeepCopy

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

func (*IbmcloudMachineProviderStatus) DeepCopyInto

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

func (*IbmcloudMachineProviderStatus) DeepCopyObject

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

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

type IbmcloudMachineProviderStatusList

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

IbmcloudMachineProviderStatusList contains a list of IbmcloudMachineProviderStatus

func (*IbmcloudMachineProviderStatusList) DeepCopy

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

func (*IbmcloudMachineProviderStatusList) DeepCopyInto

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

func (*IbmcloudMachineProviderStatusList) DeepCopyObject

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

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

type IbmcloudMachineProviderStatusSpec

type IbmcloudMachineProviderStatusSpec struct {
}

IbmcloudMachineProviderStatusSpec defines the desired state of IbmcloudMachineProviderStatus

func (*IbmcloudMachineProviderStatusSpec) DeepCopy

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

func (*IbmcloudMachineProviderStatusSpec) DeepCopyInto

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

type IbmcloudMachineProviderStatusStatus

type IbmcloudMachineProviderStatusStatus struct {
}

IbmcloudMachineProviderStatusStatus defines the observed state of IbmcloudMachineProviderStatus

func (*IbmcloudMachineProviderStatusStatus) DeepCopy

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

func (*IbmcloudMachineProviderStatusStatus) DeepCopyInto

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