cmd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 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 EncryptionCommand added in v1.0.0

func EncryptionCommand() 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 RotateEncryptionKey added in v1.0.0

func RotateEncryptionKey(ctx context.Context, rkeConfig *v3.RancherKubernetesEngineConfig,
	dialersOptions hosts.DialersOptions, flags cluster.ExternalFlags) 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