Documentation ¶
Index ¶
- func Auto(ctx context.Context) (bool, context.Context, *rest.Config, error)
- func GetConfig(ctx context.Context, k8sMode string, kubeConfig string) (bool, context.Context, *rest.Config, error)
- func NewK3sConfig(ctx context.Context, dataDir string, authorizer remotedialer.Authorizer) (context.Context, *server.ServerConfig, http.Handler, error)
- func SetK3sConfig(ctx context.Context, conf interface{}) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewK3sConfig ¶
func NewK3sConfig(ctx context.Context, dataDir string, authorizer remotedialer.Authorizer) (context.Context, *server.ServerConfig, http.Handler, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.