patcher

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTimeout    = "5m"
	DefaultPatchedTag = "patched"
	FolderPerm        = 0o744
)

Variables

This section is empty.

Functions

func Patch added in v0.5.0

func Patch(ctx context.Context, timeout time.Duration, image, patchedTag, workingFolder string,
	manifest *types.UpdateManifest, ignoreError bool, bkOpts buildkit.Opts) error

Types

type Config

type Config struct {
	Config config.Config
}

func DefaultConfig

func DefaultConfig() *Config

type Patcher

type Patcher interface {
	Init(context.Context) error
	Deinit(context.Context) error
	Run(context.Context) error
}

func New

func New(_ context.Context, cfg *Config) Patcher

Jump to

Keyboard shortcuts

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