discovery

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 6 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() (*openapiv2.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

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.

Jump to

Keyboard shortcuts

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