Documentation ¶
Index ¶
- func WalkDockerfiles(root string, filter func(string) bool, ...) error
- type Environment
- type ImagePinner
- type Interpolation
- type RemoteRegistries
- type TagLister
- type Updater
- func (u *Updater) ApplyUpdate(ctx context.Context, update updater.Update) error
- func (u *Updater) Check(ctx context.Context, dependency updater.Dependency, filter func(string) bool) (*updater.Update, error)
- func (u *Updater) Dependencies(_ context.Context) ([]updater.Dependency, error)
- func (u *Updater) Name() string
- type UpdaterOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Environment ¶
type Environment struct { updateaction.Environment ShaPinning bool `env:"INPUT_SHA_PINNING" envDefault:"false"` }
func (*Environment) NewUpdater ¶
func (c *Environment) NewUpdater(root string) updater.Updater
type ImagePinner ¶ added in v0.0.9
type Interpolation ¶
Interpolation attempts to interpolate a variable Dockerfile string Easily fooled by duplicate ARGs
func NewInterpolation ¶
func NewInterpolation(parsed *parser.Result) *Interpolation
func (*Interpolation) Interpolate ¶
func (i *Interpolation) Interpolate(s string) string
type RemoteRegistries ¶ added in v0.0.9
type RemoteRegistries struct {
// contains filtered or unexported fields
}
func NewRemoteRegistries ¶ added in v0.0.9
func NewRemoteRegistries() *RemoteRegistries
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
func NewUpdater ¶
func NewUpdater(root string, opts ...UpdaterOpt) *Updater
func (*Updater) ApplyUpdate ¶
func (*Updater) Dependencies ¶
type UpdaterOpt ¶ added in v0.0.6
type UpdaterOpt func(*Updater)
func WithImagePinner ¶ added in v0.0.9
func WithImagePinner(pinner ImagePinner) UpdaterOpt
func WithShaPinning ¶ added in v0.0.9
func WithShaPinning(shaPinning bool) UpdaterOpt
func WithTagsLister ¶ added in v0.0.6
func WithTagsLister(tags TagLister) UpdaterOpt
Click to show internal directories.
Click to hide internal directories.