client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 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 Apiv1

type Apiv1 struct {
	mock.Mock
}

Apiv1 is an autogenerated mock type for the Apiv1 type

func NewApiv1

func NewApiv1(t interface {
	mock.TestingT
	Cleanup(func())
}) *Apiv1

NewApiv1 creates a new instance of Apiv1. 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 (*Apiv1) EXPECT

func (_m *Apiv1) EXPECT() *Apiv1_Expecter

func (*Apiv1) Health

func (_mock *Apiv1) Health() apiv1connect.HealthServiceClient

Health provides a mock function for the type Apiv1

func (*Apiv1) Project

func (_mock *Apiv1) Project() apiv1connect.ProjectServiceClient

Project provides a mock function for the type Apiv1

func (*Apiv1) ProjectMember

func (_mock *Apiv1) ProjectMember() apiv1connect.ProjectMemberServiceClient

ProjectMember provides a mock function for the type Apiv1

func (*Apiv1) Tenant

func (_mock *Apiv1) Tenant() apiv1connect.TenantServiceClient

Tenant provides a mock function for the type Apiv1

func (*Apiv1) TenantMember

func (_mock *Apiv1) TenantMember() apiv1connect.TenantMemberServiceClient

TenantMember provides a mock function for the type Apiv1

func (*Apiv1) Version

func (_mock *Apiv1) Version() apiv1connect.VersionServiceClient

Version provides a mock function for the type Apiv1

type Apiv1_Expecter

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

func (*Apiv1_Expecter) Health

func (_e *Apiv1_Expecter) Health() *Apiv1_Health_Call

Health is a helper method to define mock.On call

func (*Apiv1_Expecter) Project

func (_e *Apiv1_Expecter) Project() *Apiv1_Project_Call

Project is a helper method to define mock.On call

func (*Apiv1_Expecter) ProjectMember

func (_e *Apiv1_Expecter) ProjectMember() *Apiv1_ProjectMember_Call

ProjectMember is a helper method to define mock.On call

func (*Apiv1_Expecter) Tenant

func (_e *Apiv1_Expecter) Tenant() *Apiv1_Tenant_Call

Tenant is a helper method to define mock.On call

func (*Apiv1_Expecter) TenantMember

func (_e *Apiv1_Expecter) TenantMember() *Apiv1_TenantMember_Call

TenantMember is a helper method to define mock.On call

func (*Apiv1_Expecter) Version

func (_e *Apiv1_Expecter) Version() *Apiv1_Version_Call

Version is a helper method to define mock.On call

type Apiv1_Health_Call

type Apiv1_Health_Call struct {
	*mock.Call
}

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

func (*Apiv1_Health_Call) Return

func (_c *Apiv1_Health_Call) Return(healthServiceClient apiv1connect.HealthServiceClient) *Apiv1_Health_Call

func (*Apiv1_Health_Call) Run

func (_c *Apiv1_Health_Call) Run(run func()) *Apiv1_Health_Call

func (*Apiv1_Health_Call) RunAndReturn

type Apiv1_ProjectMember_Call

type Apiv1_ProjectMember_Call struct {
	*mock.Call
}

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

func (*Apiv1_ProjectMember_Call) Return

func (*Apiv1_ProjectMember_Call) Run

func (*Apiv1_ProjectMember_Call) RunAndReturn

type Apiv1_Project_Call

type Apiv1_Project_Call struct {
	*mock.Call
}

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

func (*Apiv1_Project_Call) Return

func (_c *Apiv1_Project_Call) Return(projectServiceClient apiv1connect.ProjectServiceClient) *Apiv1_Project_Call

func (*Apiv1_Project_Call) Run

func (_c *Apiv1_Project_Call) Run(run func()) *Apiv1_Project_Call

func (*Apiv1_Project_Call) RunAndReturn

type Apiv1_TenantMember_Call

type Apiv1_TenantMember_Call struct {
	*mock.Call
}

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

func (*Apiv1_TenantMember_Call) Return

func (*Apiv1_TenantMember_Call) Run

func (_c *Apiv1_TenantMember_Call) Run(run func()) *Apiv1_TenantMember_Call

func (*Apiv1_TenantMember_Call) RunAndReturn

type Apiv1_Tenant_Call

type Apiv1_Tenant_Call struct {
	*mock.Call
}

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

func (*Apiv1_Tenant_Call) Return

func (_c *Apiv1_Tenant_Call) Return(tenantServiceClient apiv1connect.TenantServiceClient) *Apiv1_Tenant_Call

func (*Apiv1_Tenant_Call) Run

func (_c *Apiv1_Tenant_Call) Run(run func()) *Apiv1_Tenant_Call

func (*Apiv1_Tenant_Call) RunAndReturn

type Apiv1_Version_Call

type Apiv1_Version_Call struct {
	*mock.Call
}

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

func (*Apiv1_Version_Call) Return

func (_c *Apiv1_Version_Call) Return(versionServiceClient apiv1connect.VersionServiceClient) *Apiv1_Version_Call

func (*Apiv1_Version_Call) Run

func (_c *Apiv1_Version_Call) Run(run func()) *Apiv1_Version_Call

func (*Apiv1_Version_Call) RunAndReturn

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

NewClient creates a new instance of Client. 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 (*Client) Apiv1

func (_mock *Client) Apiv1() client.Apiv1

Apiv1 provides a mock function for the type Client

func (*Client) EXPECT

func (_m *Client) EXPECT() *Client_Expecter

type Client_Apiv1_Call

type Client_Apiv1_Call struct {
	*mock.Call
}

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

func (*Client_Apiv1_Call) Return

func (_c *Client_Apiv1_Call) Return(apiv1 client.Apiv1) *Client_Apiv1_Call

func (*Client_Apiv1_Call) Run

func (_c *Client_Apiv1_Call) Run(run func()) *Client_Apiv1_Call

func (*Client_Apiv1_Call) RunAndReturn

func (_c *Client_Apiv1_Call) RunAndReturn(run func() client.Apiv1) *Client_Apiv1_Call

type Client_Expecter

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

func (*Client_Expecter) Apiv1

func (_e *Client_Expecter) Apiv1() *Client_Apiv1_Call

Apiv1 is a helper method to define mock.On call

Jump to

Keyboard shortcuts

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