Documentation
¶
Index ¶
- type AvailabilityZone
- type AvailabilityZoneProperties
- type Cluster
- type ClusterAPIConfiguration
- type ClusterConfiguration
- type ClusterProperties
- type ComputeConfiguration
- type ContainerRegistryConfiguration
- type ControlPlaneInfo
- type ControlPlaneProperties
- type EtcdCluster
- type EtcdClusterProperties
- type Group
- type GroupProperties
- type Kubernetes
- type KubernetesProperties
- type Location
- type LocationProperties
- type ManagementStrategyType
- type NetworkConfiguration
- type Node
- type NodePoolConfiguration
- type NodeProperties
- type NodeType
- type SSHConfiguration
- type SSHPublicKey
- type StorageConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailabilityZone ¶ added in v1.1.116
type AvailabilityZone struct {
// ID
ID *string `json:"ID,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// Type
Type *string `json:"type,omitempty"`
// Version
Version *string `json:"version,omitempty"`
// Location - Resource location
Location *string `json:"location,omitempty"`
*AvailabilityZoneProperties `json:"availabilityzoneproperties,omitempty"`
}
AvailabilityZone describes the availabilityZone setting for a virtual machine
type AvailabilityZoneProperties ¶ added in v1.1.116
type Cluster ¶
type Cluster struct {
autorest.Response `json:"-"`
// ID - READ-ONLY; The ID of the resource group.
ID *string `json:"id,omitempty"`
// Name - The name of the resource group.
Name *string `json:"name,omitempty"`
//Properties
*ClusterProperties `json:"properties,omitempty"`
// Version
Version *string `json:"version,omitempty"`
// Location - The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.
Location *string `json:"location,omitempty"`
// Tags - The tags attached to the resource group.
Tags map[string]*string `json:"tags"`
// Nodes
Nodes *[]Node `json:"nodes,omitempty"`
}
Cluster resource group information.
type ClusterAPIConfiguration ¶
type ClusterAPIConfiguration struct {
// ConfigurationEndpoint
ConfigurationEndpoint *string `json:"configurationEndpoint,omitempty"`
// InfrastructureProviderVersion
InfrastructureProviderVersion *string `json:"infrastructureProviderVersion,omitempty"`
// BootstrapProviderVersion
BootstrapProviderVersion *string `json:"bootstrapProviderVersion,omitempty"`
// ControlPlaneProviderVersion
ControlPlaneProviderVersion *string `json:"controlPlaneProviderVersion,omitempty"`
// CoreProviderVersion
CoreProviderVersion *string `json:"coreProviderVersion,omitempty"`
}
ClusterAPIConfiguration is the configuration needed for setting up Cluster API
type ClusterConfiguration ¶
type ClusterConfiguration struct {
// Version
Version *string `json:"version,omitempty"`
}
type ClusterProperties ¶
type ClusterProperties struct {
// State - State
Statuses map[string]*string `json:"statuses"`
// FQDN
FQDN *string `json:"fqdn,omitempty"`
}
ClusterProperties the resource group properties.
type ComputeConfiguration ¶
type ComputeConfiguration struct {
// CRI
CRI *string `json:"cri,omitempty"`
// SSH
SSH *SSHConfiguration `json:"ssh,omitempty"`
// NodePools
NodePools *[]NodePoolConfiguration `json:"nodePools,omitempty"`
}
type ContainerRegistryConfiguration ¶
type ContainerRegistryConfiguration struct {
// Name
Name *string `json:"name,omitempty"`
// Username
Username *string `json:"username,omitempty"`
// Password
Password *string `json:"password,omitempty"`
}
ContainerRegistryConfiguration is the configuration needed for a container registry
type ControlPlaneInfo ¶ added in v0.10.6
type ControlPlaneInfo struct {
autorest.Response `json:"-"`
// ID - READ-ONLY; The ID of the resource group.
ID *string `json:"id,omitempty"`
// Name - The name of the resource group.
Name *string `json:"name,omitempty"`
// Properties
*ControlPlaneProperties `json:"properties,omitempty"`
// Version
Version *string `json:"version,omitempty"`
// Location - The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.
Location *string `json:"location,omitempty"`
// Tags - The tags attached to the resource group.
Tags map[string]*string `json:"tags"`
}
ControlPlane resource group information.
type ControlPlaneProperties ¶ added in v0.10.6
type ControlPlaneProperties struct {
// Statuses - provides state of the ControlPlane like denoting whether
// each ControlPlane is the Leader or Active
Statuses map[string]*string `json:"statuses"`
// FQDN - provides the ControlPlane FQDN (or IP) used for the leadership
// election.
FQDN *string `json:"fqdn,omitempty"`
// Port - provides the ControlPlane Port (or IP) used for the leadership
// election.
Port *int32 `json:"port,omitempty"`
}
ControlPlaneProperties the resource group properties.
type EtcdCluster ¶ added in v0.10.6
type EtcdCluster struct {
autorest.Response `json:"-"`
// ID - READ-ONLY; The ID of the resource group.
ID *string `json:"id,omitempty"`
// Name - The name of the resource group.
Name *string `json:"name,omitempty"`
// Properties
*EtcdClusterProperties `json:"properties,omitempty"`
// Version
Version *string `json:"version,omitempty"`
// Location - The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.
Location *string `json:"location,omitempty"`
// Tags - The tags attached to the resource group.
Tags map[string]*string `json:"tags"`
}
EtcdCluster resource group information.
type EtcdClusterProperties ¶ added in v0.10.6
type EtcdClusterProperties struct {
// CaCertificate used as root certificate for communication among ETCD nodes
// and to the ETCD cluster
CaCertificate *string `json:"cacertificate,omitempty"`
// CaKey is the private key corresponding to the CaCertificate
CaKey *string `json:"cakey,omitempty"`
// State - State
Statuses map[string]*string `json:"statuses"`
}
EtcdClusterProperties the resource group properties.
type Group ¶
type Group struct {
autorest.Response `json:"-"`
// ID - READ-ONLY; The ID of the resource group.
ID *string `json:"id,omitempty"`
// Name - The name of the resource group.
Name *string `json:"name,omitempty"`
// Properties
*GroupProperties `json:"properties,omitempty"`
// Version
Version *string `json:"version,omitempty"`
// Location - The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.
Location *string `json:"location,omitempty"`
// ManagedBy - The ID of the resource that manages this resource group.
ManagedBy *string `json:"managedBy,omitempty"`
// Tags - The tags attached to the resource group.
Tags map[string]*string `json:"tags"`
}
Group resource group information.
type GroupProperties ¶
GroupProperties the resource group properties.
type Kubernetes ¶
type Kubernetes struct {
autorest.Response `json:"-"`
// ID - READ-ONLY; The ID of the resource group.
ID *string `json:"id,omitempty"`
// Name - The name of the resource group.
Name *string `json:"name,omitempty"`
//Properties
*KubernetesProperties `json:"properties,omitempty"`
// Version
Version *string `json:"version,omitempty"`
// Location - The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.
Location *string `json:"location,omitempty"`
// Tags - The tags attached to the resource group.
Tags map[string]*string `json:"tags"`
}
Kubernetes resource group information.
type KubernetesProperties ¶
type KubernetesProperties struct {
// Cluster
Cluster *ClusterConfiguration `json:"cluster,omitempty"`
// Network
Network *NetworkConfiguration `json:"network,omitempty"`
// Storage
Storage *StorageConfiguration `json:"storage,omitempty"`
// Compute
Compute *ComputeConfiguration `json:"compute,omitempty"`
// ClusterAPI
ClusterAPI *ClusterAPIConfiguration `json:"clusterapi,omitempty"`
// ContainerRegistry
ContainerRegistry *ContainerRegistryConfiguration `json:"containerregistry,omitempty"`
// ManagementStrategy
ManagementStrategy ManagementStrategyType `json:"managementstrategy,omitempty"`
// KubeConfig
KubeConfig []byte `json:"kubeconfig,omitempty"`
// DeploymentManifest
DeploymentManifest []byte `json:"deploymentManifest,omitempty"`
// State - State
Statuses map[string]*string `json:"statuses"`
}
KubernetesProperties the resource group properties.
type Location ¶
type Location struct {
autorest.Response `json:"-"`
// ID - READ-ONLY; The ID of the resource group.
ID *string `json:"id,omitempty"`
// Name - The name of the resource group.
Name *string `json:"name,omitempty"`
// Properties
*LocationProperties `json:"properties,omitempty"`
// Version
Version *string `json:"version,omitempty"`
// Tags - The tags attached to the resource group.
Tags map[string]*string `json:"tags"`
}
Location resource group information.
type LocationProperties ¶
LocationProperties the resource group properties.
type ManagementStrategyType ¶
type ManagementStrategyType string
const ( Pivoted ManagementStrategyType = "Pivoted" Distinct ManagementStrategyType = "Distinct" )
type NetworkConfiguration ¶
type NetworkConfiguration struct {
// CNI
CNI *string `json:"cni,omitempty"`
// PodCIDR
PodCIDR *string `json:"pidCidr,omitempty"`
// ClusterCIDR
ClusterCIDR *string `json:"clusterCidr,omitempty"`
// ControlPlaneCIDR
ControlPlaneCIDR *string `json:"controlPlaneCidr,omitempty"`
// VirtualNetwork
VirtualNetwork *string `json:"virtualNetwork,omitempty"`
// LoadBalancerVip
LoadBalancerVip *string `json:"loadBalancerVip,omitempty"`
// LoadBalancerMac
LoadBalancerMac *string `json:"loadBalancerMac,omitempty"`
}
type Node ¶
type Node struct {
autorest.Response `json:"-"`
// ID - READ-ONLY; The ID of the resource group.
ID *string `json:"id,omitempty"`
// Name - The name of the resource group.
Name *string `json:"name,omitempty"`
//Properties
*NodeProperties `json:"properties,omitempty"`
// Version
Version *string `json:"version,omitempty"`
// Location - The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.
Location *string `json:"location,omitempty"`
// Tags - The tags attached to the resource group.
Tags map[string]*string `json:"tags"`
}
Node resource group information.
type NodePoolConfiguration ¶
type NodeProperties ¶
type NodeProperties struct {
// State - State
Statuses map[string]*string `json:"statuses"`
// FQDN
FQDN *string `json:"fqdn,omitempty"`
Port *int32 `json:"port,omitempty"`
AuthorizerPort *int32 `json:"authorizerPort,omitempty"`
Certificate *string `json:"certificate,omitempty"`
}
NodeProperties the resource group properties.
type SSHConfiguration ¶
type SSHConfiguration struct {
// PublicKeys - The SSH public key used to authenticate with linux based VMs.
PublicKey *SSHPublicKey `json:"publicKey,omitempty"`
}
type SSHPublicKey ¶
type SSHPublicKey struct {
// KeyData - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
KeyData *string `json:"keyData,omitempty"`
}
type StorageConfiguration ¶
type StorageConfiguration struct {
// Version
CSI *string `json:"csi,omitempty"`
}