Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
KubeOneAPI struct {
Sensitive json.RawMessage `json:"sensitive"`
Type json.RawMessage `json:"type"`
Value struct {
Endpoint string `json:"endpoint"`
APIServerAlternativeNames []string `json:"apiserver_alternative_names"`
} `json:"value"`
} `json:"kubeone_api"`
KubeOneHosts struct {
Sensitive json.RawMessage `json:"sensitive"`
Type json.RawMessage `json:"type"`
Value struct {
ControlPlane controlPlane `json:"control_plane"`
} `json:"value"`
} `json:"kubeone_hosts"`
KubeOneWorkers struct {
Sensitive json.RawMessage `json:"sensitive"`
Type json.RawMessage `json:"type"`
Value map[string]kubeonev1beta2.DynamicWorkerConfig `json:"value"`
} `json:"kubeone_workers"`
KubeOneStaticWorkers struct {
Sensitive json.RawMessage `json:"sensitive"`
Type json.RawMessage `json:"type"`
Value map[string]hostsSpec `json:"value"`
} `json:"kubeone_static_workers"`
Proxy struct {
Sensitive json.RawMessage `json:"sensitive"`
Type json.RawMessage `json:"type"`
Value kubeonev1beta2.ProxyConfig `json:"value"`
} `json:"proxy"`
}
Config represents configuration in the terraform output format
func NewConfigFromJSON ¶
func NewConfigFromJSON(buf []byte) (*Config, error)
NewConfigFromJSON creates a new config object from json
Click to show internal directories.
Click to hide internal directories.