mock

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 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 ClustersCmkV2Api

type ClustersCmkV2Api struct {
	CreateCmkV2ClusterFunc func(ctx context.Context) github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiCreateCmkV2ClusterRequest

	CreateCmkV2ClusterExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiCreateCmkV2ClusterRequest) (github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.CmkV2Cluster, *net_http.Response, error)

	DeleteCmkV2ClusterFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiDeleteCmkV2ClusterRequest

	DeleteCmkV2ClusterExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiDeleteCmkV2ClusterRequest) (*net_http.Response, error)

	GetCmkV2ClusterFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiGetCmkV2ClusterRequest

	GetCmkV2ClusterExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiGetCmkV2ClusterRequest) (github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.CmkV2Cluster, *net_http.Response, error)

	ListCmkV2ClustersFunc func(ctx context.Context) github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiListCmkV2ClustersRequest

	ListCmkV2ClustersExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiListCmkV2ClustersRequest) (github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.CmkV2ClusterList, *net_http.Response, error)

	UpdateCmkV2ClusterFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiUpdateCmkV2ClusterRequest

	UpdateCmkV2ClusterExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiUpdateCmkV2ClusterRequest) (github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.CmkV2Cluster, *net_http.Response, error)
	// contains filtered or unexported fields
}

ClustersCmkV2Api is a mock of ClustersCmkV2Api interface

func (*ClustersCmkV2Api) CreateCmkV2Cluster

CreateCmkV2Cluster mocks base method by wrapping the associated func.

func (*ClustersCmkV2Api) CreateCmkV2ClusterCalled

func (m *ClustersCmkV2Api) CreateCmkV2ClusterCalled() bool

CreateCmkV2ClusterCalled returns true if CreateCmkV2Cluster was called at least once.

func (*ClustersCmkV2Api) CreateCmkV2ClusterCalls

func (m *ClustersCmkV2Api) CreateCmkV2ClusterCalls() []struct {
	Ctx context.Context
}

CreateCmkV2ClusterCalls returns the calls made to CreateCmkV2Cluster.

func (*ClustersCmkV2Api) CreateCmkV2ClusterExecute

CreateCmkV2ClusterExecute mocks base method by wrapping the associated func.

func (*ClustersCmkV2Api) CreateCmkV2ClusterExecuteCalled

func (m *ClustersCmkV2Api) CreateCmkV2ClusterExecuteCalled() bool

CreateCmkV2ClusterExecuteCalled returns true if CreateCmkV2ClusterExecute was called at least once.

func (*ClustersCmkV2Api) CreateCmkV2ClusterExecuteCalls

func (m *ClustersCmkV2Api) CreateCmkV2ClusterExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiCreateCmkV2ClusterRequest
}

CreateCmkV2ClusterExecuteCalls returns the calls made to CreateCmkV2ClusterExecute.

func (*ClustersCmkV2Api) DeleteCmkV2Cluster

DeleteCmkV2Cluster mocks base method by wrapping the associated func.

func (*ClustersCmkV2Api) DeleteCmkV2ClusterCalled

func (m *ClustersCmkV2Api) DeleteCmkV2ClusterCalled() bool

DeleteCmkV2ClusterCalled returns true if DeleteCmkV2Cluster was called at least once.

func (*ClustersCmkV2Api) DeleteCmkV2ClusterCalls

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

DeleteCmkV2ClusterCalls returns the calls made to DeleteCmkV2Cluster.

func (*ClustersCmkV2Api) DeleteCmkV2ClusterExecute

DeleteCmkV2ClusterExecute mocks base method by wrapping the associated func.

func (*ClustersCmkV2Api) DeleteCmkV2ClusterExecuteCalled

func (m *ClustersCmkV2Api) DeleteCmkV2ClusterExecuteCalled() bool

DeleteCmkV2ClusterExecuteCalled returns true if DeleteCmkV2ClusterExecute was called at least once.

func (*ClustersCmkV2Api) DeleteCmkV2ClusterExecuteCalls

func (m *ClustersCmkV2Api) DeleteCmkV2ClusterExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiDeleteCmkV2ClusterRequest
}

DeleteCmkV2ClusterExecuteCalls returns the calls made to DeleteCmkV2ClusterExecute.

func (*ClustersCmkV2Api) GetCmkV2Cluster

GetCmkV2Cluster mocks base method by wrapping the associated func.

func (*ClustersCmkV2Api) GetCmkV2ClusterCalled

func (m *ClustersCmkV2Api) GetCmkV2ClusterCalled() bool

GetCmkV2ClusterCalled returns true if GetCmkV2Cluster was called at least once.

func (*ClustersCmkV2Api) GetCmkV2ClusterCalls

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

GetCmkV2ClusterCalls returns the calls made to GetCmkV2Cluster.

func (*ClustersCmkV2Api) GetCmkV2ClusterExecute

GetCmkV2ClusterExecute mocks base method by wrapping the associated func.

func (*ClustersCmkV2Api) GetCmkV2ClusterExecuteCalled

func (m *ClustersCmkV2Api) GetCmkV2ClusterExecuteCalled() bool

GetCmkV2ClusterExecuteCalled returns true if GetCmkV2ClusterExecute was called at least once.

func (*ClustersCmkV2Api) GetCmkV2ClusterExecuteCalls

func (m *ClustersCmkV2Api) GetCmkV2ClusterExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiGetCmkV2ClusterRequest
}

GetCmkV2ClusterExecuteCalls returns the calls made to GetCmkV2ClusterExecute.

func (*ClustersCmkV2Api) ListCmkV2Clusters

ListCmkV2Clusters mocks base method by wrapping the associated func.

func (*ClustersCmkV2Api) ListCmkV2ClustersCalled

func (m *ClustersCmkV2Api) ListCmkV2ClustersCalled() bool

ListCmkV2ClustersCalled returns true if ListCmkV2Clusters was called at least once.

func (*ClustersCmkV2Api) ListCmkV2ClustersCalls

func (m *ClustersCmkV2Api) ListCmkV2ClustersCalls() []struct {
	Ctx context.Context
}

ListCmkV2ClustersCalls returns the calls made to ListCmkV2Clusters.

func (*ClustersCmkV2Api) ListCmkV2ClustersExecute

ListCmkV2ClustersExecute mocks base method by wrapping the associated func.

func (*ClustersCmkV2Api) ListCmkV2ClustersExecuteCalled

func (m *ClustersCmkV2Api) ListCmkV2ClustersExecuteCalled() bool

ListCmkV2ClustersExecuteCalled returns true if ListCmkV2ClustersExecute was called at least once.

func (*ClustersCmkV2Api) ListCmkV2ClustersExecuteCalls

func (m *ClustersCmkV2Api) ListCmkV2ClustersExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiListCmkV2ClustersRequest
}

ListCmkV2ClustersExecuteCalls returns the calls made to ListCmkV2ClustersExecute.

func (*ClustersCmkV2Api) Reset

func (m *ClustersCmkV2Api) Reset()

Reset resets the calls made to the mocked methods.

func (*ClustersCmkV2Api) UpdateCmkV2Cluster

UpdateCmkV2Cluster mocks base method by wrapping the associated func.

func (*ClustersCmkV2Api) UpdateCmkV2ClusterCalled

func (m *ClustersCmkV2Api) UpdateCmkV2ClusterCalled() bool

UpdateCmkV2ClusterCalled returns true if UpdateCmkV2Cluster was called at least once.

func (*ClustersCmkV2Api) UpdateCmkV2ClusterCalls

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

UpdateCmkV2ClusterCalls returns the calls made to UpdateCmkV2Cluster.

func (*ClustersCmkV2Api) UpdateCmkV2ClusterExecute

UpdateCmkV2ClusterExecute mocks base method by wrapping the associated func.

func (*ClustersCmkV2Api) UpdateCmkV2ClusterExecuteCalled

func (m *ClustersCmkV2Api) UpdateCmkV2ClusterExecuteCalled() bool

UpdateCmkV2ClusterExecuteCalled returns true if UpdateCmkV2ClusterExecute was called at least once.

func (*ClustersCmkV2Api) UpdateCmkV2ClusterExecuteCalls

func (m *ClustersCmkV2Api) UpdateCmkV2ClusterExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_cmk_v2.ApiUpdateCmkV2ClusterRequest
}

UpdateCmkV2ClusterExecuteCalls returns the calls made to UpdateCmkV2ClusterExecute.

Jump to

Keyboard shortcuts

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