cmd

package
v0.3.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: Apache-2.0 Imports: 23 Imported by: 32

Documentation

Index

Constants

View Source
const DINDWaitTime = 3

Variables

This section is empty.

Functions

func CertificateCommand added in v0.2.0

func CertificateCommand() cli.Command

func ClusterInit added in v0.2.0

func ClusterInit(ctx context.Context, rkeConfig *v3.RancherKubernetesEngineConfig, dialersOptions hosts.DialersOptions, flags cluster.ExternalFlags) error

func ClusterRemove

func ClusterRemove(
	ctx context.Context,
	rkeConfig *v3.RancherKubernetesEngineConfig,
	dialersOptions hosts.DialersOptions,
	flags cluster.ExternalFlags) error

func ClusterUp

func ClusterUp(ctx context.Context, dialersOptions hosts.DialersOptions, flags cluster.ExternalFlags, data map[string]interface{}) (string, string, string, string, map[string]pki.CertificatePKI, error)

func ConfigCommand

func ConfigCommand() cli.Command

func EtcdCommand added in v0.1.7

func EtcdCommand() cli.Command

func GenerateRKECSRs added in v0.2.0

func GenerateRKECSRs(ctx context.Context, rkeConfig *v3.RancherKubernetesEngineConfig, flags cluster.ExternalFlags) error

func RemoveCommand

func RemoveCommand() cli.Command

func RestoreEtcdSnapshot added in v0.1.7

func RestoreEtcdSnapshot(
	ctx context.Context,
	rkeConfig *v3.RancherKubernetesEngineConfig,
	dialersOptions hosts.DialersOptions,
	flags cluster.ExternalFlags,
	data map[string]interface{},
	snapshotName string) (string, string, string, string, map[string]pki.CertificatePKI, error)

func RestoreEtcdSnapshotFromCli added in v0.1.7

func RestoreEtcdSnapshotFromCli(ctx *cli.Context) error

func SnapshotRemoveFromEtcdHosts added in v0.2.3

func SnapshotRemoveFromEtcdHosts(
	ctx context.Context,
	rkeConfig *v3.RancherKubernetesEngineConfig,
	dialersOptions hosts.DialersOptions,
	flags cluster.ExternalFlags, snapshotName string) error

func SnapshotSaveEtcdHosts added in v0.1.7

func SnapshotSaveEtcdHosts(
	ctx context.Context,
	rkeConfig *v3.RancherKubernetesEngineConfig,
	dialersOptions hosts.DialersOptions,
	flags cluster.ExternalFlags, snapshotName string) error

func SnapshotSaveEtcdHostsFromCli added in v0.1.7

func SnapshotSaveEtcdHostsFromCli(ctx *cli.Context) error

func UpCommand

func UpCommand() cli.Command

func VersionCommand

func VersionCommand() cli.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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