Documentation ¶
Index ¶
Constants ¶
View Source
const ( Name = "kind" ClusterNamePrefix = "kte-" EnvForceIsolated = "KTE_FORCE_ISOLATED" EnvForceIsolatedAll = "all" EnvForcePreexisting = "KTE_FORCE_PREEXISTING" EnvForcePreexistingAll = "all" EnvPreexitstingKubeconfig = "KTE_PREEXISTING_KUBECONFIG" )
View Source
const ( ControlPlaneRole = configv1alpha4.ControlPlaneRole WorkerRole = configv1alpha4.WorkerRole )
Variables ¶
View Source
var Log = klog.NewKlogr()
Functions ¶
func SharedCollectLogs ¶
func SharedCollectLogs() error
func SharedDelete ¶
func SharedDelete() error
func SharedLogsDir ¶
func SharedLogsDir() string
Types ¶
type Common ¶
type Common[T KindProvider] struct { // contains filtered or unexported fields }
func (Common[T]) ApplyAddons ¶
func (Common[T]) NewClientMaker ¶
func (k Common[T]) NewClientMaker() (*clients.ClientMaker, error)
type KindLifecycle ¶
type KindProvider ¶
type Managed ¶
type Managed struct { Common[KindProvider] UUID uuid.UUID *cluster.Provider NodeImage string Retain bool ArtifactDir string Logger klog.Logger }
func (*Managed) ClusterName ¶
func (*Managed) CollectLogs ¶
func (*Managed) KubeConfigPath ¶
type Networking ¶
type Networking = configv1alpha4.Networking
type Node ¶
type Node = configv1alpha4.Node
type Unmanaged ¶
type Unmanaged struct { Common[KindProvider] Logger klog.Logger // contains filtered or unexported fields }
func (*Unmanaged) ClusterName ¶
func (*Unmanaged) CollectLogs ¶
func (*Unmanaged) KubeConfigPath ¶
Click to show internal directories.
Click to hide internal directories.