cmd

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CRCExecutableInstalled    = "installed"
	CRCExecutableNotInstalled = "notInstalled"
)

Variables

This section is empty.

Functions

func CheckCRCExecutableState

func CheckCRCExecutableState(state string) error

func CheckCRCStatus

func CheckCRCStatus(state string) error

func CheckMachineNotExists

func CheckMachineNotExists() error

func DeleteCRC

func DeleteCRC() error

func SetConfigPropertyToValueSucceedsOrFails

func SetConfigPropertyToValueSucceedsOrFails(property string, value string, expected string) error

func UnsetConfigPropertySucceedsOrFails

func UnsetConfigPropertySucceedsOrFails(property string, expected string) error

func WaitForClusterInState

func WaitForClusterInState(state string) error

Types

type Command added in v1.29.1

type Command struct {
	// contains filtered or unexported fields
}

func CRC added in v1.29.1

func CRC(command string) Command

func (Command) Execute added in v1.29.1

func (c Command) Execute() error

func (Command) ExecuteWithExpectedExit added in v1.29.1

func (c Command) ExecuteWithExpectedExit(expectedExit string) error

func (Command) ToString added in v1.29.1

func (c Command) ToString() string

func (Command) WithDisableNTP added in v1.34.0

func (c Command) WithDisableNTP() Command

func (Command) WithUpdateCheck added in v1.34.0

func (c Command) WithUpdateCheck() Command

Jump to

Keyboard shortcuts

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