pkg

package
v0.0.0-...-805d9e6 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli

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

func NewCli

func NewCli(ctx context.Context, repository, username, password string, log io.Writer) (*Cli, error)

func (*Cli) PullImage

func (c *Cli) PullImage(ctx context.Context, image, platform string) error

func (*Cli) PullTagPushImage

func (c *Cli) PullTagPushImage(ctx context.Context, source, platform string) (*Output, error)

func (*Cli) PushImage

func (c *Cli) PushImage(ctx context.Context, image, platform string) error

func (*Cli) Source2Target

func (c *Cli) Source2Target(source string, platform string) (*Output, error)

type Output

type Output struct {
	Source string
	Target string
}

Jump to

Keyboard shortcuts

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