Documentation ¶
Index ¶
- Constants
- Variables
- type Apply
- func (a *Apply) GetCmd() *cmd.Command
- func (a *Apply) GetDescription(_ *api.WorkflowContext, _ render.Values) (string, error)
- func (a *Apply) GetDocs(ctx *api.WorkflowContext, values render.Values, flags render.Flags) (string, error)
- func (a *Apply) Run(ctx *api.WorkflowContext, values render.Values) error
- type ApplyTemplate
- func (a *ApplyTemplate) GetCmd(ctx *api.WorkflowContext, values render.Values) (*cmd.Command, error)
- func (a *ApplyTemplate) GetDescription(ctx *api.WorkflowContext, values render.Values) (string, error)
- func (a *ApplyTemplate) GetDocs(ctx *api.WorkflowContext, values render.Values, flags render.Flags) (string, error)
- func (a *ApplyTemplate) Run(ctx *api.WorkflowContext, values render.Values) error
- type CreateSecret
- type Delete
- func (a *Delete) GetCmd() *cmd.Command
- func (a *Delete) GetDescription(_ *api.WorkflowContext, _ render.Values) (string, error)
- func (a *Delete) GetDocs(ctx *api.WorkflowContext, values render.Values, flags render.Flags) (string, error)
- func (a *Delete) Run(ctx *api.WorkflowContext, values render.Values) error
- type GcloudKmsEncryptedFile
- type Patch
- func (p *Patch) GetCmd(ctx *api.WorkflowContext, values render.Values) (*cmd.Command, error)
- func (p *Patch) GetDescription(ctx *api.WorkflowContext, values render.Values) (string, error)
- func (p *Patch) GetDocs(ctx *api.WorkflowContext, values render.Values, flags render.Flags) (string, error)
- func (p *Patch) Run(ctx *api.WorkflowContext, values render.Values) error
- type SecretValue
Constants ¶
View Source
const (
DocsFlagYamlOnly = "YamlOnly"
)
Variables ¶
View Source
var ( InvalidCiphertextFilenameError = errors.Errorf("Ciphertext files must end with '%s'.", encryptedSuffix) UnableToDecryptFileError = func(err error) error { return errors.Wrapf(err, "Unable to decrypt file.") } MissingEnvVarError = func(envVar string) error { return errors.Errorf("Missing environment variable %s", envVar) } )
View Source
var ( UnableToLoadPatchError = func(err error) error { return errors.Wrapf(err, "unable to load patch") } )
Functions ¶
This section is empty.
Types ¶
type Apply ¶
type Apply struct {
Path string `json:"path,omitempty"`
}
func (*Apply) GetDescription ¶
type ApplyTemplate ¶
type ApplyTemplate struct {
Path string `json:"path,omitempty"`
}
func (*ApplyTemplate) GetCmd ¶
func (a *ApplyTemplate) GetCmd(ctx *api.WorkflowContext, values render.Values) (*cmd.Command, error)
func (*ApplyTemplate) GetDescription ¶
func (a *ApplyTemplate) GetDescription(ctx *api.WorkflowContext, values render.Values) (string, error)
func (*ApplyTemplate) GetDocs ¶
func (a *ApplyTemplate) GetDocs(ctx *api.WorkflowContext, values render.Values, flags render.Flags) (string, error)
func (*ApplyTemplate) Run ¶
func (a *ApplyTemplate) Run(ctx *api.WorkflowContext, values render.Values) error
type CreateSecret ¶
type CreateSecret struct { // Currently, secrets cannot consist of values from multiple registries Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty" valet:"key=Namespace"` Type string `json:"typ,omitemptye" valet:"default=Opaque"` Entries map[string]SecretValue `json:"entries,omitempty"` }
func (*CreateSecret) GetDescription ¶
func (s *CreateSecret) GetDescription(ctx *api.WorkflowContext, values render.Values) (string, error)
func (*CreateSecret) GetDocs ¶
func (s *CreateSecret) GetDocs(ctx *api.WorkflowContext, values render.Values, flags render.Flags) (string, error)
func (*CreateSecret) Run ¶
func (s *CreateSecret) Run(ctx *api.WorkflowContext, values render.Values) error
type Delete ¶
type Delete struct {
Path string `json:"path,omitempty"`
}
func (*Delete) GetDescription ¶
type GcloudKmsEncryptedFile ¶
type Patch ¶
type Patch struct { Path string `json:"path"` PatchType string `json:"patchType"` Name string `json:"name" valet:"template"` Namespace string `json:"namespace" valet:"template"` KubeType string `json:"kubeType"` }
func (*Patch) GetDescription ¶
type SecretValue ¶
type SecretValue struct { EnvVar string `json:"envVar,omitempty"` File string `json:"file,omitempty"` GcloudKmsEncryptedFile *GcloudKmsEncryptedFile `json:"gcloudKmsEncryptedFile,omitempty"` }
Click to show internal directories.
Click to hide internal directories.