Documentation ¶
Index ¶
- type CacheServiceClient
- func (_m *CacheServiceClient) Delete(ctx context.Context, in *cacheservice.DeleteCacheRequest, ...) (*cacheservice.DeleteCacheResponse, error)
- func (_m *CacheServiceClient) Get(ctx context.Context, in *cacheservice.GetCacheRequest, opts ...grpc.CallOption) (*cacheservice.GetCacheResponse, error)
- func (_m *CacheServiceClient) GetOrExtendReservation(ctx context.Context, in *cacheservice.GetOrExtendReservationRequest, ...) (*cacheservice.GetOrExtendReservationResponse, error)
- func (_m *CacheServiceClient) OnDelete(ctx context.Context, in *cacheservice.DeleteCacheRequest, ...) *CacheServiceClient_Delete
- func (_m *CacheServiceClient) OnDeleteMatch(matchers ...interface{}) *CacheServiceClient_Delete
- func (_m *CacheServiceClient) OnGet(ctx context.Context, in *cacheservice.GetCacheRequest, opts ...grpc.CallOption) *CacheServiceClient_Get
- func (_m *CacheServiceClient) OnGetMatch(matchers ...interface{}) *CacheServiceClient_Get
- func (_m *CacheServiceClient) OnGetOrExtendReservation(ctx context.Context, in *cacheservice.GetOrExtendReservationRequest, ...) *CacheServiceClient_GetOrExtendReservation
- func (_m *CacheServiceClient) OnGetOrExtendReservationMatch(matchers ...interface{}) *CacheServiceClient_GetOrExtendReservation
- func (_m *CacheServiceClient) OnPut(ctx context.Context, in *cacheservice.PutCacheRequest, opts ...grpc.CallOption) *CacheServiceClient_Put
- func (_m *CacheServiceClient) OnPutMatch(matchers ...interface{}) *CacheServiceClient_Put
- func (_m *CacheServiceClient) OnReleaseReservation(ctx context.Context, in *cacheservice.ReleaseReservationRequest, ...) *CacheServiceClient_ReleaseReservation
- func (_m *CacheServiceClient) OnReleaseReservationMatch(matchers ...interface{}) *CacheServiceClient_ReleaseReservation
- func (_m *CacheServiceClient) Put(ctx context.Context, in *cacheservice.PutCacheRequest, opts ...grpc.CallOption) (*cacheservice.PutCacheResponse, error)
- func (_m *CacheServiceClient) ReleaseReservation(ctx context.Context, in *cacheservice.ReleaseReservationRequest, ...) (*cacheservice.ReleaseReservationResponse, error)
- type CacheServiceClient_Delete
- type CacheServiceClient_Get
- type CacheServiceClient_GetOrExtendReservation
- type CacheServiceClient_Put
- type CacheServiceClient_ReleaseReservation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheServiceClient ¶
CacheServiceClient is an autogenerated mock type for the CacheServiceClient type
func (*CacheServiceClient) Delete ¶
func (_m *CacheServiceClient) Delete(ctx context.Context, in *cacheservice.DeleteCacheRequest, opts ...grpc.CallOption) (*cacheservice.DeleteCacheResponse, error)
Delete provides a mock function with given fields: ctx, in, opts
func (*CacheServiceClient) Get ¶
func (_m *CacheServiceClient) Get(ctx context.Context, in *cacheservice.GetCacheRequest, opts ...grpc.CallOption) (*cacheservice.GetCacheResponse, error)
Get provides a mock function with given fields: ctx, in, opts
func (*CacheServiceClient) GetOrExtendReservation ¶
func (_m *CacheServiceClient) GetOrExtendReservation(ctx context.Context, in *cacheservice.GetOrExtendReservationRequest, opts ...grpc.CallOption) (*cacheservice.GetOrExtendReservationResponse, error)
GetOrExtendReservation provides a mock function with given fields: ctx, in, opts
func (*CacheServiceClient) OnDelete ¶
func (_m *CacheServiceClient) OnDelete(ctx context.Context, in *cacheservice.DeleteCacheRequest, opts ...grpc.CallOption) *CacheServiceClient_Delete
func (*CacheServiceClient) OnDeleteMatch ¶
func (_m *CacheServiceClient) OnDeleteMatch(matchers ...interface{}) *CacheServiceClient_Delete
func (*CacheServiceClient) OnGet ¶
func (_m *CacheServiceClient) OnGet(ctx context.Context, in *cacheservice.GetCacheRequest, opts ...grpc.CallOption) *CacheServiceClient_Get
func (*CacheServiceClient) OnGetMatch ¶
func (_m *CacheServiceClient) OnGetMatch(matchers ...interface{}) *CacheServiceClient_Get
func (*CacheServiceClient) OnGetOrExtendReservation ¶
func (_m *CacheServiceClient) OnGetOrExtendReservation(ctx context.Context, in *cacheservice.GetOrExtendReservationRequest, opts ...grpc.CallOption) *CacheServiceClient_GetOrExtendReservation
func (*CacheServiceClient) OnGetOrExtendReservationMatch ¶
func (_m *CacheServiceClient) OnGetOrExtendReservationMatch(matchers ...interface{}) *CacheServiceClient_GetOrExtendReservation
func (*CacheServiceClient) OnPut ¶
func (_m *CacheServiceClient) OnPut(ctx context.Context, in *cacheservice.PutCacheRequest, opts ...grpc.CallOption) *CacheServiceClient_Put
func (*CacheServiceClient) OnPutMatch ¶
func (_m *CacheServiceClient) OnPutMatch(matchers ...interface{}) *CacheServiceClient_Put
func (*CacheServiceClient) OnReleaseReservation ¶
func (_m *CacheServiceClient) OnReleaseReservation(ctx context.Context, in *cacheservice.ReleaseReservationRequest, opts ...grpc.CallOption) *CacheServiceClient_ReleaseReservation
func (*CacheServiceClient) OnReleaseReservationMatch ¶
func (_m *CacheServiceClient) OnReleaseReservationMatch(matchers ...interface{}) *CacheServiceClient_ReleaseReservation
func (*CacheServiceClient) Put ¶
func (_m *CacheServiceClient) Put(ctx context.Context, in *cacheservice.PutCacheRequest, opts ...grpc.CallOption) (*cacheservice.PutCacheResponse, error)
Put provides a mock function with given fields: ctx, in, opts
func (*CacheServiceClient) ReleaseReservation ¶
func (_m *CacheServiceClient) ReleaseReservation(ctx context.Context, in *cacheservice.ReleaseReservationRequest, opts ...grpc.CallOption) (*cacheservice.ReleaseReservationResponse, error)
ReleaseReservation provides a mock function with given fields: ctx, in, opts
type CacheServiceClient_Delete ¶
func (CacheServiceClient_Delete) Return ¶
func (_m CacheServiceClient_Delete) Return(_a0 *cacheservice.DeleteCacheResponse, _a1 error) *CacheServiceClient_Delete
type CacheServiceClient_Get ¶
func (CacheServiceClient_Get) Return ¶
func (_m CacheServiceClient_Get) Return(_a0 *cacheservice.GetCacheResponse, _a1 error) *CacheServiceClient_Get
type CacheServiceClient_GetOrExtendReservation ¶
func (CacheServiceClient_GetOrExtendReservation) Return ¶
func (_m CacheServiceClient_GetOrExtendReservation) Return(_a0 *cacheservice.GetOrExtendReservationResponse, _a1 error) *CacheServiceClient_GetOrExtendReservation
type CacheServiceClient_Put ¶
func (CacheServiceClient_Put) Return ¶
func (_m CacheServiceClient_Put) Return(_a0 *cacheservice.PutCacheResponse, _a1 error) *CacheServiceClient_Put
type CacheServiceClient_ReleaseReservation ¶
func (CacheServiceClient_ReleaseReservation) Return ¶
func (_m CacheServiceClient_ReleaseReservation) Return(_a0 *cacheservice.ReleaseReservationResponse, _a1 error) *CacheServiceClient_ReleaseReservation
Click to show internal directories.
Click to hide internal directories.