Documentation ¶
Index ¶
- type Config
- type Deployer
- func (k *Deployer) Cleanup(ctx context.Context, out io.Writer, dryRun bool, ...) error
- func (k *Deployer) ConfigName() string
- func (k *Deployer) Dependencies() ([]string, error)
- func (k *Deployer) Deploy(ctx context.Context, out io.Writer, builds []graph.Artifact, ...) error
- func (k *Deployer) GetAccessor() access.Accessor
- func (k *Deployer) GetDebugger() debug.Debugger
- func (k *Deployer) GetLogger() log.Logger
- func (k *Deployer) GetStatusMonitor() status.Monitor
- func (k *Deployer) GetSyncer() sync.Syncer
- func (k *Deployer) RegisterLocalImages(images []graph.Artifact)
- func (k *Deployer) Render(context.Context, io.Writer, []graph.Artifact, bool, string) error
- func (k *Deployer) TrackBuildArtifacts(builds, deployedImages []graph.Artifact)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployer ¶
Deployer deploys workflows with kpt CLI
func NewDeployer ¶
func NewDeployer(cfg Config, labeller *label.DefaultLabeller, d *latest.KptDeploy, opts config.SkaffoldOptions, configName string) (*Deployer, error)
NewDeployer generates a new Deployer object contains the kptDeploy schema.
func (*Deployer) Cleanup ¶
func (k *Deployer) Cleanup(ctx context.Context, out io.Writer, dryRun bool, _ manifest.ManifestListByConfig) error
Cleanup deletes what was deployed by calling `kpt live destroy`.
func (*Deployer) ConfigName ¶
func (*Deployer) Dependencies ¶
Dependencies is the v1 function required by "deployer" interface. It shall be no-op for v2 deployers.
func (*Deployer) GetAccessor ¶
func (*Deployer) GetDebugger ¶
func (*Deployer) GetStatusMonitor ¶
func (*Deployer) RegisterLocalImages ¶
func (*Deployer) Render ¶
TODO(yuwenma)07/23/22: remove Render func from all deployers and deployerMux.
func (*Deployer) TrackBuildArtifacts ¶
TrackBuildArtifacts registers build artifacts to be tracked by a Deployer
Click to show internal directories.
Click to hide internal directories.