driver

package
v0.0.0-...-28d9058 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: UPL-1.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDriver

func RegisterDriver(name string, ftor DriverCreateFunc)

Types

type ClusterDriver

type ClusterDriver interface {
	Start() (bool, bool, error)
	PostStart() error
	Stop() error
	Join(string, int, int) error
	Delete() error
	Close() error
	GetKubeconfigPath() string
	GetKubeAPIServerAddress() string
	PostInstallHelpStanza() string
	DefaultCNIInterfaces() []string
}

func CreateDriver

func CreateDriver(config *types.Config, clusterConfig *types.ClusterConfig) (ClusterDriver, error)

type DriverCreateFunc

type DriverCreateFunc func(*types.Config, *types.ClusterConfig) (ClusterDriver, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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