dcnone

package
v0.0.0-...-eca49fb Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const VERSION = "0.6.4"

Variables

This section is empty.

Functions

This section is empty.

Types

type DCNone

type DCNone struct{}

DCNone handles secrets using HOME/.docker/plaintext-credentials.config.json as a store.

func (DCNone) Add

func (p DCNone) Add(creds *credentials.Credentials) error

Add stores a new credentials or updates an existing one.

func (DCNone) Delete

func (p DCNone) Delete(serverURL string) error

Delete removes credentials from the store.

func (DCNone) Get

func (p DCNone) Get(serverURL string) (string, string, error)

Get returns the username and secret to use for a given registry server URL.

func (DCNone) List

func (p DCNone) List() (map[string]string, error)

List returns the stored URLs and corresponding usernames for a given credentials label

Jump to

Keyboard shortcuts

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