Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsEcrBasicProviderFactory ¶
type AwsEcrBasicProviderFactory struct{} //nolint:revive // ignore linter to have unique type name
func (*AwsEcrBasicProviderFactory) Create ¶
func (s *AwsEcrBasicProviderFactory) Create(authProviderConfig provider.AuthProviderConfig) (provider.AuthProvider, error)
Create returns an AwsEcrBasicProvider
type EcrAuthToken ¶
type EcrAuthToken struct {
AuthData map[string]types.AuthorizationData
}
EcrAuthToken provides helper functions for ECR auth token data
func (EcrAuthToken) BasicAuthCreds ¶
func (e EcrAuthToken) BasicAuthCreds(key string) ([]string, error)
BasicAuthCreds returns a string array of the basic creds
func (EcrAuthToken) Expiry ¶
func (e EcrAuthToken) Expiry(key string) time.Time
Expiry returns the expiry time
func (EcrAuthToken) ProxyEndpoint ¶
func (e EcrAuthToken) ProxyEndpoint(key string) string
ProxyEndpoint returns the authdata proxy endpoint
Click to show internal directories.
Click to hide internal directories.