Documentation ¶
Overview ¶
Package discovery is a generated GoMock package.
Index ¶
- type MockDiscoveryInterface
- func (m *MockDiscoveryInterface) EXPECT() *MockDiscoveryInterfaceMockRecorder
- func (m *MockDiscoveryInterface) OpenAPISchema() (*openapi_v2.Document, error)
- func (m *MockDiscoveryInterface) RESTClient() rest.Interface
- func (m *MockDiscoveryInterface) ServerGroups() (*v1.APIGroupList, error)
- func (m *MockDiscoveryInterface) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error)
- func (m *MockDiscoveryInterface) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)
- func (m *MockDiscoveryInterface) ServerPreferredResources() ([]*v1.APIResourceList, error)
- func (m *MockDiscoveryInterface) ServerResources() ([]*v1.APIResourceList, error)
- func (m *MockDiscoveryInterface) ServerResourcesForGroupVersion(arg0 string) (*v1.APIResourceList, error)
- func (m *MockDiscoveryInterface) ServerVersion() (*version.Info, error)
- type MockDiscoveryInterfaceMockRecorder
- func (mr *MockDiscoveryInterfaceMockRecorder) OpenAPISchema() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) RESTClient() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerGroups() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerGroupsAndResources() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerPreferredNamespacedResources() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerPreferredResources() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerResources() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerResourcesForGroupVersion(arg0 interface{}) *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerVersion() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDiscoveryInterface ¶
type MockDiscoveryInterface struct {
// contains filtered or unexported fields
}
MockDiscoveryInterface is a mock of DiscoveryInterface interface.
func NewMockDiscoveryInterface ¶
func NewMockDiscoveryInterface(ctrl *gomock.Controller) *MockDiscoveryInterface
NewMockDiscoveryInterface creates a new mock instance.
func (*MockDiscoveryInterface) EXPECT ¶
func (m *MockDiscoveryInterface) EXPECT() *MockDiscoveryInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiscoveryInterface) OpenAPISchema ¶
func (m *MockDiscoveryInterface) OpenAPISchema() (*openapi_v2.Document, error)
OpenAPISchema mocks base method.
func (*MockDiscoveryInterface) RESTClient ¶
func (m *MockDiscoveryInterface) RESTClient() rest.Interface
RESTClient mocks base method.
func (*MockDiscoveryInterface) ServerGroups ¶
func (m *MockDiscoveryInterface) ServerGroups() (*v1.APIGroupList, error)
ServerGroups mocks base method.
func (*MockDiscoveryInterface) ServerGroupsAndResources ¶
func (m *MockDiscoveryInterface) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error)
ServerGroupsAndResources mocks base method.
func (*MockDiscoveryInterface) ServerPreferredNamespacedResources ¶
func (m *MockDiscoveryInterface) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)
ServerPreferredNamespacedResources mocks base method.
func (*MockDiscoveryInterface) ServerPreferredResources ¶
func (m *MockDiscoveryInterface) ServerPreferredResources() ([]*v1.APIResourceList, error)
ServerPreferredResources mocks base method.
func (*MockDiscoveryInterface) ServerResources ¶
func (m *MockDiscoveryInterface) ServerResources() ([]*v1.APIResourceList, error)
ServerResources mocks base method.
func (*MockDiscoveryInterface) ServerResourcesForGroupVersion ¶
func (m *MockDiscoveryInterface) ServerResourcesForGroupVersion(arg0 string) (*v1.APIResourceList, error)
ServerResourcesForGroupVersion mocks base method.
func (*MockDiscoveryInterface) ServerVersion ¶
func (m *MockDiscoveryInterface) ServerVersion() (*version.Info, error)
ServerVersion mocks base method.
type MockDiscoveryInterfaceMockRecorder ¶
type MockDiscoveryInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockDiscoveryInterfaceMockRecorder is the mock recorder for MockDiscoveryInterface.
func (*MockDiscoveryInterfaceMockRecorder) OpenAPISchema ¶
func (mr *MockDiscoveryInterfaceMockRecorder) OpenAPISchema() *gomock.Call
OpenAPISchema indicates an expected call of OpenAPISchema.
func (*MockDiscoveryInterfaceMockRecorder) RESTClient ¶
func (mr *MockDiscoveryInterfaceMockRecorder) RESTClient() *gomock.Call
RESTClient indicates an expected call of RESTClient.
func (*MockDiscoveryInterfaceMockRecorder) ServerGroups ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerGroups() *gomock.Call
ServerGroups indicates an expected call of ServerGroups.
func (*MockDiscoveryInterfaceMockRecorder) ServerGroupsAndResources ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerGroupsAndResources() *gomock.Call
ServerGroupsAndResources indicates an expected call of ServerGroupsAndResources.
func (*MockDiscoveryInterfaceMockRecorder) ServerPreferredNamespacedResources ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerPreferredNamespacedResources() *gomock.Call
ServerPreferredNamespacedResources indicates an expected call of ServerPreferredNamespacedResources.
func (*MockDiscoveryInterfaceMockRecorder) ServerPreferredResources ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerPreferredResources() *gomock.Call
ServerPreferredResources indicates an expected call of ServerPreferredResources.
func (*MockDiscoveryInterfaceMockRecorder) ServerResources ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerResources() *gomock.Call
ServerResources indicates an expected call of ServerResources.
func (*MockDiscoveryInterfaceMockRecorder) ServerResourcesForGroupVersion ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerResourcesForGroupVersion(arg0 interface{}) *gomock.Call
ServerResourcesForGroupVersion indicates an expected call of ServerResourcesForGroupVersion.
func (*MockDiscoveryInterfaceMockRecorder) ServerVersion ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerVersion() *gomock.Call
ServerVersion indicates an expected call of ServerVersion.