Documentation ¶
Index ¶
- type MockCertificateAuthorityClient
- func (m *MockCertificateAuthorityClient) CreateCertificateAuthority(ctx context.Context, input *acmpca.CreateCertificateAuthorityInput, ...) (*acmpca.CreateCertificateAuthorityOutput, error)
- func (m *MockCertificateAuthorityClient) CreatePermission(ctx context.Context, input *acmpca.CreatePermissionInput, ...) (*acmpca.CreatePermissionOutput, error)
- func (m *MockCertificateAuthorityClient) DeleteCertificateAuthority(ctx context.Context, input *acmpca.DeleteCertificateAuthorityInput, ...) (*acmpca.DeleteCertificateAuthorityOutput, error)
- func (m *MockCertificateAuthorityClient) DeletePermission(ctx context.Context, input *acmpca.DeletePermissionInput, ...) (*acmpca.DeletePermissionOutput, error)
- func (m *MockCertificateAuthorityClient) DescribeCertificateAuthority(ctx context.Context, input *acmpca.DescribeCertificateAuthorityInput, ...) (*acmpca.DescribeCertificateAuthorityOutput, error)
- func (m *MockCertificateAuthorityClient) ListTags(ctx context.Context, input *acmpca.ListTagsInput, ...) (*acmpca.ListTagsOutput, error)
- func (m *MockCertificateAuthorityClient) TagCertificateAuthority(ctx context.Context, input *acmpca.TagCertificateAuthorityInput, ...) (*acmpca.TagCertificateAuthorityOutput, error)
- func (m *MockCertificateAuthorityClient) UntagCertificateAuthority(ctx context.Context, input *acmpca.UntagCertificateAuthorityInput, ...) (*acmpca.UntagCertificateAuthorityOutput, error)
- func (m *MockCertificateAuthorityClient) UpdateCertificateAuthority(ctx context.Context, input *acmpca.UpdateCertificateAuthorityInput, ...) (*acmpca.UpdateCertificateAuthorityOutput, error)
- type MockCertificateAuthorityPermissionClient
- func (m *MockCertificateAuthorityPermissionClient) CreatePermission(ctx context.Context, input *acmpca.CreatePermissionInput, ...) (*acmpca.CreatePermissionOutput, error)
- func (m *MockCertificateAuthorityPermissionClient) DeletePermission(ctx context.Context, input *acmpca.DeletePermissionInput, ...) (*acmpca.DeletePermissionOutput, error)
- func (m *MockCertificateAuthorityPermissionClient) ListPermissions(ctx context.Context, input *acmpca.ListPermissionsInput, ...) (*acmpca.ListPermissionsOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCertificateAuthorityClient ¶
type MockCertificateAuthorityClient struct { MockCreateCertificateAuthority func(context.Context, *acmpca.CreateCertificateAuthorityInput, []func(*acmpca.Options)) (*acmpca.CreateCertificateAuthorityOutput, error) MockCreatePermission func(context.Context, *acmpca.CreatePermissionInput, []func(*acmpca.Options)) (*acmpca.CreatePermissionOutput, error) MockDeleteCertificateAuthority func(context.Context, *acmpca.DeleteCertificateAuthorityInput, []func(*acmpca.Options)) (*acmpca.DeleteCertificateAuthorityOutput, error) MockDeletePermission func(context.Context, *acmpca.DeletePermissionInput, []func(*acmpca.Options)) (*acmpca.DeletePermissionOutput, error) MockUpdateCertificateAuthority func(context.Context, *acmpca.UpdateCertificateAuthorityInput, []func(*acmpca.Options)) (*acmpca.UpdateCertificateAuthorityOutput, error) MockDescribeCertificateAuthority func(context.Context, *acmpca.DescribeCertificateAuthorityInput, []func(*acmpca.Options)) (*acmpca.DescribeCertificateAuthorityOutput, error) MockListTags func(context.Context, *acmpca.ListTagsInput, []func(*acmpca.Options)) (*acmpca.ListTagsOutput, error) MockUntagCertificateAuthority func(context.Context, *acmpca.UntagCertificateAuthorityInput, []func(*acmpca.Options)) (*acmpca.UntagCertificateAuthorityOutput, error) MockTagCertificateAuthority func(context.Context, *acmpca.TagCertificateAuthorityInput, []func(*acmpca.Options)) (*acmpca.TagCertificateAuthorityOutput, error) }
MockCertificateAuthorityClient is a type that implements all the methods for Certificate Authority Client interface
func (*MockCertificateAuthorityClient) CreateCertificateAuthority ¶
func (m *MockCertificateAuthorityClient) CreateCertificateAuthority(ctx context.Context, input *acmpca.CreateCertificateAuthorityInput, opts ...func(*acmpca.Options)) (*acmpca.CreateCertificateAuthorityOutput, error)
CreateCertificateAuthority mocks CreateCertificateAuthority method
func (*MockCertificateAuthorityClient) CreatePermission ¶
func (m *MockCertificateAuthorityClient) CreatePermission(ctx context.Context, input *acmpca.CreatePermissionInput, opts ...func(*acmpca.Options)) (*acmpca.CreatePermissionOutput, error)
CreatePermission mocks CreatePermission method
func (*MockCertificateAuthorityClient) DeleteCertificateAuthority ¶
func (m *MockCertificateAuthorityClient) DeleteCertificateAuthority(ctx context.Context, input *acmpca.DeleteCertificateAuthorityInput, opts ...func(*acmpca.Options)) (*acmpca.DeleteCertificateAuthorityOutput, error)
DeleteCertificateAuthority mocks DeleteCertificateAuthority method
func (*MockCertificateAuthorityClient) DeletePermission ¶
func (m *MockCertificateAuthorityClient) DeletePermission(ctx context.Context, input *acmpca.DeletePermissionInput, opts ...func(*acmpca.Options)) (*acmpca.DeletePermissionOutput, error)
DeletePermission mocks DeletePermission method
func (*MockCertificateAuthorityClient) DescribeCertificateAuthority ¶
func (m *MockCertificateAuthorityClient) DescribeCertificateAuthority(ctx context.Context, input *acmpca.DescribeCertificateAuthorityInput, opts ...func(*acmpca.Options)) (*acmpca.DescribeCertificateAuthorityOutput, error)
DescribeCertificateAuthority mocks DescribeCertificateAuthority method
func (*MockCertificateAuthorityClient) ListTags ¶
func (m *MockCertificateAuthorityClient) ListTags(ctx context.Context, input *acmpca.ListTagsInput, opts ...func(*acmpca.Options)) (*acmpca.ListTagsOutput, error)
ListTags mocks ListTags method
func (*MockCertificateAuthorityClient) TagCertificateAuthority ¶
func (m *MockCertificateAuthorityClient) TagCertificateAuthority(ctx context.Context, input *acmpca.TagCertificateAuthorityInput, opts ...func(*acmpca.Options)) (*acmpca.TagCertificateAuthorityOutput, error)
TagCertificateAuthority mocks TagCertificateAuthority method
func (*MockCertificateAuthorityClient) UntagCertificateAuthority ¶
func (m *MockCertificateAuthorityClient) UntagCertificateAuthority(ctx context.Context, input *acmpca.UntagCertificateAuthorityInput, opts ...func(*acmpca.Options)) (*acmpca.UntagCertificateAuthorityOutput, error)
UntagCertificateAuthority mocks UntagCertificateAuthority method
func (*MockCertificateAuthorityClient) UpdateCertificateAuthority ¶
func (m *MockCertificateAuthorityClient) UpdateCertificateAuthority(ctx context.Context, input *acmpca.UpdateCertificateAuthorityInput, opts ...func(*acmpca.Options)) (*acmpca.UpdateCertificateAuthorityOutput, error)
UpdateCertificateAuthority mocks UpdateCertificateAuthority method
type MockCertificateAuthorityPermissionClient ¶
type MockCertificateAuthorityPermissionClient struct { MockCreatePermission func(context.Context, *acmpca.CreatePermissionInput, []func(*acmpca.Options)) (*acmpca.CreatePermissionOutput, error) MockDeletePermission func(context.Context, *acmpca.DeletePermissionInput, []func(*acmpca.Options)) (*acmpca.DeletePermissionOutput, error) MockListPermissions func(context.Context, *acmpca.ListPermissionsInput, []func(*acmpca.Options)) (*acmpca.ListPermissionsOutput, error) }
MockCertificateAuthorityPermissionClient is a type that implements all the methods for Certificate Authority Permission Client interface
func (*MockCertificateAuthorityPermissionClient) CreatePermission ¶
func (m *MockCertificateAuthorityPermissionClient) CreatePermission(ctx context.Context, input *acmpca.CreatePermissionInput, opts ...func(*acmpca.Options)) (*acmpca.CreatePermissionOutput, error)
CreatePermission mocks CreatePermission method
func (*MockCertificateAuthorityPermissionClient) DeletePermission ¶
func (m *MockCertificateAuthorityPermissionClient) DeletePermission(ctx context.Context, input *acmpca.DeletePermissionInput, opts ...func(*acmpca.Options)) (*acmpca.DeletePermissionOutput, error)
DeletePermission mocks DeletePermission method
func (*MockCertificateAuthorityPermissionClient) ListPermissions ¶
func (m *MockCertificateAuthorityPermissionClient) ListPermissions(ctx context.Context, input *acmpca.ListPermissionsInput, opts ...func(*acmpca.Options)) (*acmpca.ListPermissionsOutput, error)
ListPermissions mocks ListPermissions method