v1alpha1

package
v0.0.0-...-c4c3cd1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

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

View Source
const GroupName = "proxmoxproviderconfig.k8s.io"

Variables

View Source
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

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

func (*ProxmoxClusterProviderSpec) DeepCopyInto

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

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

func (*ProxmoxClusterProviderStatus) DeepCopyInto

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

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

func (*ProxmoxMachineProviderSpec) DeepCopyInto

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.

Jump to

Keyboard shortcuts

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