osman

package module
v0.13.8 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 34 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

OSMan

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(
	ctx context.Context,
	build config.Build,
	s storage.Driver,
	builder *infra.Builder,
) ([]types.BuildInfo, error)

Build builds image.

func List

func List(ctx context.Context, filtering config.Filter, s storage.Driver) ([]types.BuildInfo, error)

List lists builds.

func Mount

func Mount(
	ctx context.Context,
	storage config.Storage,
	filtering config.Filter,
	mount config.Mount,
	s storage.Driver,
) (retInfo []types.BuildInfo, retErr error)

Mount mounts image.

func Start added in v0.7.0

func Start(
	ctx context.Context,
	storage config.Storage,
	filtering config.Filter,
	start config.Start,
	s storage.Driver,
) ([]types.BuildInfo, error)

Start starts VMs.

func Tag added in v0.2.0

func Tag(ctx context.Context, filtering config.Filter, tag config.Tag, s storage.Driver) ([]types.BuildInfo, error)

Tag removes and add tags to the build.

Types

type Result

type Result struct {
	BuildID types.BuildID
	Result  error
}

Result contains error realted to build ID.

func Drop

func Drop(
	ctx context.Context,
	storage config.Storage,
	filtering config.Filter,
	drop config.Drop,
	s storage.Driver,
) ([]Result, error)

Drop drops builds.

func Stop added in v0.12.0

func Stop(ctx context.Context, filtering config.Filter, stop config.Stop, s storage.Driver) ([]Result, error)

Stop stops VMs.

Directories

Path Synopsis
specfile
parser
Package parser implements a parser and parse tree dumper for Dockerfiles.
Package parser implements a parser and parse tree dumper for Dockerfiles.

Jump to

Keyboard shortcuts

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