mock

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentityPoolsIamV2Api

type IdentityPoolsIamV2Api struct {
	CreateIamV2IdentityPoolFunc func(ctx context.Context, providerId string) github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiCreateIamV2IdentityPoolRequest

	CreateIamV2IdentityPoolExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiCreateIamV2IdentityPoolRequest) (github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.IamV2IdentityPool, *net_http.Response, error)

	DeleteIamV2IdentityPoolFunc func(ctx context.Context, providerId, id string) github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiDeleteIamV2IdentityPoolRequest

	DeleteIamV2IdentityPoolExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiDeleteIamV2IdentityPoolRequest) (*net_http.Response, error)

	GetIamV2IdentityPoolFunc func(ctx context.Context, providerId, id string) github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiGetIamV2IdentityPoolRequest

	GetIamV2IdentityPoolExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiGetIamV2IdentityPoolRequest) (github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.IamV2IdentityPool, *net_http.Response, error)

	ListIamV2IdentityPoolsFunc func(ctx context.Context, providerId string) github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiListIamV2IdentityPoolsRequest

	ListIamV2IdentityPoolsExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiListIamV2IdentityPoolsRequest) (github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.IamV2IdentityPoolList, *net_http.Response, error)

	UpdateIamV2IdentityPoolFunc func(ctx context.Context, providerId, id string) github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiUpdateIamV2IdentityPoolRequest

	UpdateIamV2IdentityPoolExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiUpdateIamV2IdentityPoolRequest) (github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.IamV2IdentityPool, *net_http.Response, error)
	// contains filtered or unexported fields
}

IdentityPoolsIamV2Api is a mock of IdentityPoolsIamV2Api interface

func (*IdentityPoolsIamV2Api) CreateIamV2IdentityPool

CreateIamV2IdentityPool mocks base method by wrapping the associated func.

func (*IdentityPoolsIamV2Api) CreateIamV2IdentityPoolCalled

func (m *IdentityPoolsIamV2Api) CreateIamV2IdentityPoolCalled() bool

CreateIamV2IdentityPoolCalled returns true if CreateIamV2IdentityPool was called at least once.

func (*IdentityPoolsIamV2Api) CreateIamV2IdentityPoolCalls

func (m *IdentityPoolsIamV2Api) CreateIamV2IdentityPoolCalls() []struct {
	Ctx        context.Context
	ProviderId string
}

CreateIamV2IdentityPoolCalls returns the calls made to CreateIamV2IdentityPool.

func (*IdentityPoolsIamV2Api) CreateIamV2IdentityPoolExecute

CreateIamV2IdentityPoolExecute mocks base method by wrapping the associated func.

func (*IdentityPoolsIamV2Api) CreateIamV2IdentityPoolExecuteCalled

func (m *IdentityPoolsIamV2Api) CreateIamV2IdentityPoolExecuteCalled() bool

CreateIamV2IdentityPoolExecuteCalled returns true if CreateIamV2IdentityPoolExecute was called at least once.

func (*IdentityPoolsIamV2Api) CreateIamV2IdentityPoolExecuteCalls

CreateIamV2IdentityPoolExecuteCalls returns the calls made to CreateIamV2IdentityPoolExecute.

func (*IdentityPoolsIamV2Api) DeleteIamV2IdentityPool

DeleteIamV2IdentityPool mocks base method by wrapping the associated func.

func (*IdentityPoolsIamV2Api) DeleteIamV2IdentityPoolCalled

func (m *IdentityPoolsIamV2Api) DeleteIamV2IdentityPoolCalled() bool

DeleteIamV2IdentityPoolCalled returns true if DeleteIamV2IdentityPool was called at least once.

func (*IdentityPoolsIamV2Api) DeleteIamV2IdentityPoolCalls

func (m *IdentityPoolsIamV2Api) DeleteIamV2IdentityPoolCalls() []struct {
	Ctx        context.Context
	ProviderId string
	Id         string
}

DeleteIamV2IdentityPoolCalls returns the calls made to DeleteIamV2IdentityPool.

func (*IdentityPoolsIamV2Api) DeleteIamV2IdentityPoolExecute

DeleteIamV2IdentityPoolExecute mocks base method by wrapping the associated func.

func (*IdentityPoolsIamV2Api) DeleteIamV2IdentityPoolExecuteCalled

func (m *IdentityPoolsIamV2Api) DeleteIamV2IdentityPoolExecuteCalled() bool

DeleteIamV2IdentityPoolExecuteCalled returns true if DeleteIamV2IdentityPoolExecute was called at least once.

func (*IdentityPoolsIamV2Api) DeleteIamV2IdentityPoolExecuteCalls

DeleteIamV2IdentityPoolExecuteCalls returns the calls made to DeleteIamV2IdentityPoolExecute.

func (*IdentityPoolsIamV2Api) GetIamV2IdentityPool

GetIamV2IdentityPool mocks base method by wrapping the associated func.

func (*IdentityPoolsIamV2Api) GetIamV2IdentityPoolCalled

func (m *IdentityPoolsIamV2Api) GetIamV2IdentityPoolCalled() bool

GetIamV2IdentityPoolCalled returns true if GetIamV2IdentityPool was called at least once.

func (*IdentityPoolsIamV2Api) GetIamV2IdentityPoolCalls

func (m *IdentityPoolsIamV2Api) GetIamV2IdentityPoolCalls() []struct {
	Ctx        context.Context
	ProviderId string
	Id         string
}

GetIamV2IdentityPoolCalls returns the calls made to GetIamV2IdentityPool.

func (*IdentityPoolsIamV2Api) GetIamV2IdentityPoolExecute

GetIamV2IdentityPoolExecute mocks base method by wrapping the associated func.

func (*IdentityPoolsIamV2Api) GetIamV2IdentityPoolExecuteCalled

func (m *IdentityPoolsIamV2Api) GetIamV2IdentityPoolExecuteCalled() bool

GetIamV2IdentityPoolExecuteCalled returns true if GetIamV2IdentityPoolExecute was called at least once.

func (*IdentityPoolsIamV2Api) GetIamV2IdentityPoolExecuteCalls

GetIamV2IdentityPoolExecuteCalls returns the calls made to GetIamV2IdentityPoolExecute.

func (*IdentityPoolsIamV2Api) ListIamV2IdentityPools

ListIamV2IdentityPools mocks base method by wrapping the associated func.

func (*IdentityPoolsIamV2Api) ListIamV2IdentityPoolsCalled

func (m *IdentityPoolsIamV2Api) ListIamV2IdentityPoolsCalled() bool

ListIamV2IdentityPoolsCalled returns true if ListIamV2IdentityPools was called at least once.

func (*IdentityPoolsIamV2Api) ListIamV2IdentityPoolsCalls

func (m *IdentityPoolsIamV2Api) ListIamV2IdentityPoolsCalls() []struct {
	Ctx        context.Context
	ProviderId string
}

ListIamV2IdentityPoolsCalls returns the calls made to ListIamV2IdentityPools.

func (*IdentityPoolsIamV2Api) ListIamV2IdentityPoolsExecute

ListIamV2IdentityPoolsExecute mocks base method by wrapping the associated func.

func (*IdentityPoolsIamV2Api) ListIamV2IdentityPoolsExecuteCalled

func (m *IdentityPoolsIamV2Api) ListIamV2IdentityPoolsExecuteCalled() bool

ListIamV2IdentityPoolsExecuteCalled returns true if ListIamV2IdentityPoolsExecute was called at least once.

func (*IdentityPoolsIamV2Api) ListIamV2IdentityPoolsExecuteCalls

ListIamV2IdentityPoolsExecuteCalls returns the calls made to ListIamV2IdentityPoolsExecute.

func (*IdentityPoolsIamV2Api) Reset

func (m *IdentityPoolsIamV2Api) Reset()

Reset resets the calls made to the mocked methods.

func (*IdentityPoolsIamV2Api) UpdateIamV2IdentityPool

UpdateIamV2IdentityPool mocks base method by wrapping the associated func.

func (*IdentityPoolsIamV2Api) UpdateIamV2IdentityPoolCalled

func (m *IdentityPoolsIamV2Api) UpdateIamV2IdentityPoolCalled() bool

UpdateIamV2IdentityPoolCalled returns true if UpdateIamV2IdentityPool was called at least once.

func (*IdentityPoolsIamV2Api) UpdateIamV2IdentityPoolCalls

func (m *IdentityPoolsIamV2Api) UpdateIamV2IdentityPoolCalls() []struct {
	Ctx        context.Context
	ProviderId string
	Id         string
}

UpdateIamV2IdentityPoolCalls returns the calls made to UpdateIamV2IdentityPool.

func (*IdentityPoolsIamV2Api) UpdateIamV2IdentityPoolExecute

UpdateIamV2IdentityPoolExecute mocks base method by wrapping the associated func.

func (*IdentityPoolsIamV2Api) UpdateIamV2IdentityPoolExecuteCalled

func (m *IdentityPoolsIamV2Api) UpdateIamV2IdentityPoolExecuteCalled() bool

UpdateIamV2IdentityPoolExecuteCalled returns true if UpdateIamV2IdentityPoolExecute was called at least once.

func (*IdentityPoolsIamV2Api) UpdateIamV2IdentityPoolExecuteCalls

UpdateIamV2IdentityPoolExecuteCalls returns the calls made to UpdateIamV2IdentityPoolExecute.

type IdentityProvidersIamV2Api

type IdentityProvidersIamV2Api struct {
	CreateIamV2IdentityProviderFunc func(ctx context.Context) github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiCreateIamV2IdentityProviderRequest

	CreateIamV2IdentityProviderExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiCreateIamV2IdentityProviderRequest) (github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.IamV2IdentityProvider, *net_http.Response, error)

	DeleteIamV2IdentityProviderFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiDeleteIamV2IdentityProviderRequest

	DeleteIamV2IdentityProviderExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiDeleteIamV2IdentityProviderRequest) (*net_http.Response, error)

	GetIamV2IdentityProviderFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiGetIamV2IdentityProviderRequest

	GetIamV2IdentityProviderExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiGetIamV2IdentityProviderRequest) (github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.IamV2IdentityProvider, *net_http.Response, error)

	ListIamV2IdentityProvidersFunc func(ctx context.Context) github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiListIamV2IdentityProvidersRequest

	ListIamV2IdentityProvidersExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiListIamV2IdentityProvidersRequest) (github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.IamV2IdentityProviderList, *net_http.Response, error)

	UpdateIamV2IdentityProviderFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiUpdateIamV2IdentityProviderRequest

	UpdateIamV2IdentityProviderExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.ApiUpdateIamV2IdentityProviderRequest) (github_com_confluentinc_ccloud_sdk_go_v2_identity_provider_v2.IamV2IdentityProvider, *net_http.Response, error)
	// contains filtered or unexported fields
}

IdentityProvidersIamV2Api is a mock of IdentityProvidersIamV2Api interface

func (*IdentityProvidersIamV2Api) CreateIamV2IdentityProvider

CreateIamV2IdentityProvider mocks base method by wrapping the associated func.

func (*IdentityProvidersIamV2Api) CreateIamV2IdentityProviderCalled

func (m *IdentityProvidersIamV2Api) CreateIamV2IdentityProviderCalled() bool

CreateIamV2IdentityProviderCalled returns true if CreateIamV2IdentityProvider was called at least once.

func (*IdentityProvidersIamV2Api) CreateIamV2IdentityProviderCalls

func (m *IdentityProvidersIamV2Api) CreateIamV2IdentityProviderCalls() []struct {
	Ctx context.Context
}

CreateIamV2IdentityProviderCalls returns the calls made to CreateIamV2IdentityProvider.

func (*IdentityProvidersIamV2Api) CreateIamV2IdentityProviderExecute

CreateIamV2IdentityProviderExecute mocks base method by wrapping the associated func.

func (*IdentityProvidersIamV2Api) CreateIamV2IdentityProviderExecuteCalled

func (m *IdentityProvidersIamV2Api) CreateIamV2IdentityProviderExecuteCalled() bool

CreateIamV2IdentityProviderExecuteCalled returns true if CreateIamV2IdentityProviderExecute was called at least once.

func (*IdentityProvidersIamV2Api) CreateIamV2IdentityProviderExecuteCalls

CreateIamV2IdentityProviderExecuteCalls returns the calls made to CreateIamV2IdentityProviderExecute.

func (*IdentityProvidersIamV2Api) DeleteIamV2IdentityProvider

DeleteIamV2IdentityProvider mocks base method by wrapping the associated func.

func (*IdentityProvidersIamV2Api) DeleteIamV2IdentityProviderCalled

func (m *IdentityProvidersIamV2Api) DeleteIamV2IdentityProviderCalled() bool

DeleteIamV2IdentityProviderCalled returns true if DeleteIamV2IdentityProvider was called at least once.

func (*IdentityProvidersIamV2Api) DeleteIamV2IdentityProviderCalls

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

DeleteIamV2IdentityProviderCalls returns the calls made to DeleteIamV2IdentityProvider.

func (*IdentityProvidersIamV2Api) DeleteIamV2IdentityProviderExecute

DeleteIamV2IdentityProviderExecute mocks base method by wrapping the associated func.

func (*IdentityProvidersIamV2Api) DeleteIamV2IdentityProviderExecuteCalled

func (m *IdentityProvidersIamV2Api) DeleteIamV2IdentityProviderExecuteCalled() bool

DeleteIamV2IdentityProviderExecuteCalled returns true if DeleteIamV2IdentityProviderExecute was called at least once.

func (*IdentityProvidersIamV2Api) DeleteIamV2IdentityProviderExecuteCalls

DeleteIamV2IdentityProviderExecuteCalls returns the calls made to DeleteIamV2IdentityProviderExecute.

func (*IdentityProvidersIamV2Api) GetIamV2IdentityProvider

GetIamV2IdentityProvider mocks base method by wrapping the associated func.

func (*IdentityProvidersIamV2Api) GetIamV2IdentityProviderCalled

func (m *IdentityProvidersIamV2Api) GetIamV2IdentityProviderCalled() bool

GetIamV2IdentityProviderCalled returns true if GetIamV2IdentityProvider was called at least once.

func (*IdentityProvidersIamV2Api) GetIamV2IdentityProviderCalls

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

GetIamV2IdentityProviderCalls returns the calls made to GetIamV2IdentityProvider.

func (*IdentityProvidersIamV2Api) GetIamV2IdentityProviderExecute

GetIamV2IdentityProviderExecute mocks base method by wrapping the associated func.

func (*IdentityProvidersIamV2Api) GetIamV2IdentityProviderExecuteCalled

func (m *IdentityProvidersIamV2Api) GetIamV2IdentityProviderExecuteCalled() bool

GetIamV2IdentityProviderExecuteCalled returns true if GetIamV2IdentityProviderExecute was called at least once.

func (*IdentityProvidersIamV2Api) GetIamV2IdentityProviderExecuteCalls

GetIamV2IdentityProviderExecuteCalls returns the calls made to GetIamV2IdentityProviderExecute.

func (*IdentityProvidersIamV2Api) ListIamV2IdentityProviders

ListIamV2IdentityProviders mocks base method by wrapping the associated func.

func (*IdentityProvidersIamV2Api) ListIamV2IdentityProvidersCalled

func (m *IdentityProvidersIamV2Api) ListIamV2IdentityProvidersCalled() bool

ListIamV2IdentityProvidersCalled returns true if ListIamV2IdentityProviders was called at least once.

func (*IdentityProvidersIamV2Api) ListIamV2IdentityProvidersCalls

func (m *IdentityProvidersIamV2Api) ListIamV2IdentityProvidersCalls() []struct {
	Ctx context.Context
}

ListIamV2IdentityProvidersCalls returns the calls made to ListIamV2IdentityProviders.

func (*IdentityProvidersIamV2Api) ListIamV2IdentityProvidersExecute

ListIamV2IdentityProvidersExecute mocks base method by wrapping the associated func.

func (*IdentityProvidersIamV2Api) ListIamV2IdentityProvidersExecuteCalled

func (m *IdentityProvidersIamV2Api) ListIamV2IdentityProvidersExecuteCalled() bool

ListIamV2IdentityProvidersExecuteCalled returns true if ListIamV2IdentityProvidersExecute was called at least once.

func (*IdentityProvidersIamV2Api) ListIamV2IdentityProvidersExecuteCalls

ListIamV2IdentityProvidersExecuteCalls returns the calls made to ListIamV2IdentityProvidersExecute.

func (*IdentityProvidersIamV2Api) Reset

func (m *IdentityProvidersIamV2Api) Reset()

Reset resets the calls made to the mocked methods.

func (*IdentityProvidersIamV2Api) UpdateIamV2IdentityProvider

UpdateIamV2IdentityProvider mocks base method by wrapping the associated func.

func (*IdentityProvidersIamV2Api) UpdateIamV2IdentityProviderCalled

func (m *IdentityProvidersIamV2Api) UpdateIamV2IdentityProviderCalled() bool

UpdateIamV2IdentityProviderCalled returns true if UpdateIamV2IdentityProvider was called at least once.

func (*IdentityProvidersIamV2Api) UpdateIamV2IdentityProviderCalls

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

UpdateIamV2IdentityProviderCalls returns the calls made to UpdateIamV2IdentityProvider.

func (*IdentityProvidersIamV2Api) UpdateIamV2IdentityProviderExecute

UpdateIamV2IdentityProviderExecute mocks base method by wrapping the associated func.

func (*IdentityProvidersIamV2Api) UpdateIamV2IdentityProviderExecuteCalled

func (m *IdentityProvidersIamV2Api) UpdateIamV2IdentityProviderExecuteCalled() bool

UpdateIamV2IdentityProviderExecuteCalled returns true if UpdateIamV2IdentityProviderExecute was called at least once.

func (*IdentityProvidersIamV2Api) UpdateIamV2IdentityProviderExecuteCalls

UpdateIamV2IdentityProviderExecuteCalls returns the calls made to UpdateIamV2IdentityProviderExecute.

Jump to

Keyboard shortcuts

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