Documentation ¶
Index ¶
- type SkaffoldRunner
- func (r *SkaffoldRunner) Apply(ctx context.Context, out io.Writer) error
- func (r *SkaffoldRunner) Cleanup(ctx context.Context, out io.Writer, dryRun bool) error
- func (r *SkaffoldRunner) Deploy(ctx context.Context, out io.Writer, artifacts []graph.Artifact) error
- func (r *SkaffoldRunner) DeployAndLog(ctx context.Context, out io.Writer, artifacts []graph.Artifact) error
- func (r *SkaffoldRunner) Dev(ctx context.Context, out io.Writer, artifacts []*latest.Artifact) error
- func (r *SkaffoldRunner) HasDeployed() bool
- func (r *SkaffoldRunner) Render(ctx context.Context, out io.Writer, builds []graph.Artifact, offline bool, ...) error
- func (r *SkaffoldRunner) Test(ctx context.Context, out io.Writer, artifacts []graph.Artifact) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SkaffoldRunner ¶
type SkaffoldRunner struct { runner.Builder runner.Pruner // contains filtered or unexported fields }
SkaffoldRunner is responsible for running the skaffold build, test and deploy config.
func NewForConfig ¶
func NewForConfig(ctx context.Context, runCtx *runcontext.RunContext) (*SkaffoldRunner, error)
NewForConfig returns a new SkaffoldRunner for a SkaffoldConfig
func (*SkaffoldRunner) DeployAndLog ¶
func (r *SkaffoldRunner) DeployAndLog(ctx context.Context, out io.Writer, artifacts []graph.Artifact) error
DeployAndLog deploys a list of already built artifacts and optionally show the logs.
func (*SkaffoldRunner) Dev ¶
func (r *SkaffoldRunner) Dev(ctx context.Context, out io.Writer, artifacts []*latest.Artifact) error
Dev watches for changes and runs the skaffold build, test and deploy config until interrupted by the user.
func (*SkaffoldRunner) HasDeployed ¶
func (r *SkaffoldRunner) HasDeployed() bool
HasDeployed returns true if this runner has deployed something.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.