regutil

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DigestV2

func DigestV2(repository, reference string) (string, error)

DigestV2 is needed to handling missing functionality from registry.Registry. This client library repo is inactive and fails to return correct digest v2.

Types

type RegistryClient added in v0.1.9

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

func NewRegistryClient

func NewRegistryClient(debug bool) (*RegistryClient, error)

func (*RegistryClient) DeleteImage added in v0.1.9

func (r *RegistryClient) DeleteImage(repository, tag string, debug bool) error

func (*RegistryClient) ListTags added in v0.1.9

func (r *RegistryClient) ListTags(repository string, debug bool) ([]string, error)

func (*RegistryClient) Repositories added in v0.1.9

func (r *RegistryClient) Repositories() ([]string, error)

Jump to

Keyboard shortcuts

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