store

package
v1.2.23 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Login

type Login struct {
	Username string
	Password string
}

Login stores username and password for BASIC authentication

type Store

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

Store stores BASIC authentication credentials

func (*Store) GetByHostname

func (st *Store) GetByHostname(registryHostname string) *Login

GetByHostname gets a BASIC auth login for a registry hostname passed

func (*Store) GetByURL

func (st *Store) GetByURL(registryURL string) *Login

GetByURL gets a BASIC auth login for a registry URL passed

func (*Store) LoadAll

func (st *Store) LoadAll(aa []string) error

LoadAll parses and loads a list of BASIC authentication strings

Jump to

Keyboard shortcuts

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