Documentation
¶
Index ¶
- Constants
- func Configure(opts ...option)
- func InstallStable(ctx context.Context, path string) error
- func InstallSudoers(ctx context.Context, path string) error
- func InstalledVersion(ctx context.Context, path string) (string, error)
- func Uninstall(ctx context.Context, dest string) error
- func WithContext(name string) option
- func WithK3SArgs(args ...string) option
- func WithNamespace(name string) option
- func WithPath(k3sPath string) option
- func WithProvider(desc string, k3sArgs []string, configure func()) option
Constants ¶
View Source
const DefaultInstallPath = "/usr/local/bin/k3s"
Variables ¶
This section is empty.
Functions ¶
func Configure ¶
func Configure(opts ...option)
func WithK3SArgs ¶
func WithK3SArgs(args ...string) option
WithK3SArgs adds extra CLI args to the k3s invocation
Types ¶
This section is empty.
Source Files
¶
- addon.go
- install.go
- kill.go
- releases.go
- uninstall.go
Click to show internal directories.
Click to hide internal directories.