Documentation ¶
Index ¶
- Constants
- func AppendNewEncryptionKey(keys *[]apiserverconfigv1.Key) error
- func HomeKubeConfig(write, rootless bool) (string, error)
- func ResolveDataDir(dataDir string) (string, error)
- func StartServer(ctx context.Context, config *Config, cfg *cmds.Server) error
- type Config
- type Context
- type CustomControllers
- type EncryptionRequest
- type EncryptionState
Constants ¶
View Source
const ( MasterRoleLabelKey = "node-role.kubernetes.io/master" ControlPlaneRoleLabelKey = "node-role.kubernetes.io/control-plane" ETCDRoleLabelKey = "node-role.kubernetes.io/etcd" )
Variables ¶
This section is empty.
Functions ¶
func AppendNewEncryptionKey ¶ added in v1.21.9
func AppendNewEncryptionKey(keys *[]apiserverconfigv1.Key) error
func HomeKubeConfig ¶
func ResolveDataDir ¶ added in v1.21.9
Types ¶
type Config ¶
type Config struct { DisableAgent bool DisableServiceLB bool ControlConfig config.Control Rootless bool SupervisorPort int StartupHooks []cmds.StartupHook LeaderControllers CustomControllers Controllers CustomControllers }
type Context ¶ added in v0.6.0
type Context struct { K3s *k3s.Factory Helm *helm.Factory Batch *batch.Factory Apps *apps.Factory Auth *rbac.Factory Core *core.Factory K8s kubernetes.Interface Apply apply.Apply }
func NewContext ¶ added in v1.21.9
type CustomControllers ¶ added in v1.21.9
type EncryptionRequest ¶ added in v1.21.9
type EncryptionState ¶ added in v1.21.9
Click to show internal directories.
Click to hide internal directories.