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 ¶
func New(sg secrets.Getter) *CredentialsHelper
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
Click to show internal directories.
Click to hide internal directories.