Documentation ¶
Overview ¶
Package actions contains the high level workflow actions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
FileExists returns true if the file exists and is not a directory.
func FormatDuration ¶
FormatDuration format duration string.
Types ¶
type Action ¶
type Action interface {
Execute(ctx ActionContext) error
}
Action documentation.
func NewCopyFileAction ¶ added in v1.2.0
NewCopyFileAction documentation.
func NewCreateDirectoryAction ¶
NewCreateDirectoryAction documentation.
type ActionContext ¶ added in v1.0.1
type ActionContext interface { Logger() log.Logger Status() *term.Status IsDryRun() bool Data() interface{} }
ActionContext docs.
func NewDefaultActionContext ¶ added in v1.0.1
func NewDefaultActionContext(logger log.Logger, dryRun bool) ActionContext
NewDefaultActionContext generate a default action context with a nil return for Data().
Directories ¶
Path | Synopsis |
---|---|
Package log same as https://github.com/kubernetes-sigs/kind/tree/master/pkg/log
|
Package log same as https://github.com/kubernetes-sigs/kind/tree/master/pkg/log |
Package term same as https://github.com/kubernetes-sigs/kind/tree/master/pkg/internal/env
|
Package term same as https://github.com/kubernetes-sigs/kind/tree/master/pkg/internal/env |
Click to show internal directories.
Click to hide internal directories.