Documentation ¶
Overview ¶
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/ereslibre/cluster-api-provider-proxmox/pkg/apis/proxmoxproviderconfig +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta +groupName=proxmoxproviderconfig.k8s.io
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/ereslibre/cluster-api-provider-proxmox/pkg/apis/proxmoxproviderconfig +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta
Index ¶
Constants ¶
const GroupName = "proxmoxproviderconfig.k8s.io"
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "proxmoxproviderconfig.k8s.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func EncodeClusterStatus ¶
func EncodeClusterStatus(status *ProxmoxClusterProviderStatus) (*runtime.RawExtension, error)
Types ¶
type ProxmoxClusterProviderSpec ¶
type ProxmoxClusterProviderSpec struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` }
ProxmoxClusterProviderSpec is the providerSpec for Proxmox in the cluster object +k8s:openapi-gen=true
func ClusterSpecFromProviderSpec ¶
func ClusterSpecFromProviderSpec(providerSpec clusterv1.ProviderSpec) (*ProxmoxClusterProviderSpec, error)
ClusterConfigFromProviderSpec unmarshals a provider config into an Proxmox Cluster type
func (*ProxmoxClusterProviderSpec) DeepCopy ¶
func (in *ProxmoxClusterProviderSpec) DeepCopy() *ProxmoxClusterProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxmoxClusterProviderSpec.
func (*ProxmoxClusterProviderSpec) DeepCopyInto ¶
func (in *ProxmoxClusterProviderSpec) DeepCopyInto(out *ProxmoxClusterProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProxmoxClusterProviderSpec) DeepCopyObject ¶
func (in *ProxmoxClusterProviderSpec) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProxmoxClusterProviderStatus ¶
type ProxmoxClusterProviderStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` }
ProxmoxClusterProviderStatus contains the status fields relevant to Proxmox in the cluster object. +k8s:openapi-gen=true
func ClusterStatusFromProviderStatus ¶
func ClusterStatusFromProviderStatus(extension *runtime.RawExtension) (*ProxmoxClusterProviderStatus, error)
ClusterStatusFromProviderStatus unmarshals a provider status into an Proxmox Cluster Status type
func (*ProxmoxClusterProviderStatus) DeepCopy ¶
func (in *ProxmoxClusterProviderStatus) DeepCopy() *ProxmoxClusterProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxmoxClusterProviderStatus.
func (*ProxmoxClusterProviderStatus) DeepCopyInto ¶
func (in *ProxmoxClusterProviderStatus) DeepCopyInto(out *ProxmoxClusterProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProxmoxClusterProviderStatus) DeepCopyObject ¶
func (in *ProxmoxClusterProviderStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProxmoxMachineProviderSpec ¶
type ProxmoxMachineProviderSpec struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` }
ProxmoxMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for a Proxmox Instance. It is used by the Proxmox machine actuator to create a single machine instance. +k8s:openapi-gen=true
func MachineSpecFromProviderSpec ¶
func MachineSpecFromProviderSpec(providerSpec clusterv1.ProviderSpec) (*ProxmoxMachineProviderSpec, error)
This is the same as ClusterSpecFromProviderSpec but we expect there to be a specific Spec type for Machines soon
func (*ProxmoxMachineProviderSpec) DeepCopy ¶
func (in *ProxmoxMachineProviderSpec) DeepCopy() *ProxmoxMachineProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxmoxMachineProviderSpec.
func (*ProxmoxMachineProviderSpec) DeepCopyInto ¶
func (in *ProxmoxMachineProviderSpec) DeepCopyInto(out *ProxmoxMachineProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProxmoxMachineProviderSpec) DeepCopyObject ¶
func (in *ProxmoxMachineProviderSpec) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.