Documentation ¶
Index ¶
- type KubernetesUploadSecretsErrorBehavior
- type Runner
- type Target
- func (t *Target) Apply(data interface{}, states ...string) error
- func (t *Target) DownloadFileContents(sourcePath string) (string, error)
- func (t *Target) GetDeployment(nodename string, role *deployments.Role, verboseLevel string) *deployments.Target
- func (t *Target) GetFlags() *flag.FlagSet
- func (t *Target) IsServiceEnabled(serviceName string) (bool, error)
- func (t Target) String() string
- func (t *Target) UploadFileContents(targetPath, contents string, perm os.FileMode) error
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 Target ¶
type Target struct {
// contains filtered or unexported fields
}
func (*Target) DownloadFileContents ¶
DownloadFileContents gets the content of a file in a target system
func (*Target) GetDeployment ¶
func (t *Target) GetDeployment(nodename string, role *deployments.Role, verboseLevel string) *deployments.Target
func (*Target) IsServiceEnabled ¶ added in v0.9.0
IsServiceEnabled returns if a service is enabled
Source Files ¶
Click to show internal directories.
Click to hide internal directories.