Documentation ¶
Overview ¶
Package mock_serverless is a generated GoMock package.
Index ¶
- type MockFunctionService
- func (m *MockFunctionService) Create(name, namespace string, labels gqlschema.Labels, size, runtime string) (*v1alpha1.Function, error)
- func (m *MockFunctionService) Delete(name, namespace string) error
- func (m *MockFunctionService) EXPECT() *MockFunctionServiceMockRecorder
- func (m *MockFunctionService) Find(name, namespace string) (*v1alpha1.Function, error)
- func (m *MockFunctionService) List(namespace string) ([]*v1alpha1.Function, error)
- func (m *MockFunctionService) Update(name, namespace string, params gqlschema.FunctionUpdateInput) (*v1alpha1.Function, error)
- type MockFunctionServiceMockRecorder
- func (mr *MockFunctionServiceMockRecorder) Create(name, namespace, labels, size, runtime interface{}) *gomock.Call
- func (mr *MockFunctionServiceMockRecorder) Delete(name, namespace interface{}) *gomock.Call
- func (mr *MockFunctionServiceMockRecorder) Find(name, namespace interface{}) *gomock.Call
- func (mr *MockFunctionServiceMockRecorder) List(namespace interface{}) *gomock.Call
- func (mr *MockFunctionServiceMockRecorder) Update(name, namespace, params interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFunctionService ¶
type MockFunctionService struct {
// contains filtered or unexported fields
}
MockFunctionService is a mock of FunctionService interface
func NewMockFunctionService ¶
func NewMockFunctionService(ctrl *gomock.Controller) *MockFunctionService
NewMockFunctionService creates a new mock instance
func (*MockFunctionService) Create ¶
func (m *MockFunctionService) Create(name, namespace string, labels gqlschema.Labels, size, runtime string) (*v1alpha1.Function, error)
Create mocks base method
func (*MockFunctionService) Delete ¶
func (m *MockFunctionService) Delete(name, namespace string) error
Delete mocks base method
func (*MockFunctionService) EXPECT ¶
func (m *MockFunctionService) EXPECT() *MockFunctionServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFunctionService) Find ¶
func (m *MockFunctionService) Find(name, namespace string) (*v1alpha1.Function, error)
Find mocks base method
func (*MockFunctionService) List ¶
func (m *MockFunctionService) List(namespace string) ([]*v1alpha1.Function, error)
List mocks base method
func (*MockFunctionService) Update ¶
func (m *MockFunctionService) Update(name, namespace string, params gqlschema.FunctionUpdateInput) (*v1alpha1.Function, error)
Update mocks base method
type MockFunctionServiceMockRecorder ¶
type MockFunctionServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockFunctionServiceMockRecorder is the mock recorder for MockFunctionService
func (*MockFunctionServiceMockRecorder) Create ¶
func (mr *MockFunctionServiceMockRecorder) Create(name, namespace, labels, size, runtime interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockFunctionServiceMockRecorder) Delete ¶
func (mr *MockFunctionServiceMockRecorder) Delete(name, namespace interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockFunctionServiceMockRecorder) Find ¶
func (mr *MockFunctionServiceMockRecorder) Find(name, namespace interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockFunctionServiceMockRecorder) List ¶
func (mr *MockFunctionServiceMockRecorder) List(namespace interface{}) *gomock.Call
List indicates an expected call of List
func (*MockFunctionServiceMockRecorder) Update ¶
func (mr *MockFunctionServiceMockRecorder) Update(name, namespace, params interface{}) *gomock.Call
Update indicates an expected call of Update