Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RuntimeConfig KubernetesVersion string `json:"kubernetesVersion,omitempty"` RancherVersion string `json:"rancherVersion,omitempty"` Server string `json:"server,omitempty"` Discovery *DiscoveryConfig `json:"discovery,omitempty"` RancherValues map[string]interface{} `json:"rancherValues,omitempty"` PreInstructions []applyinator.Instruction `json:"preInstructions,omitempty"` PostInstructions []applyinator.Instruction `json:"postInstructions,omitempty"` // Deprecated, use Resources instead BootstrapResources []v1.GenericMap `json:"bootstrapResources,omitempty"` Resources []v1.GenericMap `json:"resources,omitempty"` RuntimeInstallerImage string `json:"runtimeInstallerImage,omitempty"` RancherInstallerImage string `json:"rancherInstallerImage,omitempty"` SystemDefaultRegistry string `json:"systemDefaultRegistry,omitempty"` Registries *registries.Registry `json:"registries,omitempty"` }
type DiscoveryConfig ¶
type DiscoveryConfig struct { Params map[string]string `json:"params,omitempty"` ExpectedServers int `json:"expectedServers,omitempty"` // ServerCacheDuration will remember discovered servers for this amount of time. This // helps with some discovery protocols like mDNS that can be unreliable ServerCacheDuration string `json:"serverCacheDuration,omitempty"` }
type RuntimeConfig ¶
type RuntimeConfig struct { Role string `json:"role,omitempty"` SANS []string `json:"tlsSans,omitempty"` NodeName string `json:"nodeName,omitempty"` Address string `json:"address,omitempty"` InternalAddress string `json:"internalAddress,omitempty"` Taints []string `json:"taints,omitempty"` Labels []string `json:"labels,omitempty"` Token string `json:"token,omitempty"` ConfigValues map[string]interface{} `json:"extraConfig,omitempty"` }
Click to show internal directories.
Click to hide internal directories.