ssh

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTarget

func NewTarget(nodename, target, user string, sudo bool, port int) *deployments.Target

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) 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