Documentation ¶
Index ¶
Constants ¶
View Source
const (
EtcdExposeMetrics = "etcd-expose-metrics"
)
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RuntimeConfig KubernetesVersion string `json:"kubernetesVersion,omitempty"` LLMOSOperatorVersion string `json:"llmosOperatorVersion,omitempty"` ChartRepo string `json:"chartRepo,omitempty"` LLMOSOperatorValues map[string]interface{} `json:"llmosOperatorValues,omitempty"` PreInstructions []applyinator.OneTimeInstruction `json:"preInstructions,omitempty"` PostInstructions []applyinator.OneTimeInstruction `json:"postInstructions,omitempty"` Resources []GenericMap `json:"manifest,omitempty"` RuntimeInstallerImage string `json:"runtimeInstallerImage,omitempty"` LLMOSInstallerImage string `json:"llmosInstallerImage,omitempty"` // GlobalSystemImageRegistry specify the default registry used for LLMOS system images GlobalSystemImageRegistry string `json:"globalSystemImageRegistry,omitempty"` Mirror string `json:"mirror,omitempty"` Registries *registries.Registry `json:"registries,omitempty"` ImageUtility *image.Utility `json:"imageUtility,omitempty"` }
type GenericMap ¶
type GenericMap struct {
Data map[string]interface{} `json:"-"`
}
type RuntimeConfig ¶
type RuntimeConfig struct { Role Role `json:"role,omitempty"` Server string `json:"server,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"` // SystemDefaultRegistry specify the mirror registry used for k8s runtime images SystemDefaultRegistry string `json:"systemDefaultRegistry,omitempty"` }
RuntimeConfig contains the basic configuration for the k8s runtime
func (*RuntimeConfig) SetDefaults ¶ added in v0.2.0
func (cfg *RuntimeConfig) SetDefaults()
Click to show internal directories.
Click to hide internal directories.