dockerhub

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsExecutionFailed

func IsExecutionFailed(err error) bool

IsExecutionFailed asserts executionFailedError.

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Config

type Config struct {
}

type DockerHub

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

func New

func New(c Config) (*DockerHub, error)

func (*DockerHub) Authorize

func (d *DockerHub) Authorize(ctx context.Context, user, password string) error

func (*DockerHub) ListRepositories

func (d *DockerHub) ListRepositories(ctx context.Context) ([]string, error)

func (*DockerHub) ListTags

func (d *DockerHub) ListTags(ctx context.Context, repository string) ([]string, error)

Jump to

Keyboard shortcuts

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