Documentation
¶
Index ¶
- func IsHelmChart(path string) bool
- type Deployer
- func (h *Deployer) Cleanup(ctx context.Context, out io.Writer) error
- func (h *Deployer) Dependencies() ([]string, error)
- func (h *Deployer) Deploy(ctx context.Context, out io.Writer, builds []graph.Artifact) ([]string, error)
- func (h *Deployer) Render(ctx context.Context, out io.Writer, builds []graph.Artifact, offline bool, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsHelmChart ¶
Types ¶
type Deployer ¶
type Deployer struct {
*latest.HelmDeploy
// contains filtered or unexported fields
}
Deployer deploys workflows using the helm CLI
func NewDeployer ¶
func NewDeployer(cfg kubectl.Config, labels map[string]string, h *latest.HelmDeploy) (*Deployer, error)
NewDeployer returns a configured Deployer. Returns an error if current version of helm is less than 3.0.0.
func (*Deployer) Dependencies ¶
Dependencies returns a list of files that the deployer depends on.
Click to show internal directories.
Click to hide internal directories.