oci

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTag = "latest"

Functions

func BuildImage

func BuildImage(ctx context.Context, goBinPath string, base v1.Image, options ...BuildOption) (v1.Image, error)

func Get

func Push

func Push(ctx context.Context, repo name.Repository, img remote.Taggable, options ...PushOption) error

func PushDaemon

func PushDaemon(ctx context.Context, imgName string, img v1.Image, options ...PushOption) error

Types

type BuildOption

type BuildOption func(*buildOptions)

func WithCompressionLevel

func WithCompressionLevel(v int) BuildOption

func WithEStargz

func WithEStargz(v bool) BuildOption

func WithLabels

func WithLabels(v map[string]string) BuildOption

type PushOption

type PushOption func(*pushOptions)

func WithLogger

func WithLogger(v types.Logger) PushOption

func WithTags

func WithTags(v []string) PushOption

Jump to

Keyboard shortcuts

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