type ECRHelper struct {
// contains filtered or unexported fields
}
func NewECRHelper(opts ...Option) *ECRHelper
NewECRHelper returns a new ECRHelper with the given options to override default behavior.
func (ECRHelper) Add(creds *credentials.Credentials) error
func (ECRHelper) Delete(serverURL string) error
func (self ECRHelper) Get(serverURL string) (string, string, error)
func (self ECRHelper) List() (map[string]string, error)
type Option func(*ECRHelper)
func WithClientFactory(clientFactory api.ClientFactory) Option
WithClientFactory sets the ClientFactory used to make API requests.
func WithLogger(w io.Writer) Option
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.