fake

package
v0.40.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCertificateClient

type MockCertificateClient struct {
	MockDescribeCertificate       func(context.Context, *acm.DescribeCertificateInput, []func(*acm.Options)) (*acm.DescribeCertificateOutput, error)
	MockAddTagsToCertificate      func(context.Context, *acm.AddTagsToCertificateInput, []func(*acm.Options)) (*acm.AddTagsToCertificateOutput, error)
	MockRequestCertificate        func(context.Context, *acm.RequestCertificateInput, []func(*acm.Options)) (*acm.RequestCertificateOutput, error)
	MockDeleteCertificate         func(context.Context, *acm.DeleteCertificateInput, []func(*acm.Options)) (*acm.DeleteCertificateOutput, error)
	MockUpdateCertificateOptions  func(context.Context, *acm.UpdateCertificateOptionsInput, []func(*acm.Options)) (*acm.UpdateCertificateOptionsOutput, error)
	MockListTagsForCertificate    func(context.Context, *acm.ListTagsForCertificateInput, []func(*acm.Options)) (*acm.ListTagsForCertificateOutput, error)
	MockRemoveTagsFromCertificate func(context.Context, *acm.RemoveTagsFromCertificateInput, []func(*acm.Options)) (*acm.RemoveTagsFromCertificateOutput, error)
}

MockCertificateClient is a type that implements all the methods for Certificate Client interface

func (*MockCertificateClient) AddTagsToCertificate

func (m *MockCertificateClient) AddTagsToCertificate(ctx context.Context, input *acm.AddTagsToCertificateInput, opts ...func(*acm.Options)) (*acm.AddTagsToCertificateOutput, error)

AddTagsToCertificate mocks AddTagsToCertificate method

func (*MockCertificateClient) DeleteCertificate

func (m *MockCertificateClient) DeleteCertificate(ctx context.Context, input *acm.DeleteCertificateInput, opts ...func(*acm.Options)) (*acm.DeleteCertificateOutput, error)

DeleteCertificate mocks DeleteCertificate method

func (*MockCertificateClient) DescribeCertificate

func (m *MockCertificateClient) DescribeCertificate(ctx context.Context, input *acm.DescribeCertificateInput, opts ...func(*acm.Options)) (*acm.DescribeCertificateOutput, error)

DescribeCertificate mocks DescribeCertificate method

func (*MockCertificateClient) ListTagsForCertificate

func (m *MockCertificateClient) ListTagsForCertificate(ctx context.Context, input *acm.ListTagsForCertificateInput, opts ...func(*acm.Options)) (*acm.ListTagsForCertificateOutput, error)

ListTagsForCertificate mocks ListTagsForCertificate method

func (*MockCertificateClient) RemoveTagsFromCertificate

func (m *MockCertificateClient) RemoveTagsFromCertificate(ctx context.Context, input *acm.RemoveTagsFromCertificateInput, opts ...func(*acm.Options)) (*acm.RemoveTagsFromCertificateOutput, error)

RemoveTagsFromCertificate mocks RemoveTagsFromCertificate method

func (*MockCertificateClient) RequestCertificate

func (m *MockCertificateClient) RequestCertificate(ctx context.Context, input *acm.RequestCertificateInput, opts ...func(*acm.Options)) (*acm.RequestCertificateOutput, error)

RequestCertificate mocks RequestCertificate method

func (*MockCertificateClient) UpdateCertificateOptions

func (m *MockCertificateClient) UpdateCertificateOptions(ctx context.Context, input *acm.UpdateCertificateOptionsInput, opts ...func(*acm.Options)) (*acm.UpdateCertificateOptionsOutput, error)

UpdateCertificateOptions mocks UpdateCertificateOptions method

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL