Documentation
¶
Index ¶
- type Apiv1
- func (_m *Apiv1) EXPECT() *Apiv1_Expecter
- func (_mock *Apiv1) Health() apiv1connect.HealthServiceClient
- func (_mock *Apiv1) Project() apiv1connect.ProjectServiceClient
- func (_mock *Apiv1) ProjectMember() apiv1connect.ProjectMemberServiceClient
- func (_mock *Apiv1) Tenant() apiv1connect.TenantServiceClient
- func (_mock *Apiv1) TenantMember() apiv1connect.TenantMemberServiceClient
- func (_mock *Apiv1) Version() apiv1connect.VersionServiceClient
- type Apiv1_Expecter
- func (_e *Apiv1_Expecter) Health() *Apiv1_Health_Call
- func (_e *Apiv1_Expecter) Project() *Apiv1_Project_Call
- func (_e *Apiv1_Expecter) ProjectMember() *Apiv1_ProjectMember_Call
- func (_e *Apiv1_Expecter) Tenant() *Apiv1_Tenant_Call
- func (_e *Apiv1_Expecter) TenantMember() *Apiv1_TenantMember_Call
- func (_e *Apiv1_Expecter) Version() *Apiv1_Version_Call
- type Apiv1_Health_Call
- type Apiv1_ProjectMember_Call
- func (_c *Apiv1_ProjectMember_Call) Return(projectMemberServiceClient apiv1connect.ProjectMemberServiceClient) *Apiv1_ProjectMember_Call
- func (_c *Apiv1_ProjectMember_Call) Run(run func()) *Apiv1_ProjectMember_Call
- func (_c *Apiv1_ProjectMember_Call) RunAndReturn(run func() apiv1connect.ProjectMemberServiceClient) *Apiv1_ProjectMember_Call
- type Apiv1_Project_Call
- type Apiv1_TenantMember_Call
- func (_c *Apiv1_TenantMember_Call) Return(tenantMemberServiceClient apiv1connect.TenantMemberServiceClient) *Apiv1_TenantMember_Call
- func (_c *Apiv1_TenantMember_Call) Run(run func()) *Apiv1_TenantMember_Call
- func (_c *Apiv1_TenantMember_Call) RunAndReturn(run func() apiv1connect.TenantMemberServiceClient) *Apiv1_TenantMember_Call
- type Apiv1_Tenant_Call
- type Apiv1_Version_Call
- type Client
- type Client_Apiv1_Call
- type Client_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apiv1 ¶
Apiv1 is an autogenerated mock type for the Apiv1 type
func NewApiv1 ¶
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 ¶
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 ¶
func (_c *Apiv1_Health_Call) RunAndReturn(run func() apiv1connect.HealthServiceClient) *Apiv1_Health_Call
type Apiv1_ProjectMember_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 (_c *Apiv1_ProjectMember_Call) Return(projectMemberServiceClient apiv1connect.ProjectMemberServiceClient) *Apiv1_ProjectMember_Call
func (*Apiv1_ProjectMember_Call) Run ¶
func (_c *Apiv1_ProjectMember_Call) Run(run func()) *Apiv1_ProjectMember_Call
func (*Apiv1_ProjectMember_Call) RunAndReturn ¶
func (_c *Apiv1_ProjectMember_Call) RunAndReturn(run func() apiv1connect.ProjectMemberServiceClient) *Apiv1_ProjectMember_Call
type Apiv1_Project_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 ¶
func (_c *Apiv1_Project_Call) RunAndReturn(run func() apiv1connect.ProjectServiceClient) *Apiv1_Project_Call
type Apiv1_TenantMember_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 (_c *Apiv1_TenantMember_Call) Return(tenantMemberServiceClient apiv1connect.TenantMemberServiceClient) *Apiv1_TenantMember_Call
func (*Apiv1_TenantMember_Call) Run ¶
func (_c *Apiv1_TenantMember_Call) Run(run func()) *Apiv1_TenantMember_Call
func (*Apiv1_TenantMember_Call) RunAndReturn ¶
func (_c *Apiv1_TenantMember_Call) RunAndReturn(run func() apiv1connect.TenantMemberServiceClient) *Apiv1_TenantMember_Call
type Apiv1_Tenant_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 ¶
func (_c *Apiv1_Tenant_Call) RunAndReturn(run func() apiv1connect.TenantServiceClient) *Apiv1_Tenant_Call
type Apiv1_Version_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 ¶
func (_c *Apiv1_Version_Call) RunAndReturn(run func() apiv1connect.VersionServiceClient) *Apiv1_Version_Call
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
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) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
type Client_Apiv1_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