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 ¶
- Variables
- func EncodeClusterStatus(status *IbmcloudClusterProviderStatus) (*runtime.RawExtension, error)
- func Resource(resource string) schema.GroupResource
- type IbmcloudClusterProviderSpec
- type IbmcloudClusterProviderSpecList
- type IbmcloudClusterProviderStatus
- type IbmcloudClusterProviderStatusList
- type IbmcloudMachineProviderSpec
- type IbmcloudMachineProviderSpecList
- type IbmcloudMachineProviderStatus
- type IbmcloudMachineProviderStatusList
- type IbmcloudMachineProviderStatusSpec
- type IbmcloudMachineProviderStatusStatus
Constants ¶
This section is empty.
Variables ¶
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 ¶
func (in *IbmcloudClusterProviderSpec) DeepCopy() *IbmcloudClusterProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IbmcloudClusterProviderSpec.
func (*IbmcloudClusterProviderSpec) DeepCopyInto ¶
func (in *IbmcloudClusterProviderSpec) DeepCopyInto(out *IbmcloudClusterProviderSpec)
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 ¶
func (in *IbmcloudClusterProviderSpecList) DeepCopy() *IbmcloudClusterProviderSpecList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IbmcloudClusterProviderSpecList.
func (*IbmcloudClusterProviderSpecList) DeepCopyInto ¶
func (in *IbmcloudClusterProviderSpecList) DeepCopyInto(out *IbmcloudClusterProviderSpecList)
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 ¶
func (in *IbmcloudClusterProviderStatus) DeepCopy() *IbmcloudClusterProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IbmcloudClusterProviderStatus.
func (*IbmcloudClusterProviderStatus) DeepCopyInto ¶
func (in *IbmcloudClusterProviderStatus) DeepCopyInto(out *IbmcloudClusterProviderStatus)
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 ¶
func (in *IbmcloudClusterProviderStatusList) DeepCopy() *IbmcloudClusterProviderStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IbmcloudClusterProviderStatusList.
func (*IbmcloudClusterProviderStatusList) DeepCopyInto ¶
func (in *IbmcloudClusterProviderStatusList) DeepCopyInto(out *IbmcloudClusterProviderStatusList)
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 ¶
func (in *IbmcloudMachineProviderSpec) DeepCopy() *IbmcloudMachineProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IbmcloudMachineProviderSpec.
func (*IbmcloudMachineProviderSpec) DeepCopyInto ¶
func (in *IbmcloudMachineProviderSpec) DeepCopyInto(out *IbmcloudMachineProviderSpec)
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 ¶
func (in *IbmcloudMachineProviderSpecList) DeepCopy() *IbmcloudMachineProviderSpecList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IbmcloudMachineProviderSpecList.
func (*IbmcloudMachineProviderSpecList) DeepCopyInto ¶
func (in *IbmcloudMachineProviderSpecList) DeepCopyInto(out *IbmcloudMachineProviderSpecList)
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 ¶
func (in *IbmcloudMachineProviderStatus) DeepCopy() *IbmcloudMachineProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IbmcloudMachineProviderStatus.
func (*IbmcloudMachineProviderStatus) DeepCopyInto ¶
func (in *IbmcloudMachineProviderStatus) DeepCopyInto(out *IbmcloudMachineProviderStatus)
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 ¶
func (in *IbmcloudMachineProviderStatusList) DeepCopy() *IbmcloudMachineProviderStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IbmcloudMachineProviderStatusList.
func (*IbmcloudMachineProviderStatusList) DeepCopyInto ¶
func (in *IbmcloudMachineProviderStatusList) DeepCopyInto(out *IbmcloudMachineProviderStatusList)
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 ¶
func (in *IbmcloudMachineProviderStatusSpec) DeepCopy() *IbmcloudMachineProviderStatusSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IbmcloudMachineProviderStatusSpec.
func (*IbmcloudMachineProviderStatusSpec) DeepCopyInto ¶
func (in *IbmcloudMachineProviderStatusSpec) DeepCopyInto(out *IbmcloudMachineProviderStatusSpec)
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 ¶
func (in *IbmcloudMachineProviderStatusStatus) DeepCopy() *IbmcloudMachineProviderStatusStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IbmcloudMachineProviderStatusStatus.
func (*IbmcloudMachineProviderStatusStatus) DeepCopyInto ¶
func (in *IbmcloudMachineProviderStatusStatus) DeepCopyInto(out *IbmcloudMachineProviderStatusStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.