dockercredentials

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureCredentialsContainer

func ConfigureCredentialsContainer(userName string, port int) error

func ConfigureCredentialsMachine

func ConfigureCredentialsMachine(targetFolder string, port int) (string, error)

Types

type Credentials

type Credentials struct {
	ServerURL string
	Username  string
	Secret    string
}

Credentials holds the information shared between docker and the credentials store.

func GetAuthConfig

func GetAuthConfig(host string) (*Credentials, error)

type ListResponse

type ListResponse struct {
	Registries map[string]string
}

func ListCredentials

func ListCredentials() (*ListResponse, error)

type Request

type Request struct {
	// If ServerURL is empty its a list request
	ServerURL string
}

Jump to

Keyboard shortcuts

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