regutil

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 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
}

RegistryClient docker registry client

func NewRegistryClient

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

NewRegistryClient returns new docker registry client

func (*RegistryClient) DeleteImage added in v0.1.9

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

DeleteImage deletes docker image

func (*RegistryClient) ListTags added in v0.1.9

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

ListTags lists docker tags

func (*RegistryClient) Repositories added in v0.1.9

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

Repositories lists repositories

Jump to

Keyboard shortcuts

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