cluster

package
v0.0.0-...-fecfccd Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PreProcessClusterOptions

func PreProcessClusterOptions(opts *internalcreate.ClusterOptions)

PreProcessClusterOptions do some pre-processing on ClusterOptions so that kind api can recognize it will overwrite the input argument directly

Types

type CreateOption

type CreateOption interface {
	// contains filtered or unexported methods
}

CreateOption is a Provider.Create option

func CreateWithAdvertiseAddress

func CreateWithAdvertiseAddress(address string) CreateOption

CreateWithAdvertiseAddress sets the explicit --advertise-address ip

func CreateWithConfigFile

func CreateWithConfigFile(path string) CreateOption

CreateWithConfigFile configures the config file path to use

func CreateWithContainerMode

func CreateWithContainerMode(containerMode bool) CreateOption

CreateWithContainerMode sets the explicit --container-mode

func CreateWithKubeconfigPath

func CreateWithKubeconfigPath(explicitPath string) CreateOption

CreateWithKubeconfigPath sets the explicit --kubeconfig path

func CreateWithNodeImage

func CreateWithNodeImage(nodeImage string) CreateOption

func CreateWithRawConfig

func CreateWithRawConfig(raw []byte) CreateOption

CreateWithRawConfig configures the config to use from raw (yaml) bytes

func CreateWithWaitForReady

func CreateWithWaitForReady(waitTime time.Duration) CreateOption

type Provider

type Provider struct {
	*cluster.ProviderWrapper
}

func NewProvider

func NewProvider(options ...cluster.ProviderOption) *Provider

func (*Provider) CreateKubeEdge

func (p *Provider) CreateKubeEdge(name string, options ...CreateOption) error

Directories

Path Synopsis
internal
create/actions/kubeedge
Package kubeedge implements the kubeedge action
Package kubeedge implements the kubeedge action

Jump to

Keyboard shortcuts

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