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 { Value struct { Endpoint string `json:"endpoint"` } `json:"value"` } `json:"kubeone_api"` KubeOneHosts struct { Value struct { ControlPlane []controlPlane `json:"control_plane"` } `json:"value"` } `json:"kubeone_hosts"` KubeOneWorkers struct { Value map[string][]json.RawMessage `json:"value"` } `json:"kubeone_workers"` }
Config represents configuration in the terraform output format
func NewConfigFromJSON ¶
NewConfigFromJSON creates a new config object from json
func (*Config) Apply ¶
func (c *Config) Apply(cluster *kubeonev1alpha1.KubeOneCluster) error
Apply adds the terraform configuration options to the given cluster config.
Click to show internal directories.
Click to hide internal directories.