Documentation ¶
Index ¶
- type IsCloningResourceServiceClient
- type ResourceServiceClient
- func (_m *ResourceServiceClient) Delete(ctx context.Context, in *pbresource.DeleteRequest, opts ...grpc.CallOption) (*pbresource.DeleteResponse, error)
- func (_m *ResourceServiceClient) List(ctx context.Context, in *pbresource.ListRequest, opts ...grpc.CallOption) (*pbresource.ListResponse, error)
- func (_m *ResourceServiceClient) ListByOwner(ctx context.Context, in *pbresource.ListByOwnerRequest, ...) (*pbresource.ListByOwnerResponse, error)
- func (_m *ResourceServiceClient) MutateAndValidate(ctx context.Context, in *pbresource.MutateAndValidateRequest, ...) (*pbresource.MutateAndValidateResponse, error)
- func (_m *ResourceServiceClient) Read(ctx context.Context, in *pbresource.ReadRequest, opts ...grpc.CallOption) (*pbresource.ReadResponse, error)
- func (_m *ResourceServiceClient) WatchList(ctx context.Context, in *pbresource.WatchListRequest, opts ...grpc.CallOption) (pbresource.ResourceService_WatchListClient, error)
- func (_m *ResourceServiceClient) Write(ctx context.Context, in *pbresource.WriteRequest, opts ...grpc.CallOption) (*pbresource.WriteResponse, error)
- func (_m *ResourceServiceClient) WriteStatus(ctx context.Context, in *pbresource.WriteStatusRequest, ...) (*pbresource.WriteStatusResponse, error)
- type ResourceServiceServer
- func (_m *ResourceServiceServer) Delete(_a0 context.Context, _a1 *pbresource.DeleteRequest) (*pbresource.DeleteResponse, error)
- func (_m *ResourceServiceServer) List(_a0 context.Context, _a1 *pbresource.ListRequest) (*pbresource.ListResponse, error)
- func (_m *ResourceServiceServer) ListByOwner(_a0 context.Context, _a1 *pbresource.ListByOwnerRequest) (*pbresource.ListByOwnerResponse, error)
- func (_m *ResourceServiceServer) MutateAndValidate(_a0 context.Context, _a1 *pbresource.MutateAndValidateRequest) (*pbresource.MutateAndValidateResponse, error)
- func (_m *ResourceServiceServer) Read(_a0 context.Context, _a1 *pbresource.ReadRequest) (*pbresource.ReadResponse, error)
- func (_m *ResourceServiceServer) WatchList(_a0 *pbresource.WatchListRequest, ...) error
- func (_m *ResourceServiceServer) Write(_a0 context.Context, _a1 *pbresource.WriteRequest) (*pbresource.WriteResponse, error)
- func (_m *ResourceServiceServer) WriteStatus(_a0 context.Context, _a1 *pbresource.WriteStatusRequest) (*pbresource.WriteStatusResponse, error)
- type ResourceService_WatchListClient
- func (_m *ResourceService_WatchListClient) CloseSend() error
- func (_m *ResourceService_WatchListClient) Context() context.Context
- func (_m *ResourceService_WatchListClient) Header() (metadata.MD, error)
- func (_m *ResourceService_WatchListClient) Recv() (*pbresource.WatchEvent, error)
- func (_m *ResourceService_WatchListClient) RecvMsg(m interface{}) error
- func (_m *ResourceService_WatchListClient) SendMsg(m interface{}) error
- func (_m *ResourceService_WatchListClient) Trailer() metadata.MD
- type ResourceService_WatchListServer
- func (_m *ResourceService_WatchListServer) Context() context.Context
- func (_m *ResourceService_WatchListServer) RecvMsg(m interface{}) error
- func (_m *ResourceService_WatchListServer) Send(_a0 *pbresource.WatchEvent) error
- func (_m *ResourceService_WatchListServer) SendHeader(_a0 metadata.MD) error
- func (_m *ResourceService_WatchListServer) SendMsg(m interface{}) error
- func (_m *ResourceService_WatchListServer) SetHeader(_a0 metadata.MD) error
- func (_m *ResourceService_WatchListServer) SetTrailer(_a0 metadata.MD)
- type UnsafeResourceServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IsCloningResourceServiceClient ¶
IsCloningResourceServiceClient is an autogenerated mock type for the IsCloningResourceServiceClient type
func NewIsCloningResourceServiceClient ¶
func NewIsCloningResourceServiceClient(t interface { mock.TestingT Cleanup(func()) }) *IsCloningResourceServiceClient
NewIsCloningResourceServiceClient creates a new instance of IsCloningResourceServiceClient. 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 (*IsCloningResourceServiceClient) IsCloningResourceServiceClient ¶
func (_m *IsCloningResourceServiceClient) IsCloningResourceServiceClient() bool
IsCloningResourceServiceClient provides a mock function with given fields:
type ResourceServiceClient ¶
ResourceServiceClient is an autogenerated mock type for the ResourceServiceClient type
func NewResourceServiceClient ¶
func NewResourceServiceClient(t interface { mock.TestingT Cleanup(func()) }) *ResourceServiceClient
NewResourceServiceClient creates a new instance of ResourceServiceClient. 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 (*ResourceServiceClient) Delete ¶
func (_m *ResourceServiceClient) Delete(ctx context.Context, in *pbresource.DeleteRequest, opts ...grpc.CallOption) (*pbresource.DeleteResponse, error)
Delete provides a mock function with given fields: ctx, in, opts
func (*ResourceServiceClient) List ¶
func (_m *ResourceServiceClient) List(ctx context.Context, in *pbresource.ListRequest, opts ...grpc.CallOption) (*pbresource.ListResponse, error)
List provides a mock function with given fields: ctx, in, opts
func (*ResourceServiceClient) ListByOwner ¶
func (_m *ResourceServiceClient) ListByOwner(ctx context.Context, in *pbresource.ListByOwnerRequest, opts ...grpc.CallOption) (*pbresource.ListByOwnerResponse, error)
ListByOwner provides a mock function with given fields: ctx, in, opts
func (*ResourceServiceClient) MutateAndValidate ¶
func (_m *ResourceServiceClient) MutateAndValidate(ctx context.Context, in *pbresource.MutateAndValidateRequest, opts ...grpc.CallOption) (*pbresource.MutateAndValidateResponse, error)
MutateAndValidate provides a mock function with given fields: ctx, in, opts
func (*ResourceServiceClient) Read ¶
func (_m *ResourceServiceClient) Read(ctx context.Context, in *pbresource.ReadRequest, opts ...grpc.CallOption) (*pbresource.ReadResponse, error)
Read provides a mock function with given fields: ctx, in, opts
func (*ResourceServiceClient) WatchList ¶
func (_m *ResourceServiceClient) WatchList(ctx context.Context, in *pbresource.WatchListRequest, opts ...grpc.CallOption) (pbresource.ResourceService_WatchListClient, error)
WatchList provides a mock function with given fields: ctx, in, opts
func (*ResourceServiceClient) Write ¶
func (_m *ResourceServiceClient) Write(ctx context.Context, in *pbresource.WriteRequest, opts ...grpc.CallOption) (*pbresource.WriteResponse, error)
Write provides a mock function with given fields: ctx, in, opts
func (*ResourceServiceClient) WriteStatus ¶
func (_m *ResourceServiceClient) WriteStatus(ctx context.Context, in *pbresource.WriteStatusRequest, opts ...grpc.CallOption) (*pbresource.WriteStatusResponse, error)
WriteStatus provides a mock function with given fields: ctx, in, opts
type ResourceServiceServer ¶
ResourceServiceServer is an autogenerated mock type for the ResourceServiceServer type
func NewResourceServiceServer ¶
func NewResourceServiceServer(t interface { mock.TestingT Cleanup(func()) }) *ResourceServiceServer
NewResourceServiceServer creates a new instance of ResourceServiceServer. 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 (*ResourceServiceServer) Delete ¶
func (_m *ResourceServiceServer) Delete(_a0 context.Context, _a1 *pbresource.DeleteRequest) (*pbresource.DeleteResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*ResourceServiceServer) List ¶
func (_m *ResourceServiceServer) List(_a0 context.Context, _a1 *pbresource.ListRequest) (*pbresource.ListResponse, error)
List provides a mock function with given fields: _a0, _a1
func (*ResourceServiceServer) ListByOwner ¶
func (_m *ResourceServiceServer) ListByOwner(_a0 context.Context, _a1 *pbresource.ListByOwnerRequest) (*pbresource.ListByOwnerResponse, error)
ListByOwner provides a mock function with given fields: _a0, _a1
func (*ResourceServiceServer) MutateAndValidate ¶
func (_m *ResourceServiceServer) MutateAndValidate(_a0 context.Context, _a1 *pbresource.MutateAndValidateRequest) (*pbresource.MutateAndValidateResponse, error)
MutateAndValidate provides a mock function with given fields: _a0, _a1
func (*ResourceServiceServer) Read ¶
func (_m *ResourceServiceServer) Read(_a0 context.Context, _a1 *pbresource.ReadRequest) (*pbresource.ReadResponse, error)
Read provides a mock function with given fields: _a0, _a1
func (*ResourceServiceServer) WatchList ¶
func (_m *ResourceServiceServer) WatchList(_a0 *pbresource.WatchListRequest, _a1 pbresource.ResourceService_WatchListServer) error
WatchList provides a mock function with given fields: _a0, _a1
func (*ResourceServiceServer) Write ¶
func (_m *ResourceServiceServer) Write(_a0 context.Context, _a1 *pbresource.WriteRequest) (*pbresource.WriteResponse, error)
Write provides a mock function with given fields: _a0, _a1
func (*ResourceServiceServer) WriteStatus ¶
func (_m *ResourceServiceServer) WriteStatus(_a0 context.Context, _a1 *pbresource.WriteStatusRequest) (*pbresource.WriteStatusResponse, error)
WriteStatus provides a mock function with given fields: _a0, _a1
type ResourceService_WatchListClient ¶
ResourceService_WatchListClient is an autogenerated mock type for the ResourceService_WatchListClient type
func NewResourceService_WatchListClient ¶
func NewResourceService_WatchListClient(t interface { mock.TestingT Cleanup(func()) }) *ResourceService_WatchListClient
NewResourceService_WatchListClient creates a new instance of ResourceService_WatchListClient. 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 (*ResourceService_WatchListClient) CloseSend ¶
func (_m *ResourceService_WatchListClient) CloseSend() error
CloseSend provides a mock function with given fields:
func (*ResourceService_WatchListClient) Context ¶
func (_m *ResourceService_WatchListClient) Context() context.Context
Context provides a mock function with given fields:
func (*ResourceService_WatchListClient) Header ¶
func (_m *ResourceService_WatchListClient) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*ResourceService_WatchListClient) Recv ¶
func (_m *ResourceService_WatchListClient) Recv() (*pbresource.WatchEvent, error)
Recv provides a mock function with given fields:
func (*ResourceService_WatchListClient) RecvMsg ¶
func (_m *ResourceService_WatchListClient) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*ResourceService_WatchListClient) SendMsg ¶
func (_m *ResourceService_WatchListClient) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*ResourceService_WatchListClient) Trailer ¶
func (_m *ResourceService_WatchListClient) Trailer() metadata.MD
Trailer provides a mock function with given fields:
type ResourceService_WatchListServer ¶
ResourceService_WatchListServer is an autogenerated mock type for the ResourceService_WatchListServer type
func NewResourceService_WatchListServer ¶
func NewResourceService_WatchListServer(t interface { mock.TestingT Cleanup(func()) }) *ResourceService_WatchListServer
NewResourceService_WatchListServer creates a new instance of ResourceService_WatchListServer. 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 (*ResourceService_WatchListServer) Context ¶
func (_m *ResourceService_WatchListServer) Context() context.Context
Context provides a mock function with given fields:
func (*ResourceService_WatchListServer) RecvMsg ¶
func (_m *ResourceService_WatchListServer) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*ResourceService_WatchListServer) Send ¶
func (_m *ResourceService_WatchListServer) Send(_a0 *pbresource.WatchEvent) error
Send provides a mock function with given fields: _a0
func (*ResourceService_WatchListServer) SendHeader ¶
func (_m *ResourceService_WatchListServer) SendHeader(_a0 metadata.MD) error
SendHeader provides a mock function with given fields: _a0
func (*ResourceService_WatchListServer) SendMsg ¶
func (_m *ResourceService_WatchListServer) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*ResourceService_WatchListServer) SetHeader ¶
func (_m *ResourceService_WatchListServer) SetHeader(_a0 metadata.MD) error
SetHeader provides a mock function with given fields: _a0
func (*ResourceService_WatchListServer) SetTrailer ¶
func (_m *ResourceService_WatchListServer) SetTrailer(_a0 metadata.MD)
SetTrailer provides a mock function with given fields: _a0
type UnsafeResourceServiceServer ¶
UnsafeResourceServiceServer is an autogenerated mock type for the UnsafeResourceServiceServer type
func NewUnsafeResourceServiceServer ¶
func NewUnsafeResourceServiceServer(t interface { mock.TestingT Cleanup(func()) }) *UnsafeResourceServiceServer
NewUnsafeResourceServiceServer creates a new instance of UnsafeResourceServiceServer. 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.