Documentation ¶
Index ¶
- 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
- type TokenRotateRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendNewEncryptionKey ¶
func AppendNewEncryptionKey(keys *[]apiserverconfigv1.Key) error
func HomeKubeConfig ¶
func ResolveDataDir ¶
Types ¶
type Config ¶
type Config struct { DisableAgent bool ControlConfig config.Control SupervisorPort int StartupHooks []cmds.StartupHook LeaderControllers CustomControllers Controllers CustomControllers }
type Context ¶
type Context struct { K3s *k3s.Factory Helm *helm.Factory Batch *batch.Factory Apps *apps.Factory Auth *rbac.Factory Core *core.Factory K8s kubernetes.Interface Event record.EventRecorder }
func NewContext ¶
type EncryptionRequest ¶
type EncryptionState ¶
type TokenRotateRequest ¶
type TokenRotateRequest struct {
NewToken *string `json:"newToken,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.