Documentation ¶
Index ¶
- Variables
- func Execute() error
- func NewPluginBuilder(cfg *latest.BuildConfig, opts *config.SkaffoldOptions) (shared.PluginBuilder, error)
- func ShouldExecuteCorePlugin() bool
- type Builder
- func (b *Builder) Build(ctx context.Context, out io.Writer, tags tag.ImageTags, ...) ([]build.Artifact, error)
- func (b *Builder) DependenciesForArtifact(ctx context.Context, artifact *latest.Artifact) ([]string, error)
- func (b *Builder) Init(opts *config.SkaffoldOptions, env *latest.ExecutionEnvironment)
- func (b *Builder) Labels() map[string]string
Constants ¶
This section is empty.
Variables ¶
View Source
var SkaffoldCorePluginExecutionMap = map[string]func() error{ "docker": docker.Execute, "bazel": bazel.Execute, }
SkaffoldCorePluginExecutionMap maps the core plugin name to the execution function
Functions ¶
func Execute ¶
func Execute() error
Execute executes a plugin, assumes ShouldExecuteCorePlugin has already been called
func NewPluginBuilder ¶
func NewPluginBuilder(cfg *latest.BuildConfig, opts *config.SkaffoldOptions) (shared.PluginBuilder, error)
NewPluginBuilder initializes and returns all required plugin builders
func ShouldExecuteCorePlugin ¶
func ShouldExecuteCorePlugin() bool
ShouldExecuteCorePlugin returns true if env variables for plugins are set properly and the plugin passed in is a core plugin
Types ¶
type Builder ¶
type Builder struct {
Builders map[string]shared.PluginBuilder
}
func (*Builder) DependenciesForArtifact ¶ added in v0.24.0
func (*Builder) Init ¶
func (b *Builder) Init(opts *config.SkaffoldOptions, env *latest.ExecutionEnvironment)
Click to show internal directories.
Click to hide internal directories.