fake

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package fake is a generated GoMock package.

Package fake is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCachedDiscoveryInterface

type MockCachedDiscoveryInterface struct {
	// contains filtered or unexported fields
}

MockCachedDiscoveryInterface is a mock of CachedDiscoveryInterface interface

func NewMockCachedDiscoveryInterface

func NewMockCachedDiscoveryInterface(ctrl *gomock.Controller) *MockCachedDiscoveryInterface

NewMockCachedDiscoveryInterface creates a new mock instance

func (*MockCachedDiscoveryInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCachedDiscoveryInterface) Fresh

Fresh mocks base method

func (*MockCachedDiscoveryInterface) Invalidate

func (m *MockCachedDiscoveryInterface) Invalidate()

Invalidate mocks base method

func (*MockCachedDiscoveryInterface) OpenAPISchema

func (m *MockCachedDiscoveryInterface) OpenAPISchema() (*OpenAPIv2.Document, error)

OpenAPISchema mocks base method

func (*MockCachedDiscoveryInterface) RESTClient

RESTClient mocks base method

func (*MockCachedDiscoveryInterface) ServerGroups

func (m *MockCachedDiscoveryInterface) ServerGroups() (*v1.APIGroupList, error)

ServerGroups mocks base method

func (*MockCachedDiscoveryInterface) ServerGroupsAndResources

func (m *MockCachedDiscoveryInterface) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error)

ServerGroupsAndResources mocks base method

func (*MockCachedDiscoveryInterface) ServerPreferredNamespacedResources

func (m *MockCachedDiscoveryInterface) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)

ServerPreferredNamespacedResources mocks base method

func (*MockCachedDiscoveryInterface) ServerPreferredResources

func (m *MockCachedDiscoveryInterface) ServerPreferredResources() ([]*v1.APIResourceList, error)

ServerPreferredResources mocks base method

func (*MockCachedDiscoveryInterface) ServerResources

func (m *MockCachedDiscoveryInterface) ServerResources() ([]*v1.APIResourceList, error)

ServerResources mocks base method

func (*MockCachedDiscoveryInterface) ServerResourcesForGroupVersion

func (m *MockCachedDiscoveryInterface) ServerResourcesForGroupVersion(groupVersion string) (*v1.APIResourceList, error)

ServerResourcesForGroupVersion mocks base method

func (*MockCachedDiscoveryInterface) ServerVersion

func (m *MockCachedDiscoveryInterface) ServerVersion() (*version.Info, error)

ServerVersion mocks base method

type MockCachedDiscoveryInterfaceMockRecorder

type MockCachedDiscoveryInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockCachedDiscoveryInterfaceMockRecorder is the mock recorder for MockCachedDiscoveryInterface

func (*MockCachedDiscoveryInterfaceMockRecorder) Fresh

Fresh indicates an expected call of Fresh

func (*MockCachedDiscoveryInterfaceMockRecorder) Invalidate

Invalidate indicates an expected call of Invalidate

func (*MockCachedDiscoveryInterfaceMockRecorder) OpenAPISchema

OpenAPISchema indicates an expected call of OpenAPISchema

func (*MockCachedDiscoveryInterfaceMockRecorder) RESTClient

RESTClient indicates an expected call of RESTClient

func (*MockCachedDiscoveryInterfaceMockRecorder) ServerGroups

ServerGroups indicates an expected call of ServerGroups

func (*MockCachedDiscoveryInterfaceMockRecorder) ServerGroupsAndResources

func (mr *MockCachedDiscoveryInterfaceMockRecorder) ServerGroupsAndResources() *gomock.Call

ServerGroupsAndResources indicates an expected call of ServerGroupsAndResources

func (*MockCachedDiscoveryInterfaceMockRecorder) ServerPreferredNamespacedResources

func (mr *MockCachedDiscoveryInterfaceMockRecorder) ServerPreferredNamespacedResources() *gomock.Call

ServerPreferredNamespacedResources indicates an expected call of ServerPreferredNamespacedResources

func (*MockCachedDiscoveryInterfaceMockRecorder) ServerPreferredResources

func (mr *MockCachedDiscoveryInterfaceMockRecorder) ServerPreferredResources() *gomock.Call

ServerPreferredResources indicates an expected call of ServerPreferredResources

func (*MockCachedDiscoveryInterfaceMockRecorder) ServerResources

func (mr *MockCachedDiscoveryInterfaceMockRecorder) ServerResources() *gomock.Call

ServerResources indicates an expected call of ServerResources

func (*MockCachedDiscoveryInterfaceMockRecorder) ServerResourcesForGroupVersion

func (mr *MockCachedDiscoveryInterfaceMockRecorder) ServerResourcesForGroupVersion(groupVersion interface{}) *gomock.Call

ServerResourcesForGroupVersion indicates an expected call of ServerResourcesForGroupVersion

func (*MockCachedDiscoveryInterfaceMockRecorder) ServerVersion

ServerVersion indicates an expected call of ServerVersion

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(groupVersion 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(groupVersion 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

type MockOpenAPISchemaInterface

type MockOpenAPISchemaInterface struct {
	// contains filtered or unexported fields
}

MockOpenAPISchemaInterface is a mock of OpenAPISchemaInterface interface

func NewMockOpenAPISchemaInterface

func NewMockOpenAPISchemaInterface(ctrl *gomock.Controller) *MockOpenAPISchemaInterface

NewMockOpenAPISchemaInterface creates a new mock instance

func (*MockOpenAPISchemaInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockOpenAPISchemaInterface) OpenAPISchema

func (m *MockOpenAPISchemaInterface) OpenAPISchema() (*OpenAPIv2.Document, error)

OpenAPISchema mocks base method

type MockOpenAPISchemaInterfaceMockRecorder

type MockOpenAPISchemaInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockOpenAPISchemaInterfaceMockRecorder is the mock recorder for MockOpenAPISchemaInterface

func (*MockOpenAPISchemaInterfaceMockRecorder) OpenAPISchema

func (mr *MockOpenAPISchemaInterfaceMockRecorder) OpenAPISchema() *gomock.Call

OpenAPISchema indicates an expected call of OpenAPISchema

type MockQueryer

type MockQueryer struct {
	// contains filtered or unexported fields
}

MockQueryer is a mock of Queryer interface

func NewMockQueryer

func NewMockQueryer(ctrl *gomock.Controller) *MockQueryer

NewMockQueryer creates a new mock instance

func (*MockQueryer) Children

Children mocks base method

func (*MockQueryer) ConfigMapsForPod

func (m *MockQueryer) ConfigMapsForPod(arg0 context.Context, arg1 *v10.Pod) ([]*v10.ConfigMap, error)

ConfigMapsForPod mocks base method

func (*MockQueryer) EXPECT

func (m *MockQueryer) EXPECT() *MockQueryerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockQueryer) Events

func (m *MockQueryer) Events(arg0 context.Context, arg1 v11.Object) ([]*v10.Event, error)

Events mocks base method

func (*MockQueryer) IngressesForService

func (m *MockQueryer) IngressesForService(arg0 context.Context, arg1 *v10.Service) ([]*v1beta1.Ingress, error)

IngressesForService mocks base method

func (*MockQueryer) OwnerReference

OwnerReference mocks base method

func (*MockQueryer) PodsForService

func (m *MockQueryer) PodsForService(arg0 context.Context, arg1 *v10.Service) ([]*v10.Pod, error)

PodsForService mocks base method

func (*MockQueryer) ScaleTarget

func (m *MockQueryer) ScaleTarget(arg0 context.Context, arg1 *v1.HorizontalPodAutoscaler) (map[string]interface{}, error)

ScaleTarget mocks base method

func (*MockQueryer) SecretsForPod

func (m *MockQueryer) SecretsForPod(arg0 context.Context, arg1 *v10.Pod) ([]*v10.Secret, error)

SecretsForPod mocks base method

func (*MockQueryer) ServiceAccountForPod

func (m *MockQueryer) ServiceAccountForPod(arg0 context.Context, arg1 *v10.Pod) (*v10.ServiceAccount, error)

ServiceAccountForPod mocks base method

func (*MockQueryer) ServicesForIngress

func (m *MockQueryer) ServicesForIngress(arg0 context.Context, arg1 *v1beta1.Ingress) (*unstructured.UnstructuredList, error)

ServicesForIngress mocks base method

func (*MockQueryer) ServicesForPod

func (m *MockQueryer) ServicesForPod(arg0 context.Context, arg1 *v10.Pod) ([]*v10.Service, error)

ServicesForPod mocks base method

type MockQueryerMockRecorder

type MockQueryerMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueryerMockRecorder is the mock recorder for MockQueryer

func (*MockQueryerMockRecorder) Children

func (mr *MockQueryerMockRecorder) Children(arg0, arg1 interface{}) *gomock.Call

Children indicates an expected call of Children

func (*MockQueryerMockRecorder) ConfigMapsForPod

func (mr *MockQueryerMockRecorder) ConfigMapsForPod(arg0, arg1 interface{}) *gomock.Call

ConfigMapsForPod indicates an expected call of ConfigMapsForPod

func (*MockQueryerMockRecorder) Events

func (mr *MockQueryerMockRecorder) Events(arg0, arg1 interface{}) *gomock.Call

Events indicates an expected call of Events

func (*MockQueryerMockRecorder) IngressesForService

func (mr *MockQueryerMockRecorder) IngressesForService(arg0, arg1 interface{}) *gomock.Call

IngressesForService indicates an expected call of IngressesForService

func (*MockQueryerMockRecorder) OwnerReference

func (mr *MockQueryerMockRecorder) OwnerReference(arg0, arg1 interface{}) *gomock.Call

OwnerReference indicates an expected call of OwnerReference

func (*MockQueryerMockRecorder) PodsForService

func (mr *MockQueryerMockRecorder) PodsForService(arg0, arg1 interface{}) *gomock.Call

PodsForService indicates an expected call of PodsForService

func (*MockQueryerMockRecorder) ScaleTarget

func (mr *MockQueryerMockRecorder) ScaleTarget(arg0, arg1 interface{}) *gomock.Call

ScaleTarget indicates an expected call of ScaleTarget

func (*MockQueryerMockRecorder) SecretsForPod

func (mr *MockQueryerMockRecorder) SecretsForPod(arg0, arg1 interface{}) *gomock.Call

SecretsForPod indicates an expected call of SecretsForPod

func (*MockQueryerMockRecorder) ServiceAccountForPod

func (mr *MockQueryerMockRecorder) ServiceAccountForPod(arg0, arg1 interface{}) *gomock.Call

ServiceAccountForPod indicates an expected call of ServiceAccountForPod

func (*MockQueryerMockRecorder) ServicesForIngress

func (mr *MockQueryerMockRecorder) ServicesForIngress(arg0, arg1 interface{}) *gomock.Call

ServicesForIngress indicates an expected call of ServicesForIngress

func (*MockQueryerMockRecorder) ServicesForPod

func (mr *MockQueryerMockRecorder) ServicesForPod(arg0, arg1 interface{}) *gomock.Call

ServicesForPod indicates an expected call of ServicesForPod

type MockServerGroupsInterface

type MockServerGroupsInterface struct {
	// contains filtered or unexported fields
}

MockServerGroupsInterface is a mock of ServerGroupsInterface interface

func NewMockServerGroupsInterface

func NewMockServerGroupsInterface(ctrl *gomock.Controller) *MockServerGroupsInterface

NewMockServerGroupsInterface creates a new mock instance

func (*MockServerGroupsInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockServerGroupsInterface) ServerGroups

func (m *MockServerGroupsInterface) ServerGroups() (*v1.APIGroupList, error)

ServerGroups mocks base method

type MockServerGroupsInterfaceMockRecorder

type MockServerGroupsInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockServerGroupsInterfaceMockRecorder is the mock recorder for MockServerGroupsInterface

func (*MockServerGroupsInterfaceMockRecorder) ServerGroups

ServerGroups indicates an expected call of ServerGroups

type MockServerResourcesInterface

type MockServerResourcesInterface struct {
	// contains filtered or unexported fields
}

MockServerResourcesInterface is a mock of ServerResourcesInterface interface

func NewMockServerResourcesInterface

func NewMockServerResourcesInterface(ctrl *gomock.Controller) *MockServerResourcesInterface

NewMockServerResourcesInterface creates a new mock instance

func (*MockServerResourcesInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockServerResourcesInterface) ServerGroupsAndResources

func (m *MockServerResourcesInterface) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error)

ServerGroupsAndResources mocks base method

func (*MockServerResourcesInterface) ServerPreferredNamespacedResources

func (m *MockServerResourcesInterface) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)

ServerPreferredNamespacedResources mocks base method

func (*MockServerResourcesInterface) ServerPreferredResources

func (m *MockServerResourcesInterface) ServerPreferredResources() ([]*v1.APIResourceList, error)

ServerPreferredResources mocks base method

func (*MockServerResourcesInterface) ServerResources

func (m *MockServerResourcesInterface) ServerResources() ([]*v1.APIResourceList, error)

ServerResources mocks base method

func (*MockServerResourcesInterface) ServerResourcesForGroupVersion

func (m *MockServerResourcesInterface) ServerResourcesForGroupVersion(groupVersion string) (*v1.APIResourceList, error)

ServerResourcesForGroupVersion mocks base method

type MockServerResourcesInterfaceMockRecorder

type MockServerResourcesInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockServerResourcesInterfaceMockRecorder is the mock recorder for MockServerResourcesInterface

func (*MockServerResourcesInterfaceMockRecorder) ServerGroupsAndResources

func (mr *MockServerResourcesInterfaceMockRecorder) ServerGroupsAndResources() *gomock.Call

ServerGroupsAndResources indicates an expected call of ServerGroupsAndResources

func (*MockServerResourcesInterfaceMockRecorder) ServerPreferredNamespacedResources

func (mr *MockServerResourcesInterfaceMockRecorder) ServerPreferredNamespacedResources() *gomock.Call

ServerPreferredNamespacedResources indicates an expected call of ServerPreferredNamespacedResources

func (*MockServerResourcesInterfaceMockRecorder) ServerPreferredResources

func (mr *MockServerResourcesInterfaceMockRecorder) ServerPreferredResources() *gomock.Call

ServerPreferredResources indicates an expected call of ServerPreferredResources

func (*MockServerResourcesInterfaceMockRecorder) ServerResources

func (mr *MockServerResourcesInterfaceMockRecorder) ServerResources() *gomock.Call

ServerResources indicates an expected call of ServerResources

func (*MockServerResourcesInterfaceMockRecorder) ServerResourcesForGroupVersion

func (mr *MockServerResourcesInterfaceMockRecorder) ServerResourcesForGroupVersion(groupVersion interface{}) *gomock.Call

ServerResourcesForGroupVersion indicates an expected call of ServerResourcesForGroupVersion

type MockServerVersionInterface

type MockServerVersionInterface struct {
	// contains filtered or unexported fields
}

MockServerVersionInterface is a mock of ServerVersionInterface interface

func NewMockServerVersionInterface

func NewMockServerVersionInterface(ctrl *gomock.Controller) *MockServerVersionInterface

NewMockServerVersionInterface creates a new mock instance

func (*MockServerVersionInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockServerVersionInterface) ServerVersion

func (m *MockServerVersionInterface) ServerVersion() (*version.Info, error)

ServerVersion mocks base method

type MockServerVersionInterfaceMockRecorder

type MockServerVersionInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockServerVersionInterfaceMockRecorder is the mock recorder for MockServerVersionInterface

func (*MockServerVersionInterfaceMockRecorder) ServerVersion

func (mr *MockServerVersionInterfaceMockRecorder) 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