ssh

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesUploadSecretsErrorBehavior

type KubernetesUploadSecretsErrorBehavior uint
const (
	KubernetesUploadSecretsFailOnError     KubernetesUploadSecretsErrorBehavior = iota
	KubernetesUploadSecretsContinueOnError KubernetesUploadSecretsErrorBehavior = iota
)

type Runner

type Runner func(t *Target, data interface{}) error

type Target

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

func (*Target) Apply

func (t *Target) Apply(data interface{}, states ...string) error

func (*Target) DownloadFileContents

func (t *Target) DownloadFileContents(sourcePath string) (string, error)

func (*Target) GetDeployment

func (t *Target) GetDeployment(nodename string) *deployments.Target

func (*Target) GetFlags

func (t *Target) GetFlags() *flag.FlagSet

GetFlags adds init flags bound to the config to the specified flagset

func (*Target) IsServiceEnabled added in v0.9.0

func (t *Target) IsServiceEnabled(serviceName string) (bool, error)

IsServiceEnabled returns if a service is enabled

func (Target) String

func (t Target) String() string

func (*Target) UploadFileContents

func (t *Target) UploadFileContents(targetPath, contents string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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