image

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatImageName

func FormatImageName(name, tag string) string

Types

type Authorizer

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

func NewAuthorizer

func NewAuthorizer(name string) Authorizer

func (Authorizer) Authorize

func (a Authorizer) Authorize() (registry.AuthConfig, error)

func (Authorizer) AuthorizeEncoded

func (a Authorizer) AuthorizeEncoded() (string, error)

type Image

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

func NewImage

func NewImage(opts ImageOptions) Image

func (Image) Name

func (i Image) Name() string

func (Image) Names

func (i Image) Names() []string

type ImageOptions

type ImageOptions struct {
	Name      string
	UniqueTag string
	Tags      []string
}

Jump to

Keyboard shortcuts

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