Documentation ¶
Index ¶
- func PreProcessClusterOptions(opts *internalcreate.ClusterOptions)
- type CreateOption
- func CreateWithAdvertiseAddress(address string) CreateOption
- func CreateWithConfigFile(path string) CreateOption
- func CreateWithContainerMode(containerMode bool) CreateOption
- func CreateWithKubeconfigPath(explicitPath string) CreateOption
- func CreateWithNodeImage(nodeImage string) CreateOption
- func CreateWithRawConfig(raw []byte) CreateOption
- func CreateWithWaitForReady(waitTime time.Duration) CreateOption
- type Provider
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 |
Click to show internal directories.
Click to hide internal directories.