mocks

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectServiceClient

type ProjectServiceClient struct {
	mock.Mock
}

ProjectServiceClient is an autogenerated mock type for the ProjectServiceClient type

func NewProjectServiceClient added in v0.9.0

func NewProjectServiceClient(t mockConstructorTestingTNewProjectServiceClient) *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.

func (*ProjectServiceClient) Create

Create provides a mock function with given fields: ctx, in, opts

func (*ProjectServiceClient) Delete

Delete provides a mock function with given fields: ctx, in, opts

func (*ProjectServiceClient) Find

Find provides a mock function with given fields: ctx, in, opts

func (*ProjectServiceClient) Get

Get provides a mock function with given fields: ctx, in, opts

func (*ProjectServiceClient) GetHistory added in v0.7.0

GetHistory provides a mock function with given fields: ctx, in, opts

func (*ProjectServiceClient) Update

Update provides a mock function with given fields: ctx, in, opts

type ProjectServiceServer added in v0.9.0

type ProjectServiceServer struct {
	mock.Mock
}

ProjectServiceServer is an autogenerated mock type for the ProjectServiceServer type

func NewProjectServiceServer added in v0.9.0

func NewProjectServiceServer(t mockConstructorTestingTNewProjectServiceServer) *ProjectServiceServer

NewProjectServiceServer creates a new instance of ProjectServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ProjectServiceServer) Create added in v0.9.0

Create provides a mock function with given fields: _a0, _a1

func (*ProjectServiceServer) Delete added in v0.9.0

Delete provides a mock function with given fields: _a0, _a1

func (*ProjectServiceServer) Find added in v0.9.0

Find provides a mock function with given fields: _a0, _a1

func (*ProjectServiceServer) Get added in v0.9.0

Get provides a mock function with given fields: _a0, _a1

func (*ProjectServiceServer) GetHistory added in v0.9.0

GetHistory provides a mock function with given fields: _a0, _a1

func (*ProjectServiceServer) Update added in v0.9.0

Update provides a mock function with given fields: _a0, _a1

type TenantServiceClient

type TenantServiceClient struct {
	mock.Mock
}

TenantServiceClient is an autogenerated mock type for the TenantServiceClient type

func NewTenantServiceClient added in v0.9.0

func NewTenantServiceClient(t mockConstructorTestingTNewTenantServiceClient) *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.

func (*TenantServiceClient) Create

Create provides a mock function with given fields: ctx, in, opts

func (*TenantServiceClient) Delete

Delete provides a mock function with given fields: ctx, in, opts

func (*TenantServiceClient) Find

Find provides a mock function with given fields: ctx, in, opts

func (*TenantServiceClient) Get

Get provides a mock function with given fields: ctx, in, opts

func (*TenantServiceClient) GetHistory added in v0.7.0

GetHistory provides a mock function with given fields: ctx, in, opts

func (*TenantServiceClient) Update

Update provides a mock function with given fields: ctx, in, opts

type TenantServiceServer added in v0.9.0

type TenantServiceServer struct {
	mock.Mock
}

TenantServiceServer is an autogenerated mock type for the TenantServiceServer type

func NewTenantServiceServer added in v0.9.0

func NewTenantServiceServer(t mockConstructorTestingTNewTenantServiceServer) *TenantServiceServer

NewTenantServiceServer creates a new instance of TenantServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*TenantServiceServer) Create added in v0.9.0

Create provides a mock function with given fields: _a0, _a1

func (*TenantServiceServer) Delete added in v0.9.0

Delete provides a mock function with given fields: _a0, _a1

func (*TenantServiceServer) Find added in v0.9.0

Find provides a mock function with given fields: _a0, _a1

func (*TenantServiceServer) Get added in v0.9.0

Get provides a mock function with given fields: _a0, _a1

func (*TenantServiceServer) GetHistory added in v0.9.0

GetHistory provides a mock function with given fields: _a0, _a1

func (*TenantServiceServer) Update added in v0.9.0

Update provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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