Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Location string `json:"location"` Name string `json:"name"` Properties struct { KubeConfig string `json:"kubeConfig"` } `json:"properties"` }
Config describes an Azure kubeconfig
type ListResponse ¶
ListResponse describes an Azure cluster list
type Profile ¶
type Profile struct { Name string `json:"name"` Autoscaling bool `json:"autoscaling"` MinCount int `json:"minCount"` MaxCount int `json:"maxCount"` Count int `json:"count"` VmSize string `json:"vmSize"` }
Profile describes an Azure agent pool
type Properties ¶
type Properties struct { ProvisioningState string `json:"provisioningState"` AgentPoolProfiles []Profile `json:"agentPoolProfiles"` Fqdn string `json:"fqdn"` }
Properties describes an Azure cluster properties
type ResponseWithValue ¶
type ResponseWithValue struct { StatusCode int `json:"status_code"` Value Value `json:"message,omitempty"` }
ResponseWithValue describes an Azure cluster
func (*ResponseWithValue) Update ¶
func (r *ResponseWithValue) Update(code int, Value Value)
Update updates `ResponseWithValue` with the given response code and value
Click to show internal directories.
Click to hide internal directories.