Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECRHelper ¶
type ECRHelper struct {
// contains filtered or unexported fields
}
func NewECRHelper ¶
NewECRHelper returns a new ECRHelper with the given options to override default behavior.
func (ECRHelper) Add ¶
func (self ECRHelper) Add(creds *credentials.Credentials) error
Add tries to store credentials when docker requests it. This usually happens during `docker login` calls. In our context, storing arbitrary user given credentials makes no sense.
type Option ¶
type Option func(*ECRHelper)
func WithClientFactory ¶
func WithClientFactory(clientFactory api.ClientFactory) Option
WithClientFactory sets the ClientFactory used to make API requests.
func WithLogger ¶
WithLogger sets a new logger instance that writes to the given writer, instead of the default writer which writes to stderr.
This can be useful if callers want to redirect logging emitted by this tool to another location.
Click to show internal directories.
Click to hide internal directories.