k3s

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONT_MARK_KEY = "kl.container"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type K3sClient

type K3sClient interface {
	CreateClustersTeams(name string) error
	EnsureKloudliteNetwork() error
	StartAppInterceptService(ports []apiclient.AppPort, toStart bool) error
	EnsureImage(i string) error
	RestartWgProxyContainer() error
	RemoveAllIntercepts() error
	DeletePods() error
	CheckK3sRunningLocally() (bool, error)
	RemoveClusterVolume(clusterName string) error
	CheckK3sServerRunning() (string, error)
}

func NewClient

func NewClient(cmd *cobra.Command) (K3sClient, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL