mocksvc

package
v0.1.0-pre1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MPL-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 AtlasSearchApi added in v1.15.2

type AtlasSearchApi struct {
	mock.Mock
}

AtlasSearchApi is an autogenerated mock type for the AtlasSearchApi type

func NewAtlasSearchApi added in v1.15.2

func NewAtlasSearchApi(t interface {
	mock.TestingT
	Cleanup(func())
}) *AtlasSearchApi

NewAtlasSearchApi creates a new instance of AtlasSearchApi. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AtlasSearchApi) CreateAtlasSearchDeployment added in v1.15.2

func (_m *AtlasSearchApi) CreateAtlasSearchDeployment(ctx context.Context, groupId string, clusterName string, apiSearchDeploymentRequest *admin.ApiSearchDeploymentRequest) admin.CreateAtlasSearchDeploymentApiRequest

CreateAtlasSearchDeployment provides a mock function with given fields: ctx, groupId, clusterName, apiSearchDeploymentRequest

func (*AtlasSearchApi) CreateAtlasSearchDeploymentExecute added in v1.15.2

CreateAtlasSearchDeploymentExecute provides a mock function with given fields: r

func (*AtlasSearchApi) CreateAtlasSearchDeploymentWithParams added in v1.15.2

CreateAtlasSearchDeploymentWithParams provides a mock function with given fields: ctx, args

func (*AtlasSearchApi) CreateAtlasSearchIndex added in v1.15.2

func (_m *AtlasSearchApi) CreateAtlasSearchIndex(ctx context.Context, groupId string, clusterName string, clusterSearchIndex *admin.ClusterSearchIndex) admin.CreateAtlasSearchIndexApiRequest

CreateAtlasSearchIndex provides a mock function with given fields: ctx, groupId, clusterName, clusterSearchIndex

func (*AtlasSearchApi) CreateAtlasSearchIndexExecute added in v1.15.2

CreateAtlasSearchIndexExecute provides a mock function with given fields: r

func (*AtlasSearchApi) CreateAtlasSearchIndexWithParams added in v1.15.2

CreateAtlasSearchIndexWithParams provides a mock function with given fields: ctx, args

func (*AtlasSearchApi) DeleteAtlasSearchDeployment added in v1.15.2

func (_m *AtlasSearchApi) DeleteAtlasSearchDeployment(ctx context.Context, groupId string, clusterName string) admin.DeleteAtlasSearchDeploymentApiRequest

DeleteAtlasSearchDeployment provides a mock function with given fields: ctx, groupId, clusterName

func (*AtlasSearchApi) DeleteAtlasSearchDeploymentExecute added in v1.15.2

func (_m *AtlasSearchApi) DeleteAtlasSearchDeploymentExecute(r admin.DeleteAtlasSearchDeploymentApiRequest) (*http.Response, error)

DeleteAtlasSearchDeploymentExecute provides a mock function with given fields: r

func (*AtlasSearchApi) DeleteAtlasSearchDeploymentWithParams added in v1.15.2

DeleteAtlasSearchDeploymentWithParams provides a mock function with given fields: ctx, args

func (*AtlasSearchApi) DeleteAtlasSearchIndex added in v1.15.2

func (_m *AtlasSearchApi) DeleteAtlasSearchIndex(ctx context.Context, groupId string, clusterName string, indexId string) admin.DeleteAtlasSearchIndexApiRequest

DeleteAtlasSearchIndex provides a mock function with given fields: ctx, groupId, clusterName, indexId

func (*AtlasSearchApi) DeleteAtlasSearchIndexExecute added in v1.15.2

func (_m *AtlasSearchApi) DeleteAtlasSearchIndexExecute(r admin.DeleteAtlasSearchIndexApiRequest) (map[string]interface{}, *http.Response, error)

DeleteAtlasSearchIndexExecute provides a mock function with given fields: r

func (*AtlasSearchApi) DeleteAtlasSearchIndexWithParams added in v1.15.2

DeleteAtlasSearchIndexWithParams provides a mock function with given fields: ctx, args

func (*AtlasSearchApi) EXPECT added in v1.15.2

func (*AtlasSearchApi) GetAtlasSearchDeployment added in v1.15.2

func (_m *AtlasSearchApi) GetAtlasSearchDeployment(ctx context.Context, groupId string, clusterName string) admin.GetAtlasSearchDeploymentApiRequest

GetAtlasSearchDeployment provides a mock function with given fields: ctx, groupId, clusterName

func (*AtlasSearchApi) GetAtlasSearchDeploymentExecute added in v1.15.2

GetAtlasSearchDeploymentExecute provides a mock function with given fields: r

func (*AtlasSearchApi) GetAtlasSearchDeploymentWithParams added in v1.15.2

GetAtlasSearchDeploymentWithParams provides a mock function with given fields: ctx, args

func (*AtlasSearchApi) GetAtlasSearchIndex added in v1.15.2

func (_m *AtlasSearchApi) GetAtlasSearchIndex(ctx context.Context, groupId string, clusterName string, indexId string) admin.GetAtlasSearchIndexApiRequest

GetAtlasSearchIndex provides a mock function with given fields: ctx, groupId, clusterName, indexId

func (*AtlasSearchApi) GetAtlasSearchIndexExecute added in v1.15.2

GetAtlasSearchIndexExecute provides a mock function with given fields: r

func (*AtlasSearchApi) GetAtlasSearchIndexWithParams added in v1.15.2

GetAtlasSearchIndexWithParams provides a mock function with given fields: ctx, args

func (*AtlasSearchApi) ListAtlasSearchIndexes added in v1.15.2

func (_m *AtlasSearchApi) ListAtlasSearchIndexes(ctx context.Context, groupId string, clusterName string, collectionName string, databaseName string) admin.ListAtlasSearchIndexesApiRequest

ListAtlasSearchIndexes provides a mock function with given fields: ctx, groupId, clusterName, collectionName, databaseName

func (*AtlasSearchApi) ListAtlasSearchIndexesExecute added in v1.15.2

ListAtlasSearchIndexesExecute provides a mock function with given fields: r

func (*AtlasSearchApi) ListAtlasSearchIndexesWithParams added in v1.15.2

ListAtlasSearchIndexesWithParams provides a mock function with given fields: ctx, args

func (*AtlasSearchApi) UpdateAtlasSearchDeployment added in v1.15.2

func (_m *AtlasSearchApi) UpdateAtlasSearchDeployment(ctx context.Context, groupId string, clusterName string, apiSearchDeploymentRequest *admin.ApiSearchDeploymentRequest) admin.UpdateAtlasSearchDeploymentApiRequest

UpdateAtlasSearchDeployment provides a mock function with given fields: ctx, groupId, clusterName, apiSearchDeploymentRequest

func (*AtlasSearchApi) UpdateAtlasSearchDeploymentExecute added in v1.15.2

UpdateAtlasSearchDeploymentExecute provides a mock function with given fields: r

func (*AtlasSearchApi) UpdateAtlasSearchDeploymentWithParams added in v1.15.2

UpdateAtlasSearchDeploymentWithParams provides a mock function with given fields: ctx, args

func (*AtlasSearchApi) UpdateAtlasSearchIndex added in v1.15.2

func (_m *AtlasSearchApi) UpdateAtlasSearchIndex(ctx context.Context, groupId string, clusterName string, indexId string, clusterSearchIndex *admin.ClusterSearchIndex) admin.UpdateAtlasSearchIndexApiRequest

UpdateAtlasSearchIndex provides a mock function with given fields: ctx, groupId, clusterName, indexId, clusterSearchIndex

func (*AtlasSearchApi) UpdateAtlasSearchIndexExecute added in v1.15.2

UpdateAtlasSearchIndexExecute provides a mock function with given fields: r

func (*AtlasSearchApi) UpdateAtlasSearchIndexWithParams added in v1.15.2

UpdateAtlasSearchIndexWithParams provides a mock function with given fields: ctx, args

type AtlasSearchApi_CreateAtlasSearchDeploymentExecute_Call added in v1.15.2

type AtlasSearchApi_CreateAtlasSearchDeploymentExecute_Call struct {
	*mock.Call
}

AtlasSearchApi_CreateAtlasSearchDeploymentExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAtlasSearchDeploymentExecute'

func (*AtlasSearchApi_CreateAtlasSearchDeploymentExecute_Call) Return added in v1.15.2

func (*AtlasSearchApi_CreateAtlasSearchDeploymentExecute_Call) Run added in v1.15.2

type AtlasSearchApi_CreateAtlasSearchDeploymentWithParams_Call added in v1.15.2

type AtlasSearchApi_CreateAtlasSearchDeploymentWithParams_Call struct {
	*mock.Call
}

AtlasSearchApi_CreateAtlasSearchDeploymentWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAtlasSearchDeploymentWithParams'

func (*AtlasSearchApi_CreateAtlasSearchDeploymentWithParams_Call) Return added in v1.15.2

func (*AtlasSearchApi_CreateAtlasSearchDeploymentWithParams_Call) Run added in v1.15.2

type AtlasSearchApi_CreateAtlasSearchDeployment_Call added in v1.15.2

type AtlasSearchApi_CreateAtlasSearchDeployment_Call struct {
	*mock.Call
}

AtlasSearchApi_CreateAtlasSearchDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAtlasSearchDeployment'

func (*AtlasSearchApi_CreateAtlasSearchDeployment_Call) Return added in v1.15.2

func (*AtlasSearchApi_CreateAtlasSearchDeployment_Call) Run added in v1.15.2

type AtlasSearchApi_CreateAtlasSearchIndexExecute_Call added in v1.15.2

type AtlasSearchApi_CreateAtlasSearchIndexExecute_Call struct {
	*mock.Call
}

AtlasSearchApi_CreateAtlasSearchIndexExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAtlasSearchIndexExecute'

func (*AtlasSearchApi_CreateAtlasSearchIndexExecute_Call) Return added in v1.15.2

func (*AtlasSearchApi_CreateAtlasSearchIndexExecute_Call) Run added in v1.15.2

func (*AtlasSearchApi_CreateAtlasSearchIndexExecute_Call) RunAndReturn added in v1.15.2

type AtlasSearchApi_CreateAtlasSearchIndexWithParams_Call added in v1.15.2

type AtlasSearchApi_CreateAtlasSearchIndexWithParams_Call struct {
	*mock.Call
}

AtlasSearchApi_CreateAtlasSearchIndexWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAtlasSearchIndexWithParams'

func (*AtlasSearchApi_CreateAtlasSearchIndexWithParams_Call) Return added in v1.15.2

func (*AtlasSearchApi_CreateAtlasSearchIndexWithParams_Call) Run added in v1.15.2

type AtlasSearchApi_CreateAtlasSearchIndex_Call added in v1.15.2

type AtlasSearchApi_CreateAtlasSearchIndex_Call struct {
	*mock.Call
}

AtlasSearchApi_CreateAtlasSearchIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAtlasSearchIndex'

func (*AtlasSearchApi_CreateAtlasSearchIndex_Call) Return added in v1.15.2

func (*AtlasSearchApi_CreateAtlasSearchIndex_Call) Run added in v1.15.2

type AtlasSearchApi_DeleteAtlasSearchDeploymentExecute_Call added in v1.15.2

type AtlasSearchApi_DeleteAtlasSearchDeploymentExecute_Call struct {
	*mock.Call
}

AtlasSearchApi_DeleteAtlasSearchDeploymentExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAtlasSearchDeploymentExecute'

func (*AtlasSearchApi_DeleteAtlasSearchDeploymentExecute_Call) Return added in v1.15.2

func (*AtlasSearchApi_DeleteAtlasSearchDeploymentExecute_Call) Run added in v1.15.2

func (*AtlasSearchApi_DeleteAtlasSearchDeploymentExecute_Call) RunAndReturn added in v1.15.2

type AtlasSearchApi_DeleteAtlasSearchDeploymentWithParams_Call added in v1.15.2

type AtlasSearchApi_DeleteAtlasSearchDeploymentWithParams_Call struct {
	*mock.Call
}

AtlasSearchApi_DeleteAtlasSearchDeploymentWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAtlasSearchDeploymentWithParams'

func (*AtlasSearchApi_DeleteAtlasSearchDeploymentWithParams_Call) Return added in v1.15.2

func (*AtlasSearchApi_DeleteAtlasSearchDeploymentWithParams_Call) Run added in v1.15.2

type AtlasSearchApi_DeleteAtlasSearchDeployment_Call added in v1.15.2

type AtlasSearchApi_DeleteAtlasSearchDeployment_Call struct {
	*mock.Call
}

AtlasSearchApi_DeleteAtlasSearchDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAtlasSearchDeployment'

func (*AtlasSearchApi_DeleteAtlasSearchDeployment_Call) Return added in v1.15.2

func (*AtlasSearchApi_DeleteAtlasSearchDeployment_Call) Run added in v1.15.2

func (*AtlasSearchApi_DeleteAtlasSearchDeployment_Call) RunAndReturn added in v1.15.2

type AtlasSearchApi_DeleteAtlasSearchIndexExecute_Call added in v1.15.2

type AtlasSearchApi_DeleteAtlasSearchIndexExecute_Call struct {
	*mock.Call
}

AtlasSearchApi_DeleteAtlasSearchIndexExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAtlasSearchIndexExecute'

func (*AtlasSearchApi_DeleteAtlasSearchIndexExecute_Call) Return added in v1.15.2

func (*AtlasSearchApi_DeleteAtlasSearchIndexExecute_Call) Run added in v1.15.2

func (*AtlasSearchApi_DeleteAtlasSearchIndexExecute_Call) RunAndReturn added in v1.15.2

type AtlasSearchApi_DeleteAtlasSearchIndexWithParams_Call added in v1.15.2

type AtlasSearchApi_DeleteAtlasSearchIndexWithParams_Call struct {
	*mock.Call
}

AtlasSearchApi_DeleteAtlasSearchIndexWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAtlasSearchIndexWithParams'

func (*AtlasSearchApi_DeleteAtlasSearchIndexWithParams_Call) Return added in v1.15.2

func (*AtlasSearchApi_DeleteAtlasSearchIndexWithParams_Call) Run added in v1.15.2

type AtlasSearchApi_DeleteAtlasSearchIndex_Call added in v1.15.2

type AtlasSearchApi_DeleteAtlasSearchIndex_Call struct {
	*mock.Call
}

AtlasSearchApi_DeleteAtlasSearchIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAtlasSearchIndex'

func (*AtlasSearchApi_DeleteAtlasSearchIndex_Call) Return added in v1.15.2

func (*AtlasSearchApi_DeleteAtlasSearchIndex_Call) Run added in v1.15.2

func (*AtlasSearchApi_DeleteAtlasSearchIndex_Call) RunAndReturn added in v1.15.2

type AtlasSearchApi_Expecter added in v1.15.2

type AtlasSearchApi_Expecter struct {
	// contains filtered or unexported fields
}

func (*AtlasSearchApi_Expecter) CreateAtlasSearchDeployment added in v1.15.2

func (_e *AtlasSearchApi_Expecter) CreateAtlasSearchDeployment(ctx interface{}, groupId interface{}, clusterName interface{}, apiSearchDeploymentRequest interface{}) *AtlasSearchApi_CreateAtlasSearchDeployment_Call

CreateAtlasSearchDeployment is a helper method to define mock.On call

  • ctx context.Context
  • groupId string
  • clusterName string
  • apiSearchDeploymentRequest *admin.ApiSearchDeploymentRequest

func (*AtlasSearchApi_Expecter) CreateAtlasSearchDeploymentExecute added in v1.15.2

func (_e *AtlasSearchApi_Expecter) CreateAtlasSearchDeploymentExecute(r interface{}) *AtlasSearchApi_CreateAtlasSearchDeploymentExecute_Call

CreateAtlasSearchDeploymentExecute is a helper method to define mock.On call

  • r admin.CreateAtlasSearchDeploymentApiRequest

func (*AtlasSearchApi_Expecter) CreateAtlasSearchDeploymentWithParams added in v1.15.2

func (_e *AtlasSearchApi_Expecter) CreateAtlasSearchDeploymentWithParams(ctx interface{}, args interface{}) *AtlasSearchApi_CreateAtlasSearchDeploymentWithParams_Call

CreateAtlasSearchDeploymentWithParams is a helper method to define mock.On call

  • ctx context.Context
  • args *admin.CreateAtlasSearchDeploymentApiParams

func (*AtlasSearchApi_Expecter) CreateAtlasSearchIndex added in v1.15.2

func (_e *AtlasSearchApi_Expecter) CreateAtlasSearchIndex(ctx interface{}, groupId interface{}, clusterName interface{}, clusterSearchIndex interface{}) *AtlasSearchApi_CreateAtlasSearchIndex_Call

CreateAtlasSearchIndex is a helper method to define mock.On call

  • ctx context.Context
  • groupId string
  • clusterName string
  • clusterSearchIndex *admin.ClusterSearchIndex

func (*AtlasSearchApi_Expecter) CreateAtlasSearchIndexExecute added in v1.15.2

func (_e *AtlasSearchApi_Expecter) CreateAtlasSearchIndexExecute(r interface{}) *AtlasSearchApi_CreateAtlasSearchIndexExecute_Call

CreateAtlasSearchIndexExecute is a helper method to define mock.On call

  • r admin.CreateAtlasSearchIndexApiRequest

func (*AtlasSearchApi_Expecter) CreateAtlasSearchIndexWithParams added in v1.15.2

func (_e *AtlasSearchApi_Expecter) CreateAtlasSearchIndexWithParams(ctx interface{}, args interface{}) *AtlasSearchApi_CreateAtlasSearchIndexWithParams_Call

CreateAtlasSearchIndexWithParams is a helper method to define mock.On call

  • ctx context.Context
  • args *admin.CreateAtlasSearchIndexApiParams

func (*AtlasSearchApi_Expecter) DeleteAtlasSearchDeployment added in v1.15.2

func (_e *AtlasSearchApi_Expecter) DeleteAtlasSearchDeployment(ctx interface{}, groupId interface{}, clusterName interface{}) *AtlasSearchApi_DeleteAtlasSearchDeployment_Call

DeleteAtlasSearchDeployment is a helper method to define mock.On call

  • ctx context.Context
  • groupId string
  • clusterName string

func (*AtlasSearchApi_Expecter) DeleteAtlasSearchDeploymentExecute added in v1.15.2

func (_e *AtlasSearchApi_Expecter) DeleteAtlasSearchDeploymentExecute(r interface{}) *AtlasSearchApi_DeleteAtlasSearchDeploymentExecute_Call

DeleteAtlasSearchDeploymentExecute is a helper method to define mock.On call

  • r admin.DeleteAtlasSearchDeploymentApiRequest

func (*AtlasSearchApi_Expecter) DeleteAtlasSearchDeploymentWithParams added in v1.15.2

func (_e *AtlasSearchApi_Expecter) DeleteAtlasSearchDeploymentWithParams(ctx interface{}, args interface{}) *AtlasSearchApi_DeleteAtlasSearchDeploymentWithParams_Call

DeleteAtlasSearchDeploymentWithParams is a helper method to define mock.On call

  • ctx context.Context
  • args *admin.DeleteAtlasSearchDeploymentApiParams

func (*AtlasSearchApi_Expecter) DeleteAtlasSearchIndex added in v1.15.2

func (_e *AtlasSearchApi_Expecter) DeleteAtlasSearchIndex(ctx interface{}, groupId interface{}, clusterName interface{}, indexId interface{}) *AtlasSearchApi_DeleteAtlasSearchIndex_Call

DeleteAtlasSearchIndex is a helper method to define mock.On call

  • ctx context.Context
  • groupId string
  • clusterName string
  • indexId string

func (*AtlasSearchApi_Expecter) DeleteAtlasSearchIndexExecute added in v1.15.2

func (_e *AtlasSearchApi_Expecter) DeleteAtlasSearchIndexExecute(r interface{}) *AtlasSearchApi_DeleteAtlasSearchIndexExecute_Call

DeleteAtlasSearchIndexExecute is a helper method to define mock.On call

  • r admin.DeleteAtlasSearchIndexApiRequest

func (*AtlasSearchApi_Expecter) DeleteAtlasSearchIndexWithParams added in v1.15.2

func (_e *AtlasSearchApi_Expecter) DeleteAtlasSearchIndexWithParams(ctx interface{}, args interface{}) *AtlasSearchApi_DeleteAtlasSearchIndexWithParams_Call

DeleteAtlasSearchIndexWithParams is a helper method to define mock.On call

  • ctx context.Context
  • args *admin.DeleteAtlasSearchIndexApiParams

func (*AtlasSearchApi_Expecter) GetAtlasSearchDeployment added in v1.15.2

func (_e *AtlasSearchApi_Expecter) GetAtlasSearchDeployment(ctx interface{}, groupId interface{}, clusterName interface{}) *AtlasSearchApi_GetAtlasSearchDeployment_Call

GetAtlasSearchDeployment is a helper method to define mock.On call

  • ctx context.Context
  • groupId string
  • clusterName string

func (*AtlasSearchApi_Expecter) GetAtlasSearchDeploymentExecute added in v1.15.2

func (_e *AtlasSearchApi_Expecter) GetAtlasSearchDeploymentExecute(r interface{}) *AtlasSearchApi_GetAtlasSearchDeploymentExecute_Call

GetAtlasSearchDeploymentExecute is a helper method to define mock.On call

  • r admin.GetAtlasSearchDeploymentApiRequest

func (*AtlasSearchApi_Expecter) GetAtlasSearchDeploymentWithParams added in v1.15.2

func (_e *AtlasSearchApi_Expecter) GetAtlasSearchDeploymentWithParams(ctx interface{}, args interface{}) *AtlasSearchApi_GetAtlasSearchDeploymentWithParams_Call

GetAtlasSearchDeploymentWithParams is a helper method to define mock.On call

  • ctx context.Context
  • args *admin.GetAtlasSearchDeploymentApiParams

func (*AtlasSearchApi_Expecter) GetAtlasSearchIndex added in v1.15.2

func (_e *AtlasSearchApi_Expecter) GetAtlasSearchIndex(ctx interface{}, groupId interface{}, clusterName interface{}, indexId interface{}) *AtlasSearchApi_GetAtlasSearchIndex_Call

GetAtlasSearchIndex is a helper method to define mock.On call

  • ctx context.Context
  • groupId string
  • clusterName string
  • indexId string

func (*AtlasSearchApi_Expecter) GetAtlasSearchIndexExecute added in v1.15.2

func (_e *AtlasSearchApi_Expecter) GetAtlasSearchIndexExecute(r interface{}) *AtlasSearchApi_GetAtlasSearchIndexExecute_Call

GetAtlasSearchIndexExecute is a helper method to define mock.On call

  • r admin.GetAtlasSearchIndexApiRequest

func (*AtlasSearchApi_Expecter) GetAtlasSearchIndexWithParams added in v1.15.2

func (_e *AtlasSearchApi_Expecter) GetAtlasSearchIndexWithParams(ctx interface{}, args interface{}) *AtlasSearchApi_GetAtlasSearchIndexWithParams_Call

GetAtlasSearchIndexWithParams is a helper method to define mock.On call

  • ctx context.Context
  • args *admin.GetAtlasSearchIndexApiParams

func (*AtlasSearchApi_Expecter) ListAtlasSearchIndexes added in v1.15.2

func (_e *AtlasSearchApi_Expecter) ListAtlasSearchIndexes(ctx interface{}, groupId interface{}, clusterName interface{}, collectionName interface{}, databaseName interface{}) *AtlasSearchApi_ListAtlasSearchIndexes_Call

ListAtlasSearchIndexes is a helper method to define mock.On call

  • ctx context.Context
  • groupId string
  • clusterName string
  • collectionName string
  • databaseName string

func (*AtlasSearchApi_Expecter) ListAtlasSearchIndexesExecute added in v1.15.2

func (_e *AtlasSearchApi_Expecter) ListAtlasSearchIndexesExecute(r interface{}) *AtlasSearchApi_ListAtlasSearchIndexesExecute_Call

ListAtlasSearchIndexesExecute is a helper method to define mock.On call

  • r admin.ListAtlasSearchIndexesApiRequest

func (*AtlasSearchApi_Expecter) ListAtlasSearchIndexesWithParams added in v1.15.2

func (_e *AtlasSearchApi_Expecter) ListAtlasSearchIndexesWithParams(ctx interface{}, args interface{}) *AtlasSearchApi_ListAtlasSearchIndexesWithParams_Call

ListAtlasSearchIndexesWithParams is a helper method to define mock.On call

  • ctx context.Context
  • args *admin.ListAtlasSearchIndexesApiParams

func (*AtlasSearchApi_Expecter) UpdateAtlasSearchDeployment added in v1.15.2

func (_e *AtlasSearchApi_Expecter) UpdateAtlasSearchDeployment(ctx interface{}, groupId interface{}, clusterName interface{}, apiSearchDeploymentRequest interface{}) *AtlasSearchApi_UpdateAtlasSearchDeployment_Call

UpdateAtlasSearchDeployment is a helper method to define mock.On call

  • ctx context.Context
  • groupId string
  • clusterName string
  • apiSearchDeploymentRequest *admin.ApiSearchDeploymentRequest

func (*AtlasSearchApi_Expecter) UpdateAtlasSearchDeploymentExecute added in v1.15.2

func (_e *AtlasSearchApi_Expecter) UpdateAtlasSearchDeploymentExecute(r interface{}) *AtlasSearchApi_UpdateAtlasSearchDeploymentExecute_Call

UpdateAtlasSearchDeploymentExecute is a helper method to define mock.On call

  • r admin.UpdateAtlasSearchDeploymentApiRequest

func (*AtlasSearchApi_Expecter) UpdateAtlasSearchDeploymentWithParams added in v1.15.2

func (_e *AtlasSearchApi_Expecter) UpdateAtlasSearchDeploymentWithParams(ctx interface{}, args interface{}) *AtlasSearchApi_UpdateAtlasSearchDeploymentWithParams_Call

UpdateAtlasSearchDeploymentWithParams is a helper method to define mock.On call

  • ctx context.Context
  • args *admin.UpdateAtlasSearchDeploymentApiParams

func (*AtlasSearchApi_Expecter) UpdateAtlasSearchIndex added in v1.15.2

func (_e *AtlasSearchApi_Expecter) UpdateAtlasSearchIndex(ctx interface{}, groupId interface{}, clusterName interface{}, indexId interface{}, clusterSearchIndex interface{}) *AtlasSearchApi_UpdateAtlasSearchIndex_Call

UpdateAtlasSearchIndex is a helper method to define mock.On call

  • ctx context.Context
  • groupId string
  • clusterName string
  • indexId string
  • clusterSearchIndex *admin.ClusterSearchIndex

func (*AtlasSearchApi_Expecter) UpdateAtlasSearchIndexExecute added in v1.15.2

func (_e *AtlasSearchApi_Expecter) UpdateAtlasSearchIndexExecute(r interface{}) *AtlasSearchApi_UpdateAtlasSearchIndexExecute_Call

UpdateAtlasSearchIndexExecute is a helper method to define mock.On call

  • r admin.UpdateAtlasSearchIndexApiRequest

func (*AtlasSearchApi_Expecter) UpdateAtlasSearchIndexWithParams added in v1.15.2

func (_e *AtlasSearchApi_Expecter) UpdateAtlasSearchIndexWithParams(ctx interface{}, args interface{}) *AtlasSearchApi_UpdateAtlasSearchIndexWithParams_Call

UpdateAtlasSearchIndexWithParams is a helper method to define mock.On call

  • ctx context.Context
  • args *admin.UpdateAtlasSearchIndexApiParams

type AtlasSearchApi_GetAtlasSearchDeploymentExecute_Call added in v1.15.2

type AtlasSearchApi_GetAtlasSearchDeploymentExecute_Call struct {
	*mock.Call
}

AtlasSearchApi_GetAtlasSearchDeploymentExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAtlasSearchDeploymentExecute'

func (*AtlasSearchApi_GetAtlasSearchDeploymentExecute_Call) Return added in v1.15.2

func (*AtlasSearchApi_GetAtlasSearchDeploymentExecute_Call) Run added in v1.15.2

type AtlasSearchApi_GetAtlasSearchDeploymentWithParams_Call added in v1.15.2

type AtlasSearchApi_GetAtlasSearchDeploymentWithParams_Call struct {
	*mock.Call
}

AtlasSearchApi_GetAtlasSearchDeploymentWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAtlasSearchDeploymentWithParams'

func (*AtlasSearchApi_GetAtlasSearchDeploymentWithParams_Call) Return added in v1.15.2

func (*AtlasSearchApi_GetAtlasSearchDeploymentWithParams_Call) Run added in v1.15.2

type AtlasSearchApi_GetAtlasSearchDeployment_Call added in v1.15.2

type AtlasSearchApi_GetAtlasSearchDeployment_Call struct {
	*mock.Call
}

AtlasSearchApi_GetAtlasSearchDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAtlasSearchDeployment'

func (*AtlasSearchApi_GetAtlasSearchDeployment_Call) Return added in v1.15.2

func (*AtlasSearchApi_GetAtlasSearchDeployment_Call) Run added in v1.15.2

func (*AtlasSearchApi_GetAtlasSearchDeployment_Call) RunAndReturn added in v1.15.2

type AtlasSearchApi_GetAtlasSearchIndexExecute_Call added in v1.15.2

type AtlasSearchApi_GetAtlasSearchIndexExecute_Call struct {
	*mock.Call
}

AtlasSearchApi_GetAtlasSearchIndexExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAtlasSearchIndexExecute'

func (*AtlasSearchApi_GetAtlasSearchIndexExecute_Call) Return added in v1.15.2

func (*AtlasSearchApi_GetAtlasSearchIndexExecute_Call) Run added in v1.15.2

func (*AtlasSearchApi_GetAtlasSearchIndexExecute_Call) RunAndReturn added in v1.15.2

type AtlasSearchApi_GetAtlasSearchIndexWithParams_Call added in v1.15.2

type AtlasSearchApi_GetAtlasSearchIndexWithParams_Call struct {
	*mock.Call
}

AtlasSearchApi_GetAtlasSearchIndexWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAtlasSearchIndexWithParams'

func (*AtlasSearchApi_GetAtlasSearchIndexWithParams_Call) Return added in v1.15.2

func (*AtlasSearchApi_GetAtlasSearchIndexWithParams_Call) Run added in v1.15.2

type AtlasSearchApi_GetAtlasSearchIndex_Call added in v1.15.2

type AtlasSearchApi_GetAtlasSearchIndex_Call struct {
	*mock.Call
}

AtlasSearchApi_GetAtlasSearchIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAtlasSearchIndex'

func (*AtlasSearchApi_GetAtlasSearchIndex_Call) Return added in v1.15.2

func (*AtlasSearchApi_GetAtlasSearchIndex_Call) Run added in v1.15.2

func (*AtlasSearchApi_GetAtlasSearchIndex_Call) RunAndReturn added in v1.15.2

type AtlasSearchApi_ListAtlasSearchIndexesExecute_Call added in v1.15.2

type AtlasSearchApi_ListAtlasSearchIndexesExecute_Call struct {
	*mock.Call
}

AtlasSearchApi_ListAtlasSearchIndexesExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAtlasSearchIndexesExecute'

func (*AtlasSearchApi_ListAtlasSearchIndexesExecute_Call) Return added in v1.15.2

func (*AtlasSearchApi_ListAtlasSearchIndexesExecute_Call) Run added in v1.15.2

func (*AtlasSearchApi_ListAtlasSearchIndexesExecute_Call) RunAndReturn added in v1.15.2

type AtlasSearchApi_ListAtlasSearchIndexesWithParams_Call added in v1.15.2

type AtlasSearchApi_ListAtlasSearchIndexesWithParams_Call struct {
	*mock.Call
}

AtlasSearchApi_ListAtlasSearchIndexesWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAtlasSearchIndexesWithParams'

func (*AtlasSearchApi_ListAtlasSearchIndexesWithParams_Call) Return added in v1.15.2

func (*AtlasSearchApi_ListAtlasSearchIndexesWithParams_Call) Run added in v1.15.2

type AtlasSearchApi_ListAtlasSearchIndexes_Call added in v1.15.2

type AtlasSearchApi_ListAtlasSearchIndexes_Call struct {
	*mock.Call
}

AtlasSearchApi_ListAtlasSearchIndexes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAtlasSearchIndexes'

func (*AtlasSearchApi_ListAtlasSearchIndexes_Call) Return added in v1.15.2

func (*AtlasSearchApi_ListAtlasSearchIndexes_Call) Run added in v1.15.2

func (_c *AtlasSearchApi_ListAtlasSearchIndexes_Call) Run(run func(ctx context.Context, groupId string, clusterName string, collectionName string, databaseName string)) *AtlasSearchApi_ListAtlasSearchIndexes_Call

func (*AtlasSearchApi_ListAtlasSearchIndexes_Call) RunAndReturn added in v1.15.2

type AtlasSearchApi_UpdateAtlasSearchDeploymentExecute_Call added in v1.15.2

type AtlasSearchApi_UpdateAtlasSearchDeploymentExecute_Call struct {
	*mock.Call
}

AtlasSearchApi_UpdateAtlasSearchDeploymentExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAtlasSearchDeploymentExecute'

func (*AtlasSearchApi_UpdateAtlasSearchDeploymentExecute_Call) Return added in v1.15.2

func (*AtlasSearchApi_UpdateAtlasSearchDeploymentExecute_Call) Run added in v1.15.2

type AtlasSearchApi_UpdateAtlasSearchDeploymentWithParams_Call added in v1.15.2

type AtlasSearchApi_UpdateAtlasSearchDeploymentWithParams_Call struct {
	*mock.Call
}

AtlasSearchApi_UpdateAtlasSearchDeploymentWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAtlasSearchDeploymentWithParams'

func (*AtlasSearchApi_UpdateAtlasSearchDeploymentWithParams_Call) Return added in v1.15.2

func (*AtlasSearchApi_UpdateAtlasSearchDeploymentWithParams_Call) Run added in v1.15.2

type AtlasSearchApi_UpdateAtlasSearchDeployment_Call added in v1.15.2

type AtlasSearchApi_UpdateAtlasSearchDeployment_Call struct {
	*mock.Call
}

AtlasSearchApi_UpdateAtlasSearchDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAtlasSearchDeployment'

func (*AtlasSearchApi_UpdateAtlasSearchDeployment_Call) Return added in v1.15.2

func (*AtlasSearchApi_UpdateAtlasSearchDeployment_Call) Run added in v1.15.2

type AtlasSearchApi_UpdateAtlasSearchIndexExecute_Call added in v1.15.2

type AtlasSearchApi_UpdateAtlasSearchIndexExecute_Call struct {
	*mock.Call
}

AtlasSearchApi_UpdateAtlasSearchIndexExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAtlasSearchIndexExecute'

func (*AtlasSearchApi_UpdateAtlasSearchIndexExecute_Call) Return added in v1.15.2

func (*AtlasSearchApi_UpdateAtlasSearchIndexExecute_Call) Run added in v1.15.2

func (*AtlasSearchApi_UpdateAtlasSearchIndexExecute_Call) RunAndReturn added in v1.15.2

type AtlasSearchApi_UpdateAtlasSearchIndexWithParams_Call added in v1.15.2

type AtlasSearchApi_UpdateAtlasSearchIndexWithParams_Call struct {
	*mock.Call
}

AtlasSearchApi_UpdateAtlasSearchIndexWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAtlasSearchIndexWithParams'

func (*AtlasSearchApi_UpdateAtlasSearchIndexWithParams_Call) Return added in v1.15.2

func (*AtlasSearchApi_UpdateAtlasSearchIndexWithParams_Call) Run added in v1.15.2

type AtlasSearchApi_UpdateAtlasSearchIndex_Call added in v1.15.2

type AtlasSearchApi_UpdateAtlasSearchIndex_Call struct {
	*mock.Call
}

AtlasSearchApi_UpdateAtlasSearchIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAtlasSearchIndex'

func (*AtlasSearchApi_UpdateAtlasSearchIndex_Call) Return added in v1.15.2

func (*AtlasSearchApi_UpdateAtlasSearchIndex_Call) Run added in v1.15.2

func (_c *AtlasSearchApi_UpdateAtlasSearchIndex_Call) Run(run func(ctx context.Context, groupId string, clusterName string, indexId string, clusterSearchIndex *admin.ClusterSearchIndex)) *AtlasSearchApi_UpdateAtlasSearchIndex_Call

type ClusterService

type ClusterService struct {
	mock.Mock
}

ClusterService is an autogenerated mock type for the ClusterService type

func NewClusterService

func NewClusterService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClusterService

NewClusterService creates a new instance of ClusterService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClusterService) EXPECT added in v1.15.2

func (*ClusterService) Get

func (_m *ClusterService) Get(ctx context.Context, groupID string, clusterName string) (*admin.AdvancedClusterDescription, *http.Response, error)

Get provides a mock function with given fields: ctx, groupID, clusterName

func (*ClusterService) List

List provides a mock function with given fields: ctx, options

type ClusterService_Expecter added in v1.15.2

type ClusterService_Expecter struct {
	// contains filtered or unexported fields
}

func (*ClusterService_Expecter) Get added in v1.15.2

func (_e *ClusterService_Expecter) Get(ctx interface{}, groupID interface{}, clusterName interface{}) *ClusterService_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • groupID string
  • clusterName string

func (*ClusterService_Expecter) List added in v1.15.2

func (_e *ClusterService_Expecter) List(ctx interface{}, options interface{}) *ClusterService_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • options *admin.ListClustersApiParams

type ClusterService_Get_Call added in v1.15.2

type ClusterService_Get_Call struct {
	*mock.Call
}

ClusterService_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*ClusterService_Get_Call) Return added in v1.15.2

func (*ClusterService_Get_Call) Run added in v1.15.2

func (_c *ClusterService_Get_Call) Run(run func(ctx context.Context, groupID string, clusterName string)) *ClusterService_Get_Call

func (*ClusterService_Get_Call) RunAndReturn added in v1.15.2

type ClusterService_List_Call added in v1.15.2

type ClusterService_List_Call struct {
	*mock.Call
}

ClusterService_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'

func (*ClusterService_List_Call) Return added in v1.15.2

func (*ClusterService_List_Call) Run added in v1.15.2

func (*ClusterService_List_Call) RunAndReturn added in v1.15.2

type EncryptionAtRestUsingCustomerKeyManagementApi

type EncryptionAtRestUsingCustomerKeyManagementApi struct {
	mock.Mock
}

EncryptionAtRestUsingCustomerKeyManagementApi is an autogenerated mock type for the EncryptionAtRestUsingCustomerKeyManagementApi type

func NewEncryptionAtRestUsingCustomerKeyManagementApi

func NewEncryptionAtRestUsingCustomerKeyManagementApi(t interface {
	mock.TestingT
	Cleanup(func())
}) *EncryptionAtRestUsingCustomerKeyManagementApi

NewEncryptionAtRestUsingCustomerKeyManagementApi creates a new instance of EncryptionAtRestUsingCustomerKeyManagementApi. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EncryptionAtRestUsingCustomerKeyManagementApi) EXPECT

func (*EncryptionAtRestUsingCustomerKeyManagementApi) GetEncryptionAtRest

GetEncryptionAtRest provides a mock function with given fields: ctx, groupId

func (*EncryptionAtRestUsingCustomerKeyManagementApi) GetEncryptionAtRestExecute

GetEncryptionAtRestExecute provides a mock function with given fields: r

func (*EncryptionAtRestUsingCustomerKeyManagementApi) GetEncryptionAtRestWithParams

GetEncryptionAtRestWithParams provides a mock function with given fields: ctx, args

func (*EncryptionAtRestUsingCustomerKeyManagementApi) UpdateEncryptionAtRest

UpdateEncryptionAtRest provides a mock function with given fields: ctx, groupId, encryptionAtRest

func (*EncryptionAtRestUsingCustomerKeyManagementApi) UpdateEncryptionAtRestExecute

UpdateEncryptionAtRestExecute provides a mock function with given fields: r

func (*EncryptionAtRestUsingCustomerKeyManagementApi) UpdateEncryptionAtRestWithParams

UpdateEncryptionAtRestWithParams provides a mock function with given fields: ctx, args

type EncryptionAtRestUsingCustomerKeyManagementApi_Expecter

type EncryptionAtRestUsingCustomerKeyManagementApi_Expecter struct {
	// contains filtered or unexported fields
}

func (*EncryptionAtRestUsingCustomerKeyManagementApi_Expecter) GetEncryptionAtRest

GetEncryptionAtRest is a helper method to define mock.On call

  • ctx context.Context
  • groupId string

func (*EncryptionAtRestUsingCustomerKeyManagementApi_Expecter) GetEncryptionAtRestExecute

GetEncryptionAtRestExecute is a helper method to define mock.On call

  • r admin.GetEncryptionAtRestApiRequest

func (*EncryptionAtRestUsingCustomerKeyManagementApi_Expecter) GetEncryptionAtRestWithParams

GetEncryptionAtRestWithParams is a helper method to define mock.On call

  • ctx context.Context
  • args *admin.GetEncryptionAtRestApiParams

func (*EncryptionAtRestUsingCustomerKeyManagementApi_Expecter) UpdateEncryptionAtRest

func (_e *EncryptionAtRestUsingCustomerKeyManagementApi_Expecter) UpdateEncryptionAtRest(ctx interface{}, groupId interface{}, encryptionAtRest interface{}) *EncryptionAtRestUsingCustomerKeyManagementApi_UpdateEncryptionAtRest_Call

UpdateEncryptionAtRest is a helper method to define mock.On call

  • ctx context.Context
  • groupId string
  • encryptionAtRest *admin.EncryptionAtRest

func (*EncryptionAtRestUsingCustomerKeyManagementApi_Expecter) UpdateEncryptionAtRestExecute

UpdateEncryptionAtRestExecute is a helper method to define mock.On call

  • r admin.UpdateEncryptionAtRestApiRequest

func (*EncryptionAtRestUsingCustomerKeyManagementApi_Expecter) UpdateEncryptionAtRestWithParams

UpdateEncryptionAtRestWithParams is a helper method to define mock.On call

  • ctx context.Context
  • args *admin.UpdateEncryptionAtRestApiParams

type EncryptionAtRestUsingCustomerKeyManagementApi_GetEncryptionAtRestExecute_Call

type EncryptionAtRestUsingCustomerKeyManagementApi_GetEncryptionAtRestExecute_Call struct {
	*mock.Call
}

EncryptionAtRestUsingCustomerKeyManagementApi_GetEncryptionAtRestExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEncryptionAtRestExecute'

type EncryptionAtRestUsingCustomerKeyManagementApi_GetEncryptionAtRestWithParams_Call

type EncryptionAtRestUsingCustomerKeyManagementApi_GetEncryptionAtRestWithParams_Call struct {
	*mock.Call
}

EncryptionAtRestUsingCustomerKeyManagementApi_GetEncryptionAtRestWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEncryptionAtRestWithParams'

type EncryptionAtRestUsingCustomerKeyManagementApi_GetEncryptionAtRest_Call

type EncryptionAtRestUsingCustomerKeyManagementApi_GetEncryptionAtRest_Call struct {
	*mock.Call
}

EncryptionAtRestUsingCustomerKeyManagementApi_GetEncryptionAtRest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEncryptionAtRest'

func (*EncryptionAtRestUsingCustomerKeyManagementApi_GetEncryptionAtRest_Call) Run

type EncryptionAtRestUsingCustomerKeyManagementApi_UpdateEncryptionAtRestExecute_Call

type EncryptionAtRestUsingCustomerKeyManagementApi_UpdateEncryptionAtRestExecute_Call struct {
	*mock.Call
}

EncryptionAtRestUsingCustomerKeyManagementApi_UpdateEncryptionAtRestExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEncryptionAtRestExecute'

type EncryptionAtRestUsingCustomerKeyManagementApi_UpdateEncryptionAtRestWithParams_Call

type EncryptionAtRestUsingCustomerKeyManagementApi_UpdateEncryptionAtRestWithParams_Call struct {
	*mock.Call
}

EncryptionAtRestUsingCustomerKeyManagementApi_UpdateEncryptionAtRestWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEncryptionAtRestWithParams'

type EncryptionAtRestUsingCustomerKeyManagementApi_UpdateEncryptionAtRest_Call

type EncryptionAtRestUsingCustomerKeyManagementApi_UpdateEncryptionAtRest_Call struct {
	*mock.Call
}

EncryptionAtRestUsingCustomerKeyManagementApi_UpdateEncryptionAtRest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEncryptionAtRest'

func (*EncryptionAtRestUsingCustomerKeyManagementApi_UpdateEncryptionAtRest_Call) Run

type GroupProjectService

type GroupProjectService struct {
	mock.Mock
}

GroupProjectService is an autogenerated mock type for the GroupProjectService type

func NewGroupProjectService

func NewGroupProjectService(t interface {
	mock.TestingT
	Cleanup(func())
}) *GroupProjectService

NewGroupProjectService creates a new instance of GroupProjectService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GroupProjectService) AddAllTeamsToProject

func (_m *GroupProjectService) AddAllTeamsToProject(ctx context.Context, groupID string, teamRole *[]admin.TeamRole) (*admin.PaginatedTeamRole, *http.Response, error)

AddAllTeamsToProject provides a mock function with given fields: ctx, groupID, teamRole

func (*GroupProjectService) DeleteProjectLimit

func (_m *GroupProjectService) DeleteProjectLimit(ctx context.Context, limitName string, projectID string) (map[string]interface{}, *http.Response, error)

DeleteProjectLimit provides a mock function with given fields: ctx, limitName, projectID

func (*GroupProjectService) EXPECT added in v1.15.2

func (*GroupProjectService) GetProjectSettings

func (_m *GroupProjectService) GetProjectSettings(ctx context.Context, groupID string) (*admin.GroupSettings, *http.Response, error)

GetProjectSettings provides a mock function with given fields: ctx, groupID

func (*GroupProjectService) ListClusters

ListClusters provides a mock function with given fields: ctx, groupID

func (*GroupProjectService) ListProjectLimits

func (_m *GroupProjectService) ListProjectLimits(ctx context.Context, groupID string) ([]admin.DataFederationLimit, *http.Response, error)

ListProjectLimits provides a mock function with given fields: ctx, groupID

func (*GroupProjectService) ListProjectTeams

func (_m *GroupProjectService) ListProjectTeams(ctx context.Context, groupID string) (*admin.PaginatedTeamRole, *http.Response, error)

ListProjectTeams provides a mock function with given fields: ctx, groupID

func (*GroupProjectService) RemoveProjectTeam

func (_m *GroupProjectService) RemoveProjectTeam(ctx context.Context, groupID string, teamID string) (*http.Response, error)

RemoveProjectTeam provides a mock function with given fields: ctx, groupID, teamID

func (*GroupProjectService) ReturnAllIPAddresses

func (_m *GroupProjectService) ReturnAllIPAddresses(ctx context.Context, groupID string) (*admin.GroupIPAddresses, *http.Response, error)

ReturnAllIPAddresses provides a mock function with given fields: ctx, groupID

func (*GroupProjectService) SetProjectLimit

func (_m *GroupProjectService) SetProjectLimit(ctx context.Context, limitName string, groupID string, dataFederationLimit *admin.DataFederationLimit) (*admin.DataFederationLimit, *http.Response, error)

SetProjectLimit provides a mock function with given fields: ctx, limitName, groupID, dataFederationLimit

func (*GroupProjectService) UpdateProject

func (_m *GroupProjectService) UpdateProject(ctx context.Context, groupID string, groupUpdate *admin.GroupUpdate) (*admin.Group, *http.Response, error)

UpdateProject provides a mock function with given fields: ctx, groupID, groupUpdate

func (*GroupProjectService) UpdateTeamRoles

func (_m *GroupProjectService) UpdateTeamRoles(ctx context.Context, groupID string, teamID string, teamRole *admin.TeamRole) (*admin.PaginatedTeamRole, *http.Response, error)

UpdateTeamRoles provides a mock function with given fields: ctx, groupID, teamID, teamRole

type GroupProjectService_AddAllTeamsToProject_Call added in v1.15.2

type GroupProjectService_AddAllTeamsToProject_Call struct {
	*mock.Call
}

GroupProjectService_AddAllTeamsToProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddAllTeamsToProject'

func (*GroupProjectService_AddAllTeamsToProject_Call) Return added in v1.15.2

func (*GroupProjectService_AddAllTeamsToProject_Call) Run added in v1.15.2

func (*GroupProjectService_AddAllTeamsToProject_Call) RunAndReturn added in v1.15.2

type GroupProjectService_DeleteProjectLimit_Call added in v1.15.2

type GroupProjectService_DeleteProjectLimit_Call struct {
	*mock.Call
}

GroupProjectService_DeleteProjectLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteProjectLimit'

func (*GroupProjectService_DeleteProjectLimit_Call) Return added in v1.15.2

func (*GroupProjectService_DeleteProjectLimit_Call) Run added in v1.15.2

func (*GroupProjectService_DeleteProjectLimit_Call) RunAndReturn added in v1.15.2

type GroupProjectService_Expecter added in v1.15.2

type GroupProjectService_Expecter struct {
	// contains filtered or unexported fields
}

func (*GroupProjectService_Expecter) AddAllTeamsToProject added in v1.15.2

func (_e *GroupProjectService_Expecter) AddAllTeamsToProject(ctx interface{}, groupID interface{}, teamRole interface{}) *GroupProjectService_AddAllTeamsToProject_Call

AddAllTeamsToProject is a helper method to define mock.On call

  • ctx context.Context
  • groupID string
  • teamRole *[]admin.TeamRole

func (*GroupProjectService_Expecter) DeleteProjectLimit added in v1.15.2

func (_e *GroupProjectService_Expecter) DeleteProjectLimit(ctx interface{}, limitName interface{}, projectID interface{}) *GroupProjectService_DeleteProjectLimit_Call

DeleteProjectLimit is a helper method to define mock.On call

  • ctx context.Context
  • limitName string
  • projectID string

func (*GroupProjectService_Expecter) GetProjectSettings added in v1.15.2

func (_e *GroupProjectService_Expecter) GetProjectSettings(ctx interface{}, groupID interface{}) *GroupProjectService_GetProjectSettings_Call

GetProjectSettings is a helper method to define mock.On call

  • ctx context.Context
  • groupID string

func (*GroupProjectService_Expecter) ListClusters added in v1.15.2

func (_e *GroupProjectService_Expecter) ListClusters(ctx interface{}, groupID interface{}) *GroupProjectService_ListClusters_Call

ListClusters is a helper method to define mock.On call

  • ctx context.Context
  • groupID string

func (*GroupProjectService_Expecter) ListProjectLimits added in v1.15.2

func (_e *GroupProjectService_Expecter) ListProjectLimits(ctx interface{}, groupID interface{}) *GroupProjectService_ListProjectLimits_Call

ListProjectLimits is a helper method to define mock.On call

  • ctx context.Context
  • groupID string

func (*GroupProjectService_Expecter) ListProjectTeams added in v1.15.2

func (_e *GroupProjectService_Expecter) ListProjectTeams(ctx interface{}, groupID interface{}) *GroupProjectService_ListProjectTeams_Call

ListProjectTeams is a helper method to define mock.On call

  • ctx context.Context
  • groupID string

func (*GroupProjectService_Expecter) RemoveProjectTeam added in v1.15.2

func (_e *GroupProjectService_Expecter) RemoveProjectTeam(ctx interface{}, groupID interface{}, teamID interface{}) *GroupProjectService_RemoveProjectTeam_Call

RemoveProjectTeam is a helper method to define mock.On call

  • ctx context.Context
  • groupID string
  • teamID string

func (*GroupProjectService_Expecter) ReturnAllIPAddresses added in v1.15.2

func (_e *GroupProjectService_Expecter) ReturnAllIPAddresses(ctx interface{}, groupID interface{}) *GroupProjectService_ReturnAllIPAddresses_Call

ReturnAllIPAddresses is a helper method to define mock.On call

  • ctx context.Context
  • groupID string

func (*GroupProjectService_Expecter) SetProjectLimit added in v1.15.2

func (_e *GroupProjectService_Expecter) SetProjectLimit(ctx interface{}, limitName interface{}, groupID interface{}, dataFederationLimit interface{}) *GroupProjectService_SetProjectLimit_Call

SetProjectLimit is a helper method to define mock.On call

  • ctx context.Context
  • limitName string
  • groupID string
  • dataFederationLimit *admin.DataFederationLimit

func (*GroupProjectService_Expecter) UpdateProject added in v1.15.2

func (_e *GroupProjectService_Expecter) UpdateProject(ctx interface{}, groupID interface{}, groupUpdate interface{}) *GroupProjectService_UpdateProject_Call

UpdateProject is a helper method to define mock.On call

  • ctx context.Context
  • groupID string
  • groupUpdate *admin.GroupUpdate

func (*GroupProjectService_Expecter) UpdateTeamRoles added in v1.15.2

func (_e *GroupProjectService_Expecter) UpdateTeamRoles(ctx interface{}, groupID interface{}, teamID interface{}, teamRole interface{}) *GroupProjectService_UpdateTeamRoles_Call

UpdateTeamRoles is a helper method to define mock.On call

  • ctx context.Context
  • groupID string
  • teamID string
  • teamRole *admin.TeamRole

type GroupProjectService_GetProjectSettings_Call added in v1.15.2

type GroupProjectService_GetProjectSettings_Call struct {
	*mock.Call
}

GroupProjectService_GetProjectSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProjectSettings'

func (*GroupProjectService_GetProjectSettings_Call) Return added in v1.15.2

func (*GroupProjectService_GetProjectSettings_Call) Run added in v1.15.2

func (*GroupProjectService_GetProjectSettings_Call) RunAndReturn added in v1.15.2

type GroupProjectService_ListClusters_Call added in v1.15.2

type GroupProjectService_ListClusters_Call struct {
	*mock.Call
}

GroupProjectService_ListClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusters'

func (*GroupProjectService_ListClusters_Call) Return added in v1.15.2

func (*GroupProjectService_ListClusters_Call) Run added in v1.15.2

func (*GroupProjectService_ListClusters_Call) RunAndReturn added in v1.15.2

type GroupProjectService_ListProjectLimits_Call added in v1.15.2

type GroupProjectService_ListProjectLimits_Call struct {
	*mock.Call
}

GroupProjectService_ListProjectLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListProjectLimits'

func (*GroupProjectService_ListProjectLimits_Call) Return added in v1.15.2

func (*GroupProjectService_ListProjectLimits_Call) Run added in v1.15.2

func (*GroupProjectService_ListProjectLimits_Call) RunAndReturn added in v1.15.2

type GroupProjectService_ListProjectTeams_Call added in v1.15.2

type GroupProjectService_ListProjectTeams_Call struct {
	*mock.Call
}

GroupProjectService_ListProjectTeams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListProjectTeams'

func (*GroupProjectService_ListProjectTeams_Call) Return added in v1.15.2

func (*GroupProjectService_ListProjectTeams_Call) Run added in v1.15.2

func (*GroupProjectService_ListProjectTeams_Call) RunAndReturn added in v1.15.2

type GroupProjectService_RemoveProjectTeam_Call added in v1.15.2

type GroupProjectService_RemoveProjectTeam_Call struct {
	*mock.Call
}

GroupProjectService_RemoveProjectTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveProjectTeam'

func (*GroupProjectService_RemoveProjectTeam_Call) Return added in v1.15.2

func (*GroupProjectService_RemoveProjectTeam_Call) Run added in v1.15.2

func (*GroupProjectService_RemoveProjectTeam_Call) RunAndReturn added in v1.15.2

type GroupProjectService_ReturnAllIPAddresses_Call added in v1.15.2

type GroupProjectService_ReturnAllIPAddresses_Call struct {
	*mock.Call
}

GroupProjectService_ReturnAllIPAddresses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReturnAllIPAddresses'

func (*GroupProjectService_ReturnAllIPAddresses_Call) Return added in v1.15.2

func (*GroupProjectService_ReturnAllIPAddresses_Call) Run added in v1.15.2

func (*GroupProjectService_ReturnAllIPAddresses_Call) RunAndReturn added in v1.15.2

type GroupProjectService_SetProjectLimit_Call added in v1.15.2

type GroupProjectService_SetProjectLimit_Call struct {
	*mock.Call
}

GroupProjectService_SetProjectLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetProjectLimit'

func (*GroupProjectService_SetProjectLimit_Call) Return added in v1.15.2

func (*GroupProjectService_SetProjectLimit_Call) Run added in v1.15.2

func (*GroupProjectService_SetProjectLimit_Call) RunAndReturn added in v1.15.2

type GroupProjectService_UpdateProject_Call added in v1.15.2

type GroupProjectService_UpdateProject_Call struct {
	*mock.Call
}

GroupProjectService_UpdateProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateProject'

func (*GroupProjectService_UpdateProject_Call) Return added in v1.15.2

func (*GroupProjectService_UpdateProject_Call) Run added in v1.15.2

func (*GroupProjectService_UpdateProject_Call) RunAndReturn added in v1.15.2

type GroupProjectService_UpdateTeamRoles_Call added in v1.15.2

type GroupProjectService_UpdateTeamRoles_Call struct {
	*mock.Call
}

GroupProjectService_UpdateTeamRoles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTeamRoles'

func (*GroupProjectService_UpdateTeamRoles_Call) Return added in v1.15.2

func (*GroupProjectService_UpdateTeamRoles_Call) Run added in v1.15.2

func (*GroupProjectService_UpdateTeamRoles_Call) RunAndReturn added in v1.15.2

Jump to

Keyboard shortcuts

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