secrets

package
v0.0.0-...-c5ab296 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CredentialsHelper

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

CredentialsHelper - credentials helper that uses kubernetes secrets to get username/password for registries

func New

New creates a new instance of secrets based credentials helper

func (*CredentialsHelper) GetCredentials

func (ch *CredentialsHelper) GetCredentials(image *types.TrackedImage) (*types.Credentials, error)

GetCredentials looks into kubernetes secrets to find registry credentials

func (*CredentialsHelper) IsEnabled

func (ch *CredentialsHelper) IsEnabled() bool

IsEnabled returns whether credentials helper is enabled. By default secrets based cred helper is always enabled, no additional configuration is required

Jump to

Keyboard shortcuts

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