Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert_Config_To_internalversion_KwokctlConfiguration ¶
func Convert_Config_To_internalversion_KwokctlConfiguration(in *Config) (*internalversion.KwokctlConfiguration, bool)
Types ¶
type Config ¶
type Config struct { Name string `json:"name,omitempty"` Workdir string `json:"workdir,omitempty"` Runtime string `json:"runtime,omitempty"` EtcdPort uint32 `json:"etcd_port,omitempty"` EtcdPeerPort uint32 `json:"etcd_peer_port,omitempty"` KubeApiserverPort uint32 `json:"kube_apiserver_port,omitempty"` KubeControllerManagerPort uint32 `json:"kube_controller_manager_port,omitempty"` KubeSchedulerPort uint32 `json:"kube_scheduler_port,omitempty"` KwokControllerPort uint32 `json:"kwok_controller_port,omitempty"` PrometheusPort uint32 `json:"prometheus_port,omitempty"` // For docker-compose EtcdImage string `json:"etcd_image,omitempty"` KubeApiserverImage string `json:"kube_apiserver_image,omitempty"` KubeControllerManagerImage string `json:"kube_controller_manager_image,omitempty"` KubeSchedulerImage string `json:"kube_scheduler_image,omitempty"` KwokControllerImage string `json:"kwok_controller_image,omitempty"` PrometheusImage string `json:"prometheus_image,omitempty"` // For kind KindNodeImage string `json:"kind_node_image,omitempty"` // For binary KubeApiserverBinary string `json:"kube_apiserver_binary,omitempty"` KubeControllerManagerBinary string `json:"kube_controller_manager_binary,omitempty"` KubeSchedulerBinary string `json:"kube_scheduler_binary,omitempty"` KwokControllerBinary string `json:"kwok_controller_binary,omitempty"` EtcdBinary string `json:"etcd_binary,omitempty"` EtcdBinaryTar string `json:"etcd_binary_tar,omitempty"` PrometheusBinary string `json:"prometheus_binary,omitempty"` PrometheusBinaryTar string `json:"prometheus_binary_tar,omitempty"` DockerComposeBinary string `json:"docker_compose_binary,omitempty"` KubectlBinary string `json:"kubectl_binary,omitempty"` // Cache directory CacheDir string `json:"cache_dir,omitempty"` // For docker-compose and binary SecretPort bool `json:"secret_port,omitempty"` // Pull image QuietPull bool `json:"quiet_pull,omitempty"` // Disable kube components DisableKubeScheduler bool `json:"disable_kube_scheduler,omitempty"` DisableKubeControllerManager bool `json:"disable_kube_controller_manager,omitempty"` // Feature gates of Kubernetes FeatureGates string `json:"kube_feature_gates,omitempty"` // For audit log AuditPolicy string `json:"audit_policy,omitempty"` // Enable authorization on secure port Authorization bool `json:"authorization,omitempty"` // Runtime config of Kubernetes RuntimeConfig string `json:"kube_runtime_config,omitempty"` }
Click to show internal directories.
Click to hide internal directories.