registry

package
v0.0.0-...-1c213c1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 12 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 struct{}

func NewImageBuilder

func NewImageBuilder() *ImageBuilder

func (*ImageBuilder) Build

func (r *ImageBuilder) Build(ctx context.Context, srcReader io.Reader) (v1.Image, error)

type ImagePusher

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

func NewImagePusher

func NewImagePusher(imageWriter ImageWriter) *ImagePusher

func (*ImagePusher) Push

func (r *ImagePusher) Push(ctx context.Context, imageRef string, image v1.Image, credentials remote.Option) (string, error)

type ImageWriter

type ImageWriter func(ref name.Reference, img v1.Image, options ...remote.Option) error

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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