skopeo

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2025 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	*exec.CmdContext
	// contains filtered or unexported fields
}

func NewCtx

func NewCtx(opts ...Option) Context

NewCtx returns a new `skopeo` command context.

func (Context) CopyCtx added in v0.22.0

func (s Context) CopyCtx() Context

CopyCtx returns an copy ctx.

func (Context) InspectCtx added in v0.22.0

func (s Context) InspectCtx() Context

InspectCtx returns an inspect ctx.

func (Context) Login

func (s Context) Login(creds secret.Credentials, domain string) (logout func() error, err error)

Login logs into the registry.

type Option added in v0.22.0

type Option = func(c *contextBuilder)

func WithEnableTLS added in v0.22.0

func WithEnableTLS(enable bool) Option

WithEnableTLS enables TLS (https) on skopeo.

Jump to

Keyboard shortcuts

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