Documentation ¶
Index ¶
- type Config
- type Deployer
- func (h *Deployer) Cleanup(ctx context.Context, out io.Writer, dryRun bool, ...) error
- func (h Deployer) ConfigFile() string
- func (h *Deployer) ConfigName() string
- func (h *Deployer) Dependencies() ([]string, error)
- func (h *Deployer) Deploy(ctx context.Context, out io.Writer, builds []graph.Artifact, ...) error
- func (h Deployer) EnableDebug() bool
- 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) GlobalFlags() []string
- func (h *Deployer) HasRunnableHooks() bool
- func (h Deployer) KubeConfig() string
- func (h Deployer) KubeContext() string
- func (h Deployer) Labels() map[string]string
- func (h Deployer) ManifestOverrides() map[string]string
- func (h Deployer) OverrideProtocols() []string
- 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) TrackBuildArtifacts(builds, deployedImages []graph.Artifact)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployer ¶
type Deployer struct { *latest.LegacyHelmDeploy // 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 *latest.LegacyHelmDeploy, artifacts []*latest.Artifact, configName string, customResourceSelectors []manifest.GroupKindSelector) (*Deployer, error)
NewDeployer returns a configured Deployer. Returns an error if current version of helm is less than 3.1.0.
func (*Deployer) Cleanup ¶
func (h *Deployer) Cleanup(ctx context.Context, out io.Writer, dryRun bool, _ manifest.ManifestListByConfig) error
Cleanup deletes what was deployed by calling Deploy.
func (Deployer) ConfigFile ¶
func (*Deployer) ConfigName ¶
func (*Deployer) Dependencies ¶
Dependencies returns a list of files that the deployer depends on.
func (*Deployer) Deploy ¶
func (h *Deployer) Deploy(ctx context.Context, out io.Writer, builds []graph.Artifact, _ manifest.ManifestListByConfig) error
Deploy deploys the build results to the Kubernetes cluster
func (Deployer) EnableDebug ¶
func (*Deployer) GetAccessor ¶
func (*Deployer) GetDebugger ¶
func (*Deployer) GetStatusMonitor ¶
func (Deployer) GlobalFlags ¶
func (*Deployer) HasRunnableHooks ¶
func (Deployer) KubeConfig ¶
func (Deployer) KubeContext ¶
func (Deployer) ManifestOverrides ¶ added in v2.6.0
func (Deployer) OverrideProtocols ¶
func (*Deployer) PostDeployHooks ¶
func (*Deployer) PreDeployHooks ¶
func (*Deployer) RegisterLocalImages ¶
func (*Deployer) TrackBuildArtifacts ¶
Click to show internal directories.
Click to hide internal directories.