Documentation ¶
Index ¶
- Variables
- func DependenciesForArtifact(ctx context.Context, a *latest.Artifact) ([]string, error)
- func WithNotification(d deploy.Deployer) deploy.Deployer
- func WithTimings(b build.Builder, t test.Tester, d deploy.Deployer) (build.Builder, test.Tester, deploy.Deployer)
- type SkaffoldRunner
- func (r *SkaffoldRunner) Dev(ctx context.Context, out io.Writer, artifacts []*latest.Artifact) ([]build.Artifact, error)
- func (r *SkaffoldRunner) Run(ctx context.Context, out io.Writer, artifacts []*latest.Artifact) error
- func (r *SkaffoldRunner) TailLogs(ctx context.Context, out io.Writer, artifacts []*latest.Artifact, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorConfigurationChanged = errors.New("configuration changed")
ErrorConfigurationChanged is a special error that's returned when the skaffold configuration was changed.
Functions ¶
func DependenciesForArtifact ¶ added in v0.16.0
DependenciesForArtifact lists the dependencies for a given artifact.
func WithNotification ¶ added in v0.6.1
WithNotification creates a deployer that bips each time a deploy is done.
Types ¶
type SkaffoldRunner ¶
type SkaffoldRunner struct { build.Builder deploy.Deployer test.Tester tag.Tagger watch.Trigger sync.Syncer // contains filtered or unexported fields }
SkaffoldRunner is responsible for running the skaffold build and deploy pipeline.
func NewForConfig ¶
func NewForConfig(opts *config.SkaffoldOptions, cfg *latest.SkaffoldPipeline) (*SkaffoldRunner, error)
NewForConfig returns a new SkaffoldRunner for a SkaffoldPipeline
func (*SkaffoldRunner) Dev ¶ added in v0.6.0
func (r *SkaffoldRunner) Dev(ctx context.Context, out io.Writer, artifacts []*latest.Artifact) ([]build.Artifact, error)
Dev watches for changes and runs the skaffold build and deploy pipeline until interrrupted by the user.
Click to show internal directories.
Click to hide internal directories.