mock

package
v0.9.0 Latest Latest
Warning

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

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

type EnvironmentsOrgV2Api struct {
	CreateOrgV2EnvironmentFunc func(ctx context.Context) github_com_confluentinc_ccloud_sdk_go_v2_org_v2.ApiCreateOrgV2EnvironmentRequest

	CreateOrgV2EnvironmentExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_org_v2.ApiCreateOrgV2EnvironmentRequest) (github_com_confluentinc_ccloud_sdk_go_v2_org_v2.OrgV2Environment, *net_http.Response, error)

	DeleteOrgV2EnvironmentFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_org_v2.ApiDeleteOrgV2EnvironmentRequest

	DeleteOrgV2EnvironmentExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_org_v2.ApiDeleteOrgV2EnvironmentRequest) (*net_http.Response, error)

	GetOrgV2EnvironmentFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_org_v2.ApiGetOrgV2EnvironmentRequest

	GetOrgV2EnvironmentExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_org_v2.ApiGetOrgV2EnvironmentRequest) (github_com_confluentinc_ccloud_sdk_go_v2_org_v2.OrgV2Environment, *net_http.Response, error)

	ListOrgV2EnvironmentsFunc func(ctx context.Context) github_com_confluentinc_ccloud_sdk_go_v2_org_v2.ApiListOrgV2EnvironmentsRequest

	ListOrgV2EnvironmentsExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_org_v2.ApiListOrgV2EnvironmentsRequest) (github_com_confluentinc_ccloud_sdk_go_v2_org_v2.OrgV2EnvironmentList, *net_http.Response, error)

	UpdateOrgV2EnvironmentFunc func(ctx context.Context, id string) github_com_confluentinc_ccloud_sdk_go_v2_org_v2.ApiUpdateOrgV2EnvironmentRequest

	UpdateOrgV2EnvironmentExecuteFunc func(r github_com_confluentinc_ccloud_sdk_go_v2_org_v2.ApiUpdateOrgV2EnvironmentRequest) (github_com_confluentinc_ccloud_sdk_go_v2_org_v2.OrgV2Environment, *net_http.Response, error)
	// contains filtered or unexported fields
}

EnvironmentsOrgV2Api is a mock of EnvironmentsOrgV2Api interface

func (*EnvironmentsOrgV2Api) CreateOrgV2Environment

CreateOrgV2Environment mocks base method by wrapping the associated func.

func (*EnvironmentsOrgV2Api) CreateOrgV2EnvironmentCalled

func (m *EnvironmentsOrgV2Api) CreateOrgV2EnvironmentCalled() bool

CreateOrgV2EnvironmentCalled returns true if CreateOrgV2Environment was called at least once.

func (*EnvironmentsOrgV2Api) CreateOrgV2EnvironmentCalls

func (m *EnvironmentsOrgV2Api) CreateOrgV2EnvironmentCalls() []struct {
	Ctx context.Context
}

CreateOrgV2EnvironmentCalls returns the calls made to CreateOrgV2Environment.

func (*EnvironmentsOrgV2Api) CreateOrgV2EnvironmentExecute

CreateOrgV2EnvironmentExecute mocks base method by wrapping the associated func.

func (*EnvironmentsOrgV2Api) CreateOrgV2EnvironmentExecuteCalled

func (m *EnvironmentsOrgV2Api) CreateOrgV2EnvironmentExecuteCalled() bool

CreateOrgV2EnvironmentExecuteCalled returns true if CreateOrgV2EnvironmentExecute was called at least once.

func (*EnvironmentsOrgV2Api) CreateOrgV2EnvironmentExecuteCalls

func (m *EnvironmentsOrgV2Api) CreateOrgV2EnvironmentExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_org_v2.ApiCreateOrgV2EnvironmentRequest
}

CreateOrgV2EnvironmentExecuteCalls returns the calls made to CreateOrgV2EnvironmentExecute.

func (*EnvironmentsOrgV2Api) DeleteOrgV2Environment

DeleteOrgV2Environment mocks base method by wrapping the associated func.

func (*EnvironmentsOrgV2Api) DeleteOrgV2EnvironmentCalled

func (m *EnvironmentsOrgV2Api) DeleteOrgV2EnvironmentCalled() bool

DeleteOrgV2EnvironmentCalled returns true if DeleteOrgV2Environment was called at least once.

func (*EnvironmentsOrgV2Api) DeleteOrgV2EnvironmentCalls

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

DeleteOrgV2EnvironmentCalls returns the calls made to DeleteOrgV2Environment.

func (*EnvironmentsOrgV2Api) DeleteOrgV2EnvironmentExecute

DeleteOrgV2EnvironmentExecute mocks base method by wrapping the associated func.

func (*EnvironmentsOrgV2Api) DeleteOrgV2EnvironmentExecuteCalled

func (m *EnvironmentsOrgV2Api) DeleteOrgV2EnvironmentExecuteCalled() bool

DeleteOrgV2EnvironmentExecuteCalled returns true if DeleteOrgV2EnvironmentExecute was called at least once.

func (*EnvironmentsOrgV2Api) DeleteOrgV2EnvironmentExecuteCalls

func (m *EnvironmentsOrgV2Api) DeleteOrgV2EnvironmentExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_org_v2.ApiDeleteOrgV2EnvironmentRequest
}

DeleteOrgV2EnvironmentExecuteCalls returns the calls made to DeleteOrgV2EnvironmentExecute.

func (*EnvironmentsOrgV2Api) GetOrgV2Environment

GetOrgV2Environment mocks base method by wrapping the associated func.

func (*EnvironmentsOrgV2Api) GetOrgV2EnvironmentCalled

func (m *EnvironmentsOrgV2Api) GetOrgV2EnvironmentCalled() bool

GetOrgV2EnvironmentCalled returns true if GetOrgV2Environment was called at least once.

func (*EnvironmentsOrgV2Api) GetOrgV2EnvironmentCalls

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

GetOrgV2EnvironmentCalls returns the calls made to GetOrgV2Environment.

func (*EnvironmentsOrgV2Api) GetOrgV2EnvironmentExecute

GetOrgV2EnvironmentExecute mocks base method by wrapping the associated func.

func (*EnvironmentsOrgV2Api) GetOrgV2EnvironmentExecuteCalled

func (m *EnvironmentsOrgV2Api) GetOrgV2EnvironmentExecuteCalled() bool

GetOrgV2EnvironmentExecuteCalled returns true if GetOrgV2EnvironmentExecute was called at least once.

func (*EnvironmentsOrgV2Api) GetOrgV2EnvironmentExecuteCalls

GetOrgV2EnvironmentExecuteCalls returns the calls made to GetOrgV2EnvironmentExecute.

func (*EnvironmentsOrgV2Api) ListOrgV2Environments

ListOrgV2Environments mocks base method by wrapping the associated func.

func (*EnvironmentsOrgV2Api) ListOrgV2EnvironmentsCalled

func (m *EnvironmentsOrgV2Api) ListOrgV2EnvironmentsCalled() bool

ListOrgV2EnvironmentsCalled returns true if ListOrgV2Environments was called at least once.

func (*EnvironmentsOrgV2Api) ListOrgV2EnvironmentsCalls

func (m *EnvironmentsOrgV2Api) ListOrgV2EnvironmentsCalls() []struct {
	Ctx context.Context
}

ListOrgV2EnvironmentsCalls returns the calls made to ListOrgV2Environments.

func (*EnvironmentsOrgV2Api) ListOrgV2EnvironmentsExecute

ListOrgV2EnvironmentsExecute mocks base method by wrapping the associated func.

func (*EnvironmentsOrgV2Api) ListOrgV2EnvironmentsExecuteCalled

func (m *EnvironmentsOrgV2Api) ListOrgV2EnvironmentsExecuteCalled() bool

ListOrgV2EnvironmentsExecuteCalled returns true if ListOrgV2EnvironmentsExecute was called at least once.

func (*EnvironmentsOrgV2Api) ListOrgV2EnvironmentsExecuteCalls

ListOrgV2EnvironmentsExecuteCalls returns the calls made to ListOrgV2EnvironmentsExecute.

func (*EnvironmentsOrgV2Api) Reset

func (m *EnvironmentsOrgV2Api) Reset()

Reset resets the calls made to the mocked methods.

func (*EnvironmentsOrgV2Api) UpdateOrgV2Environment

UpdateOrgV2Environment mocks base method by wrapping the associated func.

func (*EnvironmentsOrgV2Api) UpdateOrgV2EnvironmentCalled

func (m *EnvironmentsOrgV2Api) UpdateOrgV2EnvironmentCalled() bool

UpdateOrgV2EnvironmentCalled returns true if UpdateOrgV2Environment was called at least once.

func (*EnvironmentsOrgV2Api) UpdateOrgV2EnvironmentCalls

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

UpdateOrgV2EnvironmentCalls returns the calls made to UpdateOrgV2Environment.

func (*EnvironmentsOrgV2Api) UpdateOrgV2EnvironmentExecute

UpdateOrgV2EnvironmentExecute mocks base method by wrapping the associated func.

func (*EnvironmentsOrgV2Api) UpdateOrgV2EnvironmentExecuteCalled

func (m *EnvironmentsOrgV2Api) UpdateOrgV2EnvironmentExecuteCalled() bool

UpdateOrgV2EnvironmentExecuteCalled returns true if UpdateOrgV2EnvironmentExecute was called at least once.

func (*EnvironmentsOrgV2Api) UpdateOrgV2EnvironmentExecuteCalls

func (m *EnvironmentsOrgV2Api) UpdateOrgV2EnvironmentExecuteCalls() []struct {
	R github_com_confluentinc_ccloud_sdk_go_v2_org_v2.ApiUpdateOrgV2EnvironmentRequest
}

UpdateOrgV2EnvironmentExecuteCalls returns the calls made to UpdateOrgV2EnvironmentExecute.

type OrganizationsOrgV2Api added in v0.6.0

OrganizationsOrgV2Api is a mock of OrganizationsOrgV2Api interface

func (*OrganizationsOrgV2Api) GetOrgV2Organization added in v0.6.0

GetOrgV2Organization mocks base method by wrapping the associated func.

func (*OrganizationsOrgV2Api) GetOrgV2OrganizationCalled added in v0.6.0

func (m *OrganizationsOrgV2Api) GetOrgV2OrganizationCalled() bool

GetOrgV2OrganizationCalled returns true if GetOrgV2Organization was called at least once.

func (*OrganizationsOrgV2Api) GetOrgV2OrganizationCalls added in v0.6.0

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

GetOrgV2OrganizationCalls returns the calls made to GetOrgV2Organization.

func (*OrganizationsOrgV2Api) GetOrgV2OrganizationExecute added in v0.6.0

GetOrgV2OrganizationExecute mocks base method by wrapping the associated func.

func (*OrganizationsOrgV2Api) GetOrgV2OrganizationExecuteCalled added in v0.6.0

func (m *OrganizationsOrgV2Api) GetOrgV2OrganizationExecuteCalled() bool

GetOrgV2OrganizationExecuteCalled returns true if GetOrgV2OrganizationExecute was called at least once.

func (*OrganizationsOrgV2Api) GetOrgV2OrganizationExecuteCalls added in v0.6.0

GetOrgV2OrganizationExecuteCalls returns the calls made to GetOrgV2OrganizationExecute.

func (*OrganizationsOrgV2Api) ListOrgV2Organizations added in v0.6.0

ListOrgV2Organizations mocks base method by wrapping the associated func.

func (*OrganizationsOrgV2Api) ListOrgV2OrganizationsCalled added in v0.6.0

func (m *OrganizationsOrgV2Api) ListOrgV2OrganizationsCalled() bool

ListOrgV2OrganizationsCalled returns true if ListOrgV2Organizations was called at least once.

func (*OrganizationsOrgV2Api) ListOrgV2OrganizationsCalls added in v0.6.0

func (m *OrganizationsOrgV2Api) ListOrgV2OrganizationsCalls() []struct {
	Ctx context.Context
}

ListOrgV2OrganizationsCalls returns the calls made to ListOrgV2Organizations.

func (*OrganizationsOrgV2Api) ListOrgV2OrganizationsExecute added in v0.6.0

ListOrgV2OrganizationsExecute mocks base method by wrapping the associated func.

func (*OrganizationsOrgV2Api) ListOrgV2OrganizationsExecuteCalled added in v0.6.0

func (m *OrganizationsOrgV2Api) ListOrgV2OrganizationsExecuteCalled() bool

ListOrgV2OrganizationsExecuteCalled returns true if ListOrgV2OrganizationsExecute was called at least once.

func (*OrganizationsOrgV2Api) ListOrgV2OrganizationsExecuteCalls added in v0.6.0

ListOrgV2OrganizationsExecuteCalls returns the calls made to ListOrgV2OrganizationsExecute.

func (*OrganizationsOrgV2Api) Reset added in v0.6.0

func (m *OrganizationsOrgV2Api) Reset()

Reset resets the calls made to the mocked methods.

func (*OrganizationsOrgV2Api) UpdateOrgV2Organization added in v0.6.0

UpdateOrgV2Organization mocks base method by wrapping the associated func.

func (*OrganizationsOrgV2Api) UpdateOrgV2OrganizationCalled added in v0.6.0

func (m *OrganizationsOrgV2Api) UpdateOrgV2OrganizationCalled() bool

UpdateOrgV2OrganizationCalled returns true if UpdateOrgV2Organization was called at least once.

func (*OrganizationsOrgV2Api) UpdateOrgV2OrganizationCalls added in v0.6.0

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

UpdateOrgV2OrganizationCalls returns the calls made to UpdateOrgV2Organization.

func (*OrganizationsOrgV2Api) UpdateOrgV2OrganizationExecute added in v0.6.0

UpdateOrgV2OrganizationExecute mocks base method by wrapping the associated func.

func (*OrganizationsOrgV2Api) UpdateOrgV2OrganizationExecuteCalled added in v0.6.0

func (m *OrganizationsOrgV2Api) UpdateOrgV2OrganizationExecuteCalled() bool

UpdateOrgV2OrganizationExecuteCalled returns true if UpdateOrgV2OrganizationExecute was called at least once.

func (*OrganizationsOrgV2Api) UpdateOrgV2OrganizationExecuteCalls added in v0.6.0

UpdateOrgV2OrganizationExecuteCalls returns the calls made to UpdateOrgV2OrganizationExecute.

Jump to

Keyboard shortcuts

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