workflow

package
v0.0.0-...-2440f66 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blob

type Blob struct {
	Name          string
	BootstrapName string
	Desc          ocispec.Descriptor
}

type CommitOption

type CommitOption struct {
	ContainerIDWithType string
	TargetRef           string
	WithPaths           []string
	WithoutPaths        []string
	PauseContainer      bool
	MaximumTimes        int
}

type Counter

type Counter struct {
	// contains filtered or unexported fields
}

func (*Counter) Size

func (c *Counter) Size() (n int64)

func (*Counter) Write

func (c *Counter) Write(p []byte) (n int, err error)

type MountList

type MountList struct {
	// contains filtered or unexported fields
}

func NewMountList

func NewMountList() *MountList

func (*MountList) Add

func (ml *MountList) Add(path string)

type Workflow

type Workflow struct {
	// contains filtered or unexported fields
}

func NewWorkflow

func NewWorkflow(cfg *config.Config) (*Workflow, error)

func (*Workflow) Commit

func (wf *Workflow) Commit(ctx context.Context, opt CommitOption) error

func (*Workflow) Destory

func (wf *Workflow) Destory() error

Jump to

Keyboard shortcuts

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