Documentation
¶
Index ¶
- func GenerateSshKey() ([]byte, string, error)
- func GetPublicKeyFromPrivate(privateKey string) (string, error)
- type AddNodePoolGroupInput
- type AddNodePoolGroupOutput
- type AgentPoolProfiles
- type ClusterConfig
- type CreateClusterInput
- type CreateClusterOutput
- type DeleteClusterInput
- type DeleteClusterOutput
- type GetOpEventsInput
- type GetOpEventsOutput
- type LinuxProfile
- type MasterProfile
- type OPCTL
- func (o *OPCTL) AddNodePoolGroup(input AddNodePoolGroupInput) (AddNodePoolGroupOutput, error)
- func (o *OPCTL) CreateCluster(input CreateClusterInput) (CreateClusterOutput, error)
- func (o *OPCTL) DeleteCluster(input DeleteClusterInput) (DeleteClusterOutput, error)
- func (o *OPCTL) GetOpEvents(input GetOpEventsInput) (GetOpEventsOutput, error)
- func (o *OPCTL) RemoveNodePoolGroup(input RemoveNodePoolGroupInput) (RemoveNodePoolGroupOutput, error)
- func (o *OPCTL) ScaleNodePool(input ScaleNodePoolInput) (ScaleNodePoolOutput, error)
- func (o *OPCTL) UpgradeCluster(input UpgradeClusterInput) (UpgradeClusterOutput, error)
- type OrchestratorProfile
- type Properties
- type PublicKeys
- type RemoveNodePoolGroupInput
- type RemoveNodePoolGroupOutput
- type SSH
- type ScaleNodePoolInput
- type ScaleNodePoolOutput
- type ServicePrincipalProfile
- type UpgradeClusterInput
- type UpgradeClusterOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSshKey ¶
func GetPublicKeyFromPrivate ¶
GetPublicKey from private key
Types ¶
type AddNodePoolGroupInput ¶
type AddNodePoolGroupInput struct { Credentials azurev1beta1.AzureCredentials ClusterName string Config ClusterConfig }
type AddNodePoolGroupOutput ¶
type AddNodePoolGroupOutput struct {
OpId string
}
type AgentPoolProfiles ¶
type ClusterConfig ¶
type ClusterConfig struct { APIVersion string `json:"apiVersion"` Properties Properties `json:"properties"` }
ClusterConfig is used to create an aks-engine cluster in azure
type CreateClusterInput ¶
type CreateClusterInput struct { Credentials azurev1beta1.AzureCredentials Location string ClusterName string Config ClusterConfig }
type CreateClusterOutput ¶
type CreateClusterOutput struct {
OpId string
}
type DeleteClusterInput ¶
type DeleteClusterInput struct { Credentials azurev1beta1.AzureCredentials Location string ClusterName string }
type DeleteClusterOutput ¶
type DeleteClusterOutput struct {
OpId string
}
type GetOpEventsInput ¶
type GetOpEventsOutput ¶
type GetOpEventsOutput struct {
Outcome string
}
type LinuxProfile ¶
type MasterProfile ¶
type OPCTL ¶
func (*OPCTL) AddNodePoolGroup ¶
func (o *OPCTL) AddNodePoolGroup(input AddNodePoolGroupInput) (AddNodePoolGroupOutput, error)
AddNodePoolGroup adds a node pool group to the cluster
func (*OPCTL) CreateCluster ¶
func (o *OPCTL) CreateCluster(input CreateClusterInput) (CreateClusterOutput, error)
func (*OPCTL) DeleteCluster ¶
func (o *OPCTL) DeleteCluster(input DeleteClusterInput) (DeleteClusterOutput, error)
DeleteCluster deletes an aks-engine cluster
func (*OPCTL) GetOpEvents ¶
func (o *OPCTL) GetOpEvents(input GetOpEventsInput) (GetOpEventsOutput, error)
GetOpEvents starts event loop while operation is running until completion
func (*OPCTL) RemoveNodePoolGroup ¶
func (o *OPCTL) RemoveNodePoolGroup(input RemoveNodePoolGroupInput) (RemoveNodePoolGroupOutput, error)
RemoveNodePoolGroup removes a node pool group from the cluster
func (*OPCTL) ScaleNodePool ¶
func (o *OPCTL) ScaleNodePool(input ScaleNodePoolInput) (ScaleNodePoolOutput, error)
ScaleNodePool increases/decreases the number of instances for a given node pool
func (*OPCTL) UpgradeCluster ¶
func (o *OPCTL) UpgradeCluster(input UpgradeClusterInput) (UpgradeClusterOutput, error)
UpgradeCluster upgrade the kubernetes cluster to a later version of kubernetes
type OrchestratorProfile ¶
type Properties ¶
type Properties struct { OrchestratorProfile OrchestratorProfile `json:"orchestratorProfile"` MasterProfile MasterProfile `json:"masterProfile"` AgentPoolProfiles []AgentPoolProfiles `json:"agentPoolProfiles"` LinuxProfile LinuxProfile `json:"linuxProfile"` ServicePrincipalProfile ServicePrincipalProfile `json:"servicePrincipalProfile"` }
type PublicKeys ¶
type PublicKeys struct {
KeyData string `json:"keyData"`
}
type RemoveNodePoolGroupInput ¶
type RemoveNodePoolGroupInput struct { Credentials azurev1beta1.AzureCredentials Location string ClusterName string Config ClusterConfig }
type RemoveNodePoolGroupOutput ¶
type RemoveNodePoolGroupOutput struct {
OpId string
}
type SSH ¶
type SSH struct {
PublicKeys []PublicKeys `json:"publicKeys"`
}
type ScaleNodePoolInput ¶
type ScaleNodePoolInput struct { Credentials azurev1beta1.AzureCredentials Location string ClusterName string NodePoolName string Count string }
type ScaleNodePoolOutput ¶
type ScaleNodePoolOutput struct {
OpId string
}
type ServicePrincipalProfile ¶
type UpgradeClusterInput ¶
type UpgradeClusterInput struct { Credentials azurev1beta1.AzureCredentials Location string ClusterName string UpgradeVersion string }
type UpgradeClusterOutput ¶
type UpgradeClusterOutput struct {
OpId string
}
Click to show internal directories.
Click to hide internal directories.