adminv1connect

package
v0.16.11 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditServiceClient added in v0.15.3

type AuditServiceClient struct {
	mock.Mock
}

AuditServiceClient is an autogenerated mock type for the AuditServiceClient type

func NewAuditServiceClient added in v0.15.3

func NewAuditServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *AuditServiceClient

NewAuditServiceClient creates a new instance of AuditServiceClient. 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 (*AuditServiceClient) EXPECT added in v0.16.2

func (*AuditServiceClient) Get added in v0.15.4

func (_mock *AuditServiceClient) Get(context1 context.Context, request *connect.Request[adminv1.AuditServiceGetRequest]) (*connect.Response[adminv1.AuditServiceGetResponse], error)

Get provides a mock function for the type AuditServiceClient

func (*AuditServiceClient) List added in v0.15.3

func (_mock *AuditServiceClient) List(context1 context.Context, request *connect.Request[adminv1.AuditServiceListRequest]) (*connect.Response[adminv1.AuditServiceListResponse], error)

List provides a mock function for the type AuditServiceClient

type AuditServiceClient_Expecter added in v0.16.2

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

func (*AuditServiceClient_Expecter) Get added in v0.16.2

func (_e *AuditServiceClient_Expecter) Get(context1 any, request any) *AuditServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.AuditServiceGetRequest]

func (*AuditServiceClient_Expecter) List added in v0.16.2

func (_e *AuditServiceClient_Expecter) List(context1 any, request any) *AuditServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.AuditServiceListRequest]

type AuditServiceClient_Get_Call added in v0.16.2

type AuditServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*AuditServiceClient_Get_Call) Return added in v0.16.2

func (_c *AuditServiceClient_Get_Call) Return(response *connect.Response[adminv1.AuditServiceGetResponse], err error) *AuditServiceClient_Get_Call

func (*AuditServiceClient_Get_Call) Run added in v0.16.2

func (_c *AuditServiceClient_Get_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.AuditServiceGetRequest])) *AuditServiceClient_Get_Call

func (*AuditServiceClient_Get_Call) RunAndReturn added in v0.16.2

func (_c *AuditServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.AuditServiceGetRequest]) (*connect.Response[adminv1.AuditServiceGetResponse], error)) *AuditServiceClient_Get_Call

type AuditServiceClient_List_Call added in v0.16.2

type AuditServiceClient_List_Call struct {
	*mock.Call
}

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

func (*AuditServiceClient_List_Call) Return added in v0.16.2

func (_c *AuditServiceClient_List_Call) Return(response *connect.Response[adminv1.AuditServiceListResponse], err error) *AuditServiceClient_List_Call

func (*AuditServiceClient_List_Call) Run added in v0.16.2

func (_c *AuditServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.AuditServiceListRequest])) *AuditServiceClient_List_Call

func (*AuditServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *AuditServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.AuditServiceListRequest]) (*connect.Response[adminv1.AuditServiceListResponse], error)) *AuditServiceClient_List_Call

type AuditServiceHandler added in v0.15.3

type AuditServiceHandler struct {
	mock.Mock
}

AuditServiceHandler is an autogenerated mock type for the AuditServiceHandler type

func NewAuditServiceHandler added in v0.15.3

func NewAuditServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *AuditServiceHandler

NewAuditServiceHandler creates a new instance of AuditServiceHandler. 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 (*AuditServiceHandler) EXPECT added in v0.16.2

func (*AuditServiceHandler) Get added in v0.15.4

func (_mock *AuditServiceHandler) Get(context1 context.Context, request *connect.Request[adminv1.AuditServiceGetRequest]) (*connect.Response[adminv1.AuditServiceGetResponse], error)

Get provides a mock function for the type AuditServiceHandler

func (*AuditServiceHandler) List added in v0.15.3

func (_mock *AuditServiceHandler) List(context1 context.Context, request *connect.Request[adminv1.AuditServiceListRequest]) (*connect.Response[adminv1.AuditServiceListResponse], error)

List provides a mock function for the type AuditServiceHandler

type AuditServiceHandler_Expecter added in v0.16.2

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

func (*AuditServiceHandler_Expecter) Get added in v0.16.2

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.AuditServiceGetRequest]

func (*AuditServiceHandler_Expecter) List added in v0.16.2

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.AuditServiceListRequest]

type AuditServiceHandler_Get_Call added in v0.16.2

type AuditServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*AuditServiceHandler_Get_Call) Return added in v0.16.2

func (_c *AuditServiceHandler_Get_Call) Return(response *connect.Response[adminv1.AuditServiceGetResponse], err error) *AuditServiceHandler_Get_Call

func (*AuditServiceHandler_Get_Call) Run added in v0.16.2

func (_c *AuditServiceHandler_Get_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.AuditServiceGetRequest])) *AuditServiceHandler_Get_Call

func (*AuditServiceHandler_Get_Call) RunAndReturn added in v0.16.2

func (_c *AuditServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.AuditServiceGetRequest]) (*connect.Response[adminv1.AuditServiceGetResponse], error)) *AuditServiceHandler_Get_Call

type AuditServiceHandler_List_Call added in v0.16.2

type AuditServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*AuditServiceHandler_List_Call) Return added in v0.16.2

func (_c *AuditServiceHandler_List_Call) Return(response *connect.Response[adminv1.AuditServiceListResponse], err error) *AuditServiceHandler_List_Call

func (*AuditServiceHandler_List_Call) Run added in v0.16.2

func (_c *AuditServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.AuditServiceListRequest])) *AuditServiceHandler_List_Call

func (*AuditServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *AuditServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.AuditServiceListRequest]) (*connect.Response[adminv1.AuditServiceListResponse], error)) *AuditServiceHandler_List_Call

type ClusterServiceClient

type ClusterServiceClient struct {
	mock.Mock
}

ClusterServiceClient is an autogenerated mock type for the ClusterServiceClient type

func NewClusterServiceClient

func NewClusterServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClusterServiceClient

NewClusterServiceClient creates a new instance of ClusterServiceClient. 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 (*ClusterServiceClient) Credentials

func (_mock *ClusterServiceClient) Credentials(context1 context.Context, request *connect.Request[adminv1.ClusterServiceCredentialsRequest]) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)

Credentials provides a mock function for the type ClusterServiceClient

func (*ClusterServiceClient) EXPECT added in v0.16.2

func (*ClusterServiceClient) Get

func (_mock *ClusterServiceClient) Get(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetRequest]) (*connect.Response[adminv1.ClusterServiceGetResponse], error)

Get provides a mock function for the type ClusterServiceClient

func (*ClusterServiceClient) GetAdminKubeconfig added in v0.16.9

func (_mock *ClusterServiceClient) GetAdminKubeconfig(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetAdminKubeconfigRequest]) (*connect.Response[adminv1.ClusterServiceGetAdminKubeconfigResponse], error)

GetAdminKubeconfig provides a mock function for the type ClusterServiceClient

func (*ClusterServiceClient) GetViewerKubeconfig added in v0.16.9

func (_mock *ClusterServiceClient) GetViewerKubeconfig(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetViewerKubeconfigRequest]) (*connect.Response[adminv1.ClusterServiceGetViewerKubeconfigResponse], error)

GetViewerKubeconfig provides a mock function for the type ClusterServiceClient

func (*ClusterServiceClient) List

func (_mock *ClusterServiceClient) List(context1 context.Context, request *connect.Request[adminv1.ClusterServiceListRequest]) (*connect.Response[adminv1.ClusterServiceListResponse], error)

List provides a mock function for the type ClusterServiceClient

type ClusterServiceClient_Credentials_Call added in v0.16.2

type ClusterServiceClient_Credentials_Call struct {
	*mock.Call
}

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

func (*ClusterServiceClient_Credentials_Call) Return added in v0.16.2

func (_c *ClusterServiceClient_Credentials_Call) Return(response *connect.Response[adminv1.ClusterServiceCredentialsResponse], err error) *ClusterServiceClient_Credentials_Call

func (*ClusterServiceClient_Credentials_Call) Run added in v0.16.2

func (_c *ClusterServiceClient_Credentials_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceCredentialsRequest])) *ClusterServiceClient_Credentials_Call

func (*ClusterServiceClient_Credentials_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceClient_Credentials_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceCredentialsRequest]) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)) *ClusterServiceClient_Credentials_Call

type ClusterServiceClient_Expecter added in v0.16.2

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

func (*ClusterServiceClient_Expecter) Credentials added in v0.16.2

func (_e *ClusterServiceClient_Expecter) Credentials(context1 any, request any) *ClusterServiceClient_Credentials_Call

Credentials is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.ClusterServiceCredentialsRequest]

func (*ClusterServiceClient_Expecter) Get added in v0.16.2

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.ClusterServiceGetRequest]

func (*ClusterServiceClient_Expecter) GetAdminKubeconfig added in v0.16.9

func (_e *ClusterServiceClient_Expecter) GetAdminKubeconfig(context1 any, request any) *ClusterServiceClient_GetAdminKubeconfig_Call

GetAdminKubeconfig is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.ClusterServiceGetAdminKubeconfigRequest]

func (*ClusterServiceClient_Expecter) GetViewerKubeconfig added in v0.16.9

func (_e *ClusterServiceClient_Expecter) GetViewerKubeconfig(context1 any, request any) *ClusterServiceClient_GetViewerKubeconfig_Call

GetViewerKubeconfig is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.ClusterServiceGetViewerKubeconfigRequest]

func (*ClusterServiceClient_Expecter) List added in v0.16.2

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.ClusterServiceListRequest]

type ClusterServiceClient_GetAdminKubeconfig_Call added in v0.16.9

type ClusterServiceClient_GetAdminKubeconfig_Call struct {
	*mock.Call
}

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

func (*ClusterServiceClient_GetAdminKubeconfig_Call) Return added in v0.16.9

func (_c *ClusterServiceClient_GetAdminKubeconfig_Call) Return(response *connect.Response[adminv1.ClusterServiceGetAdminKubeconfigResponse], err error) *ClusterServiceClient_GetAdminKubeconfig_Call

func (*ClusterServiceClient_GetAdminKubeconfig_Call) Run added in v0.16.9

func (_c *ClusterServiceClient_GetAdminKubeconfig_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetAdminKubeconfigRequest])) *ClusterServiceClient_GetAdminKubeconfig_Call

func (*ClusterServiceClient_GetAdminKubeconfig_Call) RunAndReturn added in v0.16.9

func (_c *ClusterServiceClient_GetAdminKubeconfig_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetAdminKubeconfigRequest]) (*connect.Response[adminv1.ClusterServiceGetAdminKubeconfigResponse], error)) *ClusterServiceClient_GetAdminKubeconfig_Call

type ClusterServiceClient_GetViewerKubeconfig_Call added in v0.16.9

type ClusterServiceClient_GetViewerKubeconfig_Call struct {
	*mock.Call
}

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

func (*ClusterServiceClient_GetViewerKubeconfig_Call) Return added in v0.16.9

func (_c *ClusterServiceClient_GetViewerKubeconfig_Call) Return(response *connect.Response[adminv1.ClusterServiceGetViewerKubeconfigResponse], err error) *ClusterServiceClient_GetViewerKubeconfig_Call

func (*ClusterServiceClient_GetViewerKubeconfig_Call) Run added in v0.16.9

func (_c *ClusterServiceClient_GetViewerKubeconfig_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetViewerKubeconfigRequest])) *ClusterServiceClient_GetViewerKubeconfig_Call

func (*ClusterServiceClient_GetViewerKubeconfig_Call) RunAndReturn added in v0.16.9

func (_c *ClusterServiceClient_GetViewerKubeconfig_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetViewerKubeconfigRequest]) (*connect.Response[adminv1.ClusterServiceGetViewerKubeconfigResponse], error)) *ClusterServiceClient_GetViewerKubeconfig_Call

type ClusterServiceClient_Get_Call added in v0.16.2

type ClusterServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*ClusterServiceClient_Get_Call) Return added in v0.16.2

func (_c *ClusterServiceClient_Get_Call) Return(response *connect.Response[adminv1.ClusterServiceGetResponse], err error) *ClusterServiceClient_Get_Call

func (*ClusterServiceClient_Get_Call) Run added in v0.16.2

func (_c *ClusterServiceClient_Get_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetRequest])) *ClusterServiceClient_Get_Call

func (*ClusterServiceClient_Get_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetRequest]) (*connect.Response[adminv1.ClusterServiceGetResponse], error)) *ClusterServiceClient_Get_Call

type ClusterServiceClient_List_Call added in v0.16.2

type ClusterServiceClient_List_Call struct {
	*mock.Call
}

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

func (*ClusterServiceClient_List_Call) Return added in v0.16.2

func (_c *ClusterServiceClient_List_Call) Return(response *connect.Response[adminv1.ClusterServiceListResponse], err error) *ClusterServiceClient_List_Call

func (*ClusterServiceClient_List_Call) Run added in v0.16.2

func (_c *ClusterServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceListRequest])) *ClusterServiceClient_List_Call

func (*ClusterServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceListRequest]) (*connect.Response[adminv1.ClusterServiceListResponse], error)) *ClusterServiceClient_List_Call

type ClusterServiceHandler

type ClusterServiceHandler struct {
	mock.Mock
}

ClusterServiceHandler is an autogenerated mock type for the ClusterServiceHandler type

func NewClusterServiceHandler

func NewClusterServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClusterServiceHandler

NewClusterServiceHandler creates a new instance of ClusterServiceHandler. 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 (*ClusterServiceHandler) Credentials

func (_mock *ClusterServiceHandler) Credentials(context1 context.Context, request *connect.Request[adminv1.ClusterServiceCredentialsRequest]) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)

Credentials provides a mock function for the type ClusterServiceHandler

func (*ClusterServiceHandler) EXPECT added in v0.16.2

func (*ClusterServiceHandler) Get

func (_mock *ClusterServiceHandler) Get(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetRequest]) (*connect.Response[adminv1.ClusterServiceGetResponse], error)

Get provides a mock function for the type ClusterServiceHandler

func (*ClusterServiceHandler) GetAdminKubeconfig added in v0.16.9

func (_mock *ClusterServiceHandler) GetAdminKubeconfig(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetAdminKubeconfigRequest]) (*connect.Response[adminv1.ClusterServiceGetAdminKubeconfigResponse], error)

GetAdminKubeconfig provides a mock function for the type ClusterServiceHandler

func (*ClusterServiceHandler) GetViewerKubeconfig added in v0.16.9

func (_mock *ClusterServiceHandler) GetViewerKubeconfig(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetViewerKubeconfigRequest]) (*connect.Response[adminv1.ClusterServiceGetViewerKubeconfigResponse], error)

GetViewerKubeconfig provides a mock function for the type ClusterServiceHandler

func (*ClusterServiceHandler) List

func (_mock *ClusterServiceHandler) List(context1 context.Context, request *connect.Request[adminv1.ClusterServiceListRequest]) (*connect.Response[adminv1.ClusterServiceListResponse], error)

List provides a mock function for the type ClusterServiceHandler

type ClusterServiceHandler_Credentials_Call added in v0.16.2

type ClusterServiceHandler_Credentials_Call struct {
	*mock.Call
}

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

func (*ClusterServiceHandler_Credentials_Call) Return added in v0.16.2

func (_c *ClusterServiceHandler_Credentials_Call) Return(response *connect.Response[adminv1.ClusterServiceCredentialsResponse], err error) *ClusterServiceHandler_Credentials_Call

func (*ClusterServiceHandler_Credentials_Call) Run added in v0.16.2

func (_c *ClusterServiceHandler_Credentials_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceCredentialsRequest])) *ClusterServiceHandler_Credentials_Call

func (*ClusterServiceHandler_Credentials_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceHandler_Credentials_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceCredentialsRequest]) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)) *ClusterServiceHandler_Credentials_Call

type ClusterServiceHandler_Expecter added in v0.16.2

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

func (*ClusterServiceHandler_Expecter) Credentials added in v0.16.2

Credentials is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.ClusterServiceCredentialsRequest]

func (*ClusterServiceHandler_Expecter) Get added in v0.16.2

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.ClusterServiceGetRequest]

func (*ClusterServiceHandler_Expecter) GetAdminKubeconfig added in v0.16.9

func (_e *ClusterServiceHandler_Expecter) GetAdminKubeconfig(context1 any, request any) *ClusterServiceHandler_GetAdminKubeconfig_Call

GetAdminKubeconfig is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.ClusterServiceGetAdminKubeconfigRequest]

func (*ClusterServiceHandler_Expecter) GetViewerKubeconfig added in v0.16.9

func (_e *ClusterServiceHandler_Expecter) GetViewerKubeconfig(context1 any, request any) *ClusterServiceHandler_GetViewerKubeconfig_Call

GetViewerKubeconfig is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.ClusterServiceGetViewerKubeconfigRequest]

func (*ClusterServiceHandler_Expecter) List added in v0.16.2

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.ClusterServiceListRequest]

type ClusterServiceHandler_GetAdminKubeconfig_Call added in v0.16.9

type ClusterServiceHandler_GetAdminKubeconfig_Call struct {
	*mock.Call
}

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

func (*ClusterServiceHandler_GetAdminKubeconfig_Call) Return added in v0.16.9

func (_c *ClusterServiceHandler_GetAdminKubeconfig_Call) Return(response *connect.Response[adminv1.ClusterServiceGetAdminKubeconfigResponse], err error) *ClusterServiceHandler_GetAdminKubeconfig_Call

func (*ClusterServiceHandler_GetAdminKubeconfig_Call) Run added in v0.16.9

func (_c *ClusterServiceHandler_GetAdminKubeconfig_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetAdminKubeconfigRequest])) *ClusterServiceHandler_GetAdminKubeconfig_Call

func (*ClusterServiceHandler_GetAdminKubeconfig_Call) RunAndReturn added in v0.16.9

func (_c *ClusterServiceHandler_GetAdminKubeconfig_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetAdminKubeconfigRequest]) (*connect.Response[adminv1.ClusterServiceGetAdminKubeconfigResponse], error)) *ClusterServiceHandler_GetAdminKubeconfig_Call

type ClusterServiceHandler_GetViewerKubeconfig_Call added in v0.16.9

type ClusterServiceHandler_GetViewerKubeconfig_Call struct {
	*mock.Call
}

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

func (*ClusterServiceHandler_GetViewerKubeconfig_Call) Return added in v0.16.9

func (_c *ClusterServiceHandler_GetViewerKubeconfig_Call) Return(response *connect.Response[adminv1.ClusterServiceGetViewerKubeconfigResponse], err error) *ClusterServiceHandler_GetViewerKubeconfig_Call

func (*ClusterServiceHandler_GetViewerKubeconfig_Call) Run added in v0.16.9

func (_c *ClusterServiceHandler_GetViewerKubeconfig_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetViewerKubeconfigRequest])) *ClusterServiceHandler_GetViewerKubeconfig_Call

func (*ClusterServiceHandler_GetViewerKubeconfig_Call) RunAndReturn added in v0.16.9

func (_c *ClusterServiceHandler_GetViewerKubeconfig_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetViewerKubeconfigRequest]) (*connect.Response[adminv1.ClusterServiceGetViewerKubeconfigResponse], error)) *ClusterServiceHandler_GetViewerKubeconfig_Call

type ClusterServiceHandler_Get_Call added in v0.16.2

type ClusterServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*ClusterServiceHandler_Get_Call) Return added in v0.16.2

func (_c *ClusterServiceHandler_Get_Call) Return(response *connect.Response[adminv1.ClusterServiceGetResponse], err error) *ClusterServiceHandler_Get_Call

func (*ClusterServiceHandler_Get_Call) Run added in v0.16.2

func (_c *ClusterServiceHandler_Get_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetRequest])) *ClusterServiceHandler_Get_Call

func (*ClusterServiceHandler_Get_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceGetRequest]) (*connect.Response[adminv1.ClusterServiceGetResponse], error)) *ClusterServiceHandler_Get_Call

type ClusterServiceHandler_List_Call added in v0.16.2

type ClusterServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*ClusterServiceHandler_List_Call) Return added in v0.16.2

func (_c *ClusterServiceHandler_List_Call) Return(response *connect.Response[adminv1.ClusterServiceListResponse], err error) *ClusterServiceHandler_List_Call

func (*ClusterServiceHandler_List_Call) Run added in v0.16.2

func (_c *ClusterServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceListRequest])) *ClusterServiceHandler_List_Call

func (*ClusterServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceListRequest]) (*connect.Response[adminv1.ClusterServiceListResponse], error)) *ClusterServiceHandler_List_Call

type PaymentServiceClient

type PaymentServiceClient struct {
	mock.Mock
}

PaymentServiceClient is an autogenerated mock type for the PaymentServiceClient type

func NewPaymentServiceClient

func NewPaymentServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentServiceClient

NewPaymentServiceClient creates a new instance of PaymentServiceClient. 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 (*PaymentServiceClient) AddBalanceToCustomer

func (_mock *PaymentServiceClient) AddBalanceToCustomer(context1 context.Context, request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]) (*connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], error)

AddBalanceToCustomer provides a mock function for the type PaymentServiceClient

func (*PaymentServiceClient) EXPECT added in v0.16.2

type PaymentServiceClient_AddBalanceToCustomer_Call added in v0.16.2

type PaymentServiceClient_AddBalanceToCustomer_Call struct {
	*mock.Call
}

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

func (*PaymentServiceClient_AddBalanceToCustomer_Call) Return added in v0.16.2

func (_c *PaymentServiceClient_AddBalanceToCustomer_Call) Return(response *connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], err error) *PaymentServiceClient_AddBalanceToCustomer_Call

func (*PaymentServiceClient_AddBalanceToCustomer_Call) Run added in v0.16.2

func (_c *PaymentServiceClient_AddBalanceToCustomer_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest])) *PaymentServiceClient_AddBalanceToCustomer_Call

func (*PaymentServiceClient_AddBalanceToCustomer_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceClient_AddBalanceToCustomer_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]) (*connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], error)) *PaymentServiceClient_AddBalanceToCustomer_Call

type PaymentServiceClient_Expecter added in v0.16.2

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

func (*PaymentServiceClient_Expecter) AddBalanceToCustomer added in v0.16.2

func (_e *PaymentServiceClient_Expecter) AddBalanceToCustomer(context1 any, request any) *PaymentServiceClient_AddBalanceToCustomer_Call

AddBalanceToCustomer is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]

type PaymentServiceHandler

type PaymentServiceHandler struct {
	mock.Mock
}

PaymentServiceHandler is an autogenerated mock type for the PaymentServiceHandler type

func NewPaymentServiceHandler

func NewPaymentServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentServiceHandler

NewPaymentServiceHandler creates a new instance of PaymentServiceHandler. 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 (*PaymentServiceHandler) AddBalanceToCustomer

func (_mock *PaymentServiceHandler) AddBalanceToCustomer(context1 context.Context, request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]) (*connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], error)

AddBalanceToCustomer provides a mock function for the type PaymentServiceHandler

func (*PaymentServiceHandler) EXPECT added in v0.16.2

type PaymentServiceHandler_AddBalanceToCustomer_Call added in v0.16.2

type PaymentServiceHandler_AddBalanceToCustomer_Call struct {
	*mock.Call
}

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

func (*PaymentServiceHandler_AddBalanceToCustomer_Call) Return added in v0.16.2

func (_c *PaymentServiceHandler_AddBalanceToCustomer_Call) Return(response *connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], err error) *PaymentServiceHandler_AddBalanceToCustomer_Call

func (*PaymentServiceHandler_AddBalanceToCustomer_Call) Run added in v0.16.2

func (_c *PaymentServiceHandler_AddBalanceToCustomer_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest])) *PaymentServiceHandler_AddBalanceToCustomer_Call

func (*PaymentServiceHandler_AddBalanceToCustomer_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceHandler_AddBalanceToCustomer_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]) (*connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], error)) *PaymentServiceHandler_AddBalanceToCustomer_Call

type PaymentServiceHandler_Expecter added in v0.16.2

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

func (*PaymentServiceHandler_Expecter) AddBalanceToCustomer added in v0.16.2

func (_e *PaymentServiceHandler_Expecter) AddBalanceToCustomer(context1 any, request any) *PaymentServiceHandler_AddBalanceToCustomer_Call

AddBalanceToCustomer is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]

type ProjectServiceClient added in v0.9.6

type ProjectServiceClient struct {
	mock.Mock
}

ProjectServiceClient is an autogenerated mock type for the ProjectServiceClient type

func NewProjectServiceClient added in v0.9.6

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.16.2

func (*ProjectServiceClient) List added in v0.9.6

func (_mock *ProjectServiceClient) List(context1 context.Context, request *connect.Request[adminv1.ProjectServiceListRequest]) (*connect.Response[adminv1.ProjectServiceListResponse], error)

List provides a mock function for the type ProjectServiceClient

type ProjectServiceClient_Expecter added in v0.16.2

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

func (*ProjectServiceClient_Expecter) List added in v0.16.2

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.ProjectServiceListRequest]

type ProjectServiceClient_List_Call added in v0.16.2

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.16.2

func (_c *ProjectServiceClient_List_Call) Return(response *connect.Response[adminv1.ProjectServiceListResponse], err error) *ProjectServiceClient_List_Call

func (*ProjectServiceClient_List_Call) Run added in v0.16.2

func (_c *ProjectServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ProjectServiceListRequest])) *ProjectServiceClient_List_Call

func (*ProjectServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ProjectServiceListRequest]) (*connect.Response[adminv1.ProjectServiceListResponse], error)) *ProjectServiceClient_List_Call

type ProjectServiceHandler added in v0.9.6

type ProjectServiceHandler struct {
	mock.Mock
}

ProjectServiceHandler is an autogenerated mock type for the ProjectServiceHandler type

func NewProjectServiceHandler added in v0.9.6

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.16.2

func (*ProjectServiceHandler) List added in v0.9.6

func (_mock *ProjectServiceHandler) List(context1 context.Context, request *connect.Request[adminv1.ProjectServiceListRequest]) (*connect.Response[adminv1.ProjectServiceListResponse], error)

List provides a mock function for the type ProjectServiceHandler

type ProjectServiceHandler_Expecter added in v0.16.2

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

func (*ProjectServiceHandler_Expecter) List added in v0.16.2

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.ProjectServiceListRequest]

type ProjectServiceHandler_List_Call added in v0.16.2

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.16.2

func (_c *ProjectServiceHandler_List_Call) Return(response *connect.Response[adminv1.ProjectServiceListResponse], err error) *ProjectServiceHandler_List_Call

func (*ProjectServiceHandler_List_Call) Run added in v0.16.2

func (_c *ProjectServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ProjectServiceListRequest])) *ProjectServiceHandler_List_Call

func (*ProjectServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ProjectServiceListRequest]) (*connect.Response[adminv1.ProjectServiceListResponse], error)) *ProjectServiceHandler_List_Call

type StorageServiceClient

type StorageServiceClient struct {
	mock.Mock
}

StorageServiceClient is an autogenerated mock type for the StorageServiceClient type

func NewStorageServiceClient

func NewStorageServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *StorageServiceClient

NewStorageServiceClient creates a new instance of StorageServiceClient. 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 (*StorageServiceClient) ClusterInfo

func (_mock *StorageServiceClient) ClusterInfo(context1 context.Context, request *connect.Request[adminv1.StorageServiceClusterInfoRequest]) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)

ClusterInfo provides a mock function for the type StorageServiceClient

func (*StorageServiceClient) EXPECT added in v0.16.2

func (*StorageServiceClient) ListSnapshots

func (_mock *StorageServiceClient) ListSnapshots(context1 context.Context, request *connect.Request[adminv1.StorageServiceListSnapshotsRequest]) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)

ListSnapshots provides a mock function for the type StorageServiceClient

func (*StorageServiceClient) ListVolumes

func (_mock *StorageServiceClient) ListVolumes(context1 context.Context, request *connect.Request[adminv1.StorageServiceListVolumesRequest]) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)

ListVolumes provides a mock function for the type StorageServiceClient

type StorageServiceClient_ClusterInfo_Call added in v0.16.2

type StorageServiceClient_ClusterInfo_Call struct {
	*mock.Call
}

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

func (*StorageServiceClient_ClusterInfo_Call) Return added in v0.16.2

func (_c *StorageServiceClient_ClusterInfo_Call) Return(response *connect.Response[adminv1.StorageServiceClusterInfoResponse], err error) *StorageServiceClient_ClusterInfo_Call

func (*StorageServiceClient_ClusterInfo_Call) Run added in v0.16.2

func (_c *StorageServiceClient_ClusterInfo_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceClusterInfoRequest])) *StorageServiceClient_ClusterInfo_Call

func (*StorageServiceClient_ClusterInfo_Call) RunAndReturn added in v0.16.2

func (_c *StorageServiceClient_ClusterInfo_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceClusterInfoRequest]) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)) *StorageServiceClient_ClusterInfo_Call

type StorageServiceClient_Expecter added in v0.16.2

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

func (*StorageServiceClient_Expecter) ClusterInfo added in v0.16.2

func (_e *StorageServiceClient_Expecter) ClusterInfo(context1 any, request any) *StorageServiceClient_ClusterInfo_Call

ClusterInfo is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.StorageServiceClusterInfoRequest]

func (*StorageServiceClient_Expecter) ListSnapshots added in v0.16.2

func (_e *StorageServiceClient_Expecter) ListSnapshots(context1 any, request any) *StorageServiceClient_ListSnapshots_Call

ListSnapshots is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.StorageServiceListSnapshotsRequest]

func (*StorageServiceClient_Expecter) ListVolumes added in v0.16.2

func (_e *StorageServiceClient_Expecter) ListVolumes(context1 any, request any) *StorageServiceClient_ListVolumes_Call

ListVolumes is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.StorageServiceListVolumesRequest]

type StorageServiceClient_ListSnapshots_Call added in v0.16.2

type StorageServiceClient_ListSnapshots_Call struct {
	*mock.Call
}

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

func (*StorageServiceClient_ListSnapshots_Call) Return added in v0.16.2

func (_c *StorageServiceClient_ListSnapshots_Call) Return(response *connect.Response[adminv1.StorageServiceListSnapshotsResponse], err error) *StorageServiceClient_ListSnapshots_Call

func (*StorageServiceClient_ListSnapshots_Call) Run added in v0.16.2

func (_c *StorageServiceClient_ListSnapshots_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListSnapshotsRequest])) *StorageServiceClient_ListSnapshots_Call

func (*StorageServiceClient_ListSnapshots_Call) RunAndReturn added in v0.16.2

func (_c *StorageServiceClient_ListSnapshots_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListSnapshotsRequest]) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)) *StorageServiceClient_ListSnapshots_Call

type StorageServiceClient_ListVolumes_Call added in v0.16.2

type StorageServiceClient_ListVolumes_Call struct {
	*mock.Call
}

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

func (*StorageServiceClient_ListVolumes_Call) Return added in v0.16.2

func (_c *StorageServiceClient_ListVolumes_Call) Return(response *connect.Response[adminv1.StorageServiceListVolumesResponse], err error) *StorageServiceClient_ListVolumes_Call

func (*StorageServiceClient_ListVolumes_Call) Run added in v0.16.2

func (_c *StorageServiceClient_ListVolumes_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListVolumesRequest])) *StorageServiceClient_ListVolumes_Call

func (*StorageServiceClient_ListVolumes_Call) RunAndReturn added in v0.16.2

func (_c *StorageServiceClient_ListVolumes_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListVolumesRequest]) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)) *StorageServiceClient_ListVolumes_Call

type StorageServiceHandler

type StorageServiceHandler struct {
	mock.Mock
}

StorageServiceHandler is an autogenerated mock type for the StorageServiceHandler type

func NewStorageServiceHandler

func NewStorageServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *StorageServiceHandler

NewStorageServiceHandler creates a new instance of StorageServiceHandler. 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 (*StorageServiceHandler) ClusterInfo

func (_mock *StorageServiceHandler) ClusterInfo(context1 context.Context, request *connect.Request[adminv1.StorageServiceClusterInfoRequest]) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)

ClusterInfo provides a mock function for the type StorageServiceHandler

func (*StorageServiceHandler) EXPECT added in v0.16.2

func (*StorageServiceHandler) ListSnapshots

func (_mock *StorageServiceHandler) ListSnapshots(context1 context.Context, request *connect.Request[adminv1.StorageServiceListSnapshotsRequest]) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)

ListSnapshots provides a mock function for the type StorageServiceHandler

func (*StorageServiceHandler) ListVolumes

func (_mock *StorageServiceHandler) ListVolumes(context1 context.Context, request *connect.Request[adminv1.StorageServiceListVolumesRequest]) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)

ListVolumes provides a mock function for the type StorageServiceHandler

type StorageServiceHandler_ClusterInfo_Call added in v0.16.2

type StorageServiceHandler_ClusterInfo_Call struct {
	*mock.Call
}

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

func (*StorageServiceHandler_ClusterInfo_Call) Return added in v0.16.2

func (_c *StorageServiceHandler_ClusterInfo_Call) Return(response *connect.Response[adminv1.StorageServiceClusterInfoResponse], err error) *StorageServiceHandler_ClusterInfo_Call

func (*StorageServiceHandler_ClusterInfo_Call) Run added in v0.16.2

func (_c *StorageServiceHandler_ClusterInfo_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceClusterInfoRequest])) *StorageServiceHandler_ClusterInfo_Call

func (*StorageServiceHandler_ClusterInfo_Call) RunAndReturn added in v0.16.2

func (_c *StorageServiceHandler_ClusterInfo_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceClusterInfoRequest]) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)) *StorageServiceHandler_ClusterInfo_Call

type StorageServiceHandler_Expecter added in v0.16.2

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

func (*StorageServiceHandler_Expecter) ClusterInfo added in v0.16.2

ClusterInfo is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.StorageServiceClusterInfoRequest]

func (*StorageServiceHandler_Expecter) ListSnapshots added in v0.16.2

ListSnapshots is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.StorageServiceListSnapshotsRequest]

func (*StorageServiceHandler_Expecter) ListVolumes added in v0.16.2

ListVolumes is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.StorageServiceListVolumesRequest]

type StorageServiceHandler_ListSnapshots_Call added in v0.16.2

type StorageServiceHandler_ListSnapshots_Call struct {
	*mock.Call
}

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

func (*StorageServiceHandler_ListSnapshots_Call) Return added in v0.16.2

func (_c *StorageServiceHandler_ListSnapshots_Call) Return(response *connect.Response[adminv1.StorageServiceListSnapshotsResponse], err error) *StorageServiceHandler_ListSnapshots_Call

func (*StorageServiceHandler_ListSnapshots_Call) Run added in v0.16.2

func (_c *StorageServiceHandler_ListSnapshots_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListSnapshotsRequest])) *StorageServiceHandler_ListSnapshots_Call

func (*StorageServiceHandler_ListSnapshots_Call) RunAndReturn added in v0.16.2

func (_c *StorageServiceHandler_ListSnapshots_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListSnapshotsRequest]) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)) *StorageServiceHandler_ListSnapshots_Call

type StorageServiceHandler_ListVolumes_Call added in v0.16.2

type StorageServiceHandler_ListVolumes_Call struct {
	*mock.Call
}

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

func (*StorageServiceHandler_ListVolumes_Call) Return added in v0.16.2

func (_c *StorageServiceHandler_ListVolumes_Call) Return(response *connect.Response[adminv1.StorageServiceListVolumesResponse], err error) *StorageServiceHandler_ListVolumes_Call

func (*StorageServiceHandler_ListVolumes_Call) Run added in v0.16.2

func (_c *StorageServiceHandler_ListVolumes_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListVolumesRequest])) *StorageServiceHandler_ListVolumes_Call

func (*StorageServiceHandler_ListVolumes_Call) RunAndReturn added in v0.16.2

func (_c *StorageServiceHandler_ListVolumes_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListVolumesRequest]) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)) *StorageServiceHandler_ListVolumes_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) AddMember added in v0.9.6

func (_mock *TenantServiceClient) AddMember(context1 context.Context, request *connect.Request[adminv1.TenantServiceAddMemberRequest]) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)

AddMember provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) Admit

func (_mock *TenantServiceClient) Admit(context1 context.Context, request *connect.Request[adminv1.TenantServiceAdmitRequest]) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)

Admit provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) EXPECT added in v0.16.2

func (*TenantServiceClient) List

func (_mock *TenantServiceClient) List(context1 context.Context, request *connect.Request[adminv1.TenantServiceListRequest]) (*connect.Response[adminv1.TenantServiceListResponse], error)

List provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) Revoke

func (_mock *TenantServiceClient) Revoke(context1 context.Context, request *connect.Request[adminv1.TenantServiceRevokeRequest]) (*connect.Response[adminv1.TenantServiceRevokeResponse], error)

Revoke provides a mock function for the type TenantServiceClient

type TenantServiceClient_AddMember_Call added in v0.16.2

type TenantServiceClient_AddMember_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_AddMember_Call) Return added in v0.16.2

func (_c *TenantServiceClient_AddMember_Call) Return(response *connect.Response[adminv1.TenantServiceAddMemberResponse], err error) *TenantServiceClient_AddMember_Call

func (*TenantServiceClient_AddMember_Call) Run added in v0.16.2

func (_c *TenantServiceClient_AddMember_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAddMemberRequest])) *TenantServiceClient_AddMember_Call

func (*TenantServiceClient_AddMember_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_AddMember_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAddMemberRequest]) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)) *TenantServiceClient_AddMember_Call

type TenantServiceClient_Admit_Call added in v0.16.2

type TenantServiceClient_Admit_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_Admit_Call) Return added in v0.16.2

func (_c *TenantServiceClient_Admit_Call) Return(response *connect.Response[adminv1.TenantServiceAdmitResponse], err error) *TenantServiceClient_Admit_Call

func (*TenantServiceClient_Admit_Call) Run added in v0.16.2

func (_c *TenantServiceClient_Admit_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAdmitRequest])) *TenantServiceClient_Admit_Call

func (*TenantServiceClient_Admit_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_Admit_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAdmitRequest]) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)) *TenantServiceClient_Admit_Call

type TenantServiceClient_Expecter added in v0.16.2

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

func (*TenantServiceClient_Expecter) AddMember added in v0.16.2

func (_e *TenantServiceClient_Expecter) AddMember(context1 any, request any) *TenantServiceClient_AddMember_Call

AddMember is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.TenantServiceAddMemberRequest]

func (*TenantServiceClient_Expecter) Admit added in v0.16.2

Admit is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.TenantServiceAdmitRequest]

func (*TenantServiceClient_Expecter) List added in v0.16.2

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.TenantServiceListRequest]

func (*TenantServiceClient_Expecter) Revoke added in v0.16.2

Revoke is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.TenantServiceRevokeRequest]

type TenantServiceClient_List_Call added in v0.16.2

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.16.2

func (_c *TenantServiceClient_List_Call) Return(response *connect.Response[adminv1.TenantServiceListResponse], err error) *TenantServiceClient_List_Call

func (*TenantServiceClient_List_Call) Run added in v0.16.2

func (_c *TenantServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceListRequest])) *TenantServiceClient_List_Call

func (*TenantServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceListRequest]) (*connect.Response[adminv1.TenantServiceListResponse], error)) *TenantServiceClient_List_Call

type TenantServiceClient_Revoke_Call added in v0.16.2

type TenantServiceClient_Revoke_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_Revoke_Call) Return added in v0.16.2

func (_c *TenantServiceClient_Revoke_Call) Return(response *connect.Response[adminv1.TenantServiceRevokeResponse], err error) *TenantServiceClient_Revoke_Call

func (*TenantServiceClient_Revoke_Call) Run added in v0.16.2

func (_c *TenantServiceClient_Revoke_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceRevokeRequest])) *TenantServiceClient_Revoke_Call

func (*TenantServiceClient_Revoke_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_Revoke_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceRevokeRequest]) (*connect.Response[adminv1.TenantServiceRevokeResponse], error)) *TenantServiceClient_Revoke_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) AddMember added in v0.9.6

func (_mock *TenantServiceHandler) AddMember(context1 context.Context, request *connect.Request[adminv1.TenantServiceAddMemberRequest]) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)

AddMember provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) Admit

func (_mock *TenantServiceHandler) Admit(context1 context.Context, request *connect.Request[adminv1.TenantServiceAdmitRequest]) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)

Admit provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) EXPECT added in v0.16.2

func (*TenantServiceHandler) List

func (_mock *TenantServiceHandler) List(context1 context.Context, request *connect.Request[adminv1.TenantServiceListRequest]) (*connect.Response[adminv1.TenantServiceListResponse], error)

List provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) Revoke

func (_mock *TenantServiceHandler) Revoke(context1 context.Context, request *connect.Request[adminv1.TenantServiceRevokeRequest]) (*connect.Response[adminv1.TenantServiceRevokeResponse], error)

Revoke provides a mock function for the type TenantServiceHandler

type TenantServiceHandler_AddMember_Call added in v0.16.2

type TenantServiceHandler_AddMember_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_AddMember_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_AddMember_Call) Return(response *connect.Response[adminv1.TenantServiceAddMemberResponse], err error) *TenantServiceHandler_AddMember_Call

func (*TenantServiceHandler_AddMember_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_AddMember_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAddMemberRequest])) *TenantServiceHandler_AddMember_Call

func (*TenantServiceHandler_AddMember_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_AddMember_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAddMemberRequest]) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)) *TenantServiceHandler_AddMember_Call

type TenantServiceHandler_Admit_Call added in v0.16.2

type TenantServiceHandler_Admit_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_Admit_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_Admit_Call) Return(response *connect.Response[adminv1.TenantServiceAdmitResponse], err error) *TenantServiceHandler_Admit_Call

func (*TenantServiceHandler_Admit_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_Admit_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAdmitRequest])) *TenantServiceHandler_Admit_Call

func (*TenantServiceHandler_Admit_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_Admit_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAdmitRequest]) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)) *TenantServiceHandler_Admit_Call

type TenantServiceHandler_Expecter added in v0.16.2

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

func (*TenantServiceHandler_Expecter) AddMember added in v0.16.2

AddMember is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.TenantServiceAddMemberRequest]

func (*TenantServiceHandler_Expecter) Admit added in v0.16.2

Admit is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.TenantServiceAdmitRequest]

func (*TenantServiceHandler_Expecter) List added in v0.16.2

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.TenantServiceListRequest]

func (*TenantServiceHandler_Expecter) Revoke added in v0.16.2

Revoke is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.TenantServiceRevokeRequest]

type TenantServiceHandler_List_Call added in v0.16.2

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.16.2

func (_c *TenantServiceHandler_List_Call) Return(response *connect.Response[adminv1.TenantServiceListResponse], err error) *TenantServiceHandler_List_Call

func (*TenantServiceHandler_List_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceListRequest])) *TenantServiceHandler_List_Call

func (*TenantServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceListRequest]) (*connect.Response[adminv1.TenantServiceListResponse], error)) *TenantServiceHandler_List_Call

type TenantServiceHandler_Revoke_Call added in v0.16.2

type TenantServiceHandler_Revoke_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_Revoke_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_Revoke_Call) Return(response *connect.Response[adminv1.TenantServiceRevokeResponse], err error) *TenantServiceHandler_Revoke_Call

func (*TenantServiceHandler_Revoke_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_Revoke_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceRevokeRequest])) *TenantServiceHandler_Revoke_Call

func (*TenantServiceHandler_Revoke_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_Revoke_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceRevokeRequest]) (*connect.Response[adminv1.TenantServiceRevokeResponse], error)) *TenantServiceHandler_Revoke_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) EXPECT added in v0.16.2

func (*TokenServiceClient) List

func (_mock *TokenServiceClient) List(context1 context.Context, request *connect.Request[adminv1.TokenServiceListRequest]) (*connect.Response[adminv1.TokenServiceListResponse], error)

List provides a mock function for the type TokenServiceClient

func (*TokenServiceClient) Revoke

func (_mock *TokenServiceClient) Revoke(context1 context.Context, request *connect.Request[adminv1.TokenServiceRevokeRequest]) (*connect.Response[adminv1.TokenServiceRevokeResponse], error)

Revoke provides a mock function for the type TokenServiceClient

type TokenServiceClient_Expecter added in v0.16.2

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

func (*TokenServiceClient_Expecter) List added in v0.16.2

func (_e *TokenServiceClient_Expecter) List(context1 any, request any) *TokenServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.TokenServiceListRequest]

func (*TokenServiceClient_Expecter) Revoke added in v0.16.2

func (_e *TokenServiceClient_Expecter) Revoke(context1 any, request any) *TokenServiceClient_Revoke_Call

Revoke is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.TokenServiceRevokeRequest]

type TokenServiceClient_List_Call added in v0.16.2

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.16.2

func (_c *TokenServiceClient_List_Call) Return(response *connect.Response[adminv1.TokenServiceListResponse], err error) *TokenServiceClient_List_Call

func (*TokenServiceClient_List_Call) Run added in v0.16.2

func (_c *TokenServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TokenServiceListRequest])) *TokenServiceClient_List_Call

func (*TokenServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TokenServiceListRequest]) (*connect.Response[adminv1.TokenServiceListResponse], error)) *TokenServiceClient_List_Call

type TokenServiceClient_Revoke_Call added in v0.16.2

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.16.2

func (_c *TokenServiceClient_Revoke_Call) Return(response *connect.Response[adminv1.TokenServiceRevokeResponse], err error) *TokenServiceClient_Revoke_Call

func (*TokenServiceClient_Revoke_Call) Run added in v0.16.2

func (_c *TokenServiceClient_Revoke_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TokenServiceRevokeRequest])) *TokenServiceClient_Revoke_Call

func (*TokenServiceClient_Revoke_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceClient_Revoke_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TokenServiceRevokeRequest]) (*connect.Response[adminv1.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) EXPECT added in v0.16.2

func (*TokenServiceHandler) List

func (_mock *TokenServiceHandler) List(context1 context.Context, request *connect.Request[adminv1.TokenServiceListRequest]) (*connect.Response[adminv1.TokenServiceListResponse], error)

List provides a mock function for the type TokenServiceHandler

func (*TokenServiceHandler) Revoke

func (_mock *TokenServiceHandler) Revoke(context1 context.Context, request *connect.Request[adminv1.TokenServiceRevokeRequest]) (*connect.Response[adminv1.TokenServiceRevokeResponse], error)

Revoke provides a mock function for the type TokenServiceHandler

type TokenServiceHandler_Expecter added in v0.16.2

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

func (*TokenServiceHandler_Expecter) List added in v0.16.2

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.TokenServiceListRequest]

func (*TokenServiceHandler_Expecter) Revoke added in v0.16.2

Revoke is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[adminv1.TokenServiceRevokeRequest]

type TokenServiceHandler_List_Call added in v0.16.2

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.16.2

func (_c *TokenServiceHandler_List_Call) Return(response *connect.Response[adminv1.TokenServiceListResponse], err error) *TokenServiceHandler_List_Call

func (*TokenServiceHandler_List_Call) Run added in v0.16.2

func (_c *TokenServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TokenServiceListRequest])) *TokenServiceHandler_List_Call

func (*TokenServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TokenServiceListRequest]) (*connect.Response[adminv1.TokenServiceListResponse], error)) *TokenServiceHandler_List_Call

type TokenServiceHandler_Revoke_Call added in v0.16.2

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.16.2

func (_c *TokenServiceHandler_Revoke_Call) Return(response *connect.Response[adminv1.TokenServiceRevokeResponse], err error) *TokenServiceHandler_Revoke_Call

func (*TokenServiceHandler_Revoke_Call) Run added in v0.16.2

func (_c *TokenServiceHandler_Revoke_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TokenServiceRevokeRequest])) *TokenServiceHandler_Revoke_Call

func (*TokenServiceHandler_Revoke_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceHandler_Revoke_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TokenServiceRevokeRequest]) (*connect.Response[adminv1.TokenServiceRevokeResponse], error)) *TokenServiceHandler_Revoke_Call

Jump to

Keyboard shortcuts

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