imagebuilder

package
v0.0.0-...-da65128 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageBuilder

type ImageBuilder interface {
	BuildImage(*db.Job, string, string, string) error
	CheckImageBuilderStatusAndGetInfo(string) (bool, *ImageInfo, error)
}

type ImageInfo

type ImageInfo struct {
	Image  string
	Digest string
}

type KanikoImageBuilder

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

func NewKanikoImageBuilder

func NewKanikoImageBuilder() (*KanikoImageBuilder, error)

func (*KanikoImageBuilder) BuildImage

func (b *KanikoImageBuilder) BuildImage(j *db.Job, bucket string, baseImage string, image string) error

func (*KanikoImageBuilder) CheckImageBuilderStatusAndGetInfo

func (b *KanikoImageBuilder) CheckImageBuilderStatusAndGetInfo(uuid string) (bool, *ImageInfo, error)

Jump to

Keyboard shortcuts

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