Documentation ¶
Index ¶
- func IsHelmChart(path string) bool
- type Config
- 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) error
- func (h *Deployer) GetAccessor() access.Accessor
- func (h *Deployer) GetDebugger() debug.Debugger
- func (h *Deployer) GetLogger() log.Logger
- func (h *Deployer) GetStatusMonitor() status.Monitor
- func (h *Deployer) GetSyncer() sync.Syncer
- func (h *Deployer) HasRunnableHooks() bool
- func (h *Deployer) PostDeployHooks(ctx context.Context, out io.Writer) error
- func (h *Deployer) PreDeployHooks(ctx context.Context, out io.Writer) error
- func (h *Deployer) RegisterLocalImages(images []graph.Artifact)
- func (h *Deployer) Render(ctx context.Context, out io.Writer, builds []graph.Artifact, offline bool, ...) error
- func (h *Deployer) TrackBuildArtifacts(artifacts []graph.Artifact)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsHelmChart ¶
Types ¶
type Deployer ¶
type Deployer struct { *latestV1.HelmDeploy // contains filtered or unexported fields }
Deployer deploys workflows using the helm CLI
func NewDeployer ¶
func NewDeployer(ctx context.Context, cfg Config, labeller *label.DefaultLabeller, h *latestV1.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.
func (*Deployer) GetAccessor ¶ added in v1.27.0
func (*Deployer) GetDebugger ¶ added in v1.27.0
func (*Deployer) GetStatusMonitor ¶ added in v1.27.0
func (*Deployer) HasRunnableHooks ¶ added in v1.32.0
func (*Deployer) PostDeployHooks ¶ added in v1.31.0
func (*Deployer) PreDeployHooks ¶ added in v1.31.0
func (*Deployer) RegisterLocalImages ¶ added in v1.28.0
func (*Deployer) Render ¶
func (h *Deployer) Render(ctx context.Context, out io.Writer, builds []graph.Artifact, offline bool, filepath string) error
Render generates the Kubernetes manifests and writes them out
func (*Deployer) TrackBuildArtifacts ¶ added in v1.27.0
Click to show internal directories.
Click to hide internal directories.