registry

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultHost added in v0.4.0

func DefaultHost() string

func DefaultRepository

func DefaultRepository() string

func IsDefaultRegistry added in v0.4.0

func IsDefaultRegistry(image string) bool

Types

type Credentials

type Credentials struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type Registry

type Registry struct {
	Host string
	Credentials
}

func NewWithPullAccess

func NewWithPullAccess() Registry

func NewWithPushAccess

func NewWithPushAccess() Registry

func (Registry) DeployCredentials added in v0.4.0

func (registry Registry) DeployCredentials(clientset *client.ConfigSet) error

func (Registry) HasCredentials added in v0.5.0

func (registry Registry) HasCredentials() bool

func (Registry) ToAuthFileContents

func (registry Registry) ToAuthFileContents() (string, error)

Jump to

Keyboard shortcuts

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