mock

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvitationsIamV2Api added in v0.8.0

InvitationsIamV2Api is a mock of InvitationsIamV2Api interface

func (*InvitationsIamV2Api) CreateIamV2Invitation added in v0.8.0

CreateIamV2Invitation mocks base method by wrapping the associated func.

func (*InvitationsIamV2Api) CreateIamV2InvitationCalled added in v0.8.0

func (m *InvitationsIamV2Api) CreateIamV2InvitationCalled() bool

CreateIamV2InvitationCalled returns true if CreateIamV2Invitation was called at least once.

func (*InvitationsIamV2Api) CreateIamV2InvitationCalls added in v0.8.0

func (m *InvitationsIamV2Api) CreateIamV2InvitationCalls() []struct {
	Ctx context.Context
}

CreateIamV2InvitationCalls returns the calls made to CreateIamV2Invitation.

func (*InvitationsIamV2Api) CreateIamV2InvitationExecute added in v0.8.0

CreateIamV2InvitationExecute mocks base method by wrapping the associated func.

func (*InvitationsIamV2Api) CreateIamV2InvitationExecuteCalled added in v0.8.0

func (m *InvitationsIamV2Api) CreateIamV2InvitationExecuteCalled() bool

CreateIamV2InvitationExecuteCalled returns true if CreateIamV2InvitationExecute was called at least once.

func (*InvitationsIamV2Api) CreateIamV2InvitationExecuteCalls added in v0.8.0

func (m *InvitationsIamV2Api) CreateIamV2InvitationExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiCreateIamV2InvitationRequest
}

CreateIamV2InvitationExecuteCalls returns the calls made to CreateIamV2InvitationExecute.

func (*InvitationsIamV2Api) DeleteIamV2Invitation added in v0.8.0

DeleteIamV2Invitation mocks base method by wrapping the associated func.

func (*InvitationsIamV2Api) DeleteIamV2InvitationCalled added in v0.8.0

func (m *InvitationsIamV2Api) DeleteIamV2InvitationCalled() bool

DeleteIamV2InvitationCalled returns true if DeleteIamV2Invitation was called at least once.

func (*InvitationsIamV2Api) DeleteIamV2InvitationCalls added in v0.8.0

func (m *InvitationsIamV2Api) DeleteIamV2InvitationCalls() []struct {
	Ctx context.Context
	Id  string
}

DeleteIamV2InvitationCalls returns the calls made to DeleteIamV2Invitation.

func (*InvitationsIamV2Api) DeleteIamV2InvitationExecute added in v0.8.0

DeleteIamV2InvitationExecute mocks base method by wrapping the associated func.

func (*InvitationsIamV2Api) DeleteIamV2InvitationExecuteCalled added in v0.8.0

func (m *InvitationsIamV2Api) DeleteIamV2InvitationExecuteCalled() bool

DeleteIamV2InvitationExecuteCalled returns true if DeleteIamV2InvitationExecute was called at least once.

func (*InvitationsIamV2Api) DeleteIamV2InvitationExecuteCalls added in v0.8.0

func (m *InvitationsIamV2Api) DeleteIamV2InvitationExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiDeleteIamV2InvitationRequest
}

DeleteIamV2InvitationExecuteCalls returns the calls made to DeleteIamV2InvitationExecute.

func (*InvitationsIamV2Api) GetIamV2Invitation added in v0.8.0

GetIamV2Invitation mocks base method by wrapping the associated func.

func (*InvitationsIamV2Api) GetIamV2InvitationCalled added in v0.8.0

func (m *InvitationsIamV2Api) GetIamV2InvitationCalled() bool

GetIamV2InvitationCalled returns true if GetIamV2Invitation was called at least once.

func (*InvitationsIamV2Api) GetIamV2InvitationCalls added in v0.8.0

func (m *InvitationsIamV2Api) GetIamV2InvitationCalls() []struct {
	Ctx context.Context
	Id  string
}

GetIamV2InvitationCalls returns the calls made to GetIamV2Invitation.

func (*InvitationsIamV2Api) GetIamV2InvitationExecute added in v0.8.0

GetIamV2InvitationExecute mocks base method by wrapping the associated func.

func (*InvitationsIamV2Api) GetIamV2InvitationExecuteCalled added in v0.8.0

func (m *InvitationsIamV2Api) GetIamV2InvitationExecuteCalled() bool

GetIamV2InvitationExecuteCalled returns true if GetIamV2InvitationExecute was called at least once.

func (*InvitationsIamV2Api) GetIamV2InvitationExecuteCalls added in v0.8.0

GetIamV2InvitationExecuteCalls returns the calls made to GetIamV2InvitationExecute.

func (*InvitationsIamV2Api) ListIamV2Invitations added in v0.8.0

ListIamV2Invitations mocks base method by wrapping the associated func.

func (*InvitationsIamV2Api) ListIamV2InvitationsCalled added in v0.8.0

func (m *InvitationsIamV2Api) ListIamV2InvitationsCalled() bool

ListIamV2InvitationsCalled returns true if ListIamV2Invitations was called at least once.

func (*InvitationsIamV2Api) ListIamV2InvitationsCalls added in v0.8.0

func (m *InvitationsIamV2Api) ListIamV2InvitationsCalls() []struct {
	Ctx context.Context
}

ListIamV2InvitationsCalls returns the calls made to ListIamV2Invitations.

func (*InvitationsIamV2Api) ListIamV2InvitationsExecute added in v0.8.0

ListIamV2InvitationsExecute mocks base method by wrapping the associated func.

func (*InvitationsIamV2Api) ListIamV2InvitationsExecuteCalled added in v0.8.0

func (m *InvitationsIamV2Api) ListIamV2InvitationsExecuteCalled() bool

ListIamV2InvitationsExecuteCalled returns true if ListIamV2InvitationsExecute was called at least once.

func (*InvitationsIamV2Api) ListIamV2InvitationsExecuteCalls added in v0.8.0

func (m *InvitationsIamV2Api) ListIamV2InvitationsExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiListIamV2InvitationsRequest
}

ListIamV2InvitationsExecuteCalls returns the calls made to ListIamV2InvitationsExecute.

func (*InvitationsIamV2Api) Reset added in v0.8.0

func (m *InvitationsIamV2Api) Reset()

Reset resets the calls made to the mocked methods.

type ServiceAccountsIamV2Api

type ServiceAccountsIamV2Api struct {
	CreateIamV2ServiceAccountFunc func(ctx context.Context) github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiCreateIamV2ServiceAccountRequest

	CreateIamV2ServiceAccountExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiCreateIamV2ServiceAccountRequest) (github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.IamV2ServiceAccount, *net_http.Response, error)

	DeleteIamV2ServiceAccountFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiDeleteIamV2ServiceAccountRequest

	DeleteIamV2ServiceAccountExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiDeleteIamV2ServiceAccountRequest) (*net_http.Response, error)

	GetIamV2ServiceAccountFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiGetIamV2ServiceAccountRequest

	GetIamV2ServiceAccountExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiGetIamV2ServiceAccountRequest) (github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.IamV2ServiceAccount, *net_http.Response, error)

	ListIamV2ServiceAccountsFunc func(ctx context.Context) github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiListIamV2ServiceAccountsRequest

	ListIamV2ServiceAccountsExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiListIamV2ServiceAccountsRequest) (github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.IamV2ServiceAccountList, *net_http.Response, error)

	UpdateIamV2ServiceAccountFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiUpdateIamV2ServiceAccountRequest

	UpdateIamV2ServiceAccountExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiUpdateIamV2ServiceAccountRequest) (github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.IamV2ServiceAccount, *net_http.Response, error)
	// contains filtered or unexported fields
}

ServiceAccountsIamV2Api is a mock of ServiceAccountsIamV2Api interface

func (*ServiceAccountsIamV2Api) CreateIamV2ServiceAccount

CreateIamV2ServiceAccount mocks base method by wrapping the associated func.

func (*ServiceAccountsIamV2Api) CreateIamV2ServiceAccountCalled

func (m *ServiceAccountsIamV2Api) CreateIamV2ServiceAccountCalled() bool

CreateIamV2ServiceAccountCalled returns true if CreateIamV2ServiceAccount was called at least once.

func (*ServiceAccountsIamV2Api) CreateIamV2ServiceAccountCalls

func (m *ServiceAccountsIamV2Api) CreateIamV2ServiceAccountCalls() []struct {
	Ctx context.Context
}

CreateIamV2ServiceAccountCalls returns the calls made to CreateIamV2ServiceAccount.

func (*ServiceAccountsIamV2Api) CreateIamV2ServiceAccountExecute

CreateIamV2ServiceAccountExecute mocks base method by wrapping the associated func.

func (*ServiceAccountsIamV2Api) CreateIamV2ServiceAccountExecuteCalled

func (m *ServiceAccountsIamV2Api) CreateIamV2ServiceAccountExecuteCalled() bool

CreateIamV2ServiceAccountExecuteCalled returns true if CreateIamV2ServiceAccountExecute was called at least once.

func (*ServiceAccountsIamV2Api) CreateIamV2ServiceAccountExecuteCalls

CreateIamV2ServiceAccountExecuteCalls returns the calls made to CreateIamV2ServiceAccountExecute.

func (*ServiceAccountsIamV2Api) DeleteIamV2ServiceAccount

DeleteIamV2ServiceAccount mocks base method by wrapping the associated func.

func (*ServiceAccountsIamV2Api) DeleteIamV2ServiceAccountCalled

func (m *ServiceAccountsIamV2Api) DeleteIamV2ServiceAccountCalled() bool

DeleteIamV2ServiceAccountCalled returns true if DeleteIamV2ServiceAccount was called at least once.

func (*ServiceAccountsIamV2Api) DeleteIamV2ServiceAccountCalls

func (m *ServiceAccountsIamV2Api) DeleteIamV2ServiceAccountCalls() []struct {
	Ctx context.Context
	Id  string
}

DeleteIamV2ServiceAccountCalls returns the calls made to DeleteIamV2ServiceAccount.

func (*ServiceAccountsIamV2Api) DeleteIamV2ServiceAccountExecute

DeleteIamV2ServiceAccountExecute mocks base method by wrapping the associated func.

func (*ServiceAccountsIamV2Api) DeleteIamV2ServiceAccountExecuteCalled

func (m *ServiceAccountsIamV2Api) DeleteIamV2ServiceAccountExecuteCalled() bool

DeleteIamV2ServiceAccountExecuteCalled returns true if DeleteIamV2ServiceAccountExecute was called at least once.

func (*ServiceAccountsIamV2Api) DeleteIamV2ServiceAccountExecuteCalls

DeleteIamV2ServiceAccountExecuteCalls returns the calls made to DeleteIamV2ServiceAccountExecute.

func (*ServiceAccountsIamV2Api) GetIamV2ServiceAccount

GetIamV2ServiceAccount mocks base method by wrapping the associated func.

func (*ServiceAccountsIamV2Api) GetIamV2ServiceAccountCalled

func (m *ServiceAccountsIamV2Api) GetIamV2ServiceAccountCalled() bool

GetIamV2ServiceAccountCalled returns true if GetIamV2ServiceAccount was called at least once.

func (*ServiceAccountsIamV2Api) GetIamV2ServiceAccountCalls

func (m *ServiceAccountsIamV2Api) GetIamV2ServiceAccountCalls() []struct {
	Ctx context.Context
	Id  string
}

GetIamV2ServiceAccountCalls returns the calls made to GetIamV2ServiceAccount.

func (*ServiceAccountsIamV2Api) GetIamV2ServiceAccountExecute

GetIamV2ServiceAccountExecute mocks base method by wrapping the associated func.

func (*ServiceAccountsIamV2Api) GetIamV2ServiceAccountExecuteCalled

func (m *ServiceAccountsIamV2Api) GetIamV2ServiceAccountExecuteCalled() bool

GetIamV2ServiceAccountExecuteCalled returns true if GetIamV2ServiceAccountExecute was called at least once.

func (*ServiceAccountsIamV2Api) GetIamV2ServiceAccountExecuteCalls

GetIamV2ServiceAccountExecuteCalls returns the calls made to GetIamV2ServiceAccountExecute.

func (*ServiceAccountsIamV2Api) ListIamV2ServiceAccounts

ListIamV2ServiceAccounts mocks base method by wrapping the associated func.

func (*ServiceAccountsIamV2Api) ListIamV2ServiceAccountsCalled

func (m *ServiceAccountsIamV2Api) ListIamV2ServiceAccountsCalled() bool

ListIamV2ServiceAccountsCalled returns true if ListIamV2ServiceAccounts was called at least once.

func (*ServiceAccountsIamV2Api) ListIamV2ServiceAccountsCalls

func (m *ServiceAccountsIamV2Api) ListIamV2ServiceAccountsCalls() []struct {
	Ctx context.Context
}

ListIamV2ServiceAccountsCalls returns the calls made to ListIamV2ServiceAccounts.

func (*ServiceAccountsIamV2Api) ListIamV2ServiceAccountsExecute

ListIamV2ServiceAccountsExecute mocks base method by wrapping the associated func.

func (*ServiceAccountsIamV2Api) ListIamV2ServiceAccountsExecuteCalled

func (m *ServiceAccountsIamV2Api) ListIamV2ServiceAccountsExecuteCalled() bool

ListIamV2ServiceAccountsExecuteCalled returns true if ListIamV2ServiceAccountsExecute was called at least once.

func (*ServiceAccountsIamV2Api) ListIamV2ServiceAccountsExecuteCalls

ListIamV2ServiceAccountsExecuteCalls returns the calls made to ListIamV2ServiceAccountsExecute.

func (*ServiceAccountsIamV2Api) Reset

func (m *ServiceAccountsIamV2Api) Reset()

Reset resets the calls made to the mocked methods.

func (*ServiceAccountsIamV2Api) UpdateIamV2ServiceAccount

UpdateIamV2ServiceAccount mocks base method by wrapping the associated func.

func (*ServiceAccountsIamV2Api) UpdateIamV2ServiceAccountCalled

func (m *ServiceAccountsIamV2Api) UpdateIamV2ServiceAccountCalled() bool

UpdateIamV2ServiceAccountCalled returns true if UpdateIamV2ServiceAccount was called at least once.

func (*ServiceAccountsIamV2Api) UpdateIamV2ServiceAccountCalls

func (m *ServiceAccountsIamV2Api) UpdateIamV2ServiceAccountCalls() []struct {
	Ctx context.Context
	Id  string
}

UpdateIamV2ServiceAccountCalls returns the calls made to UpdateIamV2ServiceAccount.

func (*ServiceAccountsIamV2Api) UpdateIamV2ServiceAccountExecute

UpdateIamV2ServiceAccountExecute mocks base method by wrapping the associated func.

func (*ServiceAccountsIamV2Api) UpdateIamV2ServiceAccountExecuteCalled

func (m *ServiceAccountsIamV2Api) UpdateIamV2ServiceAccountExecuteCalled() bool

UpdateIamV2ServiceAccountExecuteCalled returns true if UpdateIamV2ServiceAccountExecute was called at least once.

func (*ServiceAccountsIamV2Api) UpdateIamV2ServiceAccountExecuteCalls

UpdateIamV2ServiceAccountExecuteCalls returns the calls made to UpdateIamV2ServiceAccountExecute.

type UsersIamV2Api

UsersIamV2Api is a mock of UsersIamV2Api interface

func (*UsersIamV2Api) DeleteIamV2User

DeleteIamV2User mocks base method by wrapping the associated func.

func (*UsersIamV2Api) DeleteIamV2UserCalled

func (m *UsersIamV2Api) DeleteIamV2UserCalled() bool

DeleteIamV2UserCalled returns true if DeleteIamV2User was called at least once.

func (*UsersIamV2Api) DeleteIamV2UserCalls

func (m *UsersIamV2Api) DeleteIamV2UserCalls() []struct {
	Ctx context.Context
	Id  string
}

DeleteIamV2UserCalls returns the calls made to DeleteIamV2User.

func (*UsersIamV2Api) DeleteIamV2UserExecute

DeleteIamV2UserExecute mocks base method by wrapping the associated func.

func (*UsersIamV2Api) DeleteIamV2UserExecuteCalled

func (m *UsersIamV2Api) DeleteIamV2UserExecuteCalled() bool

DeleteIamV2UserExecuteCalled returns true if DeleteIamV2UserExecute was called at least once.

func (*UsersIamV2Api) DeleteIamV2UserExecuteCalls

func (m *UsersIamV2Api) DeleteIamV2UserExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiDeleteIamV2UserRequest
}

DeleteIamV2UserExecuteCalls returns the calls made to DeleteIamV2UserExecute.

func (*UsersIamV2Api) GetIamV2User

GetIamV2User mocks base method by wrapping the associated func.

func (*UsersIamV2Api) GetIamV2UserCalled

func (m *UsersIamV2Api) GetIamV2UserCalled() bool

GetIamV2UserCalled returns true if GetIamV2User was called at least once.

func (*UsersIamV2Api) GetIamV2UserCalls

func (m *UsersIamV2Api) GetIamV2UserCalls() []struct {
	Ctx context.Context
	Id  string
}

GetIamV2UserCalls returns the calls made to GetIamV2User.

func (*UsersIamV2Api) GetIamV2UserExecute

GetIamV2UserExecute mocks base method by wrapping the associated func.

func (*UsersIamV2Api) GetIamV2UserExecuteCalled

func (m *UsersIamV2Api) GetIamV2UserExecuteCalled() bool

GetIamV2UserExecuteCalled returns true if GetIamV2UserExecute was called at least once.

func (*UsersIamV2Api) GetIamV2UserExecuteCalls

func (m *UsersIamV2Api) GetIamV2UserExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiGetIamV2UserRequest
}

GetIamV2UserExecuteCalls returns the calls made to GetIamV2UserExecute.

func (*UsersIamV2Api) ListIamV2Users

ListIamV2Users mocks base method by wrapping the associated func.

func (*UsersIamV2Api) ListIamV2UsersCalled

func (m *UsersIamV2Api) ListIamV2UsersCalled() bool

ListIamV2UsersCalled returns true if ListIamV2Users was called at least once.

func (*UsersIamV2Api) ListIamV2UsersCalls

func (m *UsersIamV2Api) ListIamV2UsersCalls() []struct {
	Ctx context.Context
}

ListIamV2UsersCalls returns the calls made to ListIamV2Users.

func (*UsersIamV2Api) ListIamV2UsersExecute

ListIamV2UsersExecute mocks base method by wrapping the associated func.

func (*UsersIamV2Api) ListIamV2UsersExecuteCalled

func (m *UsersIamV2Api) ListIamV2UsersExecuteCalled() bool

ListIamV2UsersExecuteCalled returns true if ListIamV2UsersExecute was called at least once.

func (*UsersIamV2Api) ListIamV2UsersExecuteCalls

func (m *UsersIamV2Api) ListIamV2UsersExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiListIamV2UsersRequest
}

ListIamV2UsersExecuteCalls returns the calls made to ListIamV2UsersExecute.

func (*UsersIamV2Api) Reset

func (m *UsersIamV2Api) Reset()

Reset resets the calls made to the mocked methods.

func (*UsersIamV2Api) UpdateIamV2User

UpdateIamV2User mocks base method by wrapping the associated func.

func (*UsersIamV2Api) UpdateIamV2UserCalled

func (m *UsersIamV2Api) UpdateIamV2UserCalled() bool

UpdateIamV2UserCalled returns true if UpdateIamV2User was called at least once.

func (*UsersIamV2Api) UpdateIamV2UserCalls

func (m *UsersIamV2Api) UpdateIamV2UserCalls() []struct {
	Ctx context.Context
	Id  string
}

UpdateIamV2UserCalls returns the calls made to UpdateIamV2User.

func (*UsersIamV2Api) UpdateIamV2UserExecute

UpdateIamV2UserExecute mocks base method by wrapping the associated func.

func (*UsersIamV2Api) UpdateIamV2UserExecuteCalled

func (m *UsersIamV2Api) UpdateIamV2UserExecuteCalled() bool

UpdateIamV2UserExecuteCalled returns true if UpdateIamV2UserExecute was called at least once.

func (*UsersIamV2Api) UpdateIamV2UserExecuteCalls

func (m *UsersIamV2Api) UpdateIamV2UserExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_iam_v2.ApiUpdateIamV2UserRequest
}

UpdateIamV2UserExecuteCalls returns the calls made to UpdateIamV2UserExecute.

Jump to

Keyboard shortcuts

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