Documentation ¶
Index ¶
- func GetTransformerVersion() (string, error)
- type AboutAction
- type AboutArguments
- type AboutStep
- type Action
- type InstallAction
- type InstallArguments
- type InstallStep
- type Mixin
- func (m *Mixin) About() error
- func (m *Mixin) Build() error
- func (m *Mixin) Execute() error
- func (m *Mixin) GetSchema() (string, error)
- func (m *Mixin) Install() error
- func (m *Mixin) PrintSchema() error
- func (m *Mixin) PrintVersion(opts version.Options) error
- func (m *Mixin) Uninstall() error
- func (m *Mixin) Upgrade() error
- func (m *Mixin) ValidatePayload(b []byte) error
- type Output
- type Step
- type Steps
- type TestMixin
- type UninstallAction
- type UninstallArguments
- type UninstallStep
- type UpgradeAction
- type UpgradeArguments
- type UpgradeStep
- type VersionOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTransformerVersion ¶ added in v0.10.0
GetTransformerVersion ...
Types ¶
type AboutAction ¶ added in v0.10.0
type AboutAction struct {
Steps []AboutStep `yaml:"about"`
}
AboutAction The `Porter.sh` action for Qliksense About
type AboutArguments ¶ added in v0.10.0
type AboutArguments struct { Step `yaml:",inline"` Version string `yaml:"version"` Profile string `yaml:"profile"` }
AboutArguments ...
type AboutStep ¶ added in v0.10.0
type AboutStep struct {
AboutArguments `yaml:"qliksense"`
}
AboutStep The `Porter.sh` step for Install for Kustomize
type Action ¶
type Action struct {
Steps []Steps // using UnmarshalYAML so that we don't need a custom type per action
}
func (Action) GetSteps ¶
func (a Action) GetSteps() []builder.ExecutableStep
func (*Action) UnmarshalYAML ¶
UnmarshalYAML takes any yaml in this form ACTION: - qliksense: ... and puts the steps into the Action.Steps field
type InstallAction ¶ added in v0.0.2
type InstallAction struct {
Steps []InstallStep `yaml:"install"`
}
The `Porter.sh` action for Install
type InstallArguments ¶ added in v0.0.2
type InstallStep ¶ added in v0.0.2
type InstallStep struct {
InstallArguments `yaml:"qliksense"`
}
The `Porter.sh` step for Install for Kustomize
type Mixin ¶
func (*Mixin) About ¶ added in v0.10.0
About The public method invoked by `porter` when performing an `Install` step that has a `qliksense` mixin step
func (*Mixin) Build ¶
Build will generate the necessary Dockerfile lines for an invocation image using this mixin
func (*Mixin) Install ¶ added in v0.0.2
The public method invoked by `porter` when performing an `Install` step that has a `qliksense` mixin step
func (*Mixin) PrintSchema ¶
func (*Mixin) Uninstall ¶ added in v0.0.2
Uninstall deletes a provided set of Kustomize releases, supplying optional flags/params
func (*Mixin) Upgrade ¶ added in v0.0.4
Upgrade deletes a provided set of Kustomize releases, supplying optional flags/params
func (*Mixin) ValidatePayload ¶ added in v0.0.2
type Output ¶
type Output struct { Name string `yaml:"name"` // See https://porter.sh/mixins/exec/#outputs // TODO: If your mixin doesn't support these output types, you can remove these and the interface assertions above, and from #/definitions/outputs in schema.json JsonPath string `yaml:"jsonPath,omitempty"` FilePath string `yaml:"path,omitempty"` Regex string `yaml:"regex,omitempty"` }
func (Output) GetFilePath ¶
func (Output) GetJsonPath ¶
type Step ¶
type Step struct { Name string `yaml:"name"` Description string `yaml:"description"` Arguments []string `yaml:"arguments,omitempty"` Flags builder.Flags `yaml:"flags,omitempty"` Outputs []Output `yaml:"outputs,omitempty"` }
func (Step) GetArguments ¶
func (Step) GetCommand ¶
func (Step) GetOutputs ¶
type TestMixin ¶
type TestMixin struct { *Mixin TestContext *context.TestContext }
func NewTestMixin ¶
NewTestMixin initializes a mixin test client, with the output buffered, and an in-memory file system.
type UninstallAction ¶ added in v0.0.2
type UninstallAction struct {
Steps []UninstallStep `yaml:"uninstall"`
}
type UninstallArguments ¶ added in v0.0.2
UninstallArguments are the arguments available for the Uninstall action
type UninstallStep ¶ added in v0.0.2
type UninstallStep struct {
UninstallArguments `yaml:"qliksense"`
}
UninstallStep represents the structure of an Uninstall action
type UpgradeAction ¶ added in v0.0.4
type UpgradeAction struct {
Steps []UpgradeStep `yaml:"upgrade"`
}
type UpgradeArguments ¶ added in v0.0.4
UpgradeArguments are the arguments available for the Upgrade action
type UpgradeStep ¶ added in v0.0.4
type UpgradeStep struct {
UpgradeArguments `yaml:"qliksense"`
}
UpgradeStep represents the structure of an Upgrade action