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 ¶
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 ¶
func (in *AzureClusterProviderSpec) DeepCopy() *AzureClusterProviderSpec
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 ¶
func (in *AzureMachineProviderSpec) DeepCopy() *AzureMachineProviderSpec
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSDisk.
func (*OSDisk) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.