Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the azure v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/zachpuck/aks-engine-automation/pkg/apis/azure +k8s:defaulter-gen=TypeMeta +groupName=azure.cnct.io
Package v1beta1 contains API Schema definitions for the azure v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/zachpuck/aks-engine-automation/pkg/apis/azure +k8s:defaulter-gen=TypeMeta +groupName=azure.cnct.io
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type AgentPoolProfileConfig
- type AksCluster
- type AksClusterList
- type AksClusterSpec
- type AksClusterStatus
- type AzureCredentials
- type ClusterKubernetesVersion
- type ClusterNodePoolCount
- type ClusterStatusPhase
- type MasterProfileConfig
Constants ¶
const AksClusterFinalizer = "akscluster.cnct.io"
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "azure.cnct.io", Version: "v1beta1"} // 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 AgentPoolProfileConfig ¶
type AgentPoolProfileConfig struct { Name string `json:"name,omitempty"` Count int `json:"count,omitempty"` VmSize string `json:"vmSize,omitempty"` EnableVMSSNodePublicIP bool `json:"enableVMSSNodePublicIP,omitempty"` }
AgentPoolProfileConfig defines the resource configuration for an agent nodes pool
func (*AgentPoolProfileConfig) DeepCopy ¶
func (in *AgentPoolProfileConfig) DeepCopy() *AgentPoolProfileConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolProfileConfig.
func (*AgentPoolProfileConfig) DeepCopyInto ¶
func (in *AgentPoolProfileConfig) DeepCopyInto(out *AgentPoolProfileConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AksCluster ¶
type AksCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AksClusterSpec `json:"spec,omitempty"` Status AksClusterStatus `json:"status,omitempty"` }
AksCluster is the Schema for the aksclusters API +k8s:openapi-gen=true
func (*AksCluster) DeepCopy ¶
func (in *AksCluster) DeepCopy() *AksCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AksCluster.
func (*AksCluster) DeepCopyInto ¶
func (in *AksCluster) DeepCopyInto(out *AksCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AksCluster) DeepCopyObject ¶
func (in *AksCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AksClusterList ¶
type AksClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AksCluster `json:"items"` }
AksClusterList contains a list of AksCluster
func (*AksClusterList) DeepCopy ¶
func (in *AksClusterList) DeepCopy() *AksClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AksClusterList.
func (*AksClusterList) DeepCopyInto ¶
func (in *AksClusterList) DeepCopyInto(out *AksClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AksClusterList) DeepCopyObject ¶
func (in *AksClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AksClusterSpec ¶
type AksClusterSpec struct { // Credentials references a secret used to access the azure environment (must have access to blob storageaccount) Credentials string `json:"credentials,omitempty"` // Region where you are creating the cluster Location string `json:"location,omitempty"` // Kubernetes version KubernetesVersion string `json:"kubernetesVersion"` // Master Profile configuration MasterProfile MasterProfileConfig `json:"masterProfile"` // Agent Pool Profiles AgentPoolProfiles []AgentPoolProfileConfig `json:"agentPoolProfiles,omitempty"` }
AksClusterSpec defines the desired state of AksCluster
func (*AksClusterSpec) DeepCopy ¶
func (in *AksClusterSpec) DeepCopy() *AksClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AksClusterSpec.
func (*AksClusterSpec) DeepCopyInto ¶
func (in *AksClusterSpec) DeepCopyInto(out *AksClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AksClusterStatus ¶
type AksClusterStatus struct { // Current number of node pools NodePoolCount int `json:"nodePoolCount,omitempty"` // Cluster kubernetes version KubernetesVersion ClusterKubernetesVersion `json:"kubernetesVersion,omitempty"` // Cluster status Phase ClusterStatusPhase `json:"phase,omitempty"` }
AksClusterStatus defines the observed state of AksCluster
func (*AksClusterStatus) DeepCopy ¶
func (in *AksClusterStatus) DeepCopy() *AksClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AksClusterStatus.
func (*AksClusterStatus) DeepCopyInto ¶
func (in *AksClusterStatus) DeepCopyInto(out *AksClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureCredentials ¶
type AzureCredentials struct { TenantId string `json:"tenantId,omitempty"` SubscriptionId string `json:"subscriptionId,omitempty"` LoginId string `json:"loginId,omitempty"` LoginSecret string `json:"loginSecret,omitempty"` }
AzureCredentials is used to authenticate to azure
func (*AzureCredentials) DeepCopy ¶
func (in *AzureCredentials) DeepCopy() *AzureCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureCredentials.
func (*AzureCredentials) DeepCopyInto ¶
func (in *AzureCredentials) DeepCopyInto(out *AzureCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesVersion ¶
type ClusterKubernetesVersion string
type ClusterNodePoolCount ¶
type ClusterNodePoolCount int
type ClusterStatusPhase ¶
type ClusterStatusPhase string
type MasterProfileConfig ¶
type MasterProfileConfig struct { Count int `json:"count,omitempty"` DnsPrefix string `json:"dnsPrefix,omitempty"` VmSize string `json:"vmSize,omitempty"` }
MasterProfileConfig defines the resource configuration for the control plane nodes
func (*MasterProfileConfig) DeepCopy ¶
func (in *MasterProfileConfig) DeepCopy() *MasterProfileConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterProfileConfig.
func (*MasterProfileConfig) DeepCopyInto ¶
func (in *MasterProfileConfig) DeepCopyInto(out *MasterProfileConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.