imageV1

package
v0.0.0-...-7a1098e Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	//TODO 추후 수정 일단 넣어 놓음
	Verbose = true
	Debug   = true
)

Functions

func GetLoggerWriter

func GetLoggerWriter() io.Writer

GetLoggerWriter TODO Verbose Debug 관련 업데이트 하자.

func NewStore

func NewStore() (storage.Store, error)

NewStore commit by seoy

Types

type Builder

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

func NewBuilder

func NewBuilder(ctx context.Context, o *BuilderOption) (context.Context, *Builder, error)

NewBuilder commit by seoy

func (*Builder) Add

func (b *Builder) Add(from, to string) error

Add commit by seoy

func (*Builder) Cmd

func (b *Builder) Cmd(cmd ...string) error

Cmd commit by seoy

func (*Builder) CommitImage

func (b *Builder) CommitImage(ctx context.Context, preferredManifestType string, sysCtx *types.SystemContext, repository string) (*string, error)

CommitImage commit by seoy

func (*Builder) Delete

func (b *Builder) Delete() error

Delete commit by seoy

func (*Builder) Env

func (b *Builder) Env(k, v string) error

Env commit by seoy

func (*Builder) Expose

func (b *Builder) Expose(port string) error

Expose commit by seoy

func (*Builder) Run

func (b *Builder) Run(s string) error

Run TODO > or >> 등 파이프 관련해서 작동하지 않음. 지원해줄지 생각하자.

func (*Builder) Shutdown

func (b *Builder) Shutdown() error

Shutdown commit by seoy

func (*Builder) User

func (b *Builder) User(u string) error

User commit by seoy

func (*Builder) WorkDir

func (b *Builder) WorkDir(path string) error

WorkDir commit by seoy

type BuilderOption

type BuilderOption struct {
	BuilderOpt *buildah.BuilderOptions
}

func NewOption

func NewOption() *BuilderOption

NewOption commit by seoy

func (*BuilderOption) Arg

func (o *BuilderOption) Arg(k string, v string) *BuilderOption

Arg commit by seoy

func (*BuilderOption) FromImage

func (o *BuilderOption) FromImage(fromImage string) *BuilderOption

FromImage commit by seoy

func (*BuilderOption) Other

func (o *BuilderOption) Other() *BuilderOption

Other builderOption 세팅

type NopLogger

type NopLogger struct{}

func (NopLogger) Write

func (n NopLogger) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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