docker

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RegexpDoubleSlash = regexp.MustCompile("/{2,}")
View Source
var RegexpProtocol = regexp.MustCompile("^(http[s]?://)")

Functions

This section is empty.

Types

type DockerClient

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

func (*DockerClient) Connect

func (d *DockerClient) Connect() error

func (*DockerClient) GetAuthToken

func (d *DockerClient) GetAuthToken() (string, error)

func (*DockerClient) GetManifestV2

func (d *DockerClient) GetManifestV2(imageIdentifiers *ImageIdentifiers) (*schema2.DeserializedManifest, error)

func (*DockerClient) GetPassword

func (d *DockerClient) GetPassword() string

func (*DockerClient) GetRegistry

func (d *DockerClient) GetRegistry() string

func (*DockerClient) GetUsername

func (d *DockerClient) GetUsername() string

type ImageIdentifiers

type ImageIdentifiers struct {
	Repository string
	Tag        string
}

func ParseImageIdentifiers

func ParseImageIdentifiers(dockerImagePath string, registryDomain string) (*ImageIdentifiers, error)

Jump to

Keyboard shortcuts

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