adminv2connect

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilesystemServiceClient

type FilesystemServiceClient struct {
	mock.Mock
}

FilesystemServiceClient is an autogenerated mock type for the FilesystemServiceClient type

func NewFilesystemServiceClient

func NewFilesystemServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *FilesystemServiceClient

NewFilesystemServiceClient creates a new instance of FilesystemServiceClient. 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 (*FilesystemServiceClient) Create

func (_mock *FilesystemServiceClient) Create(context1 context.Context, filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest) (*adminv2.FilesystemServiceCreateResponse, error)

Create provides a mock function for the type FilesystemServiceClient

func (*FilesystemServiceClient) Delete

func (_mock *FilesystemServiceClient) Delete(context1 context.Context, filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest) (*adminv2.FilesystemServiceDeleteResponse, error)

Delete provides a mock function for the type FilesystemServiceClient

func (*FilesystemServiceClient) EXPECT added in v0.0.34

func (*FilesystemServiceClient) Update

func (_mock *FilesystemServiceClient) Update(context1 context.Context, filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest) (*adminv2.FilesystemServiceUpdateResponse, error)

Update provides a mock function for the type FilesystemServiceClient

type FilesystemServiceClient_Create_Call added in v0.0.34

type FilesystemServiceClient_Create_Call struct {
	*mock.Call
}

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

func (*FilesystemServiceClient_Create_Call) Return added in v0.0.34

func (_c *FilesystemServiceClient_Create_Call) Return(filesystemServiceCreateResponse *adminv2.FilesystemServiceCreateResponse, err error) *FilesystemServiceClient_Create_Call

func (*FilesystemServiceClient_Create_Call) Run added in v0.0.34

func (_c *FilesystemServiceClient_Create_Call) Run(run func(context1 context.Context, filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest)) *FilesystemServiceClient_Create_Call

func (*FilesystemServiceClient_Create_Call) RunAndReturn added in v0.0.34

func (_c *FilesystemServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest) (*adminv2.FilesystemServiceCreateResponse, error)) *FilesystemServiceClient_Create_Call

type FilesystemServiceClient_Delete_Call added in v0.0.34

type FilesystemServiceClient_Delete_Call struct {
	*mock.Call
}

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

func (*FilesystemServiceClient_Delete_Call) Return added in v0.0.34

func (_c *FilesystemServiceClient_Delete_Call) Return(filesystemServiceDeleteResponse *adminv2.FilesystemServiceDeleteResponse, err error) *FilesystemServiceClient_Delete_Call

func (*FilesystemServiceClient_Delete_Call) Run added in v0.0.34

func (_c *FilesystemServiceClient_Delete_Call) Run(run func(context1 context.Context, filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest)) *FilesystemServiceClient_Delete_Call

func (*FilesystemServiceClient_Delete_Call) RunAndReturn added in v0.0.34

func (_c *FilesystemServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest) (*adminv2.FilesystemServiceDeleteResponse, error)) *FilesystemServiceClient_Delete_Call

type FilesystemServiceClient_Expecter added in v0.0.34

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

func (*FilesystemServiceClient_Expecter) Create added in v0.0.34

func (_e *FilesystemServiceClient_Expecter) Create(context1 interface{}, filesystemServiceCreateRequest interface{}) *FilesystemServiceClient_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest

func (*FilesystemServiceClient_Expecter) Delete added in v0.0.34

func (_e *FilesystemServiceClient_Expecter) Delete(context1 interface{}, filesystemServiceDeleteRequest interface{}) *FilesystemServiceClient_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest

func (*FilesystemServiceClient_Expecter) Update added in v0.0.34

func (_e *FilesystemServiceClient_Expecter) Update(context1 interface{}, filesystemServiceUpdateRequest interface{}) *FilesystemServiceClient_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest

type FilesystemServiceClient_Update_Call added in v0.0.34

type FilesystemServiceClient_Update_Call struct {
	*mock.Call
}

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

func (*FilesystemServiceClient_Update_Call) Return added in v0.0.34

func (_c *FilesystemServiceClient_Update_Call) Return(filesystemServiceUpdateResponse *adminv2.FilesystemServiceUpdateResponse, err error) *FilesystemServiceClient_Update_Call

func (*FilesystemServiceClient_Update_Call) Run added in v0.0.34

func (_c *FilesystemServiceClient_Update_Call) Run(run func(context1 context.Context, filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest)) *FilesystemServiceClient_Update_Call

func (*FilesystemServiceClient_Update_Call) RunAndReturn added in v0.0.34

func (_c *FilesystemServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest) (*adminv2.FilesystemServiceUpdateResponse, error)) *FilesystemServiceClient_Update_Call

type FilesystemServiceHandler

type FilesystemServiceHandler struct {
	mock.Mock
}

FilesystemServiceHandler is an autogenerated mock type for the FilesystemServiceHandler type

func NewFilesystemServiceHandler

func NewFilesystemServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *FilesystemServiceHandler

NewFilesystemServiceHandler creates a new instance of FilesystemServiceHandler. 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 (*FilesystemServiceHandler) Create

func (_mock *FilesystemServiceHandler) Create(context1 context.Context, filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest) (*adminv2.FilesystemServiceCreateResponse, error)

Create provides a mock function for the type FilesystemServiceHandler

func (*FilesystemServiceHandler) Delete

func (_mock *FilesystemServiceHandler) Delete(context1 context.Context, filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest) (*adminv2.FilesystemServiceDeleteResponse, error)

Delete provides a mock function for the type FilesystemServiceHandler

func (*FilesystemServiceHandler) EXPECT added in v0.0.34

func (*FilesystemServiceHandler) Update

func (_mock *FilesystemServiceHandler) Update(context1 context.Context, filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest) (*adminv2.FilesystemServiceUpdateResponse, error)

Update provides a mock function for the type FilesystemServiceHandler

type FilesystemServiceHandler_Create_Call added in v0.0.34

type FilesystemServiceHandler_Create_Call struct {
	*mock.Call
}

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

func (*FilesystemServiceHandler_Create_Call) Return added in v0.0.34

func (_c *FilesystemServiceHandler_Create_Call) Return(filesystemServiceCreateResponse *adminv2.FilesystemServiceCreateResponse, err error) *FilesystemServiceHandler_Create_Call

func (*FilesystemServiceHandler_Create_Call) Run added in v0.0.34

func (_c *FilesystemServiceHandler_Create_Call) Run(run func(context1 context.Context, filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest)) *FilesystemServiceHandler_Create_Call

func (*FilesystemServiceHandler_Create_Call) RunAndReturn added in v0.0.34

func (_c *FilesystemServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest) (*adminv2.FilesystemServiceCreateResponse, error)) *FilesystemServiceHandler_Create_Call

type FilesystemServiceHandler_Delete_Call added in v0.0.34

type FilesystemServiceHandler_Delete_Call struct {
	*mock.Call
}

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

func (*FilesystemServiceHandler_Delete_Call) Return added in v0.0.34

func (_c *FilesystemServiceHandler_Delete_Call) Return(filesystemServiceDeleteResponse *adminv2.FilesystemServiceDeleteResponse, err error) *FilesystemServiceHandler_Delete_Call

func (*FilesystemServiceHandler_Delete_Call) Run added in v0.0.34

func (_c *FilesystemServiceHandler_Delete_Call) Run(run func(context1 context.Context, filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest)) *FilesystemServiceHandler_Delete_Call

func (*FilesystemServiceHandler_Delete_Call) RunAndReturn added in v0.0.34

func (_c *FilesystemServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest) (*adminv2.FilesystemServiceDeleteResponse, error)) *FilesystemServiceHandler_Delete_Call

type FilesystemServiceHandler_Expecter added in v0.0.34

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

func (*FilesystemServiceHandler_Expecter) Create added in v0.0.34

func (_e *FilesystemServiceHandler_Expecter) Create(context1 interface{}, filesystemServiceCreateRequest interface{}) *FilesystemServiceHandler_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest

func (*FilesystemServiceHandler_Expecter) Delete added in v0.0.34

func (_e *FilesystemServiceHandler_Expecter) Delete(context1 interface{}, filesystemServiceDeleteRequest interface{}) *FilesystemServiceHandler_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest

func (*FilesystemServiceHandler_Expecter) Update added in v0.0.34

func (_e *FilesystemServiceHandler_Expecter) Update(context1 interface{}, filesystemServiceUpdateRequest interface{}) *FilesystemServiceHandler_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest

type FilesystemServiceHandler_Update_Call added in v0.0.34

type FilesystemServiceHandler_Update_Call struct {
	*mock.Call
}

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

func (*FilesystemServiceHandler_Update_Call) Return added in v0.0.34

func (_c *FilesystemServiceHandler_Update_Call) Return(filesystemServiceUpdateResponse *adminv2.FilesystemServiceUpdateResponse, err error) *FilesystemServiceHandler_Update_Call

func (*FilesystemServiceHandler_Update_Call) Run added in v0.0.34

func (_c *FilesystemServiceHandler_Update_Call) Run(run func(context1 context.Context, filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest)) *FilesystemServiceHandler_Update_Call

func (*FilesystemServiceHandler_Update_Call) RunAndReturn added in v0.0.34

func (_c *FilesystemServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest) (*adminv2.FilesystemServiceUpdateResponse, error)) *FilesystemServiceHandler_Update_Call

type IPServiceClient

type IPServiceClient struct {
	mock.Mock
}

IPServiceClient is an autogenerated mock type for the IPServiceClient type

func NewIPServiceClient

func NewIPServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IPServiceClient

NewIPServiceClient creates a new instance of IPServiceClient. 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 (*IPServiceClient) EXPECT added in v0.0.34

func (*IPServiceClient) List

func (_mock *IPServiceClient) List(context1 context.Context, iPServiceListRequest *adminv2.IPServiceListRequest) (*adminv2.IPServiceListResponse, error)

List provides a mock function for the type IPServiceClient

type IPServiceClient_Expecter added in v0.0.34

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

func (*IPServiceClient_Expecter) List added in v0.0.34

func (_e *IPServiceClient_Expecter) List(context1 interface{}, iPServiceListRequest interface{}) *IPServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • iPServiceListRequest *adminv2.IPServiceListRequest

type IPServiceClient_List_Call added in v0.0.34

type IPServiceClient_List_Call struct {
	*mock.Call
}

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

func (*IPServiceClient_List_Call) Return added in v0.0.34

func (_c *IPServiceClient_List_Call) Return(iPServiceListResponse *adminv2.IPServiceListResponse, err error) *IPServiceClient_List_Call

func (*IPServiceClient_List_Call) Run added in v0.0.34

func (_c *IPServiceClient_List_Call) Run(run func(context1 context.Context, iPServiceListRequest *adminv2.IPServiceListRequest)) *IPServiceClient_List_Call

func (*IPServiceClient_List_Call) RunAndReturn added in v0.0.34

func (_c *IPServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, iPServiceListRequest *adminv2.IPServiceListRequest) (*adminv2.IPServiceListResponse, error)) *IPServiceClient_List_Call

type IPServiceHandler

type IPServiceHandler struct {
	mock.Mock
}

IPServiceHandler is an autogenerated mock type for the IPServiceHandler type

func NewIPServiceHandler

func NewIPServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *IPServiceHandler

NewIPServiceHandler creates a new instance of IPServiceHandler. 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 (*IPServiceHandler) EXPECT added in v0.0.34

func (*IPServiceHandler) List

func (_mock *IPServiceHandler) List(context1 context.Context, iPServiceListRequest *adminv2.IPServiceListRequest) (*adminv2.IPServiceListResponse, error)

List provides a mock function for the type IPServiceHandler

type IPServiceHandler_Expecter added in v0.0.34

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

func (*IPServiceHandler_Expecter) List added in v0.0.34

func (_e *IPServiceHandler_Expecter) List(context1 interface{}, iPServiceListRequest interface{}) *IPServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • iPServiceListRequest *adminv2.IPServiceListRequest

type IPServiceHandler_List_Call added in v0.0.34

type IPServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*IPServiceHandler_List_Call) Return added in v0.0.34

func (_c *IPServiceHandler_List_Call) Return(iPServiceListResponse *adminv2.IPServiceListResponse, err error) *IPServiceHandler_List_Call

func (*IPServiceHandler_List_Call) Run added in v0.0.34

func (_c *IPServiceHandler_List_Call) Run(run func(context1 context.Context, iPServiceListRequest *adminv2.IPServiceListRequest)) *IPServiceHandler_List_Call

func (*IPServiceHandler_List_Call) RunAndReturn added in v0.0.34

func (_c *IPServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, iPServiceListRequest *adminv2.IPServiceListRequest) (*adminv2.IPServiceListResponse, error)) *IPServiceHandler_List_Call

type ImageServiceClient

type ImageServiceClient struct {
	mock.Mock
}

ImageServiceClient is an autogenerated mock type for the ImageServiceClient type

func NewImageServiceClient

func NewImageServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ImageServiceClient

NewImageServiceClient creates a new instance of ImageServiceClient. 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 (*ImageServiceClient) Create

func (_mock *ImageServiceClient) Create(context1 context.Context, imageServiceCreateRequest *adminv2.ImageServiceCreateRequest) (*adminv2.ImageServiceCreateResponse, error)

Create provides a mock function for the type ImageServiceClient

func (*ImageServiceClient) Delete

func (_mock *ImageServiceClient) Delete(context1 context.Context, imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest) (*adminv2.ImageServiceDeleteResponse, error)

Delete provides a mock function for the type ImageServiceClient

func (*ImageServiceClient) EXPECT added in v0.0.34

func (*ImageServiceClient) Update

func (_mock *ImageServiceClient) Update(context1 context.Context, imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest) (*adminv2.ImageServiceUpdateResponse, error)

Update provides a mock function for the type ImageServiceClient

func (*ImageServiceClient) Usage

func (_mock *ImageServiceClient) Usage(context1 context.Context, imageServiceUsageRequest *adminv2.ImageServiceUsageRequest) (*adminv2.ImageServiceUsageResponse, error)

Usage provides a mock function for the type ImageServiceClient

type ImageServiceClient_Create_Call added in v0.0.34

type ImageServiceClient_Create_Call struct {
	*mock.Call
}

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

func (*ImageServiceClient_Create_Call) Return added in v0.0.34

func (_c *ImageServiceClient_Create_Call) Return(imageServiceCreateResponse *adminv2.ImageServiceCreateResponse, err error) *ImageServiceClient_Create_Call

func (*ImageServiceClient_Create_Call) Run added in v0.0.34

func (_c *ImageServiceClient_Create_Call) Run(run func(context1 context.Context, imageServiceCreateRequest *adminv2.ImageServiceCreateRequest)) *ImageServiceClient_Create_Call

func (*ImageServiceClient_Create_Call) RunAndReturn added in v0.0.34

func (_c *ImageServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, imageServiceCreateRequest *adminv2.ImageServiceCreateRequest) (*adminv2.ImageServiceCreateResponse, error)) *ImageServiceClient_Create_Call

type ImageServiceClient_Delete_Call added in v0.0.34

type ImageServiceClient_Delete_Call struct {
	*mock.Call
}

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

func (*ImageServiceClient_Delete_Call) Return added in v0.0.34

func (_c *ImageServiceClient_Delete_Call) Return(imageServiceDeleteResponse *adminv2.ImageServiceDeleteResponse, err error) *ImageServiceClient_Delete_Call

func (*ImageServiceClient_Delete_Call) Run added in v0.0.34

func (_c *ImageServiceClient_Delete_Call) Run(run func(context1 context.Context, imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest)) *ImageServiceClient_Delete_Call

func (*ImageServiceClient_Delete_Call) RunAndReturn added in v0.0.34

func (_c *ImageServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest) (*adminv2.ImageServiceDeleteResponse, error)) *ImageServiceClient_Delete_Call

type ImageServiceClient_Expecter added in v0.0.34

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

func (*ImageServiceClient_Expecter) Create added in v0.0.34

func (_e *ImageServiceClient_Expecter) Create(context1 interface{}, imageServiceCreateRequest interface{}) *ImageServiceClient_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • imageServiceCreateRequest *adminv2.ImageServiceCreateRequest

func (*ImageServiceClient_Expecter) Delete added in v0.0.34

func (_e *ImageServiceClient_Expecter) Delete(context1 interface{}, imageServiceDeleteRequest interface{}) *ImageServiceClient_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest

func (*ImageServiceClient_Expecter) Update added in v0.0.34

func (_e *ImageServiceClient_Expecter) Update(context1 interface{}, imageServiceUpdateRequest interface{}) *ImageServiceClient_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest

func (*ImageServiceClient_Expecter) Usage added in v0.0.34

func (_e *ImageServiceClient_Expecter) Usage(context1 interface{}, imageServiceUsageRequest interface{}) *ImageServiceClient_Usage_Call

Usage is a helper method to define mock.On call

  • context1 context.Context
  • imageServiceUsageRequest *adminv2.ImageServiceUsageRequest

type ImageServiceClient_Update_Call added in v0.0.34

type ImageServiceClient_Update_Call struct {
	*mock.Call
}

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

func (*ImageServiceClient_Update_Call) Return added in v0.0.34

func (_c *ImageServiceClient_Update_Call) Return(imageServiceUpdateResponse *adminv2.ImageServiceUpdateResponse, err error) *ImageServiceClient_Update_Call

func (*ImageServiceClient_Update_Call) Run added in v0.0.34

func (_c *ImageServiceClient_Update_Call) Run(run func(context1 context.Context, imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest)) *ImageServiceClient_Update_Call

func (*ImageServiceClient_Update_Call) RunAndReturn added in v0.0.34

func (_c *ImageServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest) (*adminv2.ImageServiceUpdateResponse, error)) *ImageServiceClient_Update_Call

type ImageServiceClient_Usage_Call added in v0.0.34

type ImageServiceClient_Usage_Call struct {
	*mock.Call
}

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

func (*ImageServiceClient_Usage_Call) Return added in v0.0.34

func (_c *ImageServiceClient_Usage_Call) Return(imageServiceUsageResponse *adminv2.ImageServiceUsageResponse, err error) *ImageServiceClient_Usage_Call

func (*ImageServiceClient_Usage_Call) Run added in v0.0.34

func (_c *ImageServiceClient_Usage_Call) Run(run func(context1 context.Context, imageServiceUsageRequest *adminv2.ImageServiceUsageRequest)) *ImageServiceClient_Usage_Call

func (*ImageServiceClient_Usage_Call) RunAndReturn added in v0.0.34

func (_c *ImageServiceClient_Usage_Call) RunAndReturn(run func(context1 context.Context, imageServiceUsageRequest *adminv2.ImageServiceUsageRequest) (*adminv2.ImageServiceUsageResponse, error)) *ImageServiceClient_Usage_Call

type ImageServiceHandler

type ImageServiceHandler struct {
	mock.Mock
}

ImageServiceHandler is an autogenerated mock type for the ImageServiceHandler type

func NewImageServiceHandler

func NewImageServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *ImageServiceHandler

NewImageServiceHandler creates a new instance of ImageServiceHandler. 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 (*ImageServiceHandler) Create

func (_mock *ImageServiceHandler) Create(context1 context.Context, imageServiceCreateRequest *adminv2.ImageServiceCreateRequest) (*adminv2.ImageServiceCreateResponse, error)

Create provides a mock function for the type ImageServiceHandler

func (*ImageServiceHandler) Delete

func (_mock *ImageServiceHandler) Delete(context1 context.Context, imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest) (*adminv2.ImageServiceDeleteResponse, error)

Delete provides a mock function for the type ImageServiceHandler

func (*ImageServiceHandler) EXPECT added in v0.0.34

func (*ImageServiceHandler) Update

func (_mock *ImageServiceHandler) Update(context1 context.Context, imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest) (*adminv2.ImageServiceUpdateResponse, error)

Update provides a mock function for the type ImageServiceHandler

func (*ImageServiceHandler) Usage

func (_mock *ImageServiceHandler) Usage(context1 context.Context, imageServiceUsageRequest *adminv2.ImageServiceUsageRequest) (*adminv2.ImageServiceUsageResponse, error)

Usage provides a mock function for the type ImageServiceHandler

type ImageServiceHandler_Create_Call added in v0.0.34

type ImageServiceHandler_Create_Call struct {
	*mock.Call
}

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

func (*ImageServiceHandler_Create_Call) Return added in v0.0.34

func (_c *ImageServiceHandler_Create_Call) Return(imageServiceCreateResponse *adminv2.ImageServiceCreateResponse, err error) *ImageServiceHandler_Create_Call

func (*ImageServiceHandler_Create_Call) Run added in v0.0.34

func (_c *ImageServiceHandler_Create_Call) Run(run func(context1 context.Context, imageServiceCreateRequest *adminv2.ImageServiceCreateRequest)) *ImageServiceHandler_Create_Call

func (*ImageServiceHandler_Create_Call) RunAndReturn added in v0.0.34

func (_c *ImageServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, imageServiceCreateRequest *adminv2.ImageServiceCreateRequest) (*adminv2.ImageServiceCreateResponse, error)) *ImageServiceHandler_Create_Call

type ImageServiceHandler_Delete_Call added in v0.0.34

type ImageServiceHandler_Delete_Call struct {
	*mock.Call
}

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

func (*ImageServiceHandler_Delete_Call) Return added in v0.0.34

func (_c *ImageServiceHandler_Delete_Call) Return(imageServiceDeleteResponse *adminv2.ImageServiceDeleteResponse, err error) *ImageServiceHandler_Delete_Call

func (*ImageServiceHandler_Delete_Call) Run added in v0.0.34

func (_c *ImageServiceHandler_Delete_Call) Run(run func(context1 context.Context, imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest)) *ImageServiceHandler_Delete_Call

func (*ImageServiceHandler_Delete_Call) RunAndReturn added in v0.0.34

func (_c *ImageServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest) (*adminv2.ImageServiceDeleteResponse, error)) *ImageServiceHandler_Delete_Call

type ImageServiceHandler_Expecter added in v0.0.34

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

func (*ImageServiceHandler_Expecter) Create added in v0.0.34

func (_e *ImageServiceHandler_Expecter) Create(context1 interface{}, imageServiceCreateRequest interface{}) *ImageServiceHandler_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • imageServiceCreateRequest *adminv2.ImageServiceCreateRequest

func (*ImageServiceHandler_Expecter) Delete added in v0.0.34

func (_e *ImageServiceHandler_Expecter) Delete(context1 interface{}, imageServiceDeleteRequest interface{}) *ImageServiceHandler_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest

func (*ImageServiceHandler_Expecter) Update added in v0.0.34

func (_e *ImageServiceHandler_Expecter) Update(context1 interface{}, imageServiceUpdateRequest interface{}) *ImageServiceHandler_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest

func (*ImageServiceHandler_Expecter) Usage added in v0.0.34

func (_e *ImageServiceHandler_Expecter) Usage(context1 interface{}, imageServiceUsageRequest interface{}) *ImageServiceHandler_Usage_Call

Usage is a helper method to define mock.On call

  • context1 context.Context
  • imageServiceUsageRequest *adminv2.ImageServiceUsageRequest

type ImageServiceHandler_Update_Call added in v0.0.34

type ImageServiceHandler_Update_Call struct {
	*mock.Call
}

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

func (*ImageServiceHandler_Update_Call) Return added in v0.0.34

func (_c *ImageServiceHandler_Update_Call) Return(imageServiceUpdateResponse *adminv2.ImageServiceUpdateResponse, err error) *ImageServiceHandler_Update_Call

func (*ImageServiceHandler_Update_Call) Run added in v0.0.34

func (_c *ImageServiceHandler_Update_Call) Run(run func(context1 context.Context, imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest)) *ImageServiceHandler_Update_Call

func (*ImageServiceHandler_Update_Call) RunAndReturn added in v0.0.34

func (_c *ImageServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest) (*adminv2.ImageServiceUpdateResponse, error)) *ImageServiceHandler_Update_Call

type ImageServiceHandler_Usage_Call added in v0.0.34

type ImageServiceHandler_Usage_Call struct {
	*mock.Call
}

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

func (*ImageServiceHandler_Usage_Call) Return added in v0.0.34

func (_c *ImageServiceHandler_Usage_Call) Return(imageServiceUsageResponse *adminv2.ImageServiceUsageResponse, err error) *ImageServiceHandler_Usage_Call

func (*ImageServiceHandler_Usage_Call) Run added in v0.0.34

func (_c *ImageServiceHandler_Usage_Call) Run(run func(context1 context.Context, imageServiceUsageRequest *adminv2.ImageServiceUsageRequest)) *ImageServiceHandler_Usage_Call

func (*ImageServiceHandler_Usage_Call) RunAndReturn added in v0.0.34

func (_c *ImageServiceHandler_Usage_Call) RunAndReturn(run func(context1 context.Context, imageServiceUsageRequest *adminv2.ImageServiceUsageRequest) (*adminv2.ImageServiceUsageResponse, error)) *ImageServiceHandler_Usage_Call

type MachineServiceClient added in v0.0.12

type MachineServiceClient struct {
	mock.Mock
}

MachineServiceClient is an autogenerated mock type for the MachineServiceClient type

func NewMachineServiceClient added in v0.0.12

func NewMachineServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MachineServiceClient

NewMachineServiceClient creates a new instance of MachineServiceClient. 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 (*MachineServiceClient) EXPECT added in v0.0.34

func (*MachineServiceClient) Get added in v0.0.12

func (_mock *MachineServiceClient) Get(context1 context.Context, machineServiceGetRequest *adminv2.MachineServiceGetRequest) (*adminv2.MachineServiceGetResponse, error)

Get provides a mock function for the type MachineServiceClient

func (*MachineServiceClient) List added in v0.0.12

func (_mock *MachineServiceClient) List(context1 context.Context, machineServiceListRequest *adminv2.MachineServiceListRequest) (*adminv2.MachineServiceListResponse, error)

List provides a mock function for the type MachineServiceClient

type MachineServiceClient_Expecter added in v0.0.34

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

func (*MachineServiceClient_Expecter) Get added in v0.0.34

func (_e *MachineServiceClient_Expecter) Get(context1 interface{}, machineServiceGetRequest interface{}) *MachineServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • machineServiceGetRequest *adminv2.MachineServiceGetRequest

func (*MachineServiceClient_Expecter) List added in v0.0.34

func (_e *MachineServiceClient_Expecter) List(context1 interface{}, machineServiceListRequest interface{}) *MachineServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • machineServiceListRequest *adminv2.MachineServiceListRequest

type MachineServiceClient_Get_Call added in v0.0.34

type MachineServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*MachineServiceClient_Get_Call) Return added in v0.0.34

func (_c *MachineServiceClient_Get_Call) Return(machineServiceGetResponse *adminv2.MachineServiceGetResponse, err error) *MachineServiceClient_Get_Call

func (*MachineServiceClient_Get_Call) Run added in v0.0.34

func (_c *MachineServiceClient_Get_Call) Run(run func(context1 context.Context, machineServiceGetRequest *adminv2.MachineServiceGetRequest)) *MachineServiceClient_Get_Call

func (*MachineServiceClient_Get_Call) RunAndReturn added in v0.0.34

func (_c *MachineServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, machineServiceGetRequest *adminv2.MachineServiceGetRequest) (*adminv2.MachineServiceGetResponse, error)) *MachineServiceClient_Get_Call

type MachineServiceClient_List_Call added in v0.0.34

type MachineServiceClient_List_Call struct {
	*mock.Call
}

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

func (*MachineServiceClient_List_Call) Return added in v0.0.34

func (_c *MachineServiceClient_List_Call) Return(machineServiceListResponse *adminv2.MachineServiceListResponse, err error) *MachineServiceClient_List_Call

func (*MachineServiceClient_List_Call) Run added in v0.0.34

func (_c *MachineServiceClient_List_Call) Run(run func(context1 context.Context, machineServiceListRequest *adminv2.MachineServiceListRequest)) *MachineServiceClient_List_Call

func (*MachineServiceClient_List_Call) RunAndReturn added in v0.0.34

func (_c *MachineServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, machineServiceListRequest *adminv2.MachineServiceListRequest) (*adminv2.MachineServiceListResponse, error)) *MachineServiceClient_List_Call

type MachineServiceHandler added in v0.0.12

type MachineServiceHandler struct {
	mock.Mock
}

MachineServiceHandler is an autogenerated mock type for the MachineServiceHandler type

func NewMachineServiceHandler added in v0.0.12

func NewMachineServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *MachineServiceHandler

NewMachineServiceHandler creates a new instance of MachineServiceHandler. 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 (*MachineServiceHandler) EXPECT added in v0.0.34

func (*MachineServiceHandler) Get added in v0.0.12

func (_mock *MachineServiceHandler) Get(context1 context.Context, machineServiceGetRequest *adminv2.MachineServiceGetRequest) (*adminv2.MachineServiceGetResponse, error)

Get provides a mock function for the type MachineServiceHandler

func (*MachineServiceHandler) List added in v0.0.12

func (_mock *MachineServiceHandler) List(context1 context.Context, machineServiceListRequest *adminv2.MachineServiceListRequest) (*adminv2.MachineServiceListResponse, error)

List provides a mock function for the type MachineServiceHandler

type MachineServiceHandler_Expecter added in v0.0.34

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

func (*MachineServiceHandler_Expecter) Get added in v0.0.34

func (_e *MachineServiceHandler_Expecter) Get(context1 interface{}, machineServiceGetRequest interface{}) *MachineServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • machineServiceGetRequest *adminv2.MachineServiceGetRequest

func (*MachineServiceHandler_Expecter) List added in v0.0.34

func (_e *MachineServiceHandler_Expecter) List(context1 interface{}, machineServiceListRequest interface{}) *MachineServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • machineServiceListRequest *adminv2.MachineServiceListRequest

type MachineServiceHandler_Get_Call added in v0.0.34

type MachineServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*MachineServiceHandler_Get_Call) Return added in v0.0.34

func (_c *MachineServiceHandler_Get_Call) Return(machineServiceGetResponse *adminv2.MachineServiceGetResponse, err error) *MachineServiceHandler_Get_Call

func (*MachineServiceHandler_Get_Call) Run added in v0.0.34

func (_c *MachineServiceHandler_Get_Call) Run(run func(context1 context.Context, machineServiceGetRequest *adminv2.MachineServiceGetRequest)) *MachineServiceHandler_Get_Call

func (*MachineServiceHandler_Get_Call) RunAndReturn added in v0.0.34

func (_c *MachineServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, machineServiceGetRequest *adminv2.MachineServiceGetRequest) (*adminv2.MachineServiceGetResponse, error)) *MachineServiceHandler_Get_Call

type MachineServiceHandler_List_Call added in v0.0.34

type MachineServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*MachineServiceHandler_List_Call) Return added in v0.0.34

func (_c *MachineServiceHandler_List_Call) Return(machineServiceListResponse *adminv2.MachineServiceListResponse, err error) *MachineServiceHandler_List_Call

func (*MachineServiceHandler_List_Call) Run added in v0.0.34

func (_c *MachineServiceHandler_List_Call) Run(run func(context1 context.Context, machineServiceListRequest *adminv2.MachineServiceListRequest)) *MachineServiceHandler_List_Call

func (*MachineServiceHandler_List_Call) RunAndReturn added in v0.0.34

func (_c *MachineServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, machineServiceListRequest *adminv2.MachineServiceListRequest) (*adminv2.MachineServiceListResponse, error)) *MachineServiceHandler_List_Call

type NetworkServiceClient

type NetworkServiceClient struct {
	mock.Mock
}

NetworkServiceClient is an autogenerated mock type for the NetworkServiceClient type

func NewNetworkServiceClient

func NewNetworkServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *NetworkServiceClient

NewNetworkServiceClient creates a new instance of NetworkServiceClient. 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 (*NetworkServiceClient) Create

func (_mock *NetworkServiceClient) Create(context1 context.Context, networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest) (*adminv2.NetworkServiceCreateResponse, error)

Create provides a mock function for the type NetworkServiceClient

func (*NetworkServiceClient) Delete

func (_mock *NetworkServiceClient) Delete(context1 context.Context, networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest) (*adminv2.NetworkServiceDeleteResponse, error)

Delete provides a mock function for the type NetworkServiceClient

func (*NetworkServiceClient) EXPECT added in v0.0.34

func (*NetworkServiceClient) Get

func (_mock *NetworkServiceClient) Get(context1 context.Context, networkServiceGetRequest *adminv2.NetworkServiceGetRequest) (*adminv2.NetworkServiceGetResponse, error)

Get provides a mock function for the type NetworkServiceClient

func (*NetworkServiceClient) List

func (_mock *NetworkServiceClient) List(context1 context.Context, networkServiceListRequest *adminv2.NetworkServiceListRequest) (*adminv2.NetworkServiceListResponse, error)

List provides a mock function for the type NetworkServiceClient

func (*NetworkServiceClient) Update

func (_mock *NetworkServiceClient) Update(context1 context.Context, networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest) (*adminv2.NetworkServiceUpdateResponse, error)

Update provides a mock function for the type NetworkServiceClient

type NetworkServiceClient_Create_Call added in v0.0.34

type NetworkServiceClient_Create_Call struct {
	*mock.Call
}

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

func (*NetworkServiceClient_Create_Call) Return added in v0.0.34

func (_c *NetworkServiceClient_Create_Call) Return(networkServiceCreateResponse *adminv2.NetworkServiceCreateResponse, err error) *NetworkServiceClient_Create_Call

func (*NetworkServiceClient_Create_Call) Run added in v0.0.34

func (_c *NetworkServiceClient_Create_Call) Run(run func(context1 context.Context, networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest)) *NetworkServiceClient_Create_Call

func (*NetworkServiceClient_Create_Call) RunAndReturn added in v0.0.34

func (_c *NetworkServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest) (*adminv2.NetworkServiceCreateResponse, error)) *NetworkServiceClient_Create_Call

type NetworkServiceClient_Delete_Call added in v0.0.34

type NetworkServiceClient_Delete_Call struct {
	*mock.Call
}

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

func (*NetworkServiceClient_Delete_Call) Return added in v0.0.34

func (_c *NetworkServiceClient_Delete_Call) Return(networkServiceDeleteResponse *adminv2.NetworkServiceDeleteResponse, err error) *NetworkServiceClient_Delete_Call

func (*NetworkServiceClient_Delete_Call) Run added in v0.0.34

func (_c *NetworkServiceClient_Delete_Call) Run(run func(context1 context.Context, networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest)) *NetworkServiceClient_Delete_Call

func (*NetworkServiceClient_Delete_Call) RunAndReturn added in v0.0.34

func (_c *NetworkServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest) (*adminv2.NetworkServiceDeleteResponse, error)) *NetworkServiceClient_Delete_Call

type NetworkServiceClient_Expecter added in v0.0.34

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

func (*NetworkServiceClient_Expecter) Create added in v0.0.34

func (_e *NetworkServiceClient_Expecter) Create(context1 interface{}, networkServiceCreateRequest interface{}) *NetworkServiceClient_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest

func (*NetworkServiceClient_Expecter) Delete added in v0.0.34

func (_e *NetworkServiceClient_Expecter) Delete(context1 interface{}, networkServiceDeleteRequest interface{}) *NetworkServiceClient_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest

func (*NetworkServiceClient_Expecter) Get added in v0.0.34

func (_e *NetworkServiceClient_Expecter) Get(context1 interface{}, networkServiceGetRequest interface{}) *NetworkServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • networkServiceGetRequest *adminv2.NetworkServiceGetRequest

func (*NetworkServiceClient_Expecter) List added in v0.0.34

func (_e *NetworkServiceClient_Expecter) List(context1 interface{}, networkServiceListRequest interface{}) *NetworkServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • networkServiceListRequest *adminv2.NetworkServiceListRequest

func (*NetworkServiceClient_Expecter) Update added in v0.0.34

func (_e *NetworkServiceClient_Expecter) Update(context1 interface{}, networkServiceUpdateRequest interface{}) *NetworkServiceClient_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest

type NetworkServiceClient_Get_Call added in v0.0.34

type NetworkServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*NetworkServiceClient_Get_Call) Return added in v0.0.34

func (_c *NetworkServiceClient_Get_Call) Return(networkServiceGetResponse *adminv2.NetworkServiceGetResponse, err error) *NetworkServiceClient_Get_Call

func (*NetworkServiceClient_Get_Call) Run added in v0.0.34

func (_c *NetworkServiceClient_Get_Call) Run(run func(context1 context.Context, networkServiceGetRequest *adminv2.NetworkServiceGetRequest)) *NetworkServiceClient_Get_Call

func (*NetworkServiceClient_Get_Call) RunAndReturn added in v0.0.34

func (_c *NetworkServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, networkServiceGetRequest *adminv2.NetworkServiceGetRequest) (*adminv2.NetworkServiceGetResponse, error)) *NetworkServiceClient_Get_Call

type NetworkServiceClient_List_Call added in v0.0.34

type NetworkServiceClient_List_Call struct {
	*mock.Call
}

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

func (*NetworkServiceClient_List_Call) Return added in v0.0.34

func (_c *NetworkServiceClient_List_Call) Return(networkServiceListResponse *adminv2.NetworkServiceListResponse, err error) *NetworkServiceClient_List_Call

func (*NetworkServiceClient_List_Call) Run added in v0.0.34

func (_c *NetworkServiceClient_List_Call) Run(run func(context1 context.Context, networkServiceListRequest *adminv2.NetworkServiceListRequest)) *NetworkServiceClient_List_Call

func (*NetworkServiceClient_List_Call) RunAndReturn added in v0.0.34

func (_c *NetworkServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, networkServiceListRequest *adminv2.NetworkServiceListRequest) (*adminv2.NetworkServiceListResponse, error)) *NetworkServiceClient_List_Call

type NetworkServiceClient_Update_Call added in v0.0.34

type NetworkServiceClient_Update_Call struct {
	*mock.Call
}

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

func (*NetworkServiceClient_Update_Call) Return added in v0.0.34

func (_c *NetworkServiceClient_Update_Call) Return(networkServiceUpdateResponse *adminv2.NetworkServiceUpdateResponse, err error) *NetworkServiceClient_Update_Call

func (*NetworkServiceClient_Update_Call) Run added in v0.0.34

func (_c *NetworkServiceClient_Update_Call) Run(run func(context1 context.Context, networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest)) *NetworkServiceClient_Update_Call

func (*NetworkServiceClient_Update_Call) RunAndReturn added in v0.0.34

func (_c *NetworkServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest) (*adminv2.NetworkServiceUpdateResponse, error)) *NetworkServiceClient_Update_Call

type NetworkServiceHandler

type NetworkServiceHandler struct {
	mock.Mock
}

NetworkServiceHandler is an autogenerated mock type for the NetworkServiceHandler type

func NewNetworkServiceHandler

func NewNetworkServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *NetworkServiceHandler

NewNetworkServiceHandler creates a new instance of NetworkServiceHandler. 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 (*NetworkServiceHandler) Create

func (_mock *NetworkServiceHandler) Create(context1 context.Context, networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest) (*adminv2.NetworkServiceCreateResponse, error)

Create provides a mock function for the type NetworkServiceHandler

func (*NetworkServiceHandler) Delete

func (_mock *NetworkServiceHandler) Delete(context1 context.Context, networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest) (*adminv2.NetworkServiceDeleteResponse, error)

Delete provides a mock function for the type NetworkServiceHandler

func (*NetworkServiceHandler) EXPECT added in v0.0.34

func (*NetworkServiceHandler) Get

func (_mock *NetworkServiceHandler) Get(context1 context.Context, networkServiceGetRequest *adminv2.NetworkServiceGetRequest) (*adminv2.NetworkServiceGetResponse, error)

Get provides a mock function for the type NetworkServiceHandler

func (*NetworkServiceHandler) List

func (_mock *NetworkServiceHandler) List(context1 context.Context, networkServiceListRequest *adminv2.NetworkServiceListRequest) (*adminv2.NetworkServiceListResponse, error)

List provides a mock function for the type NetworkServiceHandler

func (*NetworkServiceHandler) Update

func (_mock *NetworkServiceHandler) Update(context1 context.Context, networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest) (*adminv2.NetworkServiceUpdateResponse, error)

Update provides a mock function for the type NetworkServiceHandler

type NetworkServiceHandler_Create_Call added in v0.0.34

type NetworkServiceHandler_Create_Call struct {
	*mock.Call
}

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

func (*NetworkServiceHandler_Create_Call) Return added in v0.0.34

func (_c *NetworkServiceHandler_Create_Call) Return(networkServiceCreateResponse *adminv2.NetworkServiceCreateResponse, err error) *NetworkServiceHandler_Create_Call

func (*NetworkServiceHandler_Create_Call) Run added in v0.0.34

func (_c *NetworkServiceHandler_Create_Call) Run(run func(context1 context.Context, networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest)) *NetworkServiceHandler_Create_Call

func (*NetworkServiceHandler_Create_Call) RunAndReturn added in v0.0.34

func (_c *NetworkServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest) (*adminv2.NetworkServiceCreateResponse, error)) *NetworkServiceHandler_Create_Call

type NetworkServiceHandler_Delete_Call added in v0.0.34

type NetworkServiceHandler_Delete_Call struct {
	*mock.Call
}

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

func (*NetworkServiceHandler_Delete_Call) Return added in v0.0.34

func (_c *NetworkServiceHandler_Delete_Call) Return(networkServiceDeleteResponse *adminv2.NetworkServiceDeleteResponse, err error) *NetworkServiceHandler_Delete_Call

func (*NetworkServiceHandler_Delete_Call) Run added in v0.0.34

func (_c *NetworkServiceHandler_Delete_Call) Run(run func(context1 context.Context, networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest)) *NetworkServiceHandler_Delete_Call

func (*NetworkServiceHandler_Delete_Call) RunAndReturn added in v0.0.34

func (_c *NetworkServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest) (*adminv2.NetworkServiceDeleteResponse, error)) *NetworkServiceHandler_Delete_Call

type NetworkServiceHandler_Expecter added in v0.0.34

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

func (*NetworkServiceHandler_Expecter) Create added in v0.0.34

func (_e *NetworkServiceHandler_Expecter) Create(context1 interface{}, networkServiceCreateRequest interface{}) *NetworkServiceHandler_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest

func (*NetworkServiceHandler_Expecter) Delete added in v0.0.34

func (_e *NetworkServiceHandler_Expecter) Delete(context1 interface{}, networkServiceDeleteRequest interface{}) *NetworkServiceHandler_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest

func (*NetworkServiceHandler_Expecter) Get added in v0.0.34

func (_e *NetworkServiceHandler_Expecter) Get(context1 interface{}, networkServiceGetRequest interface{}) *NetworkServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • networkServiceGetRequest *adminv2.NetworkServiceGetRequest

func (*NetworkServiceHandler_Expecter) List added in v0.0.34

func (_e *NetworkServiceHandler_Expecter) List(context1 interface{}, networkServiceListRequest interface{}) *NetworkServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • networkServiceListRequest *adminv2.NetworkServiceListRequest

func (*NetworkServiceHandler_Expecter) Update added in v0.0.34

func (_e *NetworkServiceHandler_Expecter) Update(context1 interface{}, networkServiceUpdateRequest interface{}) *NetworkServiceHandler_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest

type NetworkServiceHandler_Get_Call added in v0.0.34

type NetworkServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*NetworkServiceHandler_Get_Call) Return added in v0.0.34

func (_c *NetworkServiceHandler_Get_Call) Return(networkServiceGetResponse *adminv2.NetworkServiceGetResponse, err error) *NetworkServiceHandler_Get_Call

func (*NetworkServiceHandler_Get_Call) Run added in v0.0.34

func (_c *NetworkServiceHandler_Get_Call) Run(run func(context1 context.Context, networkServiceGetRequest *adminv2.NetworkServiceGetRequest)) *NetworkServiceHandler_Get_Call

func (*NetworkServiceHandler_Get_Call) RunAndReturn added in v0.0.34

func (_c *NetworkServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, networkServiceGetRequest *adminv2.NetworkServiceGetRequest) (*adminv2.NetworkServiceGetResponse, error)) *NetworkServiceHandler_Get_Call

type NetworkServiceHandler_List_Call added in v0.0.34

type NetworkServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*NetworkServiceHandler_List_Call) Return added in v0.0.34

func (_c *NetworkServiceHandler_List_Call) Return(networkServiceListResponse *adminv2.NetworkServiceListResponse, err error) *NetworkServiceHandler_List_Call

func (*NetworkServiceHandler_List_Call) Run added in v0.0.34

func (_c *NetworkServiceHandler_List_Call) Run(run func(context1 context.Context, networkServiceListRequest *adminv2.NetworkServiceListRequest)) *NetworkServiceHandler_List_Call

func (*NetworkServiceHandler_List_Call) RunAndReturn added in v0.0.34

func (_c *NetworkServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, networkServiceListRequest *adminv2.NetworkServiceListRequest) (*adminv2.NetworkServiceListResponse, error)) *NetworkServiceHandler_List_Call

type NetworkServiceHandler_Update_Call added in v0.0.34

type NetworkServiceHandler_Update_Call struct {
	*mock.Call
}

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

func (*NetworkServiceHandler_Update_Call) Return added in v0.0.34

func (_c *NetworkServiceHandler_Update_Call) Return(networkServiceUpdateResponse *adminv2.NetworkServiceUpdateResponse, err error) *NetworkServiceHandler_Update_Call

func (*NetworkServiceHandler_Update_Call) Run added in v0.0.34

func (_c *NetworkServiceHandler_Update_Call) Run(run func(context1 context.Context, networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest)) *NetworkServiceHandler_Update_Call

func (*NetworkServiceHandler_Update_Call) RunAndReturn added in v0.0.34

func (_c *NetworkServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest) (*adminv2.NetworkServiceUpdateResponse, error)) *NetworkServiceHandler_Update_Call

type PartitionServiceClient

type PartitionServiceClient struct {
	mock.Mock
}

PartitionServiceClient is an autogenerated mock type for the PartitionServiceClient type

func NewPartitionServiceClient

func NewPartitionServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *PartitionServiceClient

NewPartitionServiceClient creates a new instance of PartitionServiceClient. 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 (*PartitionServiceClient) Capacity

func (_mock *PartitionServiceClient) Capacity(context1 context.Context, partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest) (*adminv2.PartitionServiceCapacityResponse, error)

Capacity provides a mock function for the type PartitionServiceClient

func (*PartitionServiceClient) Create

func (_mock *PartitionServiceClient) Create(context1 context.Context, partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest) (*adminv2.PartitionServiceCreateResponse, error)

Create provides a mock function for the type PartitionServiceClient

func (*PartitionServiceClient) Delete

func (_mock *PartitionServiceClient) Delete(context1 context.Context, partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest) (*adminv2.PartitionServiceDeleteResponse, error)

Delete provides a mock function for the type PartitionServiceClient

func (*PartitionServiceClient) EXPECT added in v0.0.34

func (*PartitionServiceClient) Update

func (_mock *PartitionServiceClient) Update(context1 context.Context, partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest) (*adminv2.PartitionServiceUpdateResponse, error)

Update provides a mock function for the type PartitionServiceClient

type PartitionServiceClient_Capacity_Call added in v0.0.34

type PartitionServiceClient_Capacity_Call struct {
	*mock.Call
}

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

func (*PartitionServiceClient_Capacity_Call) Return added in v0.0.34

func (_c *PartitionServiceClient_Capacity_Call) Return(partitionServiceCapacityResponse *adminv2.PartitionServiceCapacityResponse, err error) *PartitionServiceClient_Capacity_Call

func (*PartitionServiceClient_Capacity_Call) Run added in v0.0.34

func (_c *PartitionServiceClient_Capacity_Call) Run(run func(context1 context.Context, partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest)) *PartitionServiceClient_Capacity_Call

func (*PartitionServiceClient_Capacity_Call) RunAndReturn added in v0.0.34

func (_c *PartitionServiceClient_Capacity_Call) RunAndReturn(run func(context1 context.Context, partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest) (*adminv2.PartitionServiceCapacityResponse, error)) *PartitionServiceClient_Capacity_Call

type PartitionServiceClient_Create_Call added in v0.0.34

type PartitionServiceClient_Create_Call struct {
	*mock.Call
}

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

func (*PartitionServiceClient_Create_Call) Return added in v0.0.34

func (_c *PartitionServiceClient_Create_Call) Return(partitionServiceCreateResponse *adminv2.PartitionServiceCreateResponse, err error) *PartitionServiceClient_Create_Call

func (*PartitionServiceClient_Create_Call) Run added in v0.0.34

func (_c *PartitionServiceClient_Create_Call) Run(run func(context1 context.Context, partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest)) *PartitionServiceClient_Create_Call

func (*PartitionServiceClient_Create_Call) RunAndReturn added in v0.0.34

func (_c *PartitionServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest) (*adminv2.PartitionServiceCreateResponse, error)) *PartitionServiceClient_Create_Call

type PartitionServiceClient_Delete_Call added in v0.0.34

type PartitionServiceClient_Delete_Call struct {
	*mock.Call
}

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

func (*PartitionServiceClient_Delete_Call) Return added in v0.0.34

func (_c *PartitionServiceClient_Delete_Call) Return(partitionServiceDeleteResponse *adminv2.PartitionServiceDeleteResponse, err error) *PartitionServiceClient_Delete_Call

func (*PartitionServiceClient_Delete_Call) Run added in v0.0.34

func (_c *PartitionServiceClient_Delete_Call) Run(run func(context1 context.Context, partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest)) *PartitionServiceClient_Delete_Call

func (*PartitionServiceClient_Delete_Call) RunAndReturn added in v0.0.34

func (_c *PartitionServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest) (*adminv2.PartitionServiceDeleteResponse, error)) *PartitionServiceClient_Delete_Call

type PartitionServiceClient_Expecter added in v0.0.34

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

func (*PartitionServiceClient_Expecter) Capacity added in v0.0.34

func (_e *PartitionServiceClient_Expecter) Capacity(context1 interface{}, partitionServiceCapacityRequest interface{}) *PartitionServiceClient_Capacity_Call

Capacity is a helper method to define mock.On call

  • context1 context.Context
  • partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest

func (*PartitionServiceClient_Expecter) Create added in v0.0.34

func (_e *PartitionServiceClient_Expecter) Create(context1 interface{}, partitionServiceCreateRequest interface{}) *PartitionServiceClient_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest

func (*PartitionServiceClient_Expecter) Delete added in v0.0.34

func (_e *PartitionServiceClient_Expecter) Delete(context1 interface{}, partitionServiceDeleteRequest interface{}) *PartitionServiceClient_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest

func (*PartitionServiceClient_Expecter) Update added in v0.0.34

func (_e *PartitionServiceClient_Expecter) Update(context1 interface{}, partitionServiceUpdateRequest interface{}) *PartitionServiceClient_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest

type PartitionServiceClient_Update_Call added in v0.0.34

type PartitionServiceClient_Update_Call struct {
	*mock.Call
}

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

func (*PartitionServiceClient_Update_Call) Return added in v0.0.34

func (_c *PartitionServiceClient_Update_Call) Return(partitionServiceUpdateResponse *adminv2.PartitionServiceUpdateResponse, err error) *PartitionServiceClient_Update_Call

func (*PartitionServiceClient_Update_Call) Run added in v0.0.34

func (_c *PartitionServiceClient_Update_Call) Run(run func(context1 context.Context, partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest)) *PartitionServiceClient_Update_Call

func (*PartitionServiceClient_Update_Call) RunAndReturn added in v0.0.34

func (_c *PartitionServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest) (*adminv2.PartitionServiceUpdateResponse, error)) *PartitionServiceClient_Update_Call

type PartitionServiceHandler

type PartitionServiceHandler struct {
	mock.Mock
}

PartitionServiceHandler is an autogenerated mock type for the PartitionServiceHandler type

func NewPartitionServiceHandler

func NewPartitionServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *PartitionServiceHandler

NewPartitionServiceHandler creates a new instance of PartitionServiceHandler. 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 (*PartitionServiceHandler) Capacity

func (_mock *PartitionServiceHandler) Capacity(context1 context.Context, partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest) (*adminv2.PartitionServiceCapacityResponse, error)

Capacity provides a mock function for the type PartitionServiceHandler

func (*PartitionServiceHandler) Create

func (_mock *PartitionServiceHandler) Create(context1 context.Context, partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest) (*adminv2.PartitionServiceCreateResponse, error)

Create provides a mock function for the type PartitionServiceHandler

func (*PartitionServiceHandler) Delete

func (_mock *PartitionServiceHandler) Delete(context1 context.Context, partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest) (*adminv2.PartitionServiceDeleteResponse, error)

Delete provides a mock function for the type PartitionServiceHandler

func (*PartitionServiceHandler) EXPECT added in v0.0.34

func (*PartitionServiceHandler) Update

func (_mock *PartitionServiceHandler) Update(context1 context.Context, partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest) (*adminv2.PartitionServiceUpdateResponse, error)

Update provides a mock function for the type PartitionServiceHandler

type PartitionServiceHandler_Capacity_Call added in v0.0.34

type PartitionServiceHandler_Capacity_Call struct {
	*mock.Call
}

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

func (*PartitionServiceHandler_Capacity_Call) Return added in v0.0.34

func (_c *PartitionServiceHandler_Capacity_Call) Return(partitionServiceCapacityResponse *adminv2.PartitionServiceCapacityResponse, err error) *PartitionServiceHandler_Capacity_Call

func (*PartitionServiceHandler_Capacity_Call) Run added in v0.0.34

func (_c *PartitionServiceHandler_Capacity_Call) Run(run func(context1 context.Context, partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest)) *PartitionServiceHandler_Capacity_Call

func (*PartitionServiceHandler_Capacity_Call) RunAndReturn added in v0.0.34

func (_c *PartitionServiceHandler_Capacity_Call) RunAndReturn(run func(context1 context.Context, partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest) (*adminv2.PartitionServiceCapacityResponse, error)) *PartitionServiceHandler_Capacity_Call

type PartitionServiceHandler_Create_Call added in v0.0.34

type PartitionServiceHandler_Create_Call struct {
	*mock.Call
}

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

func (*PartitionServiceHandler_Create_Call) Return added in v0.0.34

func (_c *PartitionServiceHandler_Create_Call) Return(partitionServiceCreateResponse *adminv2.PartitionServiceCreateResponse, err error) *PartitionServiceHandler_Create_Call

func (*PartitionServiceHandler_Create_Call) Run added in v0.0.34

func (_c *PartitionServiceHandler_Create_Call) Run(run func(context1 context.Context, partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest)) *PartitionServiceHandler_Create_Call

func (*PartitionServiceHandler_Create_Call) RunAndReturn added in v0.0.34

func (_c *PartitionServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest) (*adminv2.PartitionServiceCreateResponse, error)) *PartitionServiceHandler_Create_Call

type PartitionServiceHandler_Delete_Call added in v0.0.34

type PartitionServiceHandler_Delete_Call struct {
	*mock.Call
}

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

func (*PartitionServiceHandler_Delete_Call) Return added in v0.0.34

func (_c *PartitionServiceHandler_Delete_Call) Return(partitionServiceDeleteResponse *adminv2.PartitionServiceDeleteResponse, err error) *PartitionServiceHandler_Delete_Call

func (*PartitionServiceHandler_Delete_Call) Run added in v0.0.34

func (_c *PartitionServiceHandler_Delete_Call) Run(run func(context1 context.Context, partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest)) *PartitionServiceHandler_Delete_Call

func (*PartitionServiceHandler_Delete_Call) RunAndReturn added in v0.0.34

func (_c *PartitionServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest) (*adminv2.PartitionServiceDeleteResponse, error)) *PartitionServiceHandler_Delete_Call

type PartitionServiceHandler_Expecter added in v0.0.34

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

func (*PartitionServiceHandler_Expecter) Capacity added in v0.0.34

func (_e *PartitionServiceHandler_Expecter) Capacity(context1 interface{}, partitionServiceCapacityRequest interface{}) *PartitionServiceHandler_Capacity_Call

Capacity is a helper method to define mock.On call

  • context1 context.Context
  • partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest

func (*PartitionServiceHandler_Expecter) Create added in v0.0.34

func (_e *PartitionServiceHandler_Expecter) Create(context1 interface{}, partitionServiceCreateRequest interface{}) *PartitionServiceHandler_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest

func (*PartitionServiceHandler_Expecter) Delete added in v0.0.34

func (_e *PartitionServiceHandler_Expecter) Delete(context1 interface{}, partitionServiceDeleteRequest interface{}) *PartitionServiceHandler_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest

func (*PartitionServiceHandler_Expecter) Update added in v0.0.34

func (_e *PartitionServiceHandler_Expecter) Update(context1 interface{}, partitionServiceUpdateRequest interface{}) *PartitionServiceHandler_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest

type PartitionServiceHandler_Update_Call added in v0.0.34

type PartitionServiceHandler_Update_Call struct {
	*mock.Call
}

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

func (*PartitionServiceHandler_Update_Call) Return added in v0.0.34

func (_c *PartitionServiceHandler_Update_Call) Return(partitionServiceUpdateResponse *adminv2.PartitionServiceUpdateResponse, err error) *PartitionServiceHandler_Update_Call

func (*PartitionServiceHandler_Update_Call) Run added in v0.0.34

func (_c *PartitionServiceHandler_Update_Call) Run(run func(context1 context.Context, partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest)) *PartitionServiceHandler_Update_Call

func (*PartitionServiceHandler_Update_Call) RunAndReturn added in v0.0.34

func (_c *PartitionServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest) (*adminv2.PartitionServiceUpdateResponse, error)) *PartitionServiceHandler_Update_Call

type ProjectServiceClient added in v0.0.35

type ProjectServiceClient struct {
	mock.Mock
}

ProjectServiceClient is an autogenerated mock type for the ProjectServiceClient type

func NewProjectServiceClient added in v0.0.35

func NewProjectServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProjectServiceClient

NewProjectServiceClient creates a new instance of ProjectServiceClient. 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 (*ProjectServiceClient) EXPECT added in v0.0.35

func (*ProjectServiceClient) List added in v0.0.35

func (_mock *ProjectServiceClient) List(context1 context.Context, projectServiceListRequest *adminv2.ProjectServiceListRequest) (*adminv2.ProjectServiceListResponse, error)

List provides a mock function for the type ProjectServiceClient

type ProjectServiceClient_Expecter added in v0.0.35

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

func (*ProjectServiceClient_Expecter) List added in v0.0.35

func (_e *ProjectServiceClient_Expecter) List(context1 interface{}, projectServiceListRequest interface{}) *ProjectServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • projectServiceListRequest *adminv2.ProjectServiceListRequest

type ProjectServiceClient_List_Call added in v0.0.35

type ProjectServiceClient_List_Call struct {
	*mock.Call
}

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

func (*ProjectServiceClient_List_Call) Return added in v0.0.35

func (_c *ProjectServiceClient_List_Call) Return(projectServiceListResponse *adminv2.ProjectServiceListResponse, err error) *ProjectServiceClient_List_Call

func (*ProjectServiceClient_List_Call) Run added in v0.0.35

func (_c *ProjectServiceClient_List_Call) Run(run func(context1 context.Context, projectServiceListRequest *adminv2.ProjectServiceListRequest)) *ProjectServiceClient_List_Call

func (*ProjectServiceClient_List_Call) RunAndReturn added in v0.0.35

func (_c *ProjectServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, projectServiceListRequest *adminv2.ProjectServiceListRequest) (*adminv2.ProjectServiceListResponse, error)) *ProjectServiceClient_List_Call

type ProjectServiceHandler added in v0.0.35

type ProjectServiceHandler struct {
	mock.Mock
}

ProjectServiceHandler is an autogenerated mock type for the ProjectServiceHandler type

func NewProjectServiceHandler added in v0.0.35

func NewProjectServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProjectServiceHandler

NewProjectServiceHandler creates a new instance of ProjectServiceHandler. 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 (*ProjectServiceHandler) EXPECT added in v0.0.35

func (*ProjectServiceHandler) List added in v0.0.35

func (_mock *ProjectServiceHandler) List(context1 context.Context, projectServiceListRequest *adminv2.ProjectServiceListRequest) (*adminv2.ProjectServiceListResponse, error)

List provides a mock function for the type ProjectServiceHandler

type ProjectServiceHandler_Expecter added in v0.0.35

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

func (*ProjectServiceHandler_Expecter) List added in v0.0.35

func (_e *ProjectServiceHandler_Expecter) List(context1 interface{}, projectServiceListRequest interface{}) *ProjectServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • projectServiceListRequest *adminv2.ProjectServiceListRequest

type ProjectServiceHandler_List_Call added in v0.0.35

type ProjectServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*ProjectServiceHandler_List_Call) Return added in v0.0.35

func (_c *ProjectServiceHandler_List_Call) Return(projectServiceListResponse *adminv2.ProjectServiceListResponse, err error) *ProjectServiceHandler_List_Call

func (*ProjectServiceHandler_List_Call) Run added in v0.0.35

func (_c *ProjectServiceHandler_List_Call) Run(run func(context1 context.Context, projectServiceListRequest *adminv2.ProjectServiceListRequest)) *ProjectServiceHandler_List_Call

func (*ProjectServiceHandler_List_Call) RunAndReturn added in v0.0.35

func (_c *ProjectServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, projectServiceListRequest *adminv2.ProjectServiceListRequest) (*adminv2.ProjectServiceListResponse, error)) *ProjectServiceHandler_List_Call

type SizeServiceClient added in v0.0.2

type SizeServiceClient struct {
	mock.Mock
}

SizeServiceClient is an autogenerated mock type for the SizeServiceClient type

func NewSizeServiceClient added in v0.0.2

func NewSizeServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *SizeServiceClient

NewSizeServiceClient creates a new instance of SizeServiceClient. 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 (*SizeServiceClient) Create added in v0.0.2

func (_mock *SizeServiceClient) Create(context1 context.Context, sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest) (*adminv2.SizeServiceCreateResponse, error)

Create provides a mock function for the type SizeServiceClient

func (*SizeServiceClient) Delete added in v0.0.2

func (_mock *SizeServiceClient) Delete(context1 context.Context, sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest) (*adminv2.SizeServiceDeleteResponse, error)

Delete provides a mock function for the type SizeServiceClient

func (*SizeServiceClient) EXPECT added in v0.0.34

func (*SizeServiceClient) Update added in v0.0.2

func (_mock *SizeServiceClient) Update(context1 context.Context, sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest) (*adminv2.SizeServiceUpdateResponse, error)

Update provides a mock function for the type SizeServiceClient

type SizeServiceClient_Create_Call added in v0.0.34

type SizeServiceClient_Create_Call struct {
	*mock.Call
}

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

func (*SizeServiceClient_Create_Call) Return added in v0.0.34

func (_c *SizeServiceClient_Create_Call) Return(sizeServiceCreateResponse *adminv2.SizeServiceCreateResponse, err error) *SizeServiceClient_Create_Call

func (*SizeServiceClient_Create_Call) Run added in v0.0.34

func (_c *SizeServiceClient_Create_Call) Run(run func(context1 context.Context, sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest)) *SizeServiceClient_Create_Call

func (*SizeServiceClient_Create_Call) RunAndReturn added in v0.0.34

func (_c *SizeServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest) (*adminv2.SizeServiceCreateResponse, error)) *SizeServiceClient_Create_Call

type SizeServiceClient_Delete_Call added in v0.0.34

type SizeServiceClient_Delete_Call struct {
	*mock.Call
}

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

func (*SizeServiceClient_Delete_Call) Return added in v0.0.34

func (_c *SizeServiceClient_Delete_Call) Return(sizeServiceDeleteResponse *adminv2.SizeServiceDeleteResponse, err error) *SizeServiceClient_Delete_Call

func (*SizeServiceClient_Delete_Call) Run added in v0.0.34

func (_c *SizeServiceClient_Delete_Call) Run(run func(context1 context.Context, sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest)) *SizeServiceClient_Delete_Call

func (*SizeServiceClient_Delete_Call) RunAndReturn added in v0.0.34

func (_c *SizeServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest) (*adminv2.SizeServiceDeleteResponse, error)) *SizeServiceClient_Delete_Call

type SizeServiceClient_Expecter added in v0.0.34

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

func (*SizeServiceClient_Expecter) Create added in v0.0.34

func (_e *SizeServiceClient_Expecter) Create(context1 interface{}, sizeServiceCreateRequest interface{}) *SizeServiceClient_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest

func (*SizeServiceClient_Expecter) Delete added in v0.0.34

func (_e *SizeServiceClient_Expecter) Delete(context1 interface{}, sizeServiceDeleteRequest interface{}) *SizeServiceClient_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest

func (*SizeServiceClient_Expecter) Update added in v0.0.34

func (_e *SizeServiceClient_Expecter) Update(context1 interface{}, sizeServiceUpdateRequest interface{}) *SizeServiceClient_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest

type SizeServiceClient_Update_Call added in v0.0.34

type SizeServiceClient_Update_Call struct {
	*mock.Call
}

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

func (*SizeServiceClient_Update_Call) Return added in v0.0.34

func (_c *SizeServiceClient_Update_Call) Return(sizeServiceUpdateResponse *adminv2.SizeServiceUpdateResponse, err error) *SizeServiceClient_Update_Call

func (*SizeServiceClient_Update_Call) Run added in v0.0.34

func (_c *SizeServiceClient_Update_Call) Run(run func(context1 context.Context, sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest)) *SizeServiceClient_Update_Call

func (*SizeServiceClient_Update_Call) RunAndReturn added in v0.0.34

func (_c *SizeServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest) (*adminv2.SizeServiceUpdateResponse, error)) *SizeServiceClient_Update_Call

type SizeServiceHandler added in v0.0.2

type SizeServiceHandler struct {
	mock.Mock
}

SizeServiceHandler is an autogenerated mock type for the SizeServiceHandler type

func NewSizeServiceHandler added in v0.0.2

func NewSizeServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *SizeServiceHandler

NewSizeServiceHandler creates a new instance of SizeServiceHandler. 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 (*SizeServiceHandler) Create added in v0.0.2

func (_mock *SizeServiceHandler) Create(context1 context.Context, sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest) (*adminv2.SizeServiceCreateResponse, error)

Create provides a mock function for the type SizeServiceHandler

func (*SizeServiceHandler) Delete added in v0.0.2

func (_mock *SizeServiceHandler) Delete(context1 context.Context, sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest) (*adminv2.SizeServiceDeleteResponse, error)

Delete provides a mock function for the type SizeServiceHandler

func (*SizeServiceHandler) EXPECT added in v0.0.34

func (*SizeServiceHandler) Update added in v0.0.2

func (_mock *SizeServiceHandler) Update(context1 context.Context, sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest) (*adminv2.SizeServiceUpdateResponse, error)

Update provides a mock function for the type SizeServiceHandler

type SizeServiceHandler_Create_Call added in v0.0.34

type SizeServiceHandler_Create_Call struct {
	*mock.Call
}

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

func (*SizeServiceHandler_Create_Call) Return added in v0.0.34

func (_c *SizeServiceHandler_Create_Call) Return(sizeServiceCreateResponse *adminv2.SizeServiceCreateResponse, err error) *SizeServiceHandler_Create_Call

func (*SizeServiceHandler_Create_Call) Run added in v0.0.34

func (_c *SizeServiceHandler_Create_Call) Run(run func(context1 context.Context, sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest)) *SizeServiceHandler_Create_Call

func (*SizeServiceHandler_Create_Call) RunAndReturn added in v0.0.34

func (_c *SizeServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest) (*adminv2.SizeServiceCreateResponse, error)) *SizeServiceHandler_Create_Call

type SizeServiceHandler_Delete_Call added in v0.0.34

type SizeServiceHandler_Delete_Call struct {
	*mock.Call
}

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

func (*SizeServiceHandler_Delete_Call) Return added in v0.0.34

func (_c *SizeServiceHandler_Delete_Call) Return(sizeServiceDeleteResponse *adminv2.SizeServiceDeleteResponse, err error) *SizeServiceHandler_Delete_Call

func (*SizeServiceHandler_Delete_Call) Run added in v0.0.34

func (_c *SizeServiceHandler_Delete_Call) Run(run func(context1 context.Context, sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest)) *SizeServiceHandler_Delete_Call

func (*SizeServiceHandler_Delete_Call) RunAndReturn added in v0.0.34

func (_c *SizeServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest) (*adminv2.SizeServiceDeleteResponse, error)) *SizeServiceHandler_Delete_Call

type SizeServiceHandler_Expecter added in v0.0.34

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

func (*SizeServiceHandler_Expecter) Create added in v0.0.34

func (_e *SizeServiceHandler_Expecter) Create(context1 interface{}, sizeServiceCreateRequest interface{}) *SizeServiceHandler_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest

func (*SizeServiceHandler_Expecter) Delete added in v0.0.34

func (_e *SizeServiceHandler_Expecter) Delete(context1 interface{}, sizeServiceDeleteRequest interface{}) *SizeServiceHandler_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest

func (*SizeServiceHandler_Expecter) Update added in v0.0.34

func (_e *SizeServiceHandler_Expecter) Update(context1 interface{}, sizeServiceUpdateRequest interface{}) *SizeServiceHandler_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest

type SizeServiceHandler_Update_Call added in v0.0.34

type SizeServiceHandler_Update_Call struct {
	*mock.Call
}

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

func (*SizeServiceHandler_Update_Call) Return added in v0.0.34

func (_c *SizeServiceHandler_Update_Call) Return(sizeServiceUpdateResponse *adminv2.SizeServiceUpdateResponse, err error) *SizeServiceHandler_Update_Call

func (*SizeServiceHandler_Update_Call) Run added in v0.0.34

func (_c *SizeServiceHandler_Update_Call) Run(run func(context1 context.Context, sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest)) *SizeServiceHandler_Update_Call

func (*SizeServiceHandler_Update_Call) RunAndReturn added in v0.0.34

func (_c *SizeServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest) (*adminv2.SizeServiceUpdateResponse, error)) *SizeServiceHandler_Update_Call

type SwitchServiceClient added in v0.0.23

type SwitchServiceClient struct {
	mock.Mock
}

SwitchServiceClient is an autogenerated mock type for the SwitchServiceClient type

func NewSwitchServiceClient added in v0.0.23

func NewSwitchServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *SwitchServiceClient

NewSwitchServiceClient creates a new instance of SwitchServiceClient. 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 (*SwitchServiceClient) Delete added in v0.0.23

func (_mock *SwitchServiceClient) Delete(context1 context.Context, switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest) (*adminv2.SwitchServiceDeleteResponse, error)

Delete provides a mock function for the type SwitchServiceClient

func (*SwitchServiceClient) EXPECT added in v0.0.34

func (*SwitchServiceClient) Get added in v0.0.23

func (_mock *SwitchServiceClient) Get(context1 context.Context, switchServiceGetRequest *adminv2.SwitchServiceGetRequest) (*adminv2.SwitchServiceGetResponse, error)

Get provides a mock function for the type SwitchServiceClient

func (*SwitchServiceClient) List added in v0.0.23

func (_mock *SwitchServiceClient) List(context1 context.Context, switchServiceListRequest *adminv2.SwitchServiceListRequest) (*adminv2.SwitchServiceListResponse, error)

List provides a mock function for the type SwitchServiceClient

func (*SwitchServiceClient) Migrate added in v0.0.23

func (_mock *SwitchServiceClient) Migrate(context1 context.Context, switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest) (*adminv2.SwitchServiceMigrateResponse, error)

Migrate provides a mock function for the type SwitchServiceClient

func (*SwitchServiceClient) Port added in v0.0.23

func (_mock *SwitchServiceClient) Port(context1 context.Context, switchServicePortRequest *adminv2.SwitchServicePortRequest) (*adminv2.SwitchServicePortResponse, error)

Port provides a mock function for the type SwitchServiceClient

func (*SwitchServiceClient) Update added in v0.0.23

func (_mock *SwitchServiceClient) Update(context1 context.Context, switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest) (*adminv2.SwitchServiceUpdateResponse, error)

Update provides a mock function for the type SwitchServiceClient

type SwitchServiceClient_Delete_Call added in v0.0.34

type SwitchServiceClient_Delete_Call struct {
	*mock.Call
}

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

func (*SwitchServiceClient_Delete_Call) Return added in v0.0.34

func (_c *SwitchServiceClient_Delete_Call) Return(switchServiceDeleteResponse *adminv2.SwitchServiceDeleteResponse, err error) *SwitchServiceClient_Delete_Call

func (*SwitchServiceClient_Delete_Call) Run added in v0.0.34

func (_c *SwitchServiceClient_Delete_Call) Run(run func(context1 context.Context, switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest)) *SwitchServiceClient_Delete_Call

func (*SwitchServiceClient_Delete_Call) RunAndReturn added in v0.0.34

func (_c *SwitchServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest) (*adminv2.SwitchServiceDeleteResponse, error)) *SwitchServiceClient_Delete_Call

type SwitchServiceClient_Expecter added in v0.0.34

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

func (*SwitchServiceClient_Expecter) Delete added in v0.0.34

func (_e *SwitchServiceClient_Expecter) Delete(context1 interface{}, switchServiceDeleteRequest interface{}) *SwitchServiceClient_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest

func (*SwitchServiceClient_Expecter) Get added in v0.0.34

func (_e *SwitchServiceClient_Expecter) Get(context1 interface{}, switchServiceGetRequest interface{}) *SwitchServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • switchServiceGetRequest *adminv2.SwitchServiceGetRequest

func (*SwitchServiceClient_Expecter) List added in v0.0.34

func (_e *SwitchServiceClient_Expecter) List(context1 interface{}, switchServiceListRequest interface{}) *SwitchServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • switchServiceListRequest *adminv2.SwitchServiceListRequest

func (*SwitchServiceClient_Expecter) Migrate added in v0.0.34

func (_e *SwitchServiceClient_Expecter) Migrate(context1 interface{}, switchServiceMigrateRequest interface{}) *SwitchServiceClient_Migrate_Call

Migrate is a helper method to define mock.On call

  • context1 context.Context
  • switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest

func (*SwitchServiceClient_Expecter) Port added in v0.0.34

func (_e *SwitchServiceClient_Expecter) Port(context1 interface{}, switchServicePortRequest interface{}) *SwitchServiceClient_Port_Call

Port is a helper method to define mock.On call

  • context1 context.Context
  • switchServicePortRequest *adminv2.SwitchServicePortRequest

func (*SwitchServiceClient_Expecter) Update added in v0.0.34

func (_e *SwitchServiceClient_Expecter) Update(context1 interface{}, switchServiceUpdateRequest interface{}) *SwitchServiceClient_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest

type SwitchServiceClient_Get_Call added in v0.0.34

type SwitchServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*SwitchServiceClient_Get_Call) Return added in v0.0.34

func (_c *SwitchServiceClient_Get_Call) Return(switchServiceGetResponse *adminv2.SwitchServiceGetResponse, err error) *SwitchServiceClient_Get_Call

func (*SwitchServiceClient_Get_Call) Run added in v0.0.34

func (_c *SwitchServiceClient_Get_Call) Run(run func(context1 context.Context, switchServiceGetRequest *adminv2.SwitchServiceGetRequest)) *SwitchServiceClient_Get_Call

func (*SwitchServiceClient_Get_Call) RunAndReturn added in v0.0.34

func (_c *SwitchServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, switchServiceGetRequest *adminv2.SwitchServiceGetRequest) (*adminv2.SwitchServiceGetResponse, error)) *SwitchServiceClient_Get_Call

type SwitchServiceClient_List_Call added in v0.0.34

type SwitchServiceClient_List_Call struct {
	*mock.Call
}

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

func (*SwitchServiceClient_List_Call) Return added in v0.0.34

func (_c *SwitchServiceClient_List_Call) Return(switchServiceListResponse *adminv2.SwitchServiceListResponse, err error) *SwitchServiceClient_List_Call

func (*SwitchServiceClient_List_Call) Run added in v0.0.34

func (_c *SwitchServiceClient_List_Call) Run(run func(context1 context.Context, switchServiceListRequest *adminv2.SwitchServiceListRequest)) *SwitchServiceClient_List_Call

func (*SwitchServiceClient_List_Call) RunAndReturn added in v0.0.34

func (_c *SwitchServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, switchServiceListRequest *adminv2.SwitchServiceListRequest) (*adminv2.SwitchServiceListResponse, error)) *SwitchServiceClient_List_Call

type SwitchServiceClient_Migrate_Call added in v0.0.34

type SwitchServiceClient_Migrate_Call struct {
	*mock.Call
}

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

func (*SwitchServiceClient_Migrate_Call) Return added in v0.0.34

func (_c *SwitchServiceClient_Migrate_Call) Return(switchServiceMigrateResponse *adminv2.SwitchServiceMigrateResponse, err error) *SwitchServiceClient_Migrate_Call

func (*SwitchServiceClient_Migrate_Call) Run added in v0.0.34

func (_c *SwitchServiceClient_Migrate_Call) Run(run func(context1 context.Context, switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest)) *SwitchServiceClient_Migrate_Call

func (*SwitchServiceClient_Migrate_Call) RunAndReturn added in v0.0.34

func (_c *SwitchServiceClient_Migrate_Call) RunAndReturn(run func(context1 context.Context, switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest) (*adminv2.SwitchServiceMigrateResponse, error)) *SwitchServiceClient_Migrate_Call

type SwitchServiceClient_Port_Call added in v0.0.34

type SwitchServiceClient_Port_Call struct {
	*mock.Call
}

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

func (*SwitchServiceClient_Port_Call) Return added in v0.0.34

func (_c *SwitchServiceClient_Port_Call) Return(switchServicePortResponse *adminv2.SwitchServicePortResponse, err error) *SwitchServiceClient_Port_Call

func (*SwitchServiceClient_Port_Call) Run added in v0.0.34

func (_c *SwitchServiceClient_Port_Call) Run(run func(context1 context.Context, switchServicePortRequest *adminv2.SwitchServicePortRequest)) *SwitchServiceClient_Port_Call

func (*SwitchServiceClient_Port_Call) RunAndReturn added in v0.0.34

func (_c *SwitchServiceClient_Port_Call) RunAndReturn(run func(context1 context.Context, switchServicePortRequest *adminv2.SwitchServicePortRequest) (*adminv2.SwitchServicePortResponse, error)) *SwitchServiceClient_Port_Call

type SwitchServiceClient_Update_Call added in v0.0.34

type SwitchServiceClient_Update_Call struct {
	*mock.Call
}

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

func (*SwitchServiceClient_Update_Call) Return added in v0.0.34

func (_c *SwitchServiceClient_Update_Call) Return(switchServiceUpdateResponse *adminv2.SwitchServiceUpdateResponse, err error) *SwitchServiceClient_Update_Call

func (*SwitchServiceClient_Update_Call) Run added in v0.0.34

func (_c *SwitchServiceClient_Update_Call) Run(run func(context1 context.Context, switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest)) *SwitchServiceClient_Update_Call

func (*SwitchServiceClient_Update_Call) RunAndReturn added in v0.0.34

func (_c *SwitchServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest) (*adminv2.SwitchServiceUpdateResponse, error)) *SwitchServiceClient_Update_Call

type SwitchServiceHandler added in v0.0.23

type SwitchServiceHandler struct {
	mock.Mock
}

SwitchServiceHandler is an autogenerated mock type for the SwitchServiceHandler type

func NewSwitchServiceHandler added in v0.0.23

func NewSwitchServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *SwitchServiceHandler

NewSwitchServiceHandler creates a new instance of SwitchServiceHandler. 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 (*SwitchServiceHandler) Delete added in v0.0.23

func (_mock *SwitchServiceHandler) Delete(context1 context.Context, switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest) (*adminv2.SwitchServiceDeleteResponse, error)

Delete provides a mock function for the type SwitchServiceHandler

func (*SwitchServiceHandler) EXPECT added in v0.0.34

func (*SwitchServiceHandler) Get added in v0.0.23

func (_mock *SwitchServiceHandler) Get(context1 context.Context, switchServiceGetRequest *adminv2.SwitchServiceGetRequest) (*adminv2.SwitchServiceGetResponse, error)

Get provides a mock function for the type SwitchServiceHandler

func (*SwitchServiceHandler) List added in v0.0.23

func (_mock *SwitchServiceHandler) List(context1 context.Context, switchServiceListRequest *adminv2.SwitchServiceListRequest) (*adminv2.SwitchServiceListResponse, error)

List provides a mock function for the type SwitchServiceHandler

func (*SwitchServiceHandler) Migrate added in v0.0.23

func (_mock *SwitchServiceHandler) Migrate(context1 context.Context, switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest) (*adminv2.SwitchServiceMigrateResponse, error)

Migrate provides a mock function for the type SwitchServiceHandler

func (*SwitchServiceHandler) Port added in v0.0.23

func (_mock *SwitchServiceHandler) Port(context1 context.Context, switchServicePortRequest *adminv2.SwitchServicePortRequest) (*adminv2.SwitchServicePortResponse, error)

Port provides a mock function for the type SwitchServiceHandler

func (*SwitchServiceHandler) Update added in v0.0.23

func (_mock *SwitchServiceHandler) Update(context1 context.Context, switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest) (*adminv2.SwitchServiceUpdateResponse, error)

Update provides a mock function for the type SwitchServiceHandler

type SwitchServiceHandler_Delete_Call added in v0.0.34

type SwitchServiceHandler_Delete_Call struct {
	*mock.Call
}

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

func (*SwitchServiceHandler_Delete_Call) Return added in v0.0.34

func (_c *SwitchServiceHandler_Delete_Call) Return(switchServiceDeleteResponse *adminv2.SwitchServiceDeleteResponse, err error) *SwitchServiceHandler_Delete_Call

func (*SwitchServiceHandler_Delete_Call) Run added in v0.0.34

func (_c *SwitchServiceHandler_Delete_Call) Run(run func(context1 context.Context, switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest)) *SwitchServiceHandler_Delete_Call

func (*SwitchServiceHandler_Delete_Call) RunAndReturn added in v0.0.34

func (_c *SwitchServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest) (*adminv2.SwitchServiceDeleteResponse, error)) *SwitchServiceHandler_Delete_Call

type SwitchServiceHandler_Expecter added in v0.0.34

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

func (*SwitchServiceHandler_Expecter) Delete added in v0.0.34

func (_e *SwitchServiceHandler_Expecter) Delete(context1 interface{}, switchServiceDeleteRequest interface{}) *SwitchServiceHandler_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest

func (*SwitchServiceHandler_Expecter) Get added in v0.0.34

func (_e *SwitchServiceHandler_Expecter) Get(context1 interface{}, switchServiceGetRequest interface{}) *SwitchServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • switchServiceGetRequest *adminv2.SwitchServiceGetRequest

func (*SwitchServiceHandler_Expecter) List added in v0.0.34

func (_e *SwitchServiceHandler_Expecter) List(context1 interface{}, switchServiceListRequest interface{}) *SwitchServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • switchServiceListRequest *adminv2.SwitchServiceListRequest

func (*SwitchServiceHandler_Expecter) Migrate added in v0.0.34

func (_e *SwitchServiceHandler_Expecter) Migrate(context1 interface{}, switchServiceMigrateRequest interface{}) *SwitchServiceHandler_Migrate_Call

Migrate is a helper method to define mock.On call

  • context1 context.Context
  • switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest

func (*SwitchServiceHandler_Expecter) Port added in v0.0.34

func (_e *SwitchServiceHandler_Expecter) Port(context1 interface{}, switchServicePortRequest interface{}) *SwitchServiceHandler_Port_Call

Port is a helper method to define mock.On call

  • context1 context.Context
  • switchServicePortRequest *adminv2.SwitchServicePortRequest

func (*SwitchServiceHandler_Expecter) Update added in v0.0.34

func (_e *SwitchServiceHandler_Expecter) Update(context1 interface{}, switchServiceUpdateRequest interface{}) *SwitchServiceHandler_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest

type SwitchServiceHandler_Get_Call added in v0.0.34

type SwitchServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*SwitchServiceHandler_Get_Call) Return added in v0.0.34

func (_c *SwitchServiceHandler_Get_Call) Return(switchServiceGetResponse *adminv2.SwitchServiceGetResponse, err error) *SwitchServiceHandler_Get_Call

func (*SwitchServiceHandler_Get_Call) Run added in v0.0.34

func (_c *SwitchServiceHandler_Get_Call) Run(run func(context1 context.Context, switchServiceGetRequest *adminv2.SwitchServiceGetRequest)) *SwitchServiceHandler_Get_Call

func (*SwitchServiceHandler_Get_Call) RunAndReturn added in v0.0.34

func (_c *SwitchServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, switchServiceGetRequest *adminv2.SwitchServiceGetRequest) (*adminv2.SwitchServiceGetResponse, error)) *SwitchServiceHandler_Get_Call

type SwitchServiceHandler_List_Call added in v0.0.34

type SwitchServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*SwitchServiceHandler_List_Call) Return added in v0.0.34

func (_c *SwitchServiceHandler_List_Call) Return(switchServiceListResponse *adminv2.SwitchServiceListResponse, err error) *SwitchServiceHandler_List_Call

func (*SwitchServiceHandler_List_Call) Run added in v0.0.34

func (_c *SwitchServiceHandler_List_Call) Run(run func(context1 context.Context, switchServiceListRequest *adminv2.SwitchServiceListRequest)) *SwitchServiceHandler_List_Call

func (*SwitchServiceHandler_List_Call) RunAndReturn added in v0.0.34

func (_c *SwitchServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, switchServiceListRequest *adminv2.SwitchServiceListRequest) (*adminv2.SwitchServiceListResponse, error)) *SwitchServiceHandler_List_Call

type SwitchServiceHandler_Migrate_Call added in v0.0.34

type SwitchServiceHandler_Migrate_Call struct {
	*mock.Call
}

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

func (*SwitchServiceHandler_Migrate_Call) Return added in v0.0.34

func (_c *SwitchServiceHandler_Migrate_Call) Return(switchServiceMigrateResponse *adminv2.SwitchServiceMigrateResponse, err error) *SwitchServiceHandler_Migrate_Call

func (*SwitchServiceHandler_Migrate_Call) Run added in v0.0.34

func (_c *SwitchServiceHandler_Migrate_Call) Run(run func(context1 context.Context, switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest)) *SwitchServiceHandler_Migrate_Call

func (*SwitchServiceHandler_Migrate_Call) RunAndReturn added in v0.0.34

func (_c *SwitchServiceHandler_Migrate_Call) RunAndReturn(run func(context1 context.Context, switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest) (*adminv2.SwitchServiceMigrateResponse, error)) *SwitchServiceHandler_Migrate_Call

type SwitchServiceHandler_Port_Call added in v0.0.34

type SwitchServiceHandler_Port_Call struct {
	*mock.Call
}

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

func (*SwitchServiceHandler_Port_Call) Return added in v0.0.34

func (_c *SwitchServiceHandler_Port_Call) Return(switchServicePortResponse *adminv2.SwitchServicePortResponse, err error) *SwitchServiceHandler_Port_Call

func (*SwitchServiceHandler_Port_Call) Run added in v0.0.34

func (_c *SwitchServiceHandler_Port_Call) Run(run func(context1 context.Context, switchServicePortRequest *adminv2.SwitchServicePortRequest)) *SwitchServiceHandler_Port_Call

func (*SwitchServiceHandler_Port_Call) RunAndReturn added in v0.0.34

func (_c *SwitchServiceHandler_Port_Call) RunAndReturn(run func(context1 context.Context, switchServicePortRequest *adminv2.SwitchServicePortRequest) (*adminv2.SwitchServicePortResponse, error)) *SwitchServiceHandler_Port_Call

type SwitchServiceHandler_Update_Call added in v0.0.34

type SwitchServiceHandler_Update_Call struct {
	*mock.Call
}

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

func (*SwitchServiceHandler_Update_Call) Return added in v0.0.34

func (_c *SwitchServiceHandler_Update_Call) Return(switchServiceUpdateResponse *adminv2.SwitchServiceUpdateResponse, err error) *SwitchServiceHandler_Update_Call

func (*SwitchServiceHandler_Update_Call) Run added in v0.0.34

func (_c *SwitchServiceHandler_Update_Call) Run(run func(context1 context.Context, switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest)) *SwitchServiceHandler_Update_Call

func (*SwitchServiceHandler_Update_Call) RunAndReturn added in v0.0.34

func (_c *SwitchServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest) (*adminv2.SwitchServiceUpdateResponse, error)) *SwitchServiceHandler_Update_Call

type TenantServiceClient

type TenantServiceClient struct {
	mock.Mock
}

TenantServiceClient is an autogenerated mock type for the TenantServiceClient type

func NewTenantServiceClient

func NewTenantServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *TenantServiceClient

NewTenantServiceClient creates a new instance of TenantServiceClient. 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 (*TenantServiceClient) Create

func (_mock *TenantServiceClient) Create(context1 context.Context, tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest) (*adminv2.TenantServiceCreateResponse, error)

Create provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) EXPECT added in v0.0.34

func (*TenantServiceClient) List

func (_mock *TenantServiceClient) List(context1 context.Context, tenantServiceListRequest *adminv2.TenantServiceListRequest) (*adminv2.TenantServiceListResponse, error)

List provides a mock function for the type TenantServiceClient

type TenantServiceClient_Create_Call added in v0.0.34

type TenantServiceClient_Create_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_Create_Call) Return added in v0.0.34

func (_c *TenantServiceClient_Create_Call) Return(tenantServiceCreateResponse *adminv2.TenantServiceCreateResponse, err error) *TenantServiceClient_Create_Call

func (*TenantServiceClient_Create_Call) Run added in v0.0.34

func (_c *TenantServiceClient_Create_Call) Run(run func(context1 context.Context, tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest)) *TenantServiceClient_Create_Call

func (*TenantServiceClient_Create_Call) RunAndReturn added in v0.0.34

func (_c *TenantServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest) (*adminv2.TenantServiceCreateResponse, error)) *TenantServiceClient_Create_Call

type TenantServiceClient_Expecter added in v0.0.34

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

func (*TenantServiceClient_Expecter) Create added in v0.0.34

func (_e *TenantServiceClient_Expecter) Create(context1 interface{}, tenantServiceCreateRequest interface{}) *TenantServiceClient_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest

func (*TenantServiceClient_Expecter) List added in v0.0.34

func (_e *TenantServiceClient_Expecter) List(context1 interface{}, tenantServiceListRequest interface{}) *TenantServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • tenantServiceListRequest *adminv2.TenantServiceListRequest

type TenantServiceClient_List_Call added in v0.0.34

type TenantServiceClient_List_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_List_Call) Return added in v0.0.34

func (_c *TenantServiceClient_List_Call) Return(tenantServiceListResponse *adminv2.TenantServiceListResponse, err error) *TenantServiceClient_List_Call

func (*TenantServiceClient_List_Call) Run added in v0.0.34

func (_c *TenantServiceClient_List_Call) Run(run func(context1 context.Context, tenantServiceListRequest *adminv2.TenantServiceListRequest)) *TenantServiceClient_List_Call

func (*TenantServiceClient_List_Call) RunAndReturn added in v0.0.34

func (_c *TenantServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, tenantServiceListRequest *adminv2.TenantServiceListRequest) (*adminv2.TenantServiceListResponse, error)) *TenantServiceClient_List_Call

type TenantServiceHandler

type TenantServiceHandler struct {
	mock.Mock
}

TenantServiceHandler is an autogenerated mock type for the TenantServiceHandler type

func NewTenantServiceHandler

func NewTenantServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *TenantServiceHandler

NewTenantServiceHandler creates a new instance of TenantServiceHandler. 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 (*TenantServiceHandler) Create

func (_mock *TenantServiceHandler) Create(context1 context.Context, tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest) (*adminv2.TenantServiceCreateResponse, error)

Create provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) EXPECT added in v0.0.34

func (*TenantServiceHandler) List

func (_mock *TenantServiceHandler) List(context1 context.Context, tenantServiceListRequest *adminv2.TenantServiceListRequest) (*adminv2.TenantServiceListResponse, error)

List provides a mock function for the type TenantServiceHandler

type TenantServiceHandler_Create_Call added in v0.0.34

type TenantServiceHandler_Create_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_Create_Call) Return added in v0.0.34

func (_c *TenantServiceHandler_Create_Call) Return(tenantServiceCreateResponse *adminv2.TenantServiceCreateResponse, err error) *TenantServiceHandler_Create_Call

func (*TenantServiceHandler_Create_Call) Run added in v0.0.34

func (_c *TenantServiceHandler_Create_Call) Run(run func(context1 context.Context, tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest)) *TenantServiceHandler_Create_Call

func (*TenantServiceHandler_Create_Call) RunAndReturn added in v0.0.34

func (_c *TenantServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest) (*adminv2.TenantServiceCreateResponse, error)) *TenantServiceHandler_Create_Call

type TenantServiceHandler_Expecter added in v0.0.34

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

func (*TenantServiceHandler_Expecter) Create added in v0.0.34

func (_e *TenantServiceHandler_Expecter) Create(context1 interface{}, tenantServiceCreateRequest interface{}) *TenantServiceHandler_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest

func (*TenantServiceHandler_Expecter) List added in v0.0.34

func (_e *TenantServiceHandler_Expecter) List(context1 interface{}, tenantServiceListRequest interface{}) *TenantServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • tenantServiceListRequest *adminv2.TenantServiceListRequest

type TenantServiceHandler_List_Call added in v0.0.34

type TenantServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_List_Call) Return added in v0.0.34

func (_c *TenantServiceHandler_List_Call) Return(tenantServiceListResponse *adminv2.TenantServiceListResponse, err error) *TenantServiceHandler_List_Call

func (*TenantServiceHandler_List_Call) Run added in v0.0.34

func (_c *TenantServiceHandler_List_Call) Run(run func(context1 context.Context, tenantServiceListRequest *adminv2.TenantServiceListRequest)) *TenantServiceHandler_List_Call

func (*TenantServiceHandler_List_Call) RunAndReturn added in v0.0.34

func (_c *TenantServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, tenantServiceListRequest *adminv2.TenantServiceListRequest) (*adminv2.TenantServiceListResponse, error)) *TenantServiceHandler_List_Call

type TokenServiceClient

type TokenServiceClient struct {
	mock.Mock
}

TokenServiceClient is an autogenerated mock type for the TokenServiceClient type

func NewTokenServiceClient

func NewTokenServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *TokenServiceClient

NewTokenServiceClient creates a new instance of TokenServiceClient. 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 (*TokenServiceClient) Create added in v0.0.32

func (_mock *TokenServiceClient) Create(context1 context.Context, tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest) (*adminv2.TokenServiceCreateResponse, error)

Create provides a mock function for the type TokenServiceClient

func (*TokenServiceClient) EXPECT added in v0.0.34

func (*TokenServiceClient) List

func (_mock *TokenServiceClient) List(context1 context.Context, tokenServiceListRequest *adminv2.TokenServiceListRequest) (*adminv2.TokenServiceListResponse, error)

List provides a mock function for the type TokenServiceClient

func (*TokenServiceClient) Revoke

func (_mock *TokenServiceClient) Revoke(context1 context.Context, tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest) (*adminv2.TokenServiceRevokeResponse, error)

Revoke provides a mock function for the type TokenServiceClient

type TokenServiceClient_Create_Call added in v0.0.34

type TokenServiceClient_Create_Call struct {
	*mock.Call
}

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

func (*TokenServiceClient_Create_Call) Return added in v0.0.34

func (_c *TokenServiceClient_Create_Call) Return(tokenServiceCreateResponse *adminv2.TokenServiceCreateResponse, err error) *TokenServiceClient_Create_Call

func (*TokenServiceClient_Create_Call) Run added in v0.0.34

func (_c *TokenServiceClient_Create_Call) Run(run func(context1 context.Context, tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest)) *TokenServiceClient_Create_Call

func (*TokenServiceClient_Create_Call) RunAndReturn added in v0.0.34

func (_c *TokenServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest) (*adminv2.TokenServiceCreateResponse, error)) *TokenServiceClient_Create_Call

type TokenServiceClient_Expecter added in v0.0.34

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

func (*TokenServiceClient_Expecter) Create added in v0.0.34

func (_e *TokenServiceClient_Expecter) Create(context1 interface{}, tokenServiceCreateRequest interface{}) *TokenServiceClient_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest

func (*TokenServiceClient_Expecter) List added in v0.0.34

func (_e *TokenServiceClient_Expecter) List(context1 interface{}, tokenServiceListRequest interface{}) *TokenServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • tokenServiceListRequest *adminv2.TokenServiceListRequest

func (*TokenServiceClient_Expecter) Revoke added in v0.0.34

func (_e *TokenServiceClient_Expecter) Revoke(context1 interface{}, tokenServiceRevokeRequest interface{}) *TokenServiceClient_Revoke_Call

Revoke is a helper method to define mock.On call

  • context1 context.Context
  • tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest

type TokenServiceClient_List_Call added in v0.0.34

type TokenServiceClient_List_Call struct {
	*mock.Call
}

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

func (*TokenServiceClient_List_Call) Return added in v0.0.34

func (_c *TokenServiceClient_List_Call) Return(tokenServiceListResponse *adminv2.TokenServiceListResponse, err error) *TokenServiceClient_List_Call

func (*TokenServiceClient_List_Call) Run added in v0.0.34

func (_c *TokenServiceClient_List_Call) Run(run func(context1 context.Context, tokenServiceListRequest *adminv2.TokenServiceListRequest)) *TokenServiceClient_List_Call

func (*TokenServiceClient_List_Call) RunAndReturn added in v0.0.34

func (_c *TokenServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, tokenServiceListRequest *adminv2.TokenServiceListRequest) (*adminv2.TokenServiceListResponse, error)) *TokenServiceClient_List_Call

type TokenServiceClient_Revoke_Call added in v0.0.34

type TokenServiceClient_Revoke_Call struct {
	*mock.Call
}

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

func (*TokenServiceClient_Revoke_Call) Return added in v0.0.34

func (_c *TokenServiceClient_Revoke_Call) Return(tokenServiceRevokeResponse *adminv2.TokenServiceRevokeResponse, err error) *TokenServiceClient_Revoke_Call

func (*TokenServiceClient_Revoke_Call) Run added in v0.0.34

func (_c *TokenServiceClient_Revoke_Call) Run(run func(context1 context.Context, tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest)) *TokenServiceClient_Revoke_Call

func (*TokenServiceClient_Revoke_Call) RunAndReturn added in v0.0.34

func (_c *TokenServiceClient_Revoke_Call) RunAndReturn(run func(context1 context.Context, tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest) (*adminv2.TokenServiceRevokeResponse, error)) *TokenServiceClient_Revoke_Call

type TokenServiceHandler

type TokenServiceHandler struct {
	mock.Mock
}

TokenServiceHandler is an autogenerated mock type for the TokenServiceHandler type

func NewTokenServiceHandler

func NewTokenServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *TokenServiceHandler

NewTokenServiceHandler creates a new instance of TokenServiceHandler. 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 (*TokenServiceHandler) Create added in v0.0.32

func (_mock *TokenServiceHandler) Create(context1 context.Context, tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest) (*adminv2.TokenServiceCreateResponse, error)

Create provides a mock function for the type TokenServiceHandler

func (*TokenServiceHandler) EXPECT added in v0.0.34

func (*TokenServiceHandler) List

func (_mock *TokenServiceHandler) List(context1 context.Context, tokenServiceListRequest *adminv2.TokenServiceListRequest) (*adminv2.TokenServiceListResponse, error)

List provides a mock function for the type TokenServiceHandler

func (*TokenServiceHandler) Revoke

func (_mock *TokenServiceHandler) Revoke(context1 context.Context, tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest) (*adminv2.TokenServiceRevokeResponse, error)

Revoke provides a mock function for the type TokenServiceHandler

type TokenServiceHandler_Create_Call added in v0.0.34

type TokenServiceHandler_Create_Call struct {
	*mock.Call
}

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

func (*TokenServiceHandler_Create_Call) Return added in v0.0.34

func (_c *TokenServiceHandler_Create_Call) Return(tokenServiceCreateResponse *adminv2.TokenServiceCreateResponse, err error) *TokenServiceHandler_Create_Call

func (*TokenServiceHandler_Create_Call) Run added in v0.0.34

func (_c *TokenServiceHandler_Create_Call) Run(run func(context1 context.Context, tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest)) *TokenServiceHandler_Create_Call

func (*TokenServiceHandler_Create_Call) RunAndReturn added in v0.0.34

func (_c *TokenServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest) (*adminv2.TokenServiceCreateResponse, error)) *TokenServiceHandler_Create_Call

type TokenServiceHandler_Expecter added in v0.0.34

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

func (*TokenServiceHandler_Expecter) Create added in v0.0.34

func (_e *TokenServiceHandler_Expecter) Create(context1 interface{}, tokenServiceCreateRequest interface{}) *TokenServiceHandler_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest

func (*TokenServiceHandler_Expecter) List added in v0.0.34

func (_e *TokenServiceHandler_Expecter) List(context1 interface{}, tokenServiceListRequest interface{}) *TokenServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • tokenServiceListRequest *adminv2.TokenServiceListRequest

func (*TokenServiceHandler_Expecter) Revoke added in v0.0.34

func (_e *TokenServiceHandler_Expecter) Revoke(context1 interface{}, tokenServiceRevokeRequest interface{}) *TokenServiceHandler_Revoke_Call

Revoke is a helper method to define mock.On call

  • context1 context.Context
  • tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest

type TokenServiceHandler_List_Call added in v0.0.34

type TokenServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*TokenServiceHandler_List_Call) Return added in v0.0.34

func (_c *TokenServiceHandler_List_Call) Return(tokenServiceListResponse *adminv2.TokenServiceListResponse, err error) *TokenServiceHandler_List_Call

func (*TokenServiceHandler_List_Call) Run added in v0.0.34

func (_c *TokenServiceHandler_List_Call) Run(run func(context1 context.Context, tokenServiceListRequest *adminv2.TokenServiceListRequest)) *TokenServiceHandler_List_Call

func (*TokenServiceHandler_List_Call) RunAndReturn added in v0.0.34

func (_c *TokenServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, tokenServiceListRequest *adminv2.TokenServiceListRequest) (*adminv2.TokenServiceListResponse, error)) *TokenServiceHandler_List_Call

type TokenServiceHandler_Revoke_Call added in v0.0.34

type TokenServiceHandler_Revoke_Call struct {
	*mock.Call
}

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

func (*TokenServiceHandler_Revoke_Call) Return added in v0.0.34

func (_c *TokenServiceHandler_Revoke_Call) Return(tokenServiceRevokeResponse *adminv2.TokenServiceRevokeResponse, err error) *TokenServiceHandler_Revoke_Call

func (*TokenServiceHandler_Revoke_Call) Run added in v0.0.34

func (_c *TokenServiceHandler_Revoke_Call) Run(run func(context1 context.Context, tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest)) *TokenServiceHandler_Revoke_Call

func (*TokenServiceHandler_Revoke_Call) RunAndReturn added in v0.0.34

func (_c *TokenServiceHandler_Revoke_Call) RunAndReturn(run func(context1 context.Context, tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest) (*adminv2.TokenServiceRevokeResponse, error)) *TokenServiceHandler_Revoke_Call

type VPNServiceClient added in v0.0.37

type VPNServiceClient struct {
	mock.Mock
}

VPNServiceClient is an autogenerated mock type for the VPNServiceClient type

func NewVPNServiceClient added in v0.0.37

func NewVPNServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *VPNServiceClient

NewVPNServiceClient creates a new instance of VPNServiceClient. 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 (*VPNServiceClient) AuthKey added in v0.0.37

func (_mock *VPNServiceClient) AuthKey(context1 context.Context, vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest) (*adminv2.VPNServiceAuthKeyResponse, error)

AuthKey provides a mock function for the type VPNServiceClient

func (*VPNServiceClient) EXPECT added in v0.0.37

func (*VPNServiceClient) ListNodes added in v0.0.37

func (_mock *VPNServiceClient) ListNodes(context1 context.Context, vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest) (*adminv2.VPNServiceListNodesResponse, error)

ListNodes provides a mock function for the type VPNServiceClient

type VPNServiceClient_AuthKey_Call added in v0.0.37

type VPNServiceClient_AuthKey_Call struct {
	*mock.Call
}

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

func (*VPNServiceClient_AuthKey_Call) Return added in v0.0.37

func (_c *VPNServiceClient_AuthKey_Call) Return(vPNServiceAuthKeyResponse *adminv2.VPNServiceAuthKeyResponse, err error) *VPNServiceClient_AuthKey_Call

func (*VPNServiceClient_AuthKey_Call) Run added in v0.0.37

func (_c *VPNServiceClient_AuthKey_Call) Run(run func(context1 context.Context, vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest)) *VPNServiceClient_AuthKey_Call

func (*VPNServiceClient_AuthKey_Call) RunAndReturn added in v0.0.37

func (_c *VPNServiceClient_AuthKey_Call) RunAndReturn(run func(context1 context.Context, vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest) (*adminv2.VPNServiceAuthKeyResponse, error)) *VPNServiceClient_AuthKey_Call

type VPNServiceClient_Expecter added in v0.0.37

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

func (*VPNServiceClient_Expecter) AuthKey added in v0.0.37

func (_e *VPNServiceClient_Expecter) AuthKey(context1 interface{}, vPNServiceAuthKeyRequest interface{}) *VPNServiceClient_AuthKey_Call

AuthKey is a helper method to define mock.On call

  • context1 context.Context
  • vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest

func (*VPNServiceClient_Expecter) ListNodes added in v0.0.37

func (_e *VPNServiceClient_Expecter) ListNodes(context1 interface{}, vPNServiceListNodesRequest interface{}) *VPNServiceClient_ListNodes_Call

ListNodes is a helper method to define mock.On call

  • context1 context.Context
  • vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest

type VPNServiceClient_ListNodes_Call added in v0.0.37

type VPNServiceClient_ListNodes_Call struct {
	*mock.Call
}

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

func (*VPNServiceClient_ListNodes_Call) Return added in v0.0.37

func (_c *VPNServiceClient_ListNodes_Call) Return(vPNServiceListNodesResponse *adminv2.VPNServiceListNodesResponse, err error) *VPNServiceClient_ListNodes_Call

func (*VPNServiceClient_ListNodes_Call) Run added in v0.0.37

func (_c *VPNServiceClient_ListNodes_Call) Run(run func(context1 context.Context, vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest)) *VPNServiceClient_ListNodes_Call

func (*VPNServiceClient_ListNodes_Call) RunAndReturn added in v0.0.37

func (_c *VPNServiceClient_ListNodes_Call) RunAndReturn(run func(context1 context.Context, vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest) (*adminv2.VPNServiceListNodesResponse, error)) *VPNServiceClient_ListNodes_Call

type VPNServiceHandler added in v0.0.37

type VPNServiceHandler struct {
	mock.Mock
}

VPNServiceHandler is an autogenerated mock type for the VPNServiceHandler type

func NewVPNServiceHandler added in v0.0.37

func NewVPNServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *VPNServiceHandler

NewVPNServiceHandler creates a new instance of VPNServiceHandler. 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 (*VPNServiceHandler) AuthKey added in v0.0.37

func (_mock *VPNServiceHandler) AuthKey(context1 context.Context, vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest) (*adminv2.VPNServiceAuthKeyResponse, error)

AuthKey provides a mock function for the type VPNServiceHandler

func (*VPNServiceHandler) EXPECT added in v0.0.37

func (*VPNServiceHandler) ListNodes added in v0.0.37

func (_mock *VPNServiceHandler) ListNodes(context1 context.Context, vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest) (*adminv2.VPNServiceListNodesResponse, error)

ListNodes provides a mock function for the type VPNServiceHandler

type VPNServiceHandler_AuthKey_Call added in v0.0.37

type VPNServiceHandler_AuthKey_Call struct {
	*mock.Call
}

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

func (*VPNServiceHandler_AuthKey_Call) Return added in v0.0.37

func (_c *VPNServiceHandler_AuthKey_Call) Return(vPNServiceAuthKeyResponse *adminv2.VPNServiceAuthKeyResponse, err error) *VPNServiceHandler_AuthKey_Call

func (*VPNServiceHandler_AuthKey_Call) Run added in v0.0.37

func (_c *VPNServiceHandler_AuthKey_Call) Run(run func(context1 context.Context, vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest)) *VPNServiceHandler_AuthKey_Call

func (*VPNServiceHandler_AuthKey_Call) RunAndReturn added in v0.0.37

func (_c *VPNServiceHandler_AuthKey_Call) RunAndReturn(run func(context1 context.Context, vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest) (*adminv2.VPNServiceAuthKeyResponse, error)) *VPNServiceHandler_AuthKey_Call

type VPNServiceHandler_Expecter added in v0.0.37

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

func (*VPNServiceHandler_Expecter) AuthKey added in v0.0.37

func (_e *VPNServiceHandler_Expecter) AuthKey(context1 interface{}, vPNServiceAuthKeyRequest interface{}) *VPNServiceHandler_AuthKey_Call

AuthKey is a helper method to define mock.On call

  • context1 context.Context
  • vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest

func (*VPNServiceHandler_Expecter) ListNodes added in v0.0.37

func (_e *VPNServiceHandler_Expecter) ListNodes(context1 interface{}, vPNServiceListNodesRequest interface{}) *VPNServiceHandler_ListNodes_Call

ListNodes is a helper method to define mock.On call

  • context1 context.Context
  • vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest

type VPNServiceHandler_ListNodes_Call added in v0.0.37

type VPNServiceHandler_ListNodes_Call struct {
	*mock.Call
}

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

func (*VPNServiceHandler_ListNodes_Call) Return added in v0.0.37

func (_c *VPNServiceHandler_ListNodes_Call) Return(vPNServiceListNodesResponse *adminv2.VPNServiceListNodesResponse, err error) *VPNServiceHandler_ListNodes_Call

func (*VPNServiceHandler_ListNodes_Call) Run added in v0.0.37

func (_c *VPNServiceHandler_ListNodes_Call) Run(run func(context1 context.Context, vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest)) *VPNServiceHandler_ListNodes_Call

func (*VPNServiceHandler_ListNodes_Call) RunAndReturn added in v0.0.37

func (_c *VPNServiceHandler_ListNodes_Call) RunAndReturn(run func(context1 context.Context, vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest) (*adminv2.VPNServiceListNodesResponse, error)) *VPNServiceHandler_ListNodes_Call

Jump to

Keyboard shortcuts

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