discovery

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 8 Imported by: 0

Documentation

Overview

Package discovery is a generated GoMock package.

Index

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

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) OpenAPIV3

func (m *MockDiscoveryInterface) OpenAPIV3() openapi.Client

OpenAPIV3 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) 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.

func (*MockDiscoveryInterface) WithLegacy added in v1.1.0

WithLegacy 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) OpenAPIV3

OpenAPIV3 indicates an expected call of OpenAPIV3.

func (*MockDiscoveryInterfaceMockRecorder) RESTClient

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) 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.

func (*MockDiscoveryInterfaceMockRecorder) WithLegacy added in v1.1.0

WithLegacy indicates an expected call of WithLegacy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL