Documentation
¶
Index ¶
- type ProjectServiceClient
- func (_m *ProjectServiceClient) Create(ctx context.Context, in *v1.ProjectCreateRequest, opts ...grpc.CallOption) (*v1.ProjectResponse, error)
- func (_m *ProjectServiceClient) Delete(ctx context.Context, in *v1.ProjectDeleteRequest, opts ...grpc.CallOption) (*v1.ProjectResponse, error)
- func (_m *ProjectServiceClient) Find(ctx context.Context, in *v1.ProjectFindRequest, opts ...grpc.CallOption) (*v1.ProjectListResponse, error)
- func (_m *ProjectServiceClient) Get(ctx context.Context, in *v1.ProjectGetRequest, opts ...grpc.CallOption) (*v1.ProjectResponse, error)
- func (_m *ProjectServiceClient) GetHistory(ctx context.Context, in *v1.ProjectGetHistoryRequest, opts ...grpc.CallOption) (*v1.ProjectResponse, error)
- func (_m *ProjectServiceClient) Update(ctx context.Context, in *v1.ProjectUpdateRequest, opts ...grpc.CallOption) (*v1.ProjectResponse, error)
- type ProjectServiceServer
- func (_m *ProjectServiceServer) Create(_a0 context.Context, _a1 *v1.ProjectCreateRequest) (*v1.ProjectResponse, error)
- func (_m *ProjectServiceServer) Delete(_a0 context.Context, _a1 *v1.ProjectDeleteRequest) (*v1.ProjectResponse, error)
- func (_m *ProjectServiceServer) Find(_a0 context.Context, _a1 *v1.ProjectFindRequest) (*v1.ProjectListResponse, error)
- func (_m *ProjectServiceServer) Get(_a0 context.Context, _a1 *v1.ProjectGetRequest) (*v1.ProjectResponse, error)
- func (_m *ProjectServiceServer) GetHistory(_a0 context.Context, _a1 *v1.ProjectGetHistoryRequest) (*v1.ProjectResponse, error)
- func (_m *ProjectServiceServer) Update(_a0 context.Context, _a1 *v1.ProjectUpdateRequest) (*v1.ProjectResponse, error)
- type TenantServiceClient
- func (_m *TenantServiceClient) Create(ctx context.Context, in *v1.TenantCreateRequest, opts ...grpc.CallOption) (*v1.TenantResponse, error)
- func (_m *TenantServiceClient) Delete(ctx context.Context, in *v1.TenantDeleteRequest, opts ...grpc.CallOption) (*v1.TenantResponse, error)
- func (_m *TenantServiceClient) Find(ctx context.Context, in *v1.TenantFindRequest, opts ...grpc.CallOption) (*v1.TenantListResponse, error)
- func (_m *TenantServiceClient) Get(ctx context.Context, in *v1.TenantGetRequest, opts ...grpc.CallOption) (*v1.TenantResponse, error)
- func (_m *TenantServiceClient) GetHistory(ctx context.Context, in *v1.TenantGetHistoryRequest, opts ...grpc.CallOption) (*v1.TenantResponse, error)
- func (_m *TenantServiceClient) Update(ctx context.Context, in *v1.TenantUpdateRequest, opts ...grpc.CallOption) (*v1.TenantResponse, error)
- type TenantServiceServer
- func (_m *TenantServiceServer) Create(_a0 context.Context, _a1 *v1.TenantCreateRequest) (*v1.TenantResponse, error)
- func (_m *TenantServiceServer) Delete(_a0 context.Context, _a1 *v1.TenantDeleteRequest) (*v1.TenantResponse, error)
- func (_m *TenantServiceServer) Find(_a0 context.Context, _a1 *v1.TenantFindRequest) (*v1.TenantListResponse, error)
- func (_m *TenantServiceServer) Get(_a0 context.Context, _a1 *v1.TenantGetRequest) (*v1.TenantResponse, error)
- func (_m *TenantServiceServer) GetHistory(_a0 context.Context, _a1 *v1.TenantGetHistoryRequest) (*v1.TenantResponse, error)
- func (_m *TenantServiceServer) Update(_a0 context.Context, _a1 *v1.TenantUpdateRequest) (*v1.TenantResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectServiceClient ¶
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 ¶
func (_m *ProjectServiceClient) Create(ctx context.Context, in *v1.ProjectCreateRequest, opts ...grpc.CallOption) (*v1.ProjectResponse, error)
Create provides a mock function with given fields: ctx, in, opts
func (*ProjectServiceClient) Delete ¶
func (_m *ProjectServiceClient) Delete(ctx context.Context, in *v1.ProjectDeleteRequest, opts ...grpc.CallOption) (*v1.ProjectResponse, error)
Delete provides a mock function with given fields: ctx, in, opts
func (*ProjectServiceClient) Find ¶
func (_m *ProjectServiceClient) Find(ctx context.Context, in *v1.ProjectFindRequest, opts ...grpc.CallOption) (*v1.ProjectListResponse, error)
Find provides a mock function with given fields: ctx, in, opts
func (*ProjectServiceClient) Get ¶
func (_m *ProjectServiceClient) Get(ctx context.Context, in *v1.ProjectGetRequest, opts ...grpc.CallOption) (*v1.ProjectResponse, error)
Get provides a mock function with given fields: ctx, in, opts
func (*ProjectServiceClient) GetHistory ¶ added in v0.7.0
func (_m *ProjectServiceClient) GetHistory(ctx context.Context, in *v1.ProjectGetHistoryRequest, opts ...grpc.CallOption) (*v1.ProjectResponse, error)
GetHistory provides a mock function with given fields: ctx, in, opts
func (*ProjectServiceClient) Update ¶
func (_m *ProjectServiceClient) Update(ctx context.Context, in *v1.ProjectUpdateRequest, opts ...grpc.CallOption) (*v1.ProjectResponse, error)
Update provides a mock function with given fields: ctx, in, opts
type ProjectServiceServer ¶ added in v0.9.0
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
func (_m *ProjectServiceServer) Create(_a0 context.Context, _a1 *v1.ProjectCreateRequest) (*v1.ProjectResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*ProjectServiceServer) Delete ¶ added in v0.9.0
func (_m *ProjectServiceServer) Delete(_a0 context.Context, _a1 *v1.ProjectDeleteRequest) (*v1.ProjectResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*ProjectServiceServer) Find ¶ added in v0.9.0
func (_m *ProjectServiceServer) Find(_a0 context.Context, _a1 *v1.ProjectFindRequest) (*v1.ProjectListResponse, error)
Find provides a mock function with given fields: _a0, _a1
func (*ProjectServiceServer) Get ¶ added in v0.9.0
func (_m *ProjectServiceServer) Get(_a0 context.Context, _a1 *v1.ProjectGetRequest) (*v1.ProjectResponse, error)
Get provides a mock function with given fields: _a0, _a1
func (*ProjectServiceServer) GetHistory ¶ added in v0.9.0
func (_m *ProjectServiceServer) GetHistory(_a0 context.Context, _a1 *v1.ProjectGetHistoryRequest) (*v1.ProjectResponse, error)
GetHistory provides a mock function with given fields: _a0, _a1
func (*ProjectServiceServer) Update ¶ added in v0.9.0
func (_m *ProjectServiceServer) Update(_a0 context.Context, _a1 *v1.ProjectUpdateRequest) (*v1.ProjectResponse, error)
Update provides a mock function with given fields: _a0, _a1
type TenantServiceClient ¶
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 ¶
func (_m *TenantServiceClient) Create(ctx context.Context, in *v1.TenantCreateRequest, opts ...grpc.CallOption) (*v1.TenantResponse, error)
Create provides a mock function with given fields: ctx, in, opts
func (*TenantServiceClient) Delete ¶
func (_m *TenantServiceClient) Delete(ctx context.Context, in *v1.TenantDeleteRequest, opts ...grpc.CallOption) (*v1.TenantResponse, error)
Delete provides a mock function with given fields: ctx, in, opts
func (*TenantServiceClient) Find ¶
func (_m *TenantServiceClient) Find(ctx context.Context, in *v1.TenantFindRequest, opts ...grpc.CallOption) (*v1.TenantListResponse, error)
Find provides a mock function with given fields: ctx, in, opts
func (*TenantServiceClient) Get ¶
func (_m *TenantServiceClient) Get(ctx context.Context, in *v1.TenantGetRequest, opts ...grpc.CallOption) (*v1.TenantResponse, error)
Get provides a mock function with given fields: ctx, in, opts
func (*TenantServiceClient) GetHistory ¶ added in v0.7.0
func (_m *TenantServiceClient) GetHistory(ctx context.Context, in *v1.TenantGetHistoryRequest, opts ...grpc.CallOption) (*v1.TenantResponse, error)
GetHistory provides a mock function with given fields: ctx, in, opts
func (*TenantServiceClient) Update ¶
func (_m *TenantServiceClient) Update(ctx context.Context, in *v1.TenantUpdateRequest, opts ...grpc.CallOption) (*v1.TenantResponse, error)
Update provides a mock function with given fields: ctx, in, opts
type TenantServiceServer ¶ added in v0.9.0
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
func (_m *TenantServiceServer) Create(_a0 context.Context, _a1 *v1.TenantCreateRequest) (*v1.TenantResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*TenantServiceServer) Delete ¶ added in v0.9.0
func (_m *TenantServiceServer) Delete(_a0 context.Context, _a1 *v1.TenantDeleteRequest) (*v1.TenantResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*TenantServiceServer) Find ¶ added in v0.9.0
func (_m *TenantServiceServer) Find(_a0 context.Context, _a1 *v1.TenantFindRequest) (*v1.TenantListResponse, error)
Find provides a mock function with given fields: _a0, _a1
func (*TenantServiceServer) Get ¶ added in v0.9.0
func (_m *TenantServiceServer) Get(_a0 context.Context, _a1 *v1.TenantGetRequest) (*v1.TenantResponse, error)
Get provides a mock function with given fields: _a0, _a1
func (*TenantServiceServer) GetHistory ¶ added in v0.9.0
func (_m *TenantServiceServer) GetHistory(_a0 context.Context, _a1 *v1.TenantGetHistoryRequest) (*v1.TenantResponse, error)
GetHistory provides a mock function with given fields: _a0, _a1
func (*TenantServiceServer) Update ¶ added in v0.9.0
func (_m *TenantServiceServer) Update(_a0 context.Context, _a1 *v1.TenantUpdateRequest) (*v1.TenantResponse, error)
Update provides a mock function with given fields: _a0, _a1