copy

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Type = "from"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Config []ActionConfig `mapstructure:"config"`
}

func (*Action) Execute

func (a *Action) Execute(base llb.State) (llb.State, error)

func (*Action) Type

func (a *Action) Type() string

func (*Action) UpdateImage

func (a *Action) UpdateImage(_ *dockerfile2llb.Image)

type ActionConfig

type ActionConfig struct {
	Directory  string `mapstructure:"directory"`
	Image      string `mapstructure:"image"`
	Dockerfile string `mapstructure:"dockerfile"`
	Path       string `mapstructure:"path"`
}

func (*ActionConfig) Execute

func (a *ActionConfig) Execute(base llb.State) (llb.State, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL