skopeo

package
v0.0.0-...-dc266b9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const RelayID = "skopeo"

Variables

This section is empty.

Functions

func CertsDirForRegistry

func CertsDirForRegistry(r string) string

func Inspect

func Inspect(ref, platform, format, creds, certDir string, skipTLSVerify bool) (
	string, error)

func ListAllTags

func ListAllTags(ref, creds, certDir string, skipTLSVerify bool) ([]string, error)

Types

type RelayConfig

type RelayConfig struct {
	Binary   string `yaml:"binary"`
	CertsDir string `yaml:"certs-dir"`
}

type SkopeoRelay

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

func NewSkopeoRelay

func NewSkopeoRelay(conf *RelayConfig, out io.Writer) *SkopeoRelay

func (*SkopeoRelay) Dispose

func (r *SkopeoRelay) Dispose() error

func (*SkopeoRelay) Prepare

func (r *SkopeoRelay) Prepare() error

func (*SkopeoRelay) Sync

func (r *SkopeoRelay) Sync(opt *relays.SyncOptions) error

type Support

type Support struct{}

func (*Support) Platform

func (s *Support) Platform(p string) error

Jump to

Keyboard shortcuts

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