v1alpha1

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

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

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type AzureClusterProviderSpec

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

	ResourceGroup string `json:"resourceGroup"`
	Location      string `json:"location"`
}

AzureClusterProviderSpec is the Schema for the azureclusterproviderspecs API +k8s:openapi-gen=true

func (*AzureClusterProviderSpec) DeepCopy

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

func (*AzureClusterProviderSpec) DeepCopyInto

func (in *AzureClusterProviderSpec) DeepCopyInto(out *AzureClusterProviderSpec)

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

func (*AzureClusterProviderSpec) DeepCopyObject

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

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

type AzureMachineProviderSpec

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

	Roles         []MachineRole `json:"roles,omitempty"`
	Location      string        `json:"location"`
	VMSize        string        `json:"vmSize"`
	Image         Image         `json:"image"`
	OSDisk        OSDisk        `json:"osDisk"`
	SSHPublicKey  string        `json:"sshPublicKey"`
	SSHPrivateKey string        `json:"sshPrivateKey"`
}

AzureMachineProviderSpec is the Schema for the azuremachineproviderspecs API +k8s:openapi-gen=true

func (*AzureMachineProviderSpec) DeepCopy

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

func (*AzureMachineProviderSpec) DeepCopyInto

func (in *AzureMachineProviderSpec) DeepCopyInto(out *AzureMachineProviderSpec)

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

func (*AzureMachineProviderSpec) DeepCopyObject

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

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

type Image

type Image struct {
	Publisher string `json:"publisher"`
	Offer     string `json:"offer"`
	SKU       string `json:"sku"`
	Version   string `json:"version"`
}

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

type MachineRole

type MachineRole string
const (
	Master MachineRole = "Master"
	Node   MachineRole = "Node"
)

type ManagedDisk

type ManagedDisk struct {
	StorageAccountType string `json:"storageAccountType"`
}

func (*ManagedDisk) DeepCopy

func (in *ManagedDisk) DeepCopy() *ManagedDisk

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

func (*ManagedDisk) DeepCopyInto

func (in *ManagedDisk) DeepCopyInto(out *ManagedDisk)

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

type OSDisk

type OSDisk struct {
	OSType      string      `json:"osType"`
	ManagedDisk ManagedDisk `json:"managedDisk"`
	DiskSizeGB  int         `json:"diskSizeGB"`
}

func (*OSDisk) DeepCopy

func (in *OSDisk) DeepCopy() *OSDisk

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

func (*OSDisk) DeepCopyInto

func (in *OSDisk) DeepCopyInto(out *OSDisk)

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