registry

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 11 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(repoRef 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