v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Package v1alpha1 contains API Schema definitions for the vsphereproviderconfig v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-vsphere/pkg/apis/vsphereproviderconfig +k8s:defaulter-gen=TypeMeta +groupName=vsphereproviderconfig.sigs.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: "vsphereproviderconfig.sigs.k8s.io", Version: "v1alpha1"}

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

Functions

This section is empty.

Types

type APIStatus

type APIStatus string
const (
	ApiNotReady APIStatus = "NotReady"
	ApiReady    APIStatus = "Ready"
)

type DiskSpec

type DiskSpec struct {
	DiskSizeGB int64  `json:"diskSizeGB,omitempty"`
	DiskLabel  string `json:"diskLabel,omitempty"`
}

func (*DiskSpec) DeepCopy

func (in *DiskSpec) DeepCopy() *DiskSpec

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

func (*DiskSpec) DeepCopyInto

func (in *DiskSpec) DeepCopyInto(out *DiskSpec)

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

type IPConfig

type IPConfig struct {
	NetworkType NetworkType `json:"networkType"`
	IP          string      `json:"ip,omitempty"`
	Netmask     string      `json:"netmask,omitempty"`
	Gateway     string      `json:"gateway,omitempty"`
	Dns         []string    `json:"dns,omitempty"`
}

func (*IPConfig) DeepCopy

func (in *IPConfig) DeepCopy() *IPConfig

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

func (*IPConfig) DeepCopyInto

func (in *IPConfig) DeepCopyInto(out *IPConfig)

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

type NetworkSpec

type NetworkSpec struct {
	NetworkName string   `json:"networkName"`
	IPConfig    IPConfig `json:"ipConfig,omitempty"`
}

func (*NetworkSpec) DeepCopy

func (in *NetworkSpec) DeepCopy() *NetworkSpec

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

func (*NetworkSpec) DeepCopyInto

func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)

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

type NetworkType

type NetworkType string
const (
	Static NetworkType = "static"
	DHCP   NetworkType = "dhcp"
)

type VsphereClusterProviderConfig

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

	VsphereUser     string `json:"vsphereUser"`
	VspherePassword string `json:"vspherePassword"`
	VsphereServer   string `json:"vsphereServer"`
}

VsphereClusterProviderConfig is the Schema for the vsphereclusterproviderconfigs API +k8s:openapi-gen=true

func (*VsphereClusterProviderConfig) DeepCopy

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

func (*VsphereClusterProviderConfig) DeepCopyInto

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

func (*VsphereClusterProviderConfig) DeepCopyObject

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

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

type VsphereClusterProviderConfigList

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

VsphereClusterProviderConfigList contains a list of VsphereClusterProviderConfig

func (*VsphereClusterProviderConfigList) DeepCopy

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

func (*VsphereClusterProviderConfigList) DeepCopyInto

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

func (*VsphereClusterProviderConfigList) DeepCopyObject

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

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

type VsphereClusterProviderStatus

type VsphereClusterProviderStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	LastUpdated string    `json:"lastUpdated"`
	APIStatus   APIStatus `json:"clusterApiStatus"`
}

VsphereClusterProviderStatus defines the observed state of VsphereClusterProviderConfig

func (*VsphereClusterProviderStatus) DeepCopy

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

func (*VsphereClusterProviderStatus) DeepCopyInto

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

type VsphereMachineProviderConfig

type VsphereMachineProviderConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	MachineRef        string             `json:"machineRef,omitempty"`
	MachineSpec       VsphereMachineSpec `json:"machineSpec,omitempty"`
}

VsphereMachineProviderConfig is the Schema for the vspheremachineproviderconfigs API +k8s:openapi-gen=true

func (*VsphereMachineProviderConfig) DeepCopy

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

func (*VsphereMachineProviderConfig) DeepCopyInto

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

func (*VsphereMachineProviderConfig) DeepCopyObject

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

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

type VsphereMachineProviderConfigList

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

VsphereMachineProviderConfigList contains a list of VsphereMachineProviderConfig

func (*VsphereMachineProviderConfigList) DeepCopy

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

func (*VsphereMachineProviderConfigList) DeepCopyInto

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

func (*VsphereMachineProviderConfigList) DeepCopyObject

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

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

type VsphereMachineProviderStatus

type VsphereMachineProviderStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	LastUpdated string `json:"lastUpdated"`
	TaskRef     string `json:"taskRef"`
}

VsphereMachineProviderConfigStatus defines the observed state of VsphereMachineProviderConfig

func (*VsphereMachineProviderStatus) DeepCopy

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

func (*VsphereMachineProviderStatus) DeepCopyInto

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

type VsphereMachineSpec

type VsphereMachineSpec struct {
	Datacenter       string        `json:"datacenter"`
	Datastore        string        `json:"datastore"`
	ResourcePool     string        `json:"resourcePool,omitempty"`
	VMFolder         string        `json:"vmFolder,omitempty"`
	Networks         []NetworkSpec `json:"networks"`
	NumCPUs          int32         `json:"numCPUs,omitempty"`
	MemoryMB         int64         `json:"memoryMB,omitempty"`
	VMTemplate       string        `json:"template" yaml:"template"`
	Disks            []DiskSpec    `json:"disks"`
	Preloaded        bool          `json:"preloaded,omitempty"`
	VsphereCloudInit bool          `json:"vsphereCloudInit,omitempty"`
}

func (*VsphereMachineSpec) DeepCopy

func (in *VsphereMachineSpec) DeepCopy() *VsphereMachineSpec

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

func (*VsphereMachineSpec) DeepCopyInto

func (in *VsphereMachineSpec) DeepCopyInto(out *VsphereMachineSpec)

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