Documentation ¶
Overview ¶
Package ecrauth provides an interface and utilities for authenticating AWS EC2 ECR Docker repositories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Interface ¶
type Interface interface { // Authenticates tells whether this authenticator can authenticate the // provided image URI. Authenticates(ctx context.Context, image string) (bool, error) // Authenticate writes authentication information into the provided config struct. Authenticate(ctx context.Context, cfg *types.AuthConfig) error }
Interface is the interface that is implemented by ECR authentication providers.
Click to show internal directories.
Click to hide internal directories.