fake

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 62 Imported by: 0

Documentation

Overview

Package fake is a generated GoMock package.

Package fake is a generated GoMock package.

Package fake is a generated GoMock package.

Package fake is a generated GoMock package.

Package fake is a generated GoMock package.

Package fake is a generated GoMock package.

Package fake is a generated GoMock package.

Package fake is a generated GoMock package.

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 MockAuthorizationV1Interface

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

MockAuthorizationV1Interface is a mock of AuthorizationV1Interface interface.

func NewMockAuthorizationV1Interface

func NewMockAuthorizationV1Interface(ctrl *gomock.Controller) *MockAuthorizationV1Interface

NewMockAuthorizationV1Interface creates a new mock instance.

func (*MockAuthorizationV1Interface) EXPECT

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

func (*MockAuthorizationV1Interface) LocalSubjectAccessReviews

func (m *MockAuthorizationV1Interface) LocalSubjectAccessReviews(arg0 string) v11.LocalSubjectAccessReviewInterface

LocalSubjectAccessReviews mocks base method.

func (*MockAuthorizationV1Interface) RESTClient

RESTClient mocks base method.

func (*MockAuthorizationV1Interface) SelfSubjectAccessReviews

SelfSubjectAccessReviews mocks base method.

func (*MockAuthorizationV1Interface) SelfSubjectRulesReviews

SelfSubjectRulesReviews mocks base method.

func (*MockAuthorizationV1Interface) SubjectAccessReviews

SubjectAccessReviews mocks base method.

type MockAuthorizationV1InterfaceMockRecorder

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

MockAuthorizationV1InterfaceMockRecorder is the mock recorder for MockAuthorizationV1Interface.

func (*MockAuthorizationV1InterfaceMockRecorder) LocalSubjectAccessReviews

func (mr *MockAuthorizationV1InterfaceMockRecorder) LocalSubjectAccessReviews(arg0 interface{}) *gomock.Call

LocalSubjectAccessReviews indicates an expected call of LocalSubjectAccessReviews.

func (*MockAuthorizationV1InterfaceMockRecorder) RESTClient

RESTClient indicates an expected call of RESTClient.

func (*MockAuthorizationV1InterfaceMockRecorder) SelfSubjectAccessReviews

func (mr *MockAuthorizationV1InterfaceMockRecorder) SelfSubjectAccessReviews() *gomock.Call

SelfSubjectAccessReviews indicates an expected call of SelfSubjectAccessReviews.

func (*MockAuthorizationV1InterfaceMockRecorder) SelfSubjectRulesReviews

func (mr *MockAuthorizationV1InterfaceMockRecorder) SelfSubjectRulesReviews() *gomock.Call

SelfSubjectRulesReviews indicates an expected call of SelfSubjectRulesReviews.

func (*MockAuthorizationV1InterfaceMockRecorder) SubjectAccessReviews

func (mr *MockAuthorizationV1InterfaceMockRecorder) SubjectAccessReviews() *gomock.Call

SubjectAccessReviews indicates an expected call of SubjectAccessReviews.

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() (*openapi_v2.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 MockClientInterface

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

MockClientInterface is a mock of ClientInterface interface.

func NewMockClientInterface

func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface

NewMockClientInterface creates a new mock instance.

func (*MockClientInterface) Close

func (m *MockClientInterface) Close()

Close mocks base method.

func (*MockClientInterface) DefaultNamespace

func (m *MockClientInterface) DefaultNamespace() string

DefaultNamespace mocks base method.

func (*MockClientInterface) DiscoveryClient

func (m *MockClientInterface) DiscoveryClient() (discovery.DiscoveryInterface, error)

DiscoveryClient mocks base method.

func (*MockClientInterface) DynamicClient

func (m *MockClientInterface) DynamicClient() (dynamic.Interface, error)

DynamicClient mocks base method.

func (*MockClientInterface) EXPECT

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

func (*MockClientInterface) InfoClient

func (m *MockClientInterface) InfoClient() (cluster.InfoInterface, error)

InfoClient mocks base method.

func (*MockClientInterface) KubernetesClient

func (m *MockClientInterface) KubernetesClient() (kubernetes.Interface, error)

KubernetesClient mocks base method.

func (*MockClientInterface) NamespaceClient

func (m *MockClientInterface) NamespaceClient() (cluster.NamespaceInterface, error)

NamespaceClient mocks base method.

func (*MockClientInterface) RESTClient

func (m *MockClientInterface) RESTClient() (rest.Interface, error)

RESTClient mocks base method.

func (*MockClientInterface) RESTConfig

func (m *MockClientInterface) RESTConfig() *rest.Config

RESTConfig mocks base method.

func (*MockClientInterface) ResetMapper

func (m *MockClientInterface) ResetMapper()

ResetMapper mocks base method.

func (*MockClientInterface) Resource

Resource mocks base method.

func (*MockClientInterface) ResourceExists

func (m *MockClientInterface) ResourceExists(arg0 schema.GroupVersionResource) bool

ResourceExists mocks base method.

type MockClientInterfaceMockRecorder

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

MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.

func (*MockClientInterfaceMockRecorder) Close

Close indicates an expected call of Close.

func (*MockClientInterfaceMockRecorder) DefaultNamespace

func (mr *MockClientInterfaceMockRecorder) DefaultNamespace() *gomock.Call

DefaultNamespace indicates an expected call of DefaultNamespace.

func (*MockClientInterfaceMockRecorder) DiscoveryClient

func (mr *MockClientInterfaceMockRecorder) DiscoveryClient() *gomock.Call

DiscoveryClient indicates an expected call of DiscoveryClient.

func (*MockClientInterfaceMockRecorder) DynamicClient

func (mr *MockClientInterfaceMockRecorder) DynamicClient() *gomock.Call

DynamicClient indicates an expected call of DynamicClient.

func (*MockClientInterfaceMockRecorder) InfoClient

func (mr *MockClientInterfaceMockRecorder) InfoClient() *gomock.Call

InfoClient indicates an expected call of InfoClient.

func (*MockClientInterfaceMockRecorder) KubernetesClient

func (mr *MockClientInterfaceMockRecorder) KubernetesClient() *gomock.Call

KubernetesClient indicates an expected call of KubernetesClient.

func (*MockClientInterfaceMockRecorder) NamespaceClient

func (mr *MockClientInterfaceMockRecorder) NamespaceClient() *gomock.Call

NamespaceClient indicates an expected call of NamespaceClient.

func (*MockClientInterfaceMockRecorder) RESTClient

func (mr *MockClientInterfaceMockRecorder) RESTClient() *gomock.Call

RESTClient indicates an expected call of RESTClient.

func (*MockClientInterfaceMockRecorder) RESTConfig

func (mr *MockClientInterfaceMockRecorder) RESTConfig() *gomock.Call

RESTConfig indicates an expected call of RESTConfig.

func (*MockClientInterfaceMockRecorder) ResetMapper

func (mr *MockClientInterfaceMockRecorder) ResetMapper() *gomock.Call

ResetMapper indicates an expected call of ResetMapper.

func (*MockClientInterfaceMockRecorder) Resource

func (mr *MockClientInterfaceMockRecorder) Resource(arg0 interface{}) *gomock.Call

Resource indicates an expected call of Resource.

func (*MockClientInterfaceMockRecorder) ResourceExists

func (mr *MockClientInterfaceMockRecorder) ResourceExists(arg0 interface{}) *gomock.Call

ResourceExists indicates an expected call of ResourceExists.

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

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

MockDynamicInterface is a mock of Interface interface.

func NewMockDynamicInterface

func NewMockDynamicInterface(ctrl *gomock.Controller) *MockDynamicInterface

NewMockDynamicInterface creates a new mock instance.

func (*MockDynamicInterface) EXPECT

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

func (*MockDynamicInterface) Resource

Resource mocks base method.

type MockDynamicInterfaceMockRecorder

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

MockDynamicInterfaceMockRecorder is the mock recorder for MockDynamicInterface.

func (*MockDynamicInterfaceMockRecorder) Resource

func (mr *MockDynamicInterfaceMockRecorder) Resource(resource interface{}) *gomock.Call

Resource indicates an expected call of Resource.

type MockDynamicSharedInformerFactory added in v0.18.0

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

MockDynamicSharedInformerFactory is a mock of DynamicSharedInformerFactory interface.

func NewMockDynamicSharedInformerFactory added in v0.18.0

func NewMockDynamicSharedInformerFactory(ctrl *gomock.Controller) *MockDynamicSharedInformerFactory

NewMockDynamicSharedInformerFactory creates a new mock instance.

func (*MockDynamicSharedInformerFactory) EXPECT added in v0.18.0

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

func (*MockDynamicSharedInformerFactory) ForResource added in v0.18.0

ForResource mocks base method.

func (*MockDynamicSharedInformerFactory) Start added in v0.18.0

func (m *MockDynamicSharedInformerFactory) Start(stopCh <-chan struct{})

Start mocks base method.

func (*MockDynamicSharedInformerFactory) WaitForCacheSync added in v0.18.0

func (m *MockDynamicSharedInformerFactory) WaitForCacheSync(stopCh <-chan struct{}) map[schema.GroupVersionResource]bool

WaitForCacheSync mocks base method.

type MockDynamicSharedInformerFactoryMockRecorder added in v0.18.0

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

MockDynamicSharedInformerFactoryMockRecorder is the mock recorder for MockDynamicSharedInformerFactory.

func (*MockDynamicSharedInformerFactoryMockRecorder) ForResource added in v0.18.0

func (mr *MockDynamicSharedInformerFactoryMockRecorder) ForResource(gvr interface{}) *gomock.Call

ForResource indicates an expected call of ForResource.

func (*MockDynamicSharedInformerFactoryMockRecorder) Start added in v0.18.0

func (mr *MockDynamicSharedInformerFactoryMockRecorder) Start(stopCh interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockDynamicSharedInformerFactoryMockRecorder) WaitForCacheSync added in v0.18.0

func (mr *MockDynamicSharedInformerFactoryMockRecorder) WaitForCacheSync(stopCh interface{}) *gomock.Call

WaitForCacheSync indicates an expected call of WaitForCacheSync.

type MockGenericInformer

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

MockGenericInformer is a mock of GenericInformer interface.

func NewMockGenericInformer

func NewMockGenericInformer(ctrl *gomock.Controller) *MockGenericInformer

NewMockGenericInformer creates a new mock instance.

func (*MockGenericInformer) EXPECT

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

func (*MockGenericInformer) Informer

Informer mocks base method.

func (*MockGenericInformer) Lister

Lister mocks base method.

type MockGenericInformerMockRecorder

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

MockGenericInformerMockRecorder is the mock recorder for MockGenericInformer.

func (*MockGenericInformerMockRecorder) Informer

Informer indicates an expected call of Informer.

func (*MockGenericInformerMockRecorder) Lister

Lister indicates an expected call of Lister.

type MockInfoInterface

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

MockInfoInterface is a mock of InfoInterface interface.

func NewMockInfoInterface

func NewMockInfoInterface(ctrl *gomock.Controller) *MockInfoInterface

NewMockInfoInterface creates a new mock instance.

func (*MockInfoInterface) Cluster

func (m *MockInfoInterface) Cluster() string

Cluster mocks base method.

func (*MockInfoInterface) Context

func (m *MockInfoInterface) Context() string

Context mocks base method.

func (*MockInfoInterface) EXPECT

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

func (*MockInfoInterface) Server

func (m *MockInfoInterface) Server() string

Server mocks base method.

func (*MockInfoInterface) User

func (m *MockInfoInterface) User() string

User mocks base method.

type MockInfoInterfaceMockRecorder

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

MockInfoInterfaceMockRecorder is the mock recorder for MockInfoInterface.

func (*MockInfoInterfaceMockRecorder) Cluster

func (mr *MockInfoInterfaceMockRecorder) Cluster() *gomock.Call

Cluster indicates an expected call of Cluster.

func (*MockInfoInterfaceMockRecorder) Context

func (mr *MockInfoInterfaceMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context.

func (*MockInfoInterfaceMockRecorder) Server

Server indicates an expected call of Server.

func (*MockInfoInterfaceMockRecorder) User

User indicates an expected call of User.

type MockKubernetesInterface

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

MockKubernetesInterface is a mock of Interface interface.

func NewMockKubernetesInterface

func NewMockKubernetesInterface(ctrl *gomock.Controller) *MockKubernetesInterface

NewMockKubernetesInterface creates a new mock instance.

func (*MockKubernetesInterface) AdmissionregistrationV1 added in v0.13.0

func (m *MockKubernetesInterface) AdmissionregistrationV1() v1.AdmissionregistrationV1Interface

AdmissionregistrationV1 mocks base method.

func (*MockKubernetesInterface) AdmissionregistrationV1beta1

func (m *MockKubernetesInterface) AdmissionregistrationV1beta1() v1beta1.AdmissionregistrationV1beta1Interface

AdmissionregistrationV1beta1 mocks base method.

func (*MockKubernetesInterface) AppsV1

AppsV1 mocks base method.

func (*MockKubernetesInterface) AppsV1beta1

AppsV1beta1 mocks base method.

func (*MockKubernetesInterface) AppsV1beta2

AppsV1beta2 mocks base method.

func (*MockKubernetesInterface) AuthenticationV1

AuthenticationV1 mocks base method.

func (*MockKubernetesInterface) AuthenticationV1beta1

AuthenticationV1beta1 mocks base method.

func (*MockKubernetesInterface) AuthorizationV1

AuthorizationV1 mocks base method.

func (*MockKubernetesInterface) AuthorizationV1beta1

AuthorizationV1beta1 mocks base method.

func (*MockKubernetesInterface) AutoscalingV1

AutoscalingV1 mocks base method.

func (*MockKubernetesInterface) AutoscalingV2beta1

AutoscalingV2beta1 mocks base method.

func (*MockKubernetesInterface) AutoscalingV2beta2

AutoscalingV2beta2 mocks base method.

func (*MockKubernetesInterface) BatchV1

BatchV1 mocks base method.

func (*MockKubernetesInterface) BatchV1beta1

BatchV1beta1 mocks base method.

func (*MockKubernetesInterface) CertificatesV1 added in v0.17.0

CertificatesV1 mocks base method.

func (*MockKubernetesInterface) CertificatesV1beta1

CertificatesV1beta1 mocks base method.

func (*MockKubernetesInterface) CoordinationV1

CoordinationV1 mocks base method.

func (*MockKubernetesInterface) CoordinationV1beta1

CoordinationV1beta1 mocks base method.

func (*MockKubernetesInterface) CoreV1

CoreV1 mocks base method.

func (*MockKubernetesInterface) Discovery

Discovery mocks base method.

func (*MockKubernetesInterface) DiscoveryV1 added in v0.23.0

DiscoveryV1 mocks base method.

func (*MockKubernetesInterface) DiscoveryV1beta1 added in v0.13.0

DiscoveryV1beta1 mocks base method.

func (*MockKubernetesInterface) EXPECT

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

func (*MockKubernetesInterface) EventsV1 added in v0.17.0

EventsV1 mocks base method.

func (*MockKubernetesInterface) EventsV1beta1

EventsV1beta1 mocks base method.

func (*MockKubernetesInterface) ExtensionsV1beta1

ExtensionsV1beta1 mocks base method.

func (*MockKubernetesInterface) FlowcontrolV1alpha1 added in v0.13.0

FlowcontrolV1alpha1 mocks base method.

func (*MockKubernetesInterface) FlowcontrolV1beta1 added in v0.23.0

FlowcontrolV1beta1 mocks base method.

func (*MockKubernetesInterface) InternalV1alpha1 added in v0.23.0

InternalV1alpha1 mocks base method.

func (*MockKubernetesInterface) NetworkingV1

NetworkingV1 mocks base method.

func (*MockKubernetesInterface) NetworkingV1beta1

NetworkingV1beta1 mocks base method.

func (*MockKubernetesInterface) NodeV1 added in v0.23.0

NodeV1 mocks base method.

func (*MockKubernetesInterface) NodeV1alpha1

NodeV1alpha1 mocks base method.

func (*MockKubernetesInterface) NodeV1beta1

NodeV1beta1 mocks base method.

func (*MockKubernetesInterface) PolicyV1 added in v0.23.0

PolicyV1 mocks base method.

func (*MockKubernetesInterface) PolicyV1beta1

PolicyV1beta1 mocks base method.

func (*MockKubernetesInterface) RbacV1

RbacV1 mocks base method.

func (*MockKubernetesInterface) RbacV1alpha1

RbacV1alpha1 mocks base method.

func (*MockKubernetesInterface) RbacV1beta1

RbacV1beta1 mocks base method.

func (*MockKubernetesInterface) SchedulingV1

SchedulingV1 mocks base method.

func (*MockKubernetesInterface) SchedulingV1alpha1

SchedulingV1alpha1 mocks base method.

func (*MockKubernetesInterface) SchedulingV1beta1

SchedulingV1beta1 mocks base method.

func (*MockKubernetesInterface) StorageV1

StorageV1 mocks base method.

func (*MockKubernetesInterface) StorageV1alpha1

StorageV1alpha1 mocks base method.

func (*MockKubernetesInterface) StorageV1beta1

StorageV1beta1 mocks base method.

type MockKubernetesInterfaceMockRecorder

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

MockKubernetesInterfaceMockRecorder is the mock recorder for MockKubernetesInterface.

func (*MockKubernetesInterfaceMockRecorder) AdmissionregistrationV1 added in v0.13.0

func (mr *MockKubernetesInterfaceMockRecorder) AdmissionregistrationV1() *gomock.Call

AdmissionregistrationV1 indicates an expected call of AdmissionregistrationV1.

func (*MockKubernetesInterfaceMockRecorder) AdmissionregistrationV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) AdmissionregistrationV1beta1() *gomock.Call

AdmissionregistrationV1beta1 indicates an expected call of AdmissionregistrationV1beta1.

func (*MockKubernetesInterfaceMockRecorder) AppsV1

AppsV1 indicates an expected call of AppsV1.

func (*MockKubernetesInterfaceMockRecorder) AppsV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) AppsV1beta1() *gomock.Call

AppsV1beta1 indicates an expected call of AppsV1beta1.

func (*MockKubernetesInterfaceMockRecorder) AppsV1beta2

func (mr *MockKubernetesInterfaceMockRecorder) AppsV1beta2() *gomock.Call

AppsV1beta2 indicates an expected call of AppsV1beta2.

func (*MockKubernetesInterfaceMockRecorder) AuthenticationV1

func (mr *MockKubernetesInterfaceMockRecorder) AuthenticationV1() *gomock.Call

AuthenticationV1 indicates an expected call of AuthenticationV1.

func (*MockKubernetesInterfaceMockRecorder) AuthenticationV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) AuthenticationV1beta1() *gomock.Call

AuthenticationV1beta1 indicates an expected call of AuthenticationV1beta1.

func (*MockKubernetesInterfaceMockRecorder) AuthorizationV1

func (mr *MockKubernetesInterfaceMockRecorder) AuthorizationV1() *gomock.Call

AuthorizationV1 indicates an expected call of AuthorizationV1.

func (*MockKubernetesInterfaceMockRecorder) AuthorizationV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) AuthorizationV1beta1() *gomock.Call

AuthorizationV1beta1 indicates an expected call of AuthorizationV1beta1.

func (*MockKubernetesInterfaceMockRecorder) AutoscalingV1

func (mr *MockKubernetesInterfaceMockRecorder) AutoscalingV1() *gomock.Call

AutoscalingV1 indicates an expected call of AutoscalingV1.

func (*MockKubernetesInterfaceMockRecorder) AutoscalingV2beta1

func (mr *MockKubernetesInterfaceMockRecorder) AutoscalingV2beta1() *gomock.Call

AutoscalingV2beta1 indicates an expected call of AutoscalingV2beta1.

func (*MockKubernetesInterfaceMockRecorder) AutoscalingV2beta2

func (mr *MockKubernetesInterfaceMockRecorder) AutoscalingV2beta2() *gomock.Call

AutoscalingV2beta2 indicates an expected call of AutoscalingV2beta2.

func (*MockKubernetesInterfaceMockRecorder) BatchV1

BatchV1 indicates an expected call of BatchV1.

func (*MockKubernetesInterfaceMockRecorder) BatchV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) BatchV1beta1() *gomock.Call

BatchV1beta1 indicates an expected call of BatchV1beta1.

func (*MockKubernetesInterfaceMockRecorder) CertificatesV1 added in v0.17.0

func (mr *MockKubernetesInterfaceMockRecorder) CertificatesV1() *gomock.Call

CertificatesV1 indicates an expected call of CertificatesV1.

func (*MockKubernetesInterfaceMockRecorder) CertificatesV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) CertificatesV1beta1() *gomock.Call

CertificatesV1beta1 indicates an expected call of CertificatesV1beta1.

func (*MockKubernetesInterfaceMockRecorder) CoordinationV1

func (mr *MockKubernetesInterfaceMockRecorder) CoordinationV1() *gomock.Call

CoordinationV1 indicates an expected call of CoordinationV1.

func (*MockKubernetesInterfaceMockRecorder) CoordinationV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) CoordinationV1beta1() *gomock.Call

CoordinationV1beta1 indicates an expected call of CoordinationV1beta1.

func (*MockKubernetesInterfaceMockRecorder) CoreV1

CoreV1 indicates an expected call of CoreV1.

func (*MockKubernetesInterfaceMockRecorder) Discovery

Discovery indicates an expected call of Discovery.

func (*MockKubernetesInterfaceMockRecorder) DiscoveryV1 added in v0.23.0

func (mr *MockKubernetesInterfaceMockRecorder) DiscoveryV1() *gomock.Call

DiscoveryV1 indicates an expected call of DiscoveryV1.

func (*MockKubernetesInterfaceMockRecorder) DiscoveryV1beta1 added in v0.13.0

func (mr *MockKubernetesInterfaceMockRecorder) DiscoveryV1beta1() *gomock.Call

DiscoveryV1beta1 indicates an expected call of DiscoveryV1beta1.

func (*MockKubernetesInterfaceMockRecorder) EventsV1 added in v0.17.0

EventsV1 indicates an expected call of EventsV1.

func (*MockKubernetesInterfaceMockRecorder) EventsV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) EventsV1beta1() *gomock.Call

EventsV1beta1 indicates an expected call of EventsV1beta1.

func (*MockKubernetesInterfaceMockRecorder) ExtensionsV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) ExtensionsV1beta1() *gomock.Call

ExtensionsV1beta1 indicates an expected call of ExtensionsV1beta1.

func (*MockKubernetesInterfaceMockRecorder) FlowcontrolV1alpha1 added in v0.13.0

func (mr *MockKubernetesInterfaceMockRecorder) FlowcontrolV1alpha1() *gomock.Call

FlowcontrolV1alpha1 indicates an expected call of FlowcontrolV1alpha1.

func (*MockKubernetesInterfaceMockRecorder) FlowcontrolV1beta1 added in v0.23.0

func (mr *MockKubernetesInterfaceMockRecorder) FlowcontrolV1beta1() *gomock.Call

FlowcontrolV1beta1 indicates an expected call of FlowcontrolV1beta1.

func (*MockKubernetesInterfaceMockRecorder) InternalV1alpha1 added in v0.23.0

func (mr *MockKubernetesInterfaceMockRecorder) InternalV1alpha1() *gomock.Call

InternalV1alpha1 indicates an expected call of InternalV1alpha1.

func (*MockKubernetesInterfaceMockRecorder) NetworkingV1

func (mr *MockKubernetesInterfaceMockRecorder) NetworkingV1() *gomock.Call

NetworkingV1 indicates an expected call of NetworkingV1.

func (*MockKubernetesInterfaceMockRecorder) NetworkingV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) NetworkingV1beta1() *gomock.Call

NetworkingV1beta1 indicates an expected call of NetworkingV1beta1.

func (*MockKubernetesInterfaceMockRecorder) NodeV1 added in v0.23.0

NodeV1 indicates an expected call of NodeV1.

func (*MockKubernetesInterfaceMockRecorder) NodeV1alpha1

func (mr *MockKubernetesInterfaceMockRecorder) NodeV1alpha1() *gomock.Call

NodeV1alpha1 indicates an expected call of NodeV1alpha1.

func (*MockKubernetesInterfaceMockRecorder) NodeV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) NodeV1beta1() *gomock.Call

NodeV1beta1 indicates an expected call of NodeV1beta1.

func (*MockKubernetesInterfaceMockRecorder) PolicyV1 added in v0.23.0

PolicyV1 indicates an expected call of PolicyV1.

func (*MockKubernetesInterfaceMockRecorder) PolicyV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) PolicyV1beta1() *gomock.Call

PolicyV1beta1 indicates an expected call of PolicyV1beta1.

func (*MockKubernetesInterfaceMockRecorder) RbacV1

RbacV1 indicates an expected call of RbacV1.

func (*MockKubernetesInterfaceMockRecorder) RbacV1alpha1

func (mr *MockKubernetesInterfaceMockRecorder) RbacV1alpha1() *gomock.Call

RbacV1alpha1 indicates an expected call of RbacV1alpha1.

func (*MockKubernetesInterfaceMockRecorder) RbacV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) RbacV1beta1() *gomock.Call

RbacV1beta1 indicates an expected call of RbacV1beta1.

func (*MockKubernetesInterfaceMockRecorder) SchedulingV1

func (mr *MockKubernetesInterfaceMockRecorder) SchedulingV1() *gomock.Call

SchedulingV1 indicates an expected call of SchedulingV1.

func (*MockKubernetesInterfaceMockRecorder) SchedulingV1alpha1

func (mr *MockKubernetesInterfaceMockRecorder) SchedulingV1alpha1() *gomock.Call

SchedulingV1alpha1 indicates an expected call of SchedulingV1alpha1.

func (*MockKubernetesInterfaceMockRecorder) SchedulingV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) SchedulingV1beta1() *gomock.Call

SchedulingV1beta1 indicates an expected call of SchedulingV1beta1.

func (*MockKubernetesInterfaceMockRecorder) StorageV1

StorageV1 indicates an expected call of StorageV1.

func (*MockKubernetesInterfaceMockRecorder) StorageV1alpha1

func (mr *MockKubernetesInterfaceMockRecorder) StorageV1alpha1() *gomock.Call

StorageV1alpha1 indicates an expected call of StorageV1alpha1.

func (*MockKubernetesInterfaceMockRecorder) StorageV1beta1

func (mr *MockKubernetesInterfaceMockRecorder) StorageV1beta1() *gomock.Call

StorageV1beta1 indicates an expected call of StorageV1beta1.

type MockNamespaceInterface

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

MockNamespaceInterface is a mock of NamespaceInterface interface.

func NewMockNamespaceInterface

func NewMockNamespaceInterface(ctrl *gomock.Controller) *MockNamespaceInterface

NewMockNamespaceInterface creates a new mock instance.

func (*MockNamespaceInterface) EXPECT

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

func (*MockNamespaceInterface) HasNamespace added in v0.13.0

func (m *MockNamespaceInterface) HasNamespace(ctx context.Context, namespace string) bool

HasNamespace mocks base method.

func (*MockNamespaceInterface) InitialNamespace

func (m *MockNamespaceInterface) InitialNamespace() string

InitialNamespace mocks base method.

func (*MockNamespaceInterface) Names

func (m *MockNamespaceInterface) Names(ctx context.Context) ([]string, error)

Names mocks base method.

func (*MockNamespaceInterface) ProvidedNamespaces added in v0.13.0

func (m *MockNamespaceInterface) ProvidedNamespaces(ctx context.Context) []string

ProvidedNamespaces mocks base method.

type MockNamespaceInterfaceMockRecorder

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

MockNamespaceInterfaceMockRecorder is the mock recorder for MockNamespaceInterface.

func (*MockNamespaceInterfaceMockRecorder) HasNamespace added in v0.13.0

func (mr *MockNamespaceInterfaceMockRecorder) HasNamespace(ctx, namespace interface{}) *gomock.Call

HasNamespace indicates an expected call of HasNamespace.

func (*MockNamespaceInterfaceMockRecorder) InitialNamespace

func (mr *MockNamespaceInterfaceMockRecorder) InitialNamespace() *gomock.Call

InitialNamespace indicates an expected call of InitialNamespace.

func (*MockNamespaceInterfaceMockRecorder) Names

func (mr *MockNamespaceInterfaceMockRecorder) Names(ctx interface{}) *gomock.Call

Names indicates an expected call of Names.

func (*MockNamespaceInterfaceMockRecorder) ProvidedNamespaces added in v0.13.0

func (mr *MockNamespaceInterfaceMockRecorder) ProvidedNamespaces(ctx interface{}) *gomock.Call

ProvidedNamespaces indicates an expected call of ProvidedNamespaces.

type MockNamespaceableResourceInterface

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

MockNamespaceableResourceInterface is a mock of NamespaceableResourceInterface interface.

func NewMockNamespaceableResourceInterface

func NewMockNamespaceableResourceInterface(ctrl *gomock.Controller) *MockNamespaceableResourceInterface

NewMockNamespaceableResourceInterface creates a new mock instance.

func (*MockNamespaceableResourceInterface) Create

Create mocks base method.

func (*MockNamespaceableResourceInterface) Delete

func (m *MockNamespaceableResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error

Delete mocks base method.

func (*MockNamespaceableResourceInterface) DeleteCollection

func (m *MockNamespaceableResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection mocks base method.

func (*MockNamespaceableResourceInterface) EXPECT

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

func (*MockNamespaceableResourceInterface) Get

Get mocks base method.

func (*MockNamespaceableResourceInterface) List

List mocks base method.

func (*MockNamespaceableResourceInterface) Namespace

Namespace mocks base method.

func (*MockNamespaceableResourceInterface) Patch

func (m *MockNamespaceableResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)

Patch mocks base method.

func (*MockNamespaceableResourceInterface) Update

Update mocks base method.

func (*MockNamespaceableResourceInterface) UpdateStatus

UpdateStatus mocks base method.

func (*MockNamespaceableResourceInterface) Watch

Watch mocks base method.

type MockNamespaceableResourceInterfaceMockRecorder

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

MockNamespaceableResourceInterfaceMockRecorder is the mock recorder for MockNamespaceableResourceInterface.

func (*MockNamespaceableResourceInterfaceMockRecorder) Create

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Create(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockNamespaceableResourceInterfaceMockRecorder) Delete

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Delete(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection

func (mr *MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions interface{}) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection.

func (*MockNamespaceableResourceInterfaceMockRecorder) Get

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Get(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockNamespaceableResourceInterfaceMockRecorder) List

func (mr *MockNamespaceableResourceInterfaceMockRecorder) List(ctx, opts interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockNamespaceableResourceInterfaceMockRecorder) Namespace

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Namespace(arg0 interface{}) *gomock.Call

Namespace indicates an expected call of Namespace.

func (*MockNamespaceableResourceInterfaceMockRecorder) Patch

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options interface{}, subresources ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockNamespaceableResourceInterfaceMockRecorder) Update

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Update(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus

func (mr *MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockNamespaceableResourceInterfaceMockRecorder) Watch

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Watch(ctx, opts interface{}) *gomock.Call

Watch indicates an expected call of Watch.

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() (*openapi_v2.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 MockRESTInterface

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

MockRESTInterface is a mock of RESTInterface interface.

func NewMockRESTInterface

func NewMockRESTInterface(ctrl *gomock.Controller) *MockRESTInterface

NewMockRESTInterface creates a new mock instance.

func (*MockRESTInterface) EXPECT

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

func (*MockRESTInterface) RESTClient

func (m *MockRESTInterface) RESTClient() (rest.Interface, error)

RESTClient mocks base method.

func (*MockRESTInterface) RESTConfig

func (m *MockRESTInterface) RESTConfig() *rest.Config

RESTConfig mocks base method.

type MockRESTInterfaceMockRecorder

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

MockRESTInterfaceMockRecorder is the mock recorder for MockRESTInterface.

func (*MockRESTInterfaceMockRecorder) RESTClient

func (mr *MockRESTInterfaceMockRecorder) RESTClient() *gomock.Call

RESTClient indicates an expected call of RESTClient.

func (*MockRESTInterfaceMockRecorder) RESTConfig

func (mr *MockRESTInterfaceMockRecorder) RESTConfig() *gomock.Call

RESTConfig indicates an expected call of RESTConfig.

type MockResourceInterface

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

MockResourceInterface is a mock of ResourceInterface interface.

func NewMockResourceInterface

func NewMockResourceInterface(ctrl *gomock.Controller) *MockResourceInterface

NewMockResourceInterface creates a new mock instance.

func (*MockResourceInterface) Create

Create mocks base method.

func (*MockResourceInterface) Delete

func (m *MockResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error

Delete mocks base method.

func (*MockResourceInterface) DeleteCollection

func (m *MockResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection mocks base method.

func (*MockResourceInterface) EXPECT

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

func (*MockResourceInterface) Get

func (m *MockResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)

Get mocks base method.

func (*MockResourceInterface) List

List mocks base method.

func (*MockResourceInterface) Patch

func (m *MockResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)

Patch mocks base method.

func (*MockResourceInterface) Update

Update mocks base method.

func (*MockResourceInterface) UpdateStatus

UpdateStatus mocks base method.

func (*MockResourceInterface) Watch

Watch mocks base method.

type MockResourceInterfaceMockRecorder

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

MockResourceInterfaceMockRecorder is the mock recorder for MockResourceInterface.

func (*MockResourceInterfaceMockRecorder) Create

func (mr *MockResourceInterfaceMockRecorder) Create(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockResourceInterfaceMockRecorder) Delete

func (mr *MockResourceInterfaceMockRecorder) Delete(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockResourceInterfaceMockRecorder) DeleteCollection

func (mr *MockResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions interface{}) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection.

func (*MockResourceInterfaceMockRecorder) Get

func (mr *MockResourceInterfaceMockRecorder) Get(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockResourceInterfaceMockRecorder) List

func (mr *MockResourceInterfaceMockRecorder) List(ctx, opts interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockResourceInterfaceMockRecorder) Patch

func (mr *MockResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options interface{}, subresources ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockResourceInterfaceMockRecorder) Update

func (mr *MockResourceInterfaceMockRecorder) Update(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockResourceInterfaceMockRecorder) UpdateStatus

func (mr *MockResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockResourceInterfaceMockRecorder) Watch

func (mr *MockResourceInterfaceMockRecorder) Watch(ctx, opts interface{}) *gomock.Call

Watch indicates an expected call of Watch.

type MockSelfSubjectAccessReviewInterface

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

MockSelfSubjectAccessReviewInterface is a mock of SelfSubjectAccessReviewInterface interface.

func NewMockSelfSubjectAccessReviewInterface

func NewMockSelfSubjectAccessReviewInterface(ctrl *gomock.Controller) *MockSelfSubjectAccessReviewInterface

NewMockSelfSubjectAccessReviewInterface creates a new mock instance.

func (*MockSelfSubjectAccessReviewInterface) Create

Create mocks base method.

func (*MockSelfSubjectAccessReviewInterface) EXPECT

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

type MockSelfSubjectAccessReviewInterfaceMockRecorder

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

MockSelfSubjectAccessReviewInterfaceMockRecorder is the mock recorder for MockSelfSubjectAccessReviewInterface.

func (*MockSelfSubjectAccessReviewInterfaceMockRecorder) Create

func (mr *MockSelfSubjectAccessReviewInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call

Create indicates an expected call of Create.

type MockSelfSubjectAccessReviewsGetter

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

MockSelfSubjectAccessReviewsGetter is a mock of SelfSubjectAccessReviewsGetter interface.

func NewMockSelfSubjectAccessReviewsGetter

func NewMockSelfSubjectAccessReviewsGetter(ctrl *gomock.Controller) *MockSelfSubjectAccessReviewsGetter

NewMockSelfSubjectAccessReviewsGetter creates a new mock instance.

func (*MockSelfSubjectAccessReviewsGetter) EXPECT

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

func (*MockSelfSubjectAccessReviewsGetter) SelfSubjectAccessReviews

SelfSubjectAccessReviews mocks base method.

type MockSelfSubjectAccessReviewsGetterMockRecorder

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

MockSelfSubjectAccessReviewsGetterMockRecorder is the mock recorder for MockSelfSubjectAccessReviewsGetter.

func (*MockSelfSubjectAccessReviewsGetterMockRecorder) SelfSubjectAccessReviews

func (mr *MockSelfSubjectAccessReviewsGetterMockRecorder) SelfSubjectAccessReviews() *gomock.Call

SelfSubjectAccessReviews indicates an expected call of SelfSubjectAccessReviews.

type MockSelfSubjectRulesReviewInterface

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

MockSelfSubjectRulesReviewInterface is a mock of SelfSubjectRulesReviewInterface interface.

func NewMockSelfSubjectRulesReviewInterface

func NewMockSelfSubjectRulesReviewInterface(ctrl *gomock.Controller) *MockSelfSubjectRulesReviewInterface

NewMockSelfSubjectRulesReviewInterface creates a new mock instance.

func (*MockSelfSubjectRulesReviewInterface) Create

Create mocks base method.

func (*MockSelfSubjectRulesReviewInterface) EXPECT

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

type MockSelfSubjectRulesReviewInterfaceMockRecorder

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

MockSelfSubjectRulesReviewInterfaceMockRecorder is the mock recorder for MockSelfSubjectRulesReviewInterface.

func (*MockSelfSubjectRulesReviewInterfaceMockRecorder) Create

func (mr *MockSelfSubjectRulesReviewInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call

Create indicates an expected call of Create.

type MockSelfSubjectRulesReviewsGetter

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

MockSelfSubjectRulesReviewsGetter is a mock of SelfSubjectRulesReviewsGetter interface.

func NewMockSelfSubjectRulesReviewsGetter

func NewMockSelfSubjectRulesReviewsGetter(ctrl *gomock.Controller) *MockSelfSubjectRulesReviewsGetter

NewMockSelfSubjectRulesReviewsGetter creates a new mock instance.

func (*MockSelfSubjectRulesReviewsGetter) EXPECT

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

func (*MockSelfSubjectRulesReviewsGetter) SelfSubjectRulesReviews

SelfSubjectRulesReviews mocks base method.

type MockSelfSubjectRulesReviewsGetterMockRecorder

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

MockSelfSubjectRulesReviewsGetterMockRecorder is the mock recorder for MockSelfSubjectRulesReviewsGetter.

func (*MockSelfSubjectRulesReviewsGetterMockRecorder) SelfSubjectRulesReviews

func (mr *MockSelfSubjectRulesReviewsGetterMockRecorder) SelfSubjectRulesReviews() *gomock.Call

SelfSubjectRulesReviews indicates an expected call of SelfSubjectRulesReviews.

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.

type MockSharedIndexInformer

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

MockSharedIndexInformer is a mock of SharedIndexInformer interface.

func NewMockSharedIndexInformer

func NewMockSharedIndexInformer(ctrl *gomock.Controller) *MockSharedIndexInformer

NewMockSharedIndexInformer creates a new mock instance.

func (*MockSharedIndexInformer) AddEventHandler

func (m *MockSharedIndexInformer) AddEventHandler(arg0 cache.ResourceEventHandler)

AddEventHandler mocks base method.

func (*MockSharedIndexInformer) AddEventHandlerWithResyncPeriod

func (m *MockSharedIndexInformer) AddEventHandlerWithResyncPeriod(arg0 cache.ResourceEventHandler, arg1 time.Duration)

AddEventHandlerWithResyncPeriod mocks base method.

func (*MockSharedIndexInformer) AddIndexers

func (m *MockSharedIndexInformer) AddIndexers(arg0 cache.Indexers) error

AddIndexers mocks base method.

func (*MockSharedIndexInformer) EXPECT

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

func (*MockSharedIndexInformer) GetController

func (m *MockSharedIndexInformer) GetController() cache.Controller

GetController mocks base method.

func (*MockSharedIndexInformer) GetIndexer

func (m *MockSharedIndexInformer) GetIndexer() cache.Indexer

GetIndexer mocks base method.

func (*MockSharedIndexInformer) GetStore

func (m *MockSharedIndexInformer) GetStore() cache.Store

GetStore mocks base method.

func (*MockSharedIndexInformer) HasSynced

func (m *MockSharedIndexInformer) HasSynced() bool

HasSynced mocks base method.

func (*MockSharedIndexInformer) LastSyncResourceVersion

func (m *MockSharedIndexInformer) LastSyncResourceVersion() string

LastSyncResourceVersion mocks base method.

func (*MockSharedIndexInformer) Run

func (m *MockSharedIndexInformer) Run(arg0 <-chan struct{})

Run mocks base method.

func (*MockSharedIndexInformer) SetWatchErrorHandler added in v0.13.0

func (m *MockSharedIndexInformer) SetWatchErrorHandler(arg0 cache.WatchErrorHandler) error

SetWatchErrorHandler mocks base method.

type MockSharedIndexInformerMockRecorder

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

MockSharedIndexInformerMockRecorder is the mock recorder for MockSharedIndexInformer.

func (*MockSharedIndexInformerMockRecorder) AddEventHandler

func (mr *MockSharedIndexInformerMockRecorder) AddEventHandler(arg0 interface{}) *gomock.Call

AddEventHandler indicates an expected call of AddEventHandler.

func (*MockSharedIndexInformerMockRecorder) AddEventHandlerWithResyncPeriod

func (mr *MockSharedIndexInformerMockRecorder) AddEventHandlerWithResyncPeriod(arg0, arg1 interface{}) *gomock.Call

AddEventHandlerWithResyncPeriod indicates an expected call of AddEventHandlerWithResyncPeriod.

func (*MockSharedIndexInformerMockRecorder) AddIndexers

func (mr *MockSharedIndexInformerMockRecorder) AddIndexers(arg0 interface{}) *gomock.Call

AddIndexers indicates an expected call of AddIndexers.

func (*MockSharedIndexInformerMockRecorder) GetController

func (mr *MockSharedIndexInformerMockRecorder) GetController() *gomock.Call

GetController indicates an expected call of GetController.

func (*MockSharedIndexInformerMockRecorder) GetIndexer

GetIndexer indicates an expected call of GetIndexer.

func (*MockSharedIndexInformerMockRecorder) GetStore

GetStore indicates an expected call of GetStore.

func (*MockSharedIndexInformerMockRecorder) HasSynced

HasSynced indicates an expected call of HasSynced.

func (*MockSharedIndexInformerMockRecorder) LastSyncResourceVersion

func (mr *MockSharedIndexInformerMockRecorder) LastSyncResourceVersion() *gomock.Call

LastSyncResourceVersion indicates an expected call of LastSyncResourceVersion.

func (*MockSharedIndexInformerMockRecorder) Run

func (mr *MockSharedIndexInformerMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockSharedIndexInformerMockRecorder) SetWatchErrorHandler added in v0.13.0

func (mr *MockSharedIndexInformerMockRecorder) SetWatchErrorHandler(arg0 interface{}) *gomock.Call

SetWatchErrorHandler indicates an expected call of SetWatchErrorHandler.

Jump to

Keyboard shortcuts

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