mocks

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. 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 (*IClient) CreateCertificateAuthority

func (_m *IClient) CreateCertificateAuthority(ctx context.Context, params *acmpca.CreateCertificateAuthorityInput, optFns ...func(*acmpca.Options)) (*acmpca.CreateCertificateAuthorityOutput, error)

CreateCertificateAuthority provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateCertificateAuthorityAuditReport

func (_m *IClient) CreateCertificateAuthorityAuditReport(ctx context.Context, params *acmpca.CreateCertificateAuthorityAuditReportInput, optFns ...func(*acmpca.Options)) (*acmpca.CreateCertificateAuthorityAuditReportOutput, error)

CreateCertificateAuthorityAuditReport provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreatePermission

func (_m *IClient) CreatePermission(ctx context.Context, params *acmpca.CreatePermissionInput, optFns ...func(*acmpca.Options)) (*acmpca.CreatePermissionOutput, error)

CreatePermission provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteCertificateAuthority

func (_m *IClient) DeleteCertificateAuthority(ctx context.Context, params *acmpca.DeleteCertificateAuthorityInput, optFns ...func(*acmpca.Options)) (*acmpca.DeleteCertificateAuthorityOutput, error)

DeleteCertificateAuthority provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeletePermission

func (_m *IClient) DeletePermission(ctx context.Context, params *acmpca.DeletePermissionInput, optFns ...func(*acmpca.Options)) (*acmpca.DeletePermissionOutput, error)

DeletePermission provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeletePolicy

func (_m *IClient) DeletePolicy(ctx context.Context, params *acmpca.DeletePolicyInput, optFns ...func(*acmpca.Options)) (*acmpca.DeletePolicyOutput, error)

DeletePolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeCertificateAuthority

func (_m *IClient) DescribeCertificateAuthority(ctx context.Context, params *acmpca.DescribeCertificateAuthorityInput, optFns ...func(*acmpca.Options)) (*acmpca.DescribeCertificateAuthorityOutput, error)

DescribeCertificateAuthority provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeCertificateAuthorityAuditReport

func (_m *IClient) DescribeCertificateAuthorityAuditReport(ctx context.Context, params *acmpca.DescribeCertificateAuthorityAuditReportInput, optFns ...func(*acmpca.Options)) (*acmpca.DescribeCertificateAuthorityAuditReportOutput, error)

DescribeCertificateAuthorityAuditReport provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetCertificate

func (_m *IClient) GetCertificate(ctx context.Context, params *acmpca.GetCertificateInput, optFns ...func(*acmpca.Options)) (*acmpca.GetCertificateOutput, error)

GetCertificate provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetCertificateAuthorityCertificate

func (_m *IClient) GetCertificateAuthorityCertificate(ctx context.Context, params *acmpca.GetCertificateAuthorityCertificateInput, optFns ...func(*acmpca.Options)) (*acmpca.GetCertificateAuthorityCertificateOutput, error)

GetCertificateAuthorityCertificate provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetCertificateAuthorityCsr

func (_m *IClient) GetCertificateAuthorityCsr(ctx context.Context, params *acmpca.GetCertificateAuthorityCsrInput, optFns ...func(*acmpca.Options)) (*acmpca.GetCertificateAuthorityCsrOutput, error)

GetCertificateAuthorityCsr provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetPolicy

func (_m *IClient) GetPolicy(ctx context.Context, params *acmpca.GetPolicyInput, optFns ...func(*acmpca.Options)) (*acmpca.GetPolicyOutput, error)

GetPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) ImportCertificateAuthorityCertificate

func (_m *IClient) ImportCertificateAuthorityCertificate(ctx context.Context, params *acmpca.ImportCertificateAuthorityCertificateInput, optFns ...func(*acmpca.Options)) (*acmpca.ImportCertificateAuthorityCertificateOutput, error)

ImportCertificateAuthorityCertificate provides a mock function with given fields: ctx, params, optFns

func (*IClient) IssueCertificate

func (_m *IClient) IssueCertificate(ctx context.Context, params *acmpca.IssueCertificateInput, optFns ...func(*acmpca.Options)) (*acmpca.IssueCertificateOutput, error)

IssueCertificate provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListCertificateAuthorities

func (_m *IClient) ListCertificateAuthorities(ctx context.Context, params *acmpca.ListCertificateAuthoritiesInput, optFns ...func(*acmpca.Options)) (*acmpca.ListCertificateAuthoritiesOutput, error)

ListCertificateAuthorities provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListPermissions

func (_m *IClient) ListPermissions(ctx context.Context, params *acmpca.ListPermissionsInput, optFns ...func(*acmpca.Options)) (*acmpca.ListPermissionsOutput, error)

ListPermissions provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTags

func (_m *IClient) ListTags(ctx context.Context, params *acmpca.ListTagsInput, optFns ...func(*acmpca.Options)) (*acmpca.ListTagsOutput, error)

ListTags provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() acmpca.Options

Options provides a mock function with given fields:

func (*IClient) PutPolicy

func (_m *IClient) PutPolicy(ctx context.Context, params *acmpca.PutPolicyInput, optFns ...func(*acmpca.Options)) (*acmpca.PutPolicyOutput, error)

PutPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) RestoreCertificateAuthority

func (_m *IClient) RestoreCertificateAuthority(ctx context.Context, params *acmpca.RestoreCertificateAuthorityInput, optFns ...func(*acmpca.Options)) (*acmpca.RestoreCertificateAuthorityOutput, error)

RestoreCertificateAuthority provides a mock function with given fields: ctx, params, optFns

func (*IClient) RevokeCertificate

func (_m *IClient) RevokeCertificate(ctx context.Context, params *acmpca.RevokeCertificateInput, optFns ...func(*acmpca.Options)) (*acmpca.RevokeCertificateOutput, error)

RevokeCertificate provides a mock function with given fields: ctx, params, optFns

func (*IClient) TagCertificateAuthority

func (_m *IClient) TagCertificateAuthority(ctx context.Context, params *acmpca.TagCertificateAuthorityInput, optFns ...func(*acmpca.Options)) (*acmpca.TagCertificateAuthorityOutput, error)

TagCertificateAuthority provides a mock function with given fields: ctx, params, optFns

func (*IClient) UntagCertificateAuthority

func (_m *IClient) UntagCertificateAuthority(ctx context.Context, params *acmpca.UntagCertificateAuthorityInput, optFns ...func(*acmpca.Options)) (*acmpca.UntagCertificateAuthorityOutput, error)

UntagCertificateAuthority provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateCertificateAuthority

func (_m *IClient) UpdateCertificateAuthority(ctx context.Context, params *acmpca.UpdateCertificateAuthorityInput, optFns ...func(*acmpca.Options)) (*acmpca.UpdateCertificateAuthorityOutput, error)

UpdateCertificateAuthority provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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