Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type MockFactory
- func (m *MockFactory) AddTemplate(arg0 ...schema.Template)
- func (m *MockFactory) ByGVK(arg0 schema0.GroupVersionKind) string
- func (m *MockFactory) ByGVR(arg0 schema0.GroupVersionResource) string
- func (m *MockFactory) EXPECT() *MockFactoryMockRecorder
- func (m *MockFactory) OnChange(arg0 context.Context, arg1 func())
- func (m *MockFactory) Schemas(arg0 user.Info) (*types.APISchemas, error)
- type MockFactoryMockRecorder
- func (mr *MockFactoryMockRecorder) AddTemplate(arg0 ...interface{}) *gomock.Call
- func (mr *MockFactoryMockRecorder) ByGVK(arg0 interface{}) *gomock.Call
- func (mr *MockFactoryMockRecorder) ByGVR(arg0 interface{}) *gomock.Call
- func (mr *MockFactoryMockRecorder) OnChange(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFactoryMockRecorder) Schemas(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFactory ¶
type MockFactory struct {
// contains filtered or unexported fields
}
MockFactory is a mock of Factory interface.
func NewMockFactory ¶
func NewMockFactory(ctrl *gomock.Controller) *MockFactory
NewMockFactory creates a new mock instance.
func (*MockFactory) AddTemplate ¶
func (m *MockFactory) AddTemplate(arg0 ...schema.Template)
AddTemplate mocks base method.
func (*MockFactory) ByGVK ¶
func (m *MockFactory) ByGVK(arg0 schema0.GroupVersionKind) string
ByGVK mocks base method.
func (*MockFactory) ByGVR ¶
func (m *MockFactory) ByGVR(arg0 schema0.GroupVersionResource) string
ByGVR mocks base method.
func (*MockFactory) EXPECT ¶
func (m *MockFactory) EXPECT() *MockFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFactory) OnChange ¶
func (m *MockFactory) OnChange(arg0 context.Context, arg1 func())
OnChange mocks base method.
func (*MockFactory) Schemas ¶
func (m *MockFactory) Schemas(arg0 user.Info) (*types.APISchemas, error)
Schemas mocks base method.
type MockFactoryMockRecorder ¶
type MockFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryMockRecorder is the mock recorder for MockFactory.
func (*MockFactoryMockRecorder) AddTemplate ¶
func (mr *MockFactoryMockRecorder) AddTemplate(arg0 ...interface{}) *gomock.Call
AddTemplate indicates an expected call of AddTemplate.
func (*MockFactoryMockRecorder) ByGVK ¶
func (mr *MockFactoryMockRecorder) ByGVK(arg0 interface{}) *gomock.Call
ByGVK indicates an expected call of ByGVK.
func (*MockFactoryMockRecorder) ByGVR ¶
func (mr *MockFactoryMockRecorder) ByGVR(arg0 interface{}) *gomock.Call
ByGVR indicates an expected call of ByGVR.
func (*MockFactoryMockRecorder) OnChange ¶
func (mr *MockFactoryMockRecorder) OnChange(arg0, arg1 interface{}) *gomock.Call
OnChange indicates an expected call of OnChange.
func (*MockFactoryMockRecorder) Schemas ¶
func (mr *MockFactoryMockRecorder) Schemas(arg0 interface{}) *gomock.Call
Schemas indicates an expected call of Schemas.