Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoAWSECRAuthorizationData = errors.New("no ecr authorization data provided")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
GetAuthorizationToken(ctx context.Context, params *ecr.GetAuthorizationTokenInput, optFns ...func(*ecr.Options)) (*ecr.GetAuthorizationTokenOutput, error)
}
type ECR ¶
type ECR struct {
// contains filtered or unexported fields
}
func (*ECR) Credential ¶
func (*ECR) CredentialFunc ¶
func (r *ECR) CredentialFunc(registry string) auth.CredentialFunc
type MockClient ¶
MockClient is an autogenerated mock type for the Client type
func NewMockClient ¶
func NewMockClient(t interface { mock.TestingT Cleanup(func()) }) *MockClient
NewMockClient creates a new instance of MockClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockClient) GetAuthorizationToken ¶
func (_m *MockClient) GetAuthorizationToken(ctx context.Context, params *ecr.GetAuthorizationTokenInput, optFns ...func(*ecr.Options)) (*ecr.GetAuthorizationTokenOutput, error)
GetAuthorizationToken provides a mock function with given fields: ctx, params, optFns
Click to show internal directories.
Click to hide internal directories.