fake

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 13 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 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) 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.

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) APIServicesForService added in v0.15.0

func (m *MockQueryer) APIServicesForService(arg0 context.Context, arg1 *v11.Service) ([]*v14.APIService, error)

APIServicesForService mocks base method.

func (*MockQueryer) Children

Children mocks base method.

func (*MockQueryer) ConfigMapsForPod

func (m *MockQueryer) ConfigMapsForPod(arg0 context.Context, arg1 *v11.Pod) ([]*v11.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 v13.Object) ([]*v11.Event, error)

Events mocks base method.

func (*MockQueryer) IngressesForService

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

IngressesForService mocks base method.

func (*MockQueryer) MutatingWebhookConfigurationsForService added in v0.15.0

func (m *MockQueryer) MutatingWebhookConfigurationsForService(arg0 context.Context, arg1 *v11.Service) ([]*v1.MutatingWebhookConfiguration, error)

MutatingWebhookConfigurationsForService mocks base method.

func (*MockQueryer) OwnerReference

func (m *MockQueryer) OwnerReference(arg0 context.Context, arg1 *unstructured.Unstructured) (bool, []*unstructured.Unstructured, error)

OwnerReference mocks base method.

func (*MockQueryer) PersistentVolumeClaimsForPod added in v0.16.2

func (m *MockQueryer) PersistentVolumeClaimsForPod(arg0 context.Context, arg1 *v11.Pod) ([]*v11.PersistentVolumeClaim, error)

PersistentVolumeClaimsForPod mocks base method.

func (*MockQueryer) PodsForService

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

PodsForService mocks base method.

func (*MockQueryer) ScaleTarget

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

ScaleTarget mocks base method.

func (*MockQueryer) SecretsForPod

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

SecretsForPod mocks base method.

func (*MockQueryer) ServiceAccountForPod

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

ServiceAccountForPod mocks base method.

func (*MockQueryer) ServicesForIngress

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

ServicesForIngress mocks base method.

func (*MockQueryer) ServicesForPod

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

ServicesForPod mocks base method.

func (*MockQueryer) ValidatingWebhookConfigurationsForService added in v0.15.0

func (m *MockQueryer) ValidatingWebhookConfigurationsForService(arg0 context.Context, arg1 *v11.Service) ([]*v1.ValidatingWebhookConfiguration, error)

ValidatingWebhookConfigurationsForService mocks base method.

type MockQueryerMockRecorder

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

MockQueryerMockRecorder is the mock recorder for MockQueryer.

func (*MockQueryerMockRecorder) APIServicesForService added in v0.15.0

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

APIServicesForService indicates an expected call of APIServicesForService.

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) MutatingWebhookConfigurationsForService added in v0.15.0

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

MutatingWebhookConfigurationsForService indicates an expected call of MutatingWebhookConfigurationsForService.

func (*MockQueryerMockRecorder) OwnerReference

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

OwnerReference indicates an expected call of OwnerReference.

func (*MockQueryerMockRecorder) PersistentVolumeClaimsForPod added in v0.16.2

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

PersistentVolumeClaimsForPod indicates an expected call of PersistentVolumeClaimsForPod.

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.

func (*MockQueryerMockRecorder) ValidatingWebhookConfigurationsForService added in v0.15.0

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

ValidatingWebhookConfigurationsForService indicates an expected call of ValidatingWebhookConfigurationsForService.

Jump to

Keyboard shortcuts

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