Documentation ¶
Index ¶
- Constants
- Variables
- func Execute(plugin string) error
- func GetCorePluginFromEnv() (string, error)
- func NewPluginBuilder(runCtx *runctx.RunContext) (shared.PluginBuilder, error)
- 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(runCtx *runctx.RunContext) error
- func (b *Builder) Labels() map[string]string
- func (b *Builder) Prune(ctx context.Context, out io.Writer) error
Constants ¶
View Source
const DefaultPluginLogLevel = hclog.Info
TODO(this should be rather wired through an env var from the skaffold process)
Variables ¶
View Source
var SkaffoldCorePluginExecutionMap = map[string]func() error{ "docker": docker.Execute(DefaultPluginLogLevel), "bazel": bazel.Execute(DefaultPluginLogLevel), }
SkaffoldCorePluginExecutionMap maps the core plugin name to the execution function
Functions ¶
func GetCorePluginFromEnv ¶ added in v0.26.0
GetCorePluginFromEnv returns the core plugin name if env variables for plugins are set properly and the plugin passed in is a core plugin
func NewPluginBuilder ¶
func NewPluginBuilder(runCtx *runctx.RunContext) (shared.PluginBuilder, error)
NewPluginBuilder initializes and returns all required plugin builders
Types ¶
Click to show internal directories.
Click to hide internal directories.