mock

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 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 ClustersSrcmV2Api

type ClustersSrcmV2Api struct {
	CreateSrcmV2ClusterFunc func(ctx context.Context) github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiCreateSrcmV2ClusterRequest

	CreateSrcmV2ClusterExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiCreateSrcmV2ClusterRequest) (github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.SrcmV2Cluster, *net_http.Response, error)

	DeleteSrcmV2ClusterFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiDeleteSrcmV2ClusterRequest

	DeleteSrcmV2ClusterExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiDeleteSrcmV2ClusterRequest) (*net_http.Response, error)

	GetSrcmV2ClusterFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiGetSrcmV2ClusterRequest

	GetSrcmV2ClusterExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiGetSrcmV2ClusterRequest) (github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.SrcmV2Cluster, *net_http.Response, error)

	ListSrcmV2ClustersFunc func(ctx context.Context) github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiListSrcmV2ClustersRequest

	ListSrcmV2ClustersExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiListSrcmV2ClustersRequest) (github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.SrcmV2ClusterList, *net_http.Response, error)

	UpdateSrcmV2ClusterFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiUpdateSrcmV2ClusterRequest

	UpdateSrcmV2ClusterExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiUpdateSrcmV2ClusterRequest) (github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.SrcmV2Cluster, *net_http.Response, error)
	// contains filtered or unexported fields
}

ClustersSrcmV2Api is a mock of ClustersSrcmV2Api interface

func (*ClustersSrcmV2Api) CreateSrcmV2Cluster

CreateSrcmV2Cluster mocks base method by wrapping the associated func.

func (*ClustersSrcmV2Api) CreateSrcmV2ClusterCalled

func (m *ClustersSrcmV2Api) CreateSrcmV2ClusterCalled() bool

CreateSrcmV2ClusterCalled returns true if CreateSrcmV2Cluster was called at least once.

func (*ClustersSrcmV2Api) CreateSrcmV2ClusterCalls

func (m *ClustersSrcmV2Api) CreateSrcmV2ClusterCalls() []struct {
	Ctx context.Context
}

CreateSrcmV2ClusterCalls returns the calls made to CreateSrcmV2Cluster.

func (*ClustersSrcmV2Api) CreateSrcmV2ClusterExecute

CreateSrcmV2ClusterExecute mocks base method by wrapping the associated func.

func (*ClustersSrcmV2Api) CreateSrcmV2ClusterExecuteCalled

func (m *ClustersSrcmV2Api) CreateSrcmV2ClusterExecuteCalled() bool

CreateSrcmV2ClusterExecuteCalled returns true if CreateSrcmV2ClusterExecute was called at least once.

func (*ClustersSrcmV2Api) CreateSrcmV2ClusterExecuteCalls

func (m *ClustersSrcmV2Api) CreateSrcmV2ClusterExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiCreateSrcmV2ClusterRequest
}

CreateSrcmV2ClusterExecuteCalls returns the calls made to CreateSrcmV2ClusterExecute.

func (*ClustersSrcmV2Api) DeleteSrcmV2Cluster

DeleteSrcmV2Cluster mocks base method by wrapping the associated func.

func (*ClustersSrcmV2Api) DeleteSrcmV2ClusterCalled

func (m *ClustersSrcmV2Api) DeleteSrcmV2ClusterCalled() bool

DeleteSrcmV2ClusterCalled returns true if DeleteSrcmV2Cluster was called at least once.

func (*ClustersSrcmV2Api) DeleteSrcmV2ClusterCalls

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

DeleteSrcmV2ClusterCalls returns the calls made to DeleteSrcmV2Cluster.

func (*ClustersSrcmV2Api) DeleteSrcmV2ClusterExecute

DeleteSrcmV2ClusterExecute mocks base method by wrapping the associated func.

func (*ClustersSrcmV2Api) DeleteSrcmV2ClusterExecuteCalled

func (m *ClustersSrcmV2Api) DeleteSrcmV2ClusterExecuteCalled() bool

DeleteSrcmV2ClusterExecuteCalled returns true if DeleteSrcmV2ClusterExecute was called at least once.

func (*ClustersSrcmV2Api) DeleteSrcmV2ClusterExecuteCalls

func (m *ClustersSrcmV2Api) DeleteSrcmV2ClusterExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiDeleteSrcmV2ClusterRequest
}

DeleteSrcmV2ClusterExecuteCalls returns the calls made to DeleteSrcmV2ClusterExecute.

func (*ClustersSrcmV2Api) GetSrcmV2Cluster

GetSrcmV2Cluster mocks base method by wrapping the associated func.

func (*ClustersSrcmV2Api) GetSrcmV2ClusterCalled

func (m *ClustersSrcmV2Api) GetSrcmV2ClusterCalled() bool

GetSrcmV2ClusterCalled returns true if GetSrcmV2Cluster was called at least once.

func (*ClustersSrcmV2Api) GetSrcmV2ClusterCalls

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

GetSrcmV2ClusterCalls returns the calls made to GetSrcmV2Cluster.

func (*ClustersSrcmV2Api) GetSrcmV2ClusterExecute

GetSrcmV2ClusterExecute mocks base method by wrapping the associated func.

func (*ClustersSrcmV2Api) GetSrcmV2ClusterExecuteCalled

func (m *ClustersSrcmV2Api) GetSrcmV2ClusterExecuteCalled() bool

GetSrcmV2ClusterExecuteCalled returns true if GetSrcmV2ClusterExecute was called at least once.

func (*ClustersSrcmV2Api) GetSrcmV2ClusterExecuteCalls

GetSrcmV2ClusterExecuteCalls returns the calls made to GetSrcmV2ClusterExecute.

func (*ClustersSrcmV2Api) ListSrcmV2Clusters

ListSrcmV2Clusters mocks base method by wrapping the associated func.

func (*ClustersSrcmV2Api) ListSrcmV2ClustersCalled

func (m *ClustersSrcmV2Api) ListSrcmV2ClustersCalled() bool

ListSrcmV2ClustersCalled returns true if ListSrcmV2Clusters was called at least once.

func (*ClustersSrcmV2Api) ListSrcmV2ClustersCalls

func (m *ClustersSrcmV2Api) ListSrcmV2ClustersCalls() []struct {
	Ctx context.Context
}

ListSrcmV2ClustersCalls returns the calls made to ListSrcmV2Clusters.

func (*ClustersSrcmV2Api) ListSrcmV2ClustersExecute

ListSrcmV2ClustersExecute mocks base method by wrapping the associated func.

func (*ClustersSrcmV2Api) ListSrcmV2ClustersExecuteCalled

func (m *ClustersSrcmV2Api) ListSrcmV2ClustersExecuteCalled() bool

ListSrcmV2ClustersExecuteCalled returns true if ListSrcmV2ClustersExecute was called at least once.

func (*ClustersSrcmV2Api) ListSrcmV2ClustersExecuteCalls

func (m *ClustersSrcmV2Api) ListSrcmV2ClustersExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiListSrcmV2ClustersRequest
}

ListSrcmV2ClustersExecuteCalls returns the calls made to ListSrcmV2ClustersExecute.

func (*ClustersSrcmV2Api) Reset

func (m *ClustersSrcmV2Api) Reset()

Reset resets the calls made to the mocked methods.

func (*ClustersSrcmV2Api) UpdateSrcmV2Cluster

UpdateSrcmV2Cluster mocks base method by wrapping the associated func.

func (*ClustersSrcmV2Api) UpdateSrcmV2ClusterCalled

func (m *ClustersSrcmV2Api) UpdateSrcmV2ClusterCalled() bool

UpdateSrcmV2ClusterCalled returns true if UpdateSrcmV2Cluster was called at least once.

func (*ClustersSrcmV2Api) UpdateSrcmV2ClusterCalls

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

UpdateSrcmV2ClusterCalls returns the calls made to UpdateSrcmV2Cluster.

func (*ClustersSrcmV2Api) UpdateSrcmV2ClusterExecute

UpdateSrcmV2ClusterExecute mocks base method by wrapping the associated func.

func (*ClustersSrcmV2Api) UpdateSrcmV2ClusterExecuteCalled

func (m *ClustersSrcmV2Api) UpdateSrcmV2ClusterExecuteCalled() bool

UpdateSrcmV2ClusterExecuteCalled returns true if UpdateSrcmV2ClusterExecute was called at least once.

func (*ClustersSrcmV2Api) UpdateSrcmV2ClusterExecuteCalls

func (m *ClustersSrcmV2Api) UpdateSrcmV2ClusterExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiUpdateSrcmV2ClusterRequest
}

UpdateSrcmV2ClusterExecuteCalls returns the calls made to UpdateSrcmV2ClusterExecute.

type RegionsSrcmV2Api

RegionsSrcmV2Api is a mock of RegionsSrcmV2Api interface

func (*RegionsSrcmV2Api) GetSrcmV2Region

GetSrcmV2Region mocks base method by wrapping the associated func.

func (*RegionsSrcmV2Api) GetSrcmV2RegionCalled

func (m *RegionsSrcmV2Api) GetSrcmV2RegionCalled() bool

GetSrcmV2RegionCalled returns true if GetSrcmV2Region was called at least once.

func (*RegionsSrcmV2Api) GetSrcmV2RegionCalls

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

GetSrcmV2RegionCalls returns the calls made to GetSrcmV2Region.

func (*RegionsSrcmV2Api) GetSrcmV2RegionExecute

GetSrcmV2RegionExecute mocks base method by wrapping the associated func.

func (*RegionsSrcmV2Api) GetSrcmV2RegionExecuteCalled

func (m *RegionsSrcmV2Api) GetSrcmV2RegionExecuteCalled() bool

GetSrcmV2RegionExecuteCalled returns true if GetSrcmV2RegionExecute was called at least once.

func (*RegionsSrcmV2Api) GetSrcmV2RegionExecuteCalls

GetSrcmV2RegionExecuteCalls returns the calls made to GetSrcmV2RegionExecute.

func (*RegionsSrcmV2Api) ListSrcmV2Regions

ListSrcmV2Regions mocks base method by wrapping the associated func.

func (*RegionsSrcmV2Api) ListSrcmV2RegionsCalled

func (m *RegionsSrcmV2Api) ListSrcmV2RegionsCalled() bool

ListSrcmV2RegionsCalled returns true if ListSrcmV2Regions was called at least once.

func (*RegionsSrcmV2Api) ListSrcmV2RegionsCalls

func (m *RegionsSrcmV2Api) ListSrcmV2RegionsCalls() []struct {
	Ctx context.Context
}

ListSrcmV2RegionsCalls returns the calls made to ListSrcmV2Regions.

func (*RegionsSrcmV2Api) ListSrcmV2RegionsExecute

ListSrcmV2RegionsExecute mocks base method by wrapping the associated func.

func (*RegionsSrcmV2Api) ListSrcmV2RegionsExecuteCalled

func (m *RegionsSrcmV2Api) ListSrcmV2RegionsExecuteCalled() bool

ListSrcmV2RegionsExecuteCalled returns true if ListSrcmV2RegionsExecute was called at least once.

func (*RegionsSrcmV2Api) ListSrcmV2RegionsExecuteCalls

func (m *RegionsSrcmV2Api) ListSrcmV2RegionsExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_srcm_v2.ApiListSrcmV2RegionsRequest
}

ListSrcmV2RegionsExecuteCalls returns the calls made to ListSrcmV2RegionsExecute.

func (*RegionsSrcmV2Api) Reset

func (m *RegionsSrcmV2Api) Reset()

Reset resets the calls made to the mocked methods.

Jump to

Keyboard shortcuts

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