v1alpha1

package
v0.0.0-...-86ffc8e Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const GroupName = "gceproviderconfig"

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

Functions

func NewScheme

func NewScheme() (*runtime.Scheme, error)

Types

type Disk

type Disk struct {
	InitializeParams DiskInitializeParams `json:"initializeParams"`
}

type DiskInitializeParams

type DiskInitializeParams struct {
	DiskSizeGb int64  `json:"diskSizeGb"`
	DiskType   string `json:"diskType"`
}

type GCEClusterProviderConfig

type GCEClusterProviderConfig struct {
	metav1.TypeMeta `json:",inline"`

	Project string `json:"project"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*GCEClusterProviderConfig) DeepCopy

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

func (*GCEClusterProviderConfig) DeepCopyInto

func (in *GCEClusterProviderConfig) DeepCopyInto(out *GCEClusterProviderConfig)

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

func (*GCEClusterProviderConfig) DeepCopyObject

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

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

type GCEMachineProviderConfig

type GCEMachineProviderConfig struct {
	metav1.TypeMeta `json:",inline"`

	Zone        string `json:"zone"`
	MachineType string `json:"machineType"`

	// The name of the OS to be installed on the machine.
	OS    string `json:"os"`
	Disks []Disk `json:"disks"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*GCEMachineProviderConfig) DeepCopy

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

func (*GCEMachineProviderConfig) DeepCopyInto

func (in *GCEMachineProviderConfig) DeepCopyInto(out *GCEMachineProviderConfig)

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

func (*GCEMachineProviderConfig) DeepCopyObject

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

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

type GCEProviderConfigCodec

type GCEProviderConfigCodec struct {
	// contains filtered or unexported fields
}

func NewCodec

func NewCodec() (*GCEProviderConfigCodec, error)

func (*GCEProviderConfigCodec) DecodeFromProviderConfig

func (codec *GCEProviderConfigCodec) DecodeFromProviderConfig(providerConfig clusterv1.ProviderConfig, out runtime.Object) error

func (*GCEProviderConfigCodec) EncodeToProviderConfig

func (codec *GCEProviderConfigCodec) EncodeToProviderConfig(in runtime.Object) (*clusterv1.ProviderConfig, error)

Jump to

Keyboard shortcuts

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