skopeo

package
v1.6.0-rc4 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SkopeoName = "skopeo"
)

Variables

View Source
var RunCommandFunc utils.RunCmdFuncType = nil

RunCommandFunc specifies the custom function to run command for skopeo. Used for testing purpose!

Functions

func Copy

func Copy(src, dst string, args ...string) error

Copy execute the `skopeo copy ${source} ${destination} args...` cmd. You can add custom parameters in `args`

func Inspect

func Inspect(img string, args ...string) (string, error)

Inspect executs `skopeo inspect ${img}` command and return the output if execute successfully

func Installed

func Installed() error

Installed checks skopeo is installed or not

func Login

func Login(url, username, password string) error

Login executes 'skopeo login <registry> --username=<user> --password-stdin'

Types

This section is empty.

Jump to

Keyboard shortcuts

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