Documentation ¶
Overview ¶
Package asset_mock is a generated GoMock package.
Index ¶
- type MockAssetServiceClient
- func (m *MockAssetServiceClient) AssignAssetLabel(ctx context.Context, in *v1.AssignAssetLabelRequest, opts ...grpc.CallOption) (*v1.AssignAssetLabelResponse, error)
- func (m *MockAssetServiceClient) CreateAsset(ctx context.Context, in *v1.CreateAssetRequest, opts ...grpc.CallOption) (*v1.CreateAssetResponse, error)
- func (m *MockAssetServiceClient) EXPECT() *MockAssetServiceClientMockRecorder
- func (m *MockAssetServiceClient) GetAsset(ctx context.Context, in *v1.GetAssetRequest, opts ...grpc.CallOption) (*v1.GetAssetResponse, error)
- func (m *MockAssetServiceClient) GetAssetLabels(ctx context.Context, in *v1.GetAssetLabelsRequest, opts ...grpc.CallOption) (*v1.GetAssetLabelsResponse, error)
- func (m *MockAssetServiceClient) GetAssets(ctx context.Context, in *v1.GetAssetsRequest, opts ...grpc.CallOption) (*v1.GetAssetsResponse, error)
- func (m *MockAssetServiceClient) GetAssetsCount(ctx context.Context, in *v1.GetAssetsCountRequest, opts ...grpc.CallOption) (*v1.GetAssetsCountResponse, error)
- func (m *MockAssetServiceClient) GetLabels(ctx context.Context, in *v1.GetLabelsRequest, opts ...grpc.CallOption) (*v1.GetLabelsResponse, error)
- func (m *MockAssetServiceClient) GetRandomAssets(ctx context.Context, in *v1.GetRandomAssetsRequest, opts ...grpc.CallOption) (*v1.GetRandomAssetsResponse, error)
- func (m *MockAssetServiceClient) UnassignAssetLabel(ctx context.Context, in *v1.UnassignAssetLabelRequest, opts ...grpc.CallOption) (*v1.UnassignAssetLabelResponse, error)
- func (m *MockAssetServiceClient) UpdateAsset(ctx context.Context, in *v1.UpdateAssetRequest, opts ...grpc.CallOption) (*v1.UpdateAssetResponse, error)
- func (m *MockAssetServiceClient) UploadFile(ctx context.Context, in *v1.UploadFileRequest, opts ...grpc.CallOption) (*v1.UploadFileResponse, error)
- type MockAssetServiceClientMockRecorder
- func (mr *MockAssetServiceClientMockRecorder) AssignAssetLabel(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAssetServiceClientMockRecorder) CreateAsset(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAssetServiceClientMockRecorder) GetAsset(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAssetServiceClientMockRecorder) GetAssetLabels(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAssetServiceClientMockRecorder) GetAssets(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAssetServiceClientMockRecorder) GetAssetsCount(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAssetServiceClientMockRecorder) GetLabels(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAssetServiceClientMockRecorder) GetRandomAssets(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAssetServiceClientMockRecorder) UnassignAssetLabel(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAssetServiceClientMockRecorder) UpdateAsset(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAssetServiceClientMockRecorder) UploadFile(ctx, in any, opts ...any) *gomock.Call
- type MockAssetServiceServer
- func (m *MockAssetServiceServer) AssignAssetLabel(arg0 context.Context, arg1 *v1.AssignAssetLabelRequest) (*v1.AssignAssetLabelResponse, error)
- func (m *MockAssetServiceServer) CreateAsset(arg0 context.Context, arg1 *v1.CreateAssetRequest) (*v1.CreateAssetResponse, error)
- func (m *MockAssetServiceServer) EXPECT() *MockAssetServiceServerMockRecorder
- func (m *MockAssetServiceServer) GetAsset(arg0 context.Context, arg1 *v1.GetAssetRequest) (*v1.GetAssetResponse, error)
- func (m *MockAssetServiceServer) GetAssetLabels(arg0 context.Context, arg1 *v1.GetAssetLabelsRequest) (*v1.GetAssetLabelsResponse, error)
- func (m *MockAssetServiceServer) GetAssets(arg0 context.Context, arg1 *v1.GetAssetsRequest) (*v1.GetAssetsResponse, error)
- func (m *MockAssetServiceServer) GetAssetsCount(arg0 context.Context, arg1 *v1.GetAssetsCountRequest) (*v1.GetAssetsCountResponse, error)
- func (m *MockAssetServiceServer) GetLabels(arg0 context.Context, arg1 *v1.GetLabelsRequest) (*v1.GetLabelsResponse, error)
- func (m *MockAssetServiceServer) GetRandomAssets(arg0 context.Context, arg1 *v1.GetRandomAssetsRequest) (*v1.GetRandomAssetsResponse, error)
- func (m *MockAssetServiceServer) UnassignAssetLabel(arg0 context.Context, arg1 *v1.UnassignAssetLabelRequest) (*v1.UnassignAssetLabelResponse, error)
- func (m *MockAssetServiceServer) UpdateAsset(arg0 context.Context, arg1 *v1.UpdateAssetRequest) (*v1.UpdateAssetResponse, error)
- func (m *MockAssetServiceServer) UploadFile(arg0 context.Context, arg1 *v1.UploadFileRequest) (*v1.UploadFileResponse, error)
- type MockAssetServiceServerMockRecorder
- func (mr *MockAssetServiceServerMockRecorder) AssignAssetLabel(arg0, arg1 any) *gomock.Call
- func (mr *MockAssetServiceServerMockRecorder) CreateAsset(arg0, arg1 any) *gomock.Call
- func (mr *MockAssetServiceServerMockRecorder) GetAsset(arg0, arg1 any) *gomock.Call
- func (mr *MockAssetServiceServerMockRecorder) GetAssetLabels(arg0, arg1 any) *gomock.Call
- func (mr *MockAssetServiceServerMockRecorder) GetAssets(arg0, arg1 any) *gomock.Call
- func (mr *MockAssetServiceServerMockRecorder) GetAssetsCount(arg0, arg1 any) *gomock.Call
- func (mr *MockAssetServiceServerMockRecorder) GetLabels(arg0, arg1 any) *gomock.Call
- func (mr *MockAssetServiceServerMockRecorder) GetRandomAssets(arg0, arg1 any) *gomock.Call
- func (mr *MockAssetServiceServerMockRecorder) UnassignAssetLabel(arg0, arg1 any) *gomock.Call
- func (mr *MockAssetServiceServerMockRecorder) UpdateAsset(arg0, arg1 any) *gomock.Call
- func (mr *MockAssetServiceServerMockRecorder) UploadFile(arg0, arg1 any) *gomock.Call
- type MockUnsafeAssetServiceServer
- type MockUnsafeAssetServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAssetServiceClient ¶
type MockAssetServiceClient struct {
// contains filtered or unexported fields
}
MockAssetServiceClient is a mock of AssetServiceClient interface.
func NewMockAssetServiceClient ¶
func NewMockAssetServiceClient(ctrl *gomock.Controller) *MockAssetServiceClient
NewMockAssetServiceClient creates a new mock instance.
func (*MockAssetServiceClient) AssignAssetLabel ¶ added in v0.3.8
func (m *MockAssetServiceClient) AssignAssetLabel(ctx context.Context, in *v1.AssignAssetLabelRequest, opts ...grpc.CallOption) (*v1.AssignAssetLabelResponse, error)
AssignAssetLabel mocks base method.
func (*MockAssetServiceClient) CreateAsset ¶
func (m *MockAssetServiceClient) CreateAsset(ctx context.Context, in *v1.CreateAssetRequest, opts ...grpc.CallOption) (*v1.CreateAssetResponse, error)
CreateAsset mocks base method.
func (*MockAssetServiceClient) EXPECT ¶
func (m *MockAssetServiceClient) EXPECT() *MockAssetServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAssetServiceClient) GetAsset ¶ added in v0.3.20
func (m *MockAssetServiceClient) GetAsset(ctx context.Context, in *v1.GetAssetRequest, opts ...grpc.CallOption) (*v1.GetAssetResponse, error)
GetAsset mocks base method.
func (*MockAssetServiceClient) GetAssetLabels ¶ added in v0.3.8
func (m *MockAssetServiceClient) GetAssetLabels(ctx context.Context, in *v1.GetAssetLabelsRequest, opts ...grpc.CallOption) (*v1.GetAssetLabelsResponse, error)
GetAssetLabels mocks base method.
func (*MockAssetServiceClient) GetAssets ¶
func (m *MockAssetServiceClient) GetAssets(ctx context.Context, in *v1.GetAssetsRequest, opts ...grpc.CallOption) (*v1.GetAssetsResponse, error)
GetAssets mocks base method.
func (*MockAssetServiceClient) GetAssetsCount ¶ added in v0.3.25
func (m *MockAssetServiceClient) GetAssetsCount(ctx context.Context, in *v1.GetAssetsCountRequest, opts ...grpc.CallOption) (*v1.GetAssetsCountResponse, error)
GetAssetsCount mocks base method.
func (*MockAssetServiceClient) GetLabels ¶ added in v0.3.22
func (m *MockAssetServiceClient) GetLabels(ctx context.Context, in *v1.GetLabelsRequest, opts ...grpc.CallOption) (*v1.GetLabelsResponse, error)
GetLabels mocks base method.
func (*MockAssetServiceClient) GetRandomAssets ¶ added in v0.3.13
func (m *MockAssetServiceClient) GetRandomAssets(ctx context.Context, in *v1.GetRandomAssetsRequest, opts ...grpc.CallOption) (*v1.GetRandomAssetsResponse, error)
GetRandomAssets mocks base method.
func (*MockAssetServiceClient) UnassignAssetLabel ¶ added in v0.3.8
func (m *MockAssetServiceClient) UnassignAssetLabel(ctx context.Context, in *v1.UnassignAssetLabelRequest, opts ...grpc.CallOption) (*v1.UnassignAssetLabelResponse, error)
UnassignAssetLabel mocks base method.
func (*MockAssetServiceClient) UpdateAsset ¶
func (m *MockAssetServiceClient) UpdateAsset(ctx context.Context, in *v1.UpdateAssetRequest, opts ...grpc.CallOption) (*v1.UpdateAssetResponse, error)
UpdateAsset mocks base method.
func (*MockAssetServiceClient) UploadFile ¶ added in v0.3.27
func (m *MockAssetServiceClient) UploadFile(ctx context.Context, in *v1.UploadFileRequest, opts ...grpc.CallOption) (*v1.UploadFileResponse, error)
UploadFile mocks base method.
type MockAssetServiceClientMockRecorder ¶
type MockAssetServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAssetServiceClientMockRecorder is the mock recorder for MockAssetServiceClient.
func (*MockAssetServiceClientMockRecorder) AssignAssetLabel ¶ added in v0.3.8
func (mr *MockAssetServiceClientMockRecorder) AssignAssetLabel(ctx, in any, opts ...any) *gomock.Call
AssignAssetLabel indicates an expected call of AssignAssetLabel.
func (*MockAssetServiceClientMockRecorder) CreateAsset ¶
func (mr *MockAssetServiceClientMockRecorder) CreateAsset(ctx, in any, opts ...any) *gomock.Call
CreateAsset indicates an expected call of CreateAsset.
func (*MockAssetServiceClientMockRecorder) GetAsset ¶ added in v0.3.20
func (mr *MockAssetServiceClientMockRecorder) GetAsset(ctx, in any, opts ...any) *gomock.Call
GetAsset indicates an expected call of GetAsset.
func (*MockAssetServiceClientMockRecorder) GetAssetLabels ¶ added in v0.3.8
func (mr *MockAssetServiceClientMockRecorder) GetAssetLabels(ctx, in any, opts ...any) *gomock.Call
GetAssetLabels indicates an expected call of GetAssetLabels.
func (*MockAssetServiceClientMockRecorder) GetAssets ¶
func (mr *MockAssetServiceClientMockRecorder) GetAssets(ctx, in any, opts ...any) *gomock.Call
GetAssets indicates an expected call of GetAssets.
func (*MockAssetServiceClientMockRecorder) GetAssetsCount ¶ added in v0.3.25
func (mr *MockAssetServiceClientMockRecorder) GetAssetsCount(ctx, in any, opts ...any) *gomock.Call
GetAssetsCount indicates an expected call of GetAssetsCount.
func (*MockAssetServiceClientMockRecorder) GetLabels ¶ added in v0.3.22
func (mr *MockAssetServiceClientMockRecorder) GetLabels(ctx, in any, opts ...any) *gomock.Call
GetLabels indicates an expected call of GetLabels.
func (*MockAssetServiceClientMockRecorder) GetRandomAssets ¶ added in v0.3.13
func (mr *MockAssetServiceClientMockRecorder) GetRandomAssets(ctx, in any, opts ...any) *gomock.Call
GetRandomAssets indicates an expected call of GetRandomAssets.
func (*MockAssetServiceClientMockRecorder) UnassignAssetLabel ¶ added in v0.3.8
func (mr *MockAssetServiceClientMockRecorder) UnassignAssetLabel(ctx, in any, opts ...any) *gomock.Call
UnassignAssetLabel indicates an expected call of UnassignAssetLabel.
func (*MockAssetServiceClientMockRecorder) UpdateAsset ¶
func (mr *MockAssetServiceClientMockRecorder) UpdateAsset(ctx, in any, opts ...any) *gomock.Call
UpdateAsset indicates an expected call of UpdateAsset.
func (*MockAssetServiceClientMockRecorder) UploadFile ¶ added in v0.3.27
func (mr *MockAssetServiceClientMockRecorder) UploadFile(ctx, in any, opts ...any) *gomock.Call
UploadFile indicates an expected call of UploadFile.
type MockAssetServiceServer ¶
type MockAssetServiceServer struct {
// contains filtered or unexported fields
}
MockAssetServiceServer is a mock of AssetServiceServer interface.
func NewMockAssetServiceServer ¶
func NewMockAssetServiceServer(ctrl *gomock.Controller) *MockAssetServiceServer
NewMockAssetServiceServer creates a new mock instance.
func (*MockAssetServiceServer) AssignAssetLabel ¶ added in v0.3.8
func (m *MockAssetServiceServer) AssignAssetLabel(arg0 context.Context, arg1 *v1.AssignAssetLabelRequest) (*v1.AssignAssetLabelResponse, error)
AssignAssetLabel mocks base method.
func (*MockAssetServiceServer) CreateAsset ¶
func (m *MockAssetServiceServer) CreateAsset(arg0 context.Context, arg1 *v1.CreateAssetRequest) (*v1.CreateAssetResponse, error)
CreateAsset mocks base method.
func (*MockAssetServiceServer) EXPECT ¶
func (m *MockAssetServiceServer) EXPECT() *MockAssetServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAssetServiceServer) GetAsset ¶ added in v0.3.20
func (m *MockAssetServiceServer) GetAsset(arg0 context.Context, arg1 *v1.GetAssetRequest) (*v1.GetAssetResponse, error)
GetAsset mocks base method.
func (*MockAssetServiceServer) GetAssetLabels ¶ added in v0.3.8
func (m *MockAssetServiceServer) GetAssetLabels(arg0 context.Context, arg1 *v1.GetAssetLabelsRequest) (*v1.GetAssetLabelsResponse, error)
GetAssetLabels mocks base method.
func (*MockAssetServiceServer) GetAssets ¶
func (m *MockAssetServiceServer) GetAssets(arg0 context.Context, arg1 *v1.GetAssetsRequest) (*v1.GetAssetsResponse, error)
GetAssets mocks base method.
func (*MockAssetServiceServer) GetAssetsCount ¶ added in v0.3.25
func (m *MockAssetServiceServer) GetAssetsCount(arg0 context.Context, arg1 *v1.GetAssetsCountRequest) (*v1.GetAssetsCountResponse, error)
GetAssetsCount mocks base method.
func (*MockAssetServiceServer) GetLabels ¶ added in v0.3.22
func (m *MockAssetServiceServer) GetLabels(arg0 context.Context, arg1 *v1.GetLabelsRequest) (*v1.GetLabelsResponse, error)
GetLabels mocks base method.
func (*MockAssetServiceServer) GetRandomAssets ¶ added in v0.3.13
func (m *MockAssetServiceServer) GetRandomAssets(arg0 context.Context, arg1 *v1.GetRandomAssetsRequest) (*v1.GetRandomAssetsResponse, error)
GetRandomAssets mocks base method.
func (*MockAssetServiceServer) UnassignAssetLabel ¶ added in v0.3.8
func (m *MockAssetServiceServer) UnassignAssetLabel(arg0 context.Context, arg1 *v1.UnassignAssetLabelRequest) (*v1.UnassignAssetLabelResponse, error)
UnassignAssetLabel mocks base method.
func (*MockAssetServiceServer) UpdateAsset ¶
func (m *MockAssetServiceServer) UpdateAsset(arg0 context.Context, arg1 *v1.UpdateAssetRequest) (*v1.UpdateAssetResponse, error)
UpdateAsset mocks base method.
func (*MockAssetServiceServer) UploadFile ¶ added in v0.3.27
func (m *MockAssetServiceServer) UploadFile(arg0 context.Context, arg1 *v1.UploadFileRequest) (*v1.UploadFileResponse, error)
UploadFile mocks base method.
type MockAssetServiceServerMockRecorder ¶
type MockAssetServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAssetServiceServerMockRecorder is the mock recorder for MockAssetServiceServer.
func (*MockAssetServiceServerMockRecorder) AssignAssetLabel ¶ added in v0.3.8
func (mr *MockAssetServiceServerMockRecorder) AssignAssetLabel(arg0, arg1 any) *gomock.Call
AssignAssetLabel indicates an expected call of AssignAssetLabel.
func (*MockAssetServiceServerMockRecorder) CreateAsset ¶
func (mr *MockAssetServiceServerMockRecorder) CreateAsset(arg0, arg1 any) *gomock.Call
CreateAsset indicates an expected call of CreateAsset.
func (*MockAssetServiceServerMockRecorder) GetAsset ¶ added in v0.3.20
func (mr *MockAssetServiceServerMockRecorder) GetAsset(arg0, arg1 any) *gomock.Call
GetAsset indicates an expected call of GetAsset.
func (*MockAssetServiceServerMockRecorder) GetAssetLabels ¶ added in v0.3.8
func (mr *MockAssetServiceServerMockRecorder) GetAssetLabels(arg0, arg1 any) *gomock.Call
GetAssetLabels indicates an expected call of GetAssetLabels.
func (*MockAssetServiceServerMockRecorder) GetAssets ¶
func (mr *MockAssetServiceServerMockRecorder) GetAssets(arg0, arg1 any) *gomock.Call
GetAssets indicates an expected call of GetAssets.
func (*MockAssetServiceServerMockRecorder) GetAssetsCount ¶ added in v0.3.25
func (mr *MockAssetServiceServerMockRecorder) GetAssetsCount(arg0, arg1 any) *gomock.Call
GetAssetsCount indicates an expected call of GetAssetsCount.
func (*MockAssetServiceServerMockRecorder) GetLabels ¶ added in v0.3.22
func (mr *MockAssetServiceServerMockRecorder) GetLabels(arg0, arg1 any) *gomock.Call
GetLabels indicates an expected call of GetLabels.
func (*MockAssetServiceServerMockRecorder) GetRandomAssets ¶ added in v0.3.13
func (mr *MockAssetServiceServerMockRecorder) GetRandomAssets(arg0, arg1 any) *gomock.Call
GetRandomAssets indicates an expected call of GetRandomAssets.
func (*MockAssetServiceServerMockRecorder) UnassignAssetLabel ¶ added in v0.3.8
func (mr *MockAssetServiceServerMockRecorder) UnassignAssetLabel(arg0, arg1 any) *gomock.Call
UnassignAssetLabel indicates an expected call of UnassignAssetLabel.
func (*MockAssetServiceServerMockRecorder) UpdateAsset ¶
func (mr *MockAssetServiceServerMockRecorder) UpdateAsset(arg0, arg1 any) *gomock.Call
UpdateAsset indicates an expected call of UpdateAsset.
func (*MockAssetServiceServerMockRecorder) UploadFile ¶ added in v0.3.27
func (mr *MockAssetServiceServerMockRecorder) UploadFile(arg0, arg1 any) *gomock.Call
UploadFile indicates an expected call of UploadFile.
type MockUnsafeAssetServiceServer ¶
type MockUnsafeAssetServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeAssetServiceServer is a mock of UnsafeAssetServiceServer interface.
func NewMockUnsafeAssetServiceServer ¶
func NewMockUnsafeAssetServiceServer(ctrl *gomock.Controller) *MockUnsafeAssetServiceServer
NewMockUnsafeAssetServiceServer creates a new mock instance.
func (*MockUnsafeAssetServiceServer) EXPECT ¶
func (m *MockUnsafeAssetServiceServer) EXPECT() *MockUnsafeAssetServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeAssetServiceServerMockRecorder ¶
type MockUnsafeAssetServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeAssetServiceServerMockRecorder is the mock recorder for MockUnsafeAssetServiceServer.