dockerhub

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Docker

type Docker struct {
	Architecture string
	Image        string
	Tag          string
	Token        string
}

Docker contains various information to interact with a dockerhub registry

func (*Docker) Digest

func (d *Docker) Digest() (string, error)

Digest retrieve docker image tag digest from Dockerhub

func (*Docker) Login

func (d *Docker) Login() (string, error)

Login authenticate with Dockerhub then return a valid bearer token

Jump to

Keyboard shortcuts

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