Documentation ¶
Overview ¶
Package mock_k8s is a generated GoMock package.
Package mock_k8s is a generated GoMock package.
Package mock_k8s is a generated GoMock package.
Package mock_k8s is a generated GoMock package.
Package mock_k8s is a generated GoMock package.
Package mock_k8s is a generated GoMock package.
Package mock_k8s is a generated GoMock package.
Package mock_k8s is a generated GoMock package.
Index ¶
- type MockApiextensionsV1Interface
- type MockApiextensionsV1InterfaceCustomResourceDefinitionsCall
- func (c *MockApiextensionsV1InterfaceCustomResourceDefinitionsCall) Do(f func() v11.CustomResourceDefinitionInterface) *MockApiextensionsV1InterfaceCustomResourceDefinitionsCall
- func (c *MockApiextensionsV1InterfaceCustomResourceDefinitionsCall) DoAndReturn(f func() v11.CustomResourceDefinitionInterface) *MockApiextensionsV1InterfaceCustomResourceDefinitionsCall
- func (c *MockApiextensionsV1InterfaceCustomResourceDefinitionsCall) Return(arg0 v11.CustomResourceDefinitionInterface) *MockApiextensionsV1InterfaceCustomResourceDefinitionsCall
- type MockApiextensionsV1InterfaceMockRecorder
- type MockApiextensionsV1InterfaceRESTClientCall
- func (c *MockApiextensionsV1InterfaceRESTClientCall) Do(f func() rest.Interface) *MockApiextensionsV1InterfaceRESTClientCall
- func (c *MockApiextensionsV1InterfaceRESTClientCall) DoAndReturn(f func() rest.Interface) *MockApiextensionsV1InterfaceRESTClientCall
- func (c *MockApiextensionsV1InterfaceRESTClientCall) Return(arg0 rest.Interface) *MockApiextensionsV1InterfaceRESTClientCall
- type MockCoreV1Interface
- func (m *MockCoreV1Interface) ComponentStatuses() v12.ComponentStatusInterface
- func (m *MockCoreV1Interface) ConfigMaps(namespace string) v12.ConfigMapInterface
- func (m *MockCoreV1Interface) EXPECT() *MockCoreV1InterfaceMockRecorder
- func (m *MockCoreV1Interface) Endpoints(namespace string) v12.EndpointsInterface
- func (m *MockCoreV1Interface) Events(namespace string) v12.EventInterface
- func (m *MockCoreV1Interface) LimitRanges(namespace string) v12.LimitRangeInterface
- func (m *MockCoreV1Interface) Namespaces() v12.NamespaceInterface
- func (m *MockCoreV1Interface) Nodes() v12.NodeInterface
- func (m *MockCoreV1Interface) PersistentVolumeClaims(namespace string) v12.PersistentVolumeClaimInterface
- func (m *MockCoreV1Interface) PersistentVolumes() v12.PersistentVolumeInterface
- func (m *MockCoreV1Interface) PodTemplates(namespace string) v12.PodTemplateInterface
- func (m *MockCoreV1Interface) Pods(namespace string) v12.PodInterface
- func (m *MockCoreV1Interface) RESTClient() rest.Interface
- func (m *MockCoreV1Interface) ReplicationControllers(namespace string) v12.ReplicationControllerInterface
- func (m *MockCoreV1Interface) ResourceQuotas(namespace string) v12.ResourceQuotaInterface
- func (m *MockCoreV1Interface) Secrets(namespace string) v12.SecretInterface
- func (m *MockCoreV1Interface) ServiceAccounts(namespace string) v12.ServiceAccountInterface
- func (m *MockCoreV1Interface) Services(namespace string) v12.ServiceInterface
- type MockCoreV1InterfaceComponentStatusesCall
- func (c *MockCoreV1InterfaceComponentStatusesCall) Do(f func() v12.ComponentStatusInterface) *MockCoreV1InterfaceComponentStatusesCall
- func (c *MockCoreV1InterfaceComponentStatusesCall) DoAndReturn(f func() v12.ComponentStatusInterface) *MockCoreV1InterfaceComponentStatusesCall
- func (c *MockCoreV1InterfaceComponentStatusesCall) Return(arg0 v12.ComponentStatusInterface) *MockCoreV1InterfaceComponentStatusesCall
- type MockCoreV1InterfaceConfigMapsCall
- func (c *MockCoreV1InterfaceConfigMapsCall) Do(f func(string) v12.ConfigMapInterface) *MockCoreV1InterfaceConfigMapsCall
- func (c *MockCoreV1InterfaceConfigMapsCall) DoAndReturn(f func(string) v12.ConfigMapInterface) *MockCoreV1InterfaceConfigMapsCall
- func (c *MockCoreV1InterfaceConfigMapsCall) Return(arg0 v12.ConfigMapInterface) *MockCoreV1InterfaceConfigMapsCall
- type MockCoreV1InterfaceEndpointsCall
- func (c *MockCoreV1InterfaceEndpointsCall) Do(f func(string) v12.EndpointsInterface) *MockCoreV1InterfaceEndpointsCall
- func (c *MockCoreV1InterfaceEndpointsCall) DoAndReturn(f func(string) v12.EndpointsInterface) *MockCoreV1InterfaceEndpointsCall
- func (c *MockCoreV1InterfaceEndpointsCall) Return(arg0 v12.EndpointsInterface) *MockCoreV1InterfaceEndpointsCall
- type MockCoreV1InterfaceEventsCall
- func (c *MockCoreV1InterfaceEventsCall) Do(f func(string) v12.EventInterface) *MockCoreV1InterfaceEventsCall
- func (c *MockCoreV1InterfaceEventsCall) DoAndReturn(f func(string) v12.EventInterface) *MockCoreV1InterfaceEventsCall
- func (c *MockCoreV1InterfaceEventsCall) Return(arg0 v12.EventInterface) *MockCoreV1InterfaceEventsCall
- type MockCoreV1InterfaceLimitRangesCall
- func (c *MockCoreV1InterfaceLimitRangesCall) Do(f func(string) v12.LimitRangeInterface) *MockCoreV1InterfaceLimitRangesCall
- func (c *MockCoreV1InterfaceLimitRangesCall) DoAndReturn(f func(string) v12.LimitRangeInterface) *MockCoreV1InterfaceLimitRangesCall
- func (c *MockCoreV1InterfaceLimitRangesCall) Return(arg0 v12.LimitRangeInterface) *MockCoreV1InterfaceLimitRangesCall
- type MockCoreV1InterfaceMockRecorder
- func (mr *MockCoreV1InterfaceMockRecorder) ComponentStatuses() *MockCoreV1InterfaceComponentStatusesCall
- func (mr *MockCoreV1InterfaceMockRecorder) ConfigMaps(namespace any) *MockCoreV1InterfaceConfigMapsCall
- func (mr *MockCoreV1InterfaceMockRecorder) Endpoints(namespace any) *MockCoreV1InterfaceEndpointsCall
- func (mr *MockCoreV1InterfaceMockRecorder) Events(namespace any) *MockCoreV1InterfaceEventsCall
- func (mr *MockCoreV1InterfaceMockRecorder) LimitRanges(namespace any) *MockCoreV1InterfaceLimitRangesCall
- func (mr *MockCoreV1InterfaceMockRecorder) Namespaces() *MockCoreV1InterfaceNamespacesCall
- func (mr *MockCoreV1InterfaceMockRecorder) Nodes() *MockCoreV1InterfaceNodesCall
- func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims(namespace any) *MockCoreV1InterfacePersistentVolumeClaimsCall
- func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumes() *MockCoreV1InterfacePersistentVolumesCall
- func (mr *MockCoreV1InterfaceMockRecorder) PodTemplates(namespace any) *MockCoreV1InterfacePodTemplatesCall
- func (mr *MockCoreV1InterfaceMockRecorder) Pods(namespace any) *MockCoreV1InterfacePodsCall
- func (mr *MockCoreV1InterfaceMockRecorder) RESTClient() *MockCoreV1InterfaceRESTClientCall
- func (mr *MockCoreV1InterfaceMockRecorder) ReplicationControllers(namespace any) *MockCoreV1InterfaceReplicationControllersCall
- func (mr *MockCoreV1InterfaceMockRecorder) ResourceQuotas(namespace any) *MockCoreV1InterfaceResourceQuotasCall
- func (mr *MockCoreV1InterfaceMockRecorder) Secrets(namespace any) *MockCoreV1InterfaceSecretsCall
- func (mr *MockCoreV1InterfaceMockRecorder) ServiceAccounts(namespace any) *MockCoreV1InterfaceServiceAccountsCall
- func (mr *MockCoreV1InterfaceMockRecorder) Services(namespace any) *MockCoreV1InterfaceServicesCall
- type MockCoreV1InterfaceNamespacesCall
- func (c *MockCoreV1InterfaceNamespacesCall) Do(f func() v12.NamespaceInterface) *MockCoreV1InterfaceNamespacesCall
- func (c *MockCoreV1InterfaceNamespacesCall) DoAndReturn(f func() v12.NamespaceInterface) *MockCoreV1InterfaceNamespacesCall
- func (c *MockCoreV1InterfaceNamespacesCall) Return(arg0 v12.NamespaceInterface) *MockCoreV1InterfaceNamespacesCall
- type MockCoreV1InterfaceNodesCall
- func (c *MockCoreV1InterfaceNodesCall) Do(f func() v12.NodeInterface) *MockCoreV1InterfaceNodesCall
- func (c *MockCoreV1InterfaceNodesCall) DoAndReturn(f func() v12.NodeInterface) *MockCoreV1InterfaceNodesCall
- func (c *MockCoreV1InterfaceNodesCall) Return(arg0 v12.NodeInterface) *MockCoreV1InterfaceNodesCall
- type MockCoreV1InterfacePersistentVolumeClaimsCall
- func (c *MockCoreV1InterfacePersistentVolumeClaimsCall) Do(f func(string) v12.PersistentVolumeClaimInterface) *MockCoreV1InterfacePersistentVolumeClaimsCall
- func (c *MockCoreV1InterfacePersistentVolumeClaimsCall) DoAndReturn(f func(string) v12.PersistentVolumeClaimInterface) *MockCoreV1InterfacePersistentVolumeClaimsCall
- func (c *MockCoreV1InterfacePersistentVolumeClaimsCall) Return(arg0 v12.PersistentVolumeClaimInterface) *MockCoreV1InterfacePersistentVolumeClaimsCall
- type MockCoreV1InterfacePersistentVolumesCall
- func (c *MockCoreV1InterfacePersistentVolumesCall) Do(f func() v12.PersistentVolumeInterface) *MockCoreV1InterfacePersistentVolumesCall
- func (c *MockCoreV1InterfacePersistentVolumesCall) DoAndReturn(f func() v12.PersistentVolumeInterface) *MockCoreV1InterfacePersistentVolumesCall
- func (c *MockCoreV1InterfacePersistentVolumesCall) Return(arg0 v12.PersistentVolumeInterface) *MockCoreV1InterfacePersistentVolumesCall
- type MockCoreV1InterfacePodTemplatesCall
- func (c *MockCoreV1InterfacePodTemplatesCall) Do(f func(string) v12.PodTemplateInterface) *MockCoreV1InterfacePodTemplatesCall
- func (c *MockCoreV1InterfacePodTemplatesCall) DoAndReturn(f func(string) v12.PodTemplateInterface) *MockCoreV1InterfacePodTemplatesCall
- func (c *MockCoreV1InterfacePodTemplatesCall) Return(arg0 v12.PodTemplateInterface) *MockCoreV1InterfacePodTemplatesCall
- type MockCoreV1InterfacePodsCall
- func (c *MockCoreV1InterfacePodsCall) Do(f func(string) v12.PodInterface) *MockCoreV1InterfacePodsCall
- func (c *MockCoreV1InterfacePodsCall) DoAndReturn(f func(string) v12.PodInterface) *MockCoreV1InterfacePodsCall
- func (c *MockCoreV1InterfacePodsCall) Return(arg0 v12.PodInterface) *MockCoreV1InterfacePodsCall
- type MockCoreV1InterfaceRESTClientCall
- func (c *MockCoreV1InterfaceRESTClientCall) Do(f func() rest.Interface) *MockCoreV1InterfaceRESTClientCall
- func (c *MockCoreV1InterfaceRESTClientCall) DoAndReturn(f func() rest.Interface) *MockCoreV1InterfaceRESTClientCall
- func (c *MockCoreV1InterfaceRESTClientCall) Return(arg0 rest.Interface) *MockCoreV1InterfaceRESTClientCall
- type MockCoreV1InterfaceReplicationControllersCall
- func (c *MockCoreV1InterfaceReplicationControllersCall) Do(f func(string) v12.ReplicationControllerInterface) *MockCoreV1InterfaceReplicationControllersCall
- func (c *MockCoreV1InterfaceReplicationControllersCall) DoAndReturn(f func(string) v12.ReplicationControllerInterface) *MockCoreV1InterfaceReplicationControllersCall
- func (c *MockCoreV1InterfaceReplicationControllersCall) Return(arg0 v12.ReplicationControllerInterface) *MockCoreV1InterfaceReplicationControllersCall
- type MockCoreV1InterfaceResourceQuotasCall
- func (c *MockCoreV1InterfaceResourceQuotasCall) Do(f func(string) v12.ResourceQuotaInterface) *MockCoreV1InterfaceResourceQuotasCall
- func (c *MockCoreV1InterfaceResourceQuotasCall) DoAndReturn(f func(string) v12.ResourceQuotaInterface) *MockCoreV1InterfaceResourceQuotasCall
- func (c *MockCoreV1InterfaceResourceQuotasCall) Return(arg0 v12.ResourceQuotaInterface) *MockCoreV1InterfaceResourceQuotasCall
- type MockCoreV1InterfaceSecretsCall
- func (c *MockCoreV1InterfaceSecretsCall) Do(f func(string) v12.SecretInterface) *MockCoreV1InterfaceSecretsCall
- func (c *MockCoreV1InterfaceSecretsCall) DoAndReturn(f func(string) v12.SecretInterface) *MockCoreV1InterfaceSecretsCall
- func (c *MockCoreV1InterfaceSecretsCall) Return(arg0 v12.SecretInterface) *MockCoreV1InterfaceSecretsCall
- type MockCoreV1InterfaceServiceAccountsCall
- func (c *MockCoreV1InterfaceServiceAccountsCall) Do(f func(string) v12.ServiceAccountInterface) *MockCoreV1InterfaceServiceAccountsCall
- func (c *MockCoreV1InterfaceServiceAccountsCall) DoAndReturn(f func(string) v12.ServiceAccountInterface) *MockCoreV1InterfaceServiceAccountsCall
- func (c *MockCoreV1InterfaceServiceAccountsCall) Return(arg0 v12.ServiceAccountInterface) *MockCoreV1InterfaceServiceAccountsCall
- type MockCoreV1InterfaceServicesCall
- func (c *MockCoreV1InterfaceServicesCall) Do(f func(string) v12.ServiceInterface) *MockCoreV1InterfaceServicesCall
- func (c *MockCoreV1InterfaceServicesCall) DoAndReturn(f func(string) v12.ServiceInterface) *MockCoreV1InterfaceServicesCall
- func (c *MockCoreV1InterfaceServicesCall) Return(arg0 v12.ServiceInterface) *MockCoreV1InterfaceServicesCall
- type MockCustomResourceDefinitionInterface
- func (m *MockCustomResourceDefinitionInterface) Apply(ctx context.Context, ...) (*v1.CustomResourceDefinition, error)
- func (m *MockCustomResourceDefinitionInterface) ApplyStatus(ctx context.Context, ...) (*v1.CustomResourceDefinition, error)
- func (m *MockCustomResourceDefinitionInterface) Create(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinition, ...) (*v1.CustomResourceDefinition, error)
- func (m *MockCustomResourceDefinitionInterface) Delete(ctx context.Context, name string, opts v12.DeleteOptions) error
- func (m *MockCustomResourceDefinitionInterface) DeleteCollection(ctx context.Context, opts v12.DeleteOptions, listOpts v12.ListOptions) error
- func (m *MockCustomResourceDefinitionInterface) EXPECT() *MockCustomResourceDefinitionInterfaceMockRecorder
- func (m *MockCustomResourceDefinitionInterface) Get(ctx context.Context, name string, opts v12.GetOptions) (*v1.CustomResourceDefinition, error)
- func (m *MockCustomResourceDefinitionInterface) List(ctx context.Context, opts v12.ListOptions) (*v1.CustomResourceDefinitionList, error)
- func (m *MockCustomResourceDefinitionInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.CustomResourceDefinition, error)
- func (m *MockCustomResourceDefinitionInterface) Update(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinition, ...) (*v1.CustomResourceDefinition, error)
- func (m *MockCustomResourceDefinitionInterface) UpdateStatus(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinition, ...) (*v1.CustomResourceDefinition, error)
- func (m *MockCustomResourceDefinitionInterface) Watch(ctx context.Context, opts v12.ListOptions) (watch.Interface, error)
- type MockCustomResourceDefinitionInterfaceApplyCall
- func (c *MockCustomResourceDefinitionInterfaceApplyCall) Do(...) *MockCustomResourceDefinitionInterfaceApplyCall
- func (c *MockCustomResourceDefinitionInterfaceApplyCall) DoAndReturn(...) *MockCustomResourceDefinitionInterfaceApplyCall
- func (c *MockCustomResourceDefinitionInterfaceApplyCall) Return(result *v1.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterfaceApplyCall
- type MockCustomResourceDefinitionInterfaceApplyStatusCall
- func (c *MockCustomResourceDefinitionInterfaceApplyStatusCall) Do(...) *MockCustomResourceDefinitionInterfaceApplyStatusCall
- func (c *MockCustomResourceDefinitionInterfaceApplyStatusCall) DoAndReturn(...) *MockCustomResourceDefinitionInterfaceApplyStatusCall
- func (c *MockCustomResourceDefinitionInterfaceApplyStatusCall) Return(result *v1.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterfaceApplyStatusCall
- type MockCustomResourceDefinitionInterfaceCreateCall
- func (c *MockCustomResourceDefinitionInterfaceCreateCall) Do(...) *MockCustomResourceDefinitionInterfaceCreateCall
- func (c *MockCustomResourceDefinitionInterfaceCreateCall) DoAndReturn(...) *MockCustomResourceDefinitionInterfaceCreateCall
- func (c *MockCustomResourceDefinitionInterfaceCreateCall) Return(arg0 *v1.CustomResourceDefinition, arg1 error) *MockCustomResourceDefinitionInterfaceCreateCall
- type MockCustomResourceDefinitionInterfaceDeleteCall
- func (c *MockCustomResourceDefinitionInterfaceDeleteCall) Do(f func(context.Context, string, v12.DeleteOptions) error) *MockCustomResourceDefinitionInterfaceDeleteCall
- func (c *MockCustomResourceDefinitionInterfaceDeleteCall) DoAndReturn(f func(context.Context, string, v12.DeleteOptions) error) *MockCustomResourceDefinitionInterfaceDeleteCall
- func (c *MockCustomResourceDefinitionInterfaceDeleteCall) Return(arg0 error) *MockCustomResourceDefinitionInterfaceDeleteCall
- type MockCustomResourceDefinitionInterfaceDeleteCollectionCall
- func (c *MockCustomResourceDefinitionInterfaceDeleteCollectionCall) Do(f func(context.Context, v12.DeleteOptions, v12.ListOptions) error) *MockCustomResourceDefinitionInterfaceDeleteCollectionCall
- func (c *MockCustomResourceDefinitionInterfaceDeleteCollectionCall) DoAndReturn(f func(context.Context, v12.DeleteOptions, v12.ListOptions) error) *MockCustomResourceDefinitionInterfaceDeleteCollectionCall
- func (c *MockCustomResourceDefinitionInterfaceDeleteCollectionCall) Return(arg0 error) *MockCustomResourceDefinitionInterfaceDeleteCollectionCall
- type MockCustomResourceDefinitionInterfaceGetCall
- func (c *MockCustomResourceDefinitionInterfaceGetCall) Do(...) *MockCustomResourceDefinitionInterfaceGetCall
- func (c *MockCustomResourceDefinitionInterfaceGetCall) DoAndReturn(...) *MockCustomResourceDefinitionInterfaceGetCall
- func (c *MockCustomResourceDefinitionInterfaceGetCall) Return(arg0 *v1.CustomResourceDefinition, arg1 error) *MockCustomResourceDefinitionInterfaceGetCall
- type MockCustomResourceDefinitionInterfaceListCall
- func (c *MockCustomResourceDefinitionInterfaceListCall) Do(...) *MockCustomResourceDefinitionInterfaceListCall
- func (c *MockCustomResourceDefinitionInterfaceListCall) DoAndReturn(...) *MockCustomResourceDefinitionInterfaceListCall
- func (c *MockCustomResourceDefinitionInterfaceListCall) Return(arg0 *v1.CustomResourceDefinitionList, arg1 error) *MockCustomResourceDefinitionInterfaceListCall
- type MockCustomResourceDefinitionInterfaceMockRecorder
- func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Apply(ctx, customResourceDefinition, opts any) *MockCustomResourceDefinitionInterfaceApplyCall
- func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) ApplyStatus(ctx, customResourceDefinition, opts any) *MockCustomResourceDefinitionInterfaceApplyStatusCall
- func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Create(ctx, customResourceDefinition, opts any) *MockCustomResourceDefinitionInterfaceCreateCall
- func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Delete(ctx, name, opts any) *MockCustomResourceDefinitionInterfaceDeleteCall
- func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) DeleteCollection(ctx, opts, listOpts any) *MockCustomResourceDefinitionInterfaceDeleteCollectionCall
- func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Get(ctx, name, opts any) *MockCustomResourceDefinitionInterfaceGetCall
- func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) List(ctx, opts any) *MockCustomResourceDefinitionInterfaceListCall
- func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *MockCustomResourceDefinitionInterfacePatchCall
- func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Update(ctx, customResourceDefinition, opts any) *MockCustomResourceDefinitionInterfaceUpdateCall
- func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) UpdateStatus(ctx, customResourceDefinition, opts any) *MockCustomResourceDefinitionInterfaceUpdateStatusCall
- func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Watch(ctx, opts any) *MockCustomResourceDefinitionInterfaceWatchCall
- type MockCustomResourceDefinitionInterfacePatchCall
- func (c *MockCustomResourceDefinitionInterfacePatchCall) Do(...) *MockCustomResourceDefinitionInterfacePatchCall
- func (c *MockCustomResourceDefinitionInterfacePatchCall) DoAndReturn(...) *MockCustomResourceDefinitionInterfacePatchCall
- func (c *MockCustomResourceDefinitionInterfacePatchCall) Return(result *v1.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterfacePatchCall
- type MockCustomResourceDefinitionInterfaceUpdateCall
- func (c *MockCustomResourceDefinitionInterfaceUpdateCall) Do(...) *MockCustomResourceDefinitionInterfaceUpdateCall
- func (c *MockCustomResourceDefinitionInterfaceUpdateCall) DoAndReturn(...) *MockCustomResourceDefinitionInterfaceUpdateCall
- func (c *MockCustomResourceDefinitionInterfaceUpdateCall) Return(arg0 *v1.CustomResourceDefinition, arg1 error) *MockCustomResourceDefinitionInterfaceUpdateCall
- type MockCustomResourceDefinitionInterfaceUpdateStatusCall
- func (c *MockCustomResourceDefinitionInterfaceUpdateStatusCall) Do(...) *MockCustomResourceDefinitionInterfaceUpdateStatusCall
- func (c *MockCustomResourceDefinitionInterfaceUpdateStatusCall) DoAndReturn(...) *MockCustomResourceDefinitionInterfaceUpdateStatusCall
- func (c *MockCustomResourceDefinitionInterfaceUpdateStatusCall) Return(arg0 *v1.CustomResourceDefinition, arg1 error) *MockCustomResourceDefinitionInterfaceUpdateStatusCall
- type MockCustomResourceDefinitionInterfaceWatchCall
- func (c *MockCustomResourceDefinitionInterfaceWatchCall) Do(f func(context.Context, v12.ListOptions) (watch.Interface, error)) *MockCustomResourceDefinitionInterfaceWatchCall
- func (c *MockCustomResourceDefinitionInterfaceWatchCall) DoAndReturn(f func(context.Context, v12.ListOptions) (watch.Interface, error)) *MockCustomResourceDefinitionInterfaceWatchCall
- func (c *MockCustomResourceDefinitionInterfaceWatchCall) Return(arg0 watch.Interface, arg1 error) *MockCustomResourceDefinitionInterfaceWatchCall
- type MockFactory
- func (m *MockFactory) ClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error)
- func (m *MockFactory) DynamicClient() (dynamic.Interface, error)
- func (m *MockFactory) EXPECT() *MockFactoryMockRecorder
- func (m *MockFactory) KubernetesClientSet() (*kubernetes.Clientset, error)
- func (m *MockFactory) NewBuilder() *resource.Builder
- func (m *MockFactory) OpenAPISchema() (openapi0.Resources, error)
- func (m *MockFactory) OpenAPIV3Client() (openapi.Client, error)
- func (m *MockFactory) RESTClient() (*rest.RESTClient, error)
- func (m *MockFactory) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
- func (m *MockFactory) ToRESTConfig() (*rest.Config, error)
- func (m *MockFactory) ToRESTMapper() (meta.RESTMapper, error)
- func (m *MockFactory) ToRawKubeConfigLoader() clientcmd.ClientConfig
- func (m *MockFactory) UnstructuredClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error)
- func (m *MockFactory) Validator(validationDirective string) (validation.Schema, error)
- type MockFactoryClientForMappingCall
- func (c *MockFactoryClientForMappingCall) Do(f func(*meta.RESTMapping) (resource.RESTClient, error)) *MockFactoryClientForMappingCall
- func (c *MockFactoryClientForMappingCall) DoAndReturn(f func(*meta.RESTMapping) (resource.RESTClient, error)) *MockFactoryClientForMappingCall
- func (c *MockFactoryClientForMappingCall) Return(arg0 resource.RESTClient, arg1 error) *MockFactoryClientForMappingCall
- type MockFactoryDynamicClientCall
- func (c *MockFactoryDynamicClientCall) Do(f func() (dynamic.Interface, error)) *MockFactoryDynamicClientCall
- func (c *MockFactoryDynamicClientCall) DoAndReturn(f func() (dynamic.Interface, error)) *MockFactoryDynamicClientCall
- func (c *MockFactoryDynamicClientCall) Return(arg0 dynamic.Interface, arg1 error) *MockFactoryDynamicClientCall
- type MockFactoryKubernetesClientSetCall
- func (c *MockFactoryKubernetesClientSetCall) Do(f func() (*kubernetes.Clientset, error)) *MockFactoryKubernetesClientSetCall
- func (c *MockFactoryKubernetesClientSetCall) DoAndReturn(f func() (*kubernetes.Clientset, error)) *MockFactoryKubernetesClientSetCall
- func (c *MockFactoryKubernetesClientSetCall) Return(arg0 *kubernetes.Clientset, arg1 error) *MockFactoryKubernetesClientSetCall
- type MockFactoryMockRecorder
- func (mr *MockFactoryMockRecorder) ClientForMapping(mapping any) *MockFactoryClientForMappingCall
- func (mr *MockFactoryMockRecorder) DynamicClient() *MockFactoryDynamicClientCall
- func (mr *MockFactoryMockRecorder) KubernetesClientSet() *MockFactoryKubernetesClientSetCall
- func (mr *MockFactoryMockRecorder) NewBuilder() *MockFactoryNewBuilderCall
- func (mr *MockFactoryMockRecorder) OpenAPISchema() *MockFactoryOpenAPISchemaCall
- func (mr *MockFactoryMockRecorder) OpenAPIV3Client() *MockFactoryOpenAPIV3ClientCall
- func (mr *MockFactoryMockRecorder) RESTClient() *MockFactoryRESTClientCall
- func (mr *MockFactoryMockRecorder) ToDiscoveryClient() *MockFactoryToDiscoveryClientCall
- func (mr *MockFactoryMockRecorder) ToRESTConfig() *MockFactoryToRESTConfigCall
- func (mr *MockFactoryMockRecorder) ToRESTMapper() *MockFactoryToRESTMapperCall
- func (mr *MockFactoryMockRecorder) ToRawKubeConfigLoader() *MockFactoryToRawKubeConfigLoaderCall
- func (mr *MockFactoryMockRecorder) UnstructuredClientForMapping(mapping any) *MockFactoryUnstructuredClientForMappingCall
- func (mr *MockFactoryMockRecorder) Validator(validationDirective any) *MockFactoryValidatorCall
- type MockFactoryNewBuilderCall
- type MockFactoryOpenAPISchemaCall
- func (c *MockFactoryOpenAPISchemaCall) Do(f func() (openapi0.Resources, error)) *MockFactoryOpenAPISchemaCall
- func (c *MockFactoryOpenAPISchemaCall) DoAndReturn(f func() (openapi0.Resources, error)) *MockFactoryOpenAPISchemaCall
- func (c *MockFactoryOpenAPISchemaCall) Return(arg0 openapi0.Resources, arg1 error) *MockFactoryOpenAPISchemaCall
- type MockFactoryOpenAPIV3ClientCall
- func (c *MockFactoryOpenAPIV3ClientCall) Do(f func() (openapi.Client, error)) *MockFactoryOpenAPIV3ClientCall
- func (c *MockFactoryOpenAPIV3ClientCall) DoAndReturn(f func() (openapi.Client, error)) *MockFactoryOpenAPIV3ClientCall
- func (c *MockFactoryOpenAPIV3ClientCall) Return(arg0 openapi.Client, arg1 error) *MockFactoryOpenAPIV3ClientCall
- type MockFactoryRESTClientCall
- func (c *MockFactoryRESTClientCall) Do(f func() (*rest.RESTClient, error)) *MockFactoryRESTClientCall
- func (c *MockFactoryRESTClientCall) DoAndReturn(f func() (*rest.RESTClient, error)) *MockFactoryRESTClientCall
- func (c *MockFactoryRESTClientCall) Return(arg0 *rest.RESTClient, arg1 error) *MockFactoryRESTClientCall
- type MockFactoryToDiscoveryClientCall
- func (c *MockFactoryToDiscoveryClientCall) Do(f func() (discovery.CachedDiscoveryInterface, error)) *MockFactoryToDiscoveryClientCall
- func (c *MockFactoryToDiscoveryClientCall) DoAndReturn(f func() (discovery.CachedDiscoveryInterface, error)) *MockFactoryToDiscoveryClientCall
- func (c *MockFactoryToDiscoveryClientCall) Return(arg0 discovery.CachedDiscoveryInterface, arg1 error) *MockFactoryToDiscoveryClientCall
- type MockFactoryToRESTConfigCall
- func (c *MockFactoryToRESTConfigCall) Do(f func() (*rest.Config, error)) *MockFactoryToRESTConfigCall
- func (c *MockFactoryToRESTConfigCall) DoAndReturn(f func() (*rest.Config, error)) *MockFactoryToRESTConfigCall
- func (c *MockFactoryToRESTConfigCall) Return(arg0 *rest.Config, arg1 error) *MockFactoryToRESTConfigCall
- type MockFactoryToRESTMapperCall
- func (c *MockFactoryToRESTMapperCall) Do(f func() (meta.RESTMapper, error)) *MockFactoryToRESTMapperCall
- func (c *MockFactoryToRESTMapperCall) DoAndReturn(f func() (meta.RESTMapper, error)) *MockFactoryToRESTMapperCall
- func (c *MockFactoryToRESTMapperCall) Return(arg0 meta.RESTMapper, arg1 error) *MockFactoryToRESTMapperCall
- type MockFactoryToRawKubeConfigLoaderCall
- func (c *MockFactoryToRawKubeConfigLoaderCall) Do(f func() clientcmd.ClientConfig) *MockFactoryToRawKubeConfigLoaderCall
- func (c *MockFactoryToRawKubeConfigLoaderCall) DoAndReturn(f func() clientcmd.ClientConfig) *MockFactoryToRawKubeConfigLoaderCall
- func (c *MockFactoryToRawKubeConfigLoaderCall) Return(arg0 clientcmd.ClientConfig) *MockFactoryToRawKubeConfigLoaderCall
- type MockFactoryUnstructuredClientForMappingCall
- func (c *MockFactoryUnstructuredClientForMappingCall) Do(f func(*meta.RESTMapping) (resource.RESTClient, error)) *MockFactoryUnstructuredClientForMappingCall
- func (c *MockFactoryUnstructuredClientForMappingCall) DoAndReturn(f func(*meta.RESTMapping) (resource.RESTClient, error)) *MockFactoryUnstructuredClientForMappingCall
- func (c *MockFactoryUnstructuredClientForMappingCall) Return(arg0 resource.RESTClient, arg1 error) *MockFactoryUnstructuredClientForMappingCall
- type MockFactoryValidatorCall
- func (c *MockFactoryValidatorCall) Do(f func(string) (validation.Schema, error)) *MockFactoryValidatorCall
- func (c *MockFactoryValidatorCall) DoAndReturn(f func(string) (validation.Schema, error)) *MockFactoryValidatorCall
- func (c *MockFactoryValidatorCall) Return(arg0 validation.Schema, arg1 error) *MockFactoryValidatorCall
- type MockGenericLister
- func (m *MockGenericLister) ByNamespace(namespace string) cache.GenericNamespaceLister
- func (m *MockGenericLister) EXPECT() *MockGenericListerMockRecorder
- func (m *MockGenericLister) Get(name string) (runtime.Object, error)
- func (m *MockGenericLister) List(selector labels.Selector) ([]runtime.Object, error)
- type MockGenericListerByNamespaceCall
- func (c *MockGenericListerByNamespaceCall) Do(f func(string) cache.GenericNamespaceLister) *MockGenericListerByNamespaceCall
- func (c *MockGenericListerByNamespaceCall) DoAndReturn(f func(string) cache.GenericNamespaceLister) *MockGenericListerByNamespaceCall
- func (c *MockGenericListerByNamespaceCall) Return(arg0 cache.GenericNamespaceLister) *MockGenericListerByNamespaceCall
- type MockGenericListerGetCall
- func (c *MockGenericListerGetCall) Do(f func(string) (runtime.Object, error)) *MockGenericListerGetCall
- func (c *MockGenericListerGetCall) DoAndReturn(f func(string) (runtime.Object, error)) *MockGenericListerGetCall
- func (c *MockGenericListerGetCall) Return(arg0 runtime.Object, arg1 error) *MockGenericListerGetCall
- type MockGenericListerListCall
- func (c *MockGenericListerListCall) Do(f func(labels.Selector) ([]runtime.Object, error)) *MockGenericListerListCall
- func (c *MockGenericListerListCall) DoAndReturn(f func(labels.Selector) ([]runtime.Object, error)) *MockGenericListerListCall
- func (c *MockGenericListerListCall) Return(ret []runtime.Object, err error) *MockGenericListerListCall
- type MockGenericListerMockRecorder
- type MockGenericNamespaceLister
- type MockGenericNamespaceListerGetCall
- func (c *MockGenericNamespaceListerGetCall) Do(f func(string) (runtime.Object, error)) *MockGenericNamespaceListerGetCall
- func (c *MockGenericNamespaceListerGetCall) DoAndReturn(f func(string) (runtime.Object, error)) *MockGenericNamespaceListerGetCall
- func (c *MockGenericNamespaceListerGetCall) Return(arg0 runtime.Object, arg1 error) *MockGenericNamespaceListerGetCall
- type MockGenericNamespaceListerListCall
- func (c *MockGenericNamespaceListerListCall) Do(f func(labels.Selector) ([]runtime.Object, error)) *MockGenericNamespaceListerListCall
- func (c *MockGenericNamespaceListerListCall) DoAndReturn(f func(labels.Selector) ([]runtime.Object, error)) *MockGenericNamespaceListerListCall
- func (c *MockGenericNamespaceListerListCall) Return(ret []runtime.Object, err error) *MockGenericNamespaceListerListCall
- type MockGenericNamespaceListerMockRecorder
- type MockIndexer
- func (m *MockIndexer) Add(obj any) error
- func (m *MockIndexer) AddIndexers(newIndexers cache.Indexers) error
- func (m *MockIndexer) ByIndex(indexName, indexedValue string) ([]any, error)
- func (m *MockIndexer) Delete(obj any) error
- func (m *MockIndexer) EXPECT() *MockIndexerMockRecorder
- func (m *MockIndexer) Get(obj any) (any, bool, error)
- func (m *MockIndexer) GetByKey(key string) (any, bool, error)
- func (m *MockIndexer) GetIndexers() cache.Indexers
- func (m *MockIndexer) Index(indexName string, obj any) ([]any, error)
- func (m *MockIndexer) IndexKeys(indexName, indexedValue string) ([]string, error)
- func (m *MockIndexer) List() []any
- func (m *MockIndexer) ListIndexFuncValues(indexName string) []string
- func (m *MockIndexer) ListKeys() []string
- func (m *MockIndexer) Replace(arg0 []any, arg1 string) error
- func (m *MockIndexer) Resync() error
- func (m *MockIndexer) Update(obj any) error
- type MockIndexerAddCall
- type MockIndexerAddIndexersCall
- type MockIndexerByIndexCall
- type MockIndexerDeleteCall
- type MockIndexerGetByKeyCall
- func (c *MockIndexerGetByKeyCall) Do(f func(string) (any, bool, error)) *MockIndexerGetByKeyCall
- func (c *MockIndexerGetByKeyCall) DoAndReturn(f func(string) (any, bool, error)) *MockIndexerGetByKeyCall
- func (c *MockIndexerGetByKeyCall) Return(item any, exists bool, err error) *MockIndexerGetByKeyCall
- type MockIndexerGetCall
- type MockIndexerGetIndexersCall
- type MockIndexerIndexCall
- type MockIndexerIndexKeysCall
- func (c *MockIndexerIndexKeysCall) Do(f func(string, string) ([]string, error)) *MockIndexerIndexKeysCall
- func (c *MockIndexerIndexKeysCall) DoAndReturn(f func(string, string) ([]string, error)) *MockIndexerIndexKeysCall
- func (c *MockIndexerIndexKeysCall) Return(arg0 []string, arg1 error) *MockIndexerIndexKeysCall
- type MockIndexerListCall
- type MockIndexerListIndexFuncValuesCall
- func (c *MockIndexerListIndexFuncValuesCall) Do(f func(string) []string) *MockIndexerListIndexFuncValuesCall
- func (c *MockIndexerListIndexFuncValuesCall) DoAndReturn(f func(string) []string) *MockIndexerListIndexFuncValuesCall
- func (c *MockIndexerListIndexFuncValuesCall) Return(arg0 []string) *MockIndexerListIndexFuncValuesCall
- type MockIndexerListKeysCall
- type MockIndexerMockRecorder
- func (mr *MockIndexerMockRecorder) Add(obj any) *MockIndexerAddCall
- func (mr *MockIndexerMockRecorder) AddIndexers(newIndexers any) *MockIndexerAddIndexersCall
- func (mr *MockIndexerMockRecorder) ByIndex(indexName, indexedValue any) *MockIndexerByIndexCall
- func (mr *MockIndexerMockRecorder) Delete(obj any) *MockIndexerDeleteCall
- func (mr *MockIndexerMockRecorder) Get(obj any) *MockIndexerGetCall
- func (mr *MockIndexerMockRecorder) GetByKey(key any) *MockIndexerGetByKeyCall
- func (mr *MockIndexerMockRecorder) GetIndexers() *MockIndexerGetIndexersCall
- func (mr *MockIndexerMockRecorder) Index(indexName, obj any) *MockIndexerIndexCall
- func (mr *MockIndexerMockRecorder) IndexKeys(indexName, indexedValue any) *MockIndexerIndexKeysCall
- func (mr *MockIndexerMockRecorder) List() *MockIndexerListCall
- func (mr *MockIndexerMockRecorder) ListIndexFuncValues(indexName any) *MockIndexerListIndexFuncValuesCall
- func (mr *MockIndexerMockRecorder) ListKeys() *MockIndexerListKeysCall
- func (mr *MockIndexerMockRecorder) Replace(arg0, arg1 any) *MockIndexerReplaceCall
- func (mr *MockIndexerMockRecorder) Resync() *MockIndexerResyncCall
- func (mr *MockIndexerMockRecorder) Update(obj any) *MockIndexerUpdateCall
- type MockIndexerReplaceCall
- type MockIndexerResyncCall
- type MockIndexerUpdateCall
- type MockNamespaceableResourceInterface
- func (m *MockNamespaceableResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, ...) error
- func (m *MockNamespaceableResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error
- func (m *MockNamespaceableResourceInterface) EXPECT() *MockNamespaceableResourceInterfaceMockRecorder
- func (m *MockNamespaceableResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (m *MockNamespaceableResourceInterface) Namespace(arg0 string) dynamic.ResourceInterface
- func (m *MockNamespaceableResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type MockNamespaceableResourceInterfaceApplyCall
- func (c *MockNamespaceableResourceInterfaceApplyCall) Do(...) *MockNamespaceableResourceInterfaceApplyCall
- func (c *MockNamespaceableResourceInterfaceApplyCall) DoAndReturn(...) *MockNamespaceableResourceInterfaceApplyCall
- func (c *MockNamespaceableResourceInterfaceApplyCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfaceApplyCall
- type MockNamespaceableResourceInterfaceApplyStatusCall
- func (c *MockNamespaceableResourceInterfaceApplyStatusCall) Do(...) *MockNamespaceableResourceInterfaceApplyStatusCall
- func (c *MockNamespaceableResourceInterfaceApplyStatusCall) DoAndReturn(...) *MockNamespaceableResourceInterfaceApplyStatusCall
- func (c *MockNamespaceableResourceInterfaceApplyStatusCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfaceApplyStatusCall
- type MockNamespaceableResourceInterfaceCreateCall
- func (c *MockNamespaceableResourceInterfaceCreateCall) Do(...) *MockNamespaceableResourceInterfaceCreateCall
- func (c *MockNamespaceableResourceInterfaceCreateCall) DoAndReturn(...) *MockNamespaceableResourceInterfaceCreateCall
- func (c *MockNamespaceableResourceInterfaceCreateCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfaceCreateCall
- type MockNamespaceableResourceInterfaceDeleteCall
- func (c *MockNamespaceableResourceInterfaceDeleteCall) Do(f func(context.Context, string, v1.DeleteOptions, ...string) error) *MockNamespaceableResourceInterfaceDeleteCall
- func (c *MockNamespaceableResourceInterfaceDeleteCall) DoAndReturn(f func(context.Context, string, v1.DeleteOptions, ...string) error) *MockNamespaceableResourceInterfaceDeleteCall
- func (c *MockNamespaceableResourceInterfaceDeleteCall) Return(arg0 error) *MockNamespaceableResourceInterfaceDeleteCall
- type MockNamespaceableResourceInterfaceDeleteCollectionCall
- func (c *MockNamespaceableResourceInterfaceDeleteCollectionCall) Do(f func(context.Context, v1.DeleteOptions, v1.ListOptions) error) *MockNamespaceableResourceInterfaceDeleteCollectionCall
- func (c *MockNamespaceableResourceInterfaceDeleteCollectionCall) DoAndReturn(f func(context.Context, v1.DeleteOptions, v1.ListOptions) error) *MockNamespaceableResourceInterfaceDeleteCollectionCall
- func (c *MockNamespaceableResourceInterfaceDeleteCollectionCall) Return(arg0 error) *MockNamespaceableResourceInterfaceDeleteCollectionCall
- type MockNamespaceableResourceInterfaceGetCall
- func (c *MockNamespaceableResourceInterfaceGetCall) Do(...) *MockNamespaceableResourceInterfaceGetCall
- func (c *MockNamespaceableResourceInterfaceGetCall) DoAndReturn(...) *MockNamespaceableResourceInterfaceGetCall
- func (c *MockNamespaceableResourceInterfaceGetCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfaceGetCall
- type MockNamespaceableResourceInterfaceListCall
- func (c *MockNamespaceableResourceInterfaceListCall) Do(...) *MockNamespaceableResourceInterfaceListCall
- func (c *MockNamespaceableResourceInterfaceListCall) DoAndReturn(...) *MockNamespaceableResourceInterfaceListCall
- func (c *MockNamespaceableResourceInterfaceListCall) Return(arg0 *unstructured.UnstructuredList, arg1 error) *MockNamespaceableResourceInterfaceListCall
- type MockNamespaceableResourceInterfaceMockRecorder
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Apply(ctx, name, obj, options any, subresources ...any) *MockNamespaceableResourceInterfaceApplyCall
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) ApplyStatus(ctx, name, obj, options any) *MockNamespaceableResourceInterfaceApplyStatusCall
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Create(ctx, obj, options any, subresources ...any) *MockNamespaceableResourceInterfaceCreateCall
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Delete(ctx, name, options any, subresources ...any) *MockNamespaceableResourceInterfaceDeleteCall
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions any) *MockNamespaceableResourceInterfaceDeleteCollectionCall
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Get(ctx, name, options any, subresources ...any) *MockNamespaceableResourceInterfaceGetCall
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) List(ctx, opts any) *MockNamespaceableResourceInterfaceListCall
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Namespace(arg0 any) *MockNamespaceableResourceInterfaceNamespaceCall
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options any, subresources ...any) *MockNamespaceableResourceInterfacePatchCall
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Update(ctx, obj, options any, subresources ...any) *MockNamespaceableResourceInterfaceUpdateCall
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options any) *MockNamespaceableResourceInterfaceUpdateStatusCall
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Watch(ctx, opts any) *MockNamespaceableResourceInterfaceWatchCall
- type MockNamespaceableResourceInterfaceNamespaceCall
- func (c *MockNamespaceableResourceInterfaceNamespaceCall) Do(f func(string) dynamic.ResourceInterface) *MockNamespaceableResourceInterfaceNamespaceCall
- func (c *MockNamespaceableResourceInterfaceNamespaceCall) DoAndReturn(f func(string) dynamic.ResourceInterface) *MockNamespaceableResourceInterfaceNamespaceCall
- func (c *MockNamespaceableResourceInterfaceNamespaceCall) Return(arg0 dynamic.ResourceInterface) *MockNamespaceableResourceInterfaceNamespaceCall
- type MockNamespaceableResourceInterfacePatchCall
- func (c *MockNamespaceableResourceInterfacePatchCall) Do(...) *MockNamespaceableResourceInterfacePatchCall
- func (c *MockNamespaceableResourceInterfacePatchCall) DoAndReturn(...) *MockNamespaceableResourceInterfacePatchCall
- func (c *MockNamespaceableResourceInterfacePatchCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfacePatchCall
- type MockNamespaceableResourceInterfaceUpdateCall
- func (c *MockNamespaceableResourceInterfaceUpdateCall) Do(...) *MockNamespaceableResourceInterfaceUpdateCall
- func (c *MockNamespaceableResourceInterfaceUpdateCall) DoAndReturn(...) *MockNamespaceableResourceInterfaceUpdateCall
- func (c *MockNamespaceableResourceInterfaceUpdateCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfaceUpdateCall
- type MockNamespaceableResourceInterfaceUpdateStatusCall
- func (c *MockNamespaceableResourceInterfaceUpdateStatusCall) Do(...) *MockNamespaceableResourceInterfaceUpdateStatusCall
- func (c *MockNamespaceableResourceInterfaceUpdateStatusCall) DoAndReturn(...) *MockNamespaceableResourceInterfaceUpdateStatusCall
- func (c *MockNamespaceableResourceInterfaceUpdateStatusCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfaceUpdateStatusCall
- type MockNamespaceableResourceInterfaceWatchCall
- func (c *MockNamespaceableResourceInterfaceWatchCall) Do(f func(context.Context, v1.ListOptions) (watch.Interface, error)) *MockNamespaceableResourceInterfaceWatchCall
- func (c *MockNamespaceableResourceInterfaceWatchCall) DoAndReturn(f func(context.Context, v1.ListOptions) (watch.Interface, error)) *MockNamespaceableResourceInterfaceWatchCall
- func (c *MockNamespaceableResourceInterfaceWatchCall) Return(arg0 watch.Interface, arg1 error) *MockNamespaceableResourceInterfaceWatchCall
- type MockRESTClientGetter
- func (m *MockRESTClientGetter) EXPECT() *MockRESTClientGetterMockRecorder
- func (m *MockRESTClientGetter) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
- func (m *MockRESTClientGetter) ToRESTConfig() (*rest.Config, error)
- func (m *MockRESTClientGetter) ToRESTMapper() (meta.RESTMapper, error)
- type MockRESTClientGetterMockRecorder
- func (mr *MockRESTClientGetterMockRecorder) ToDiscoveryClient() *MockRESTClientGetterToDiscoveryClientCall
- func (mr *MockRESTClientGetterMockRecorder) ToRESTConfig() *MockRESTClientGetterToRESTConfigCall
- func (mr *MockRESTClientGetterMockRecorder) ToRESTMapper() *MockRESTClientGetterToRESTMapperCall
- type MockRESTClientGetterToDiscoveryClientCall
- func (c *MockRESTClientGetterToDiscoveryClientCall) Do(f func() (discovery.CachedDiscoveryInterface, error)) *MockRESTClientGetterToDiscoveryClientCall
- func (c *MockRESTClientGetterToDiscoveryClientCall) DoAndReturn(f func() (discovery.CachedDiscoveryInterface, error)) *MockRESTClientGetterToDiscoveryClientCall
- func (c *MockRESTClientGetterToDiscoveryClientCall) Return(arg0 discovery.CachedDiscoveryInterface, arg1 error) *MockRESTClientGetterToDiscoveryClientCall
- type MockRESTClientGetterToRESTConfigCall
- func (c *MockRESTClientGetterToRESTConfigCall) Do(f func() (*rest.Config, error)) *MockRESTClientGetterToRESTConfigCall
- func (c *MockRESTClientGetterToRESTConfigCall) DoAndReturn(f func() (*rest.Config, error)) *MockRESTClientGetterToRESTConfigCall
- func (c *MockRESTClientGetterToRESTConfigCall) Return(arg0 *rest.Config, arg1 error) *MockRESTClientGetterToRESTConfigCall
- type MockRESTClientGetterToRESTMapperCall
- func (c *MockRESTClientGetterToRESTMapperCall) Do(f func() (meta.RESTMapper, error)) *MockRESTClientGetterToRESTMapperCall
- func (c *MockRESTClientGetterToRESTMapperCall) DoAndReturn(f func() (meta.RESTMapper, error)) *MockRESTClientGetterToRESTMapperCall
- func (c *MockRESTClientGetterToRESTMapperCall) Return(arg0 meta.RESTMapper, arg1 error) *MockRESTClientGetterToRESTMapperCall
- type MockRateLimitingWorkqueue
- func (m *MockRateLimitingWorkqueue[T]) Add(item T)
- func (m *MockRateLimitingWorkqueue[T]) AddAfter(item T, duration time.Duration)
- func (m *MockRateLimitingWorkqueue[T]) AddRateLimited(item T)
- func (m *MockRateLimitingWorkqueue[T]) Done(item T)
- func (m *MockRateLimitingWorkqueue[T]) EXPECT() *MockRateLimitingWorkqueueMockRecorder[T]
- func (m *MockRateLimitingWorkqueue[T]) Forget(item T)
- func (m *MockRateLimitingWorkqueue[T]) Get() (T, bool)
- func (m *MockRateLimitingWorkqueue[T]) Len() int
- func (m *MockRateLimitingWorkqueue[T]) NumRequeues(item T) int
- func (m *MockRateLimitingWorkqueue[T]) ShutDown()
- func (m *MockRateLimitingWorkqueue[T]) ShutDownWithDrain()
- func (m *MockRateLimitingWorkqueue[T]) ShuttingDown() bool
- type MockRateLimitingWorkqueueAddAfterCall
- func (c *MockRateLimitingWorkqueueAddAfterCall[T]) Do(f func(T, time.Duration)) *MockRateLimitingWorkqueueAddAfterCall[T]
- func (c *MockRateLimitingWorkqueueAddAfterCall[T]) DoAndReturn(f func(T, time.Duration)) *MockRateLimitingWorkqueueAddAfterCall[T]
- func (c *MockRateLimitingWorkqueueAddAfterCall[T]) Return() *MockRateLimitingWorkqueueAddAfterCall[T]
- type MockRateLimitingWorkqueueAddCall
- type MockRateLimitingWorkqueueAddRateLimitedCall
- func (c *MockRateLimitingWorkqueueAddRateLimitedCall[T]) Do(f func(T)) *MockRateLimitingWorkqueueAddRateLimitedCall[T]
- func (c *MockRateLimitingWorkqueueAddRateLimitedCall[T]) DoAndReturn(f func(T)) *MockRateLimitingWorkqueueAddRateLimitedCall[T]
- func (c *MockRateLimitingWorkqueueAddRateLimitedCall[T]) Return() *MockRateLimitingWorkqueueAddRateLimitedCall[T]
- type MockRateLimitingWorkqueueDoneCall
- func (c *MockRateLimitingWorkqueueDoneCall[T]) Do(f func(T)) *MockRateLimitingWorkqueueDoneCall[T]
- func (c *MockRateLimitingWorkqueueDoneCall[T]) DoAndReturn(f func(T)) *MockRateLimitingWorkqueueDoneCall[T]
- func (c *MockRateLimitingWorkqueueDoneCall[T]) Return() *MockRateLimitingWorkqueueDoneCall[T]
- type MockRateLimitingWorkqueueForgetCall
- func (c *MockRateLimitingWorkqueueForgetCall[T]) Do(f func(T)) *MockRateLimitingWorkqueueForgetCall[T]
- func (c *MockRateLimitingWorkqueueForgetCall[T]) DoAndReturn(f func(T)) *MockRateLimitingWorkqueueForgetCall[T]
- func (c *MockRateLimitingWorkqueueForgetCall[T]) Return() *MockRateLimitingWorkqueueForgetCall[T]
- type MockRateLimitingWorkqueueGetCall
- func (c *MockRateLimitingWorkqueueGetCall[T]) Do(f func() (T, bool)) *MockRateLimitingWorkqueueGetCall[T]
- func (c *MockRateLimitingWorkqueueGetCall[T]) DoAndReturn(f func() (T, bool)) *MockRateLimitingWorkqueueGetCall[T]
- func (c *MockRateLimitingWorkqueueGetCall[T]) Return(item T, shutdown bool) *MockRateLimitingWorkqueueGetCall[T]
- type MockRateLimitingWorkqueueLenCall
- func (c *MockRateLimitingWorkqueueLenCall[T]) Do(f func() int) *MockRateLimitingWorkqueueLenCall[T]
- func (c *MockRateLimitingWorkqueueLenCall[T]) DoAndReturn(f func() int) *MockRateLimitingWorkqueueLenCall[T]
- func (c *MockRateLimitingWorkqueueLenCall[T]) Return(arg0 int) *MockRateLimitingWorkqueueLenCall[T]
- type MockRateLimitingWorkqueueMockRecorder
- func (mr *MockRateLimitingWorkqueueMockRecorder[T]) Add(item any) *MockRateLimitingWorkqueueAddCall[T]
- func (mr *MockRateLimitingWorkqueueMockRecorder[T]) AddAfter(item, duration any) *MockRateLimitingWorkqueueAddAfterCall[T]
- func (mr *MockRateLimitingWorkqueueMockRecorder[T]) AddRateLimited(item any) *MockRateLimitingWorkqueueAddRateLimitedCall[T]
- func (mr *MockRateLimitingWorkqueueMockRecorder[T]) Done(item any) *MockRateLimitingWorkqueueDoneCall[T]
- func (mr *MockRateLimitingWorkqueueMockRecorder[T]) Forget(item any) *MockRateLimitingWorkqueueForgetCall[T]
- func (mr *MockRateLimitingWorkqueueMockRecorder[T]) Get() *MockRateLimitingWorkqueueGetCall[T]
- func (mr *MockRateLimitingWorkqueueMockRecorder[T]) Len() *MockRateLimitingWorkqueueLenCall[T]
- func (mr *MockRateLimitingWorkqueueMockRecorder[T]) NumRequeues(item any) *MockRateLimitingWorkqueueNumRequeuesCall[T]
- func (mr *MockRateLimitingWorkqueueMockRecorder[T]) ShutDown() *MockRateLimitingWorkqueueShutDownCall[T]
- func (mr *MockRateLimitingWorkqueueMockRecorder[T]) ShutDownWithDrain() *MockRateLimitingWorkqueueShutDownWithDrainCall[T]
- func (mr *MockRateLimitingWorkqueueMockRecorder[T]) ShuttingDown() *MockRateLimitingWorkqueueShuttingDownCall[T]
- type MockRateLimitingWorkqueueNumRequeuesCall
- func (c *MockRateLimitingWorkqueueNumRequeuesCall[T]) Do(f func(T) int) *MockRateLimitingWorkqueueNumRequeuesCall[T]
- func (c *MockRateLimitingWorkqueueNumRequeuesCall[T]) DoAndReturn(f func(T) int) *MockRateLimitingWorkqueueNumRequeuesCall[T]
- func (c *MockRateLimitingWorkqueueNumRequeuesCall[T]) Return(arg0 int) *MockRateLimitingWorkqueueNumRequeuesCall[T]
- type MockRateLimitingWorkqueueShutDownCall
- func (c *MockRateLimitingWorkqueueShutDownCall[T]) Do(f func()) *MockRateLimitingWorkqueueShutDownCall[T]
- func (c *MockRateLimitingWorkqueueShutDownCall[T]) DoAndReturn(f func()) *MockRateLimitingWorkqueueShutDownCall[T]
- func (c *MockRateLimitingWorkqueueShutDownCall[T]) Return() *MockRateLimitingWorkqueueShutDownCall[T]
- type MockRateLimitingWorkqueueShutDownWithDrainCall
- func (c *MockRateLimitingWorkqueueShutDownWithDrainCall[T]) Do(f func()) *MockRateLimitingWorkqueueShutDownWithDrainCall[T]
- func (c *MockRateLimitingWorkqueueShutDownWithDrainCall[T]) DoAndReturn(f func()) *MockRateLimitingWorkqueueShutDownWithDrainCall[T]
- func (c *MockRateLimitingWorkqueueShutDownWithDrainCall[T]) Return() *MockRateLimitingWorkqueueShutDownWithDrainCall[T]
- type MockRateLimitingWorkqueueShuttingDownCall
- func (c *MockRateLimitingWorkqueueShuttingDownCall[T]) Do(f func() bool) *MockRateLimitingWorkqueueShuttingDownCall[T]
- func (c *MockRateLimitingWorkqueueShuttingDownCall[T]) DoAndReturn(f func() bool) *MockRateLimitingWorkqueueShuttingDownCall[T]
- func (c *MockRateLimitingWorkqueueShuttingDownCall[T]) Return(arg0 bool) *MockRateLimitingWorkqueueShuttingDownCall[T]
- type MockResettableRESTMapper
- func (m *MockResettableRESTMapper) EXPECT() *MockResettableRESTMapperMockRecorder
- func (m *MockResettableRESTMapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
- func (m *MockResettableRESTMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
- func (m *MockResettableRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error)
- func (m *MockResettableRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error)
- func (m *MockResettableRESTMapper) Reset()
- func (m *MockResettableRESTMapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)
- func (m *MockResettableRESTMapper) ResourceSingularizer(resource string) (string, error)
- func (m *MockResettableRESTMapper) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
- type MockResettableRESTMapperKindForCall
- func (c *MockResettableRESTMapperKindForCall) Do(f func(schema.GroupVersionResource) (schema.GroupVersionKind, error)) *MockResettableRESTMapperKindForCall
- func (c *MockResettableRESTMapperKindForCall) DoAndReturn(f func(schema.GroupVersionResource) (schema.GroupVersionKind, error)) *MockResettableRESTMapperKindForCall
- func (c *MockResettableRESTMapperKindForCall) Return(arg0 schema.GroupVersionKind, arg1 error) *MockResettableRESTMapperKindForCall
- type MockResettableRESTMapperKindsForCall
- func (c *MockResettableRESTMapperKindsForCall) Do(f func(schema.GroupVersionResource) ([]schema.GroupVersionKind, error)) *MockResettableRESTMapperKindsForCall
- func (c *MockResettableRESTMapperKindsForCall) DoAndReturn(f func(schema.GroupVersionResource) ([]schema.GroupVersionKind, error)) *MockResettableRESTMapperKindsForCall
- func (c *MockResettableRESTMapperKindsForCall) Return(arg0 []schema.GroupVersionKind, arg1 error) *MockResettableRESTMapperKindsForCall
- type MockResettableRESTMapperMockRecorder
- func (mr *MockResettableRESTMapperMockRecorder) KindFor(resource any) *MockResettableRESTMapperKindForCall
- func (mr *MockResettableRESTMapperMockRecorder) KindsFor(resource any) *MockResettableRESTMapperKindsForCall
- func (mr *MockResettableRESTMapperMockRecorder) RESTMapping(gk any, versions ...any) *MockResettableRESTMapperRESTMappingCall
- func (mr *MockResettableRESTMapperMockRecorder) RESTMappings(gk any, versions ...any) *MockResettableRESTMapperRESTMappingsCall
- func (mr *MockResettableRESTMapperMockRecorder) Reset() *MockResettableRESTMapperResetCall
- func (mr *MockResettableRESTMapperMockRecorder) ResourceFor(input any) *MockResettableRESTMapperResourceForCall
- func (mr *MockResettableRESTMapperMockRecorder) ResourceSingularizer(resource any) *MockResettableRESTMapperResourceSingularizerCall
- func (mr *MockResettableRESTMapperMockRecorder) ResourcesFor(input any) *MockResettableRESTMapperResourcesForCall
- type MockResettableRESTMapperRESTMappingCall
- func (c *MockResettableRESTMapperRESTMappingCall) Do(f func(schema.GroupKind, ...string) (*meta.RESTMapping, error)) *MockResettableRESTMapperRESTMappingCall
- func (c *MockResettableRESTMapperRESTMappingCall) DoAndReturn(f func(schema.GroupKind, ...string) (*meta.RESTMapping, error)) *MockResettableRESTMapperRESTMappingCall
- func (c *MockResettableRESTMapperRESTMappingCall) Return(arg0 *meta.RESTMapping, arg1 error) *MockResettableRESTMapperRESTMappingCall
- type MockResettableRESTMapperRESTMappingsCall
- func (c *MockResettableRESTMapperRESTMappingsCall) Do(f func(schema.GroupKind, ...string) ([]*meta.RESTMapping, error)) *MockResettableRESTMapperRESTMappingsCall
- func (c *MockResettableRESTMapperRESTMappingsCall) DoAndReturn(f func(schema.GroupKind, ...string) ([]*meta.RESTMapping, error)) *MockResettableRESTMapperRESTMappingsCall
- func (c *MockResettableRESTMapperRESTMappingsCall) Return(arg0 []*meta.RESTMapping, arg1 error) *MockResettableRESTMapperRESTMappingsCall
- type MockResettableRESTMapperResetCall
- type MockResettableRESTMapperResourceForCall
- func (c *MockResettableRESTMapperResourceForCall) Do(f func(schema.GroupVersionResource) (schema.GroupVersionResource, error)) *MockResettableRESTMapperResourceForCall
- func (c *MockResettableRESTMapperResourceForCall) DoAndReturn(f func(schema.GroupVersionResource) (schema.GroupVersionResource, error)) *MockResettableRESTMapperResourceForCall
- func (c *MockResettableRESTMapperResourceForCall) Return(arg0 schema.GroupVersionResource, arg1 error) *MockResettableRESTMapperResourceForCall
- type MockResettableRESTMapperResourceSingularizerCall
- func (c *MockResettableRESTMapperResourceSingularizerCall) Do(f func(string) (string, error)) *MockResettableRESTMapperResourceSingularizerCall
- func (c *MockResettableRESTMapperResourceSingularizerCall) DoAndReturn(f func(string) (string, error)) *MockResettableRESTMapperResourceSingularizerCall
- func (c *MockResettableRESTMapperResourceSingularizerCall) Return(singular string, err error) *MockResettableRESTMapperResourceSingularizerCall
- type MockResettableRESTMapperResourcesForCall
- func (c *MockResettableRESTMapperResourcesForCall) Do(f func(schema.GroupVersionResource) ([]schema.GroupVersionResource, error)) *MockResettableRESTMapperResourcesForCall
- func (c *MockResettableRESTMapperResourcesForCall) DoAndReturn(f func(schema.GroupVersionResource) ([]schema.GroupVersionResource, error)) *MockResettableRESTMapperResourcesForCall
- func (c *MockResettableRESTMapperResourcesForCall) Return(arg0 []schema.GroupVersionResource, arg1 error) *MockResettableRESTMapperResourcesForCall
- type MockResourceInterface
- func (m *MockResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, ...) error
- func (m *MockResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error
- func (m *MockResourceInterface) EXPECT() *MockResourceInterfaceMockRecorder
- func (m *MockResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (m *MockResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type MockResourceInterfaceApplyCall
- type MockResourceInterfaceApplyStatusCall
- func (c *MockResourceInterfaceApplyStatusCall) Do(...) *MockResourceInterfaceApplyStatusCall
- func (c *MockResourceInterfaceApplyStatusCall) DoAndReturn(...) *MockResourceInterfaceApplyStatusCall
- func (c *MockResourceInterfaceApplyStatusCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockResourceInterfaceApplyStatusCall
- type MockResourceInterfaceCreateCall
- func (c *MockResourceInterfaceCreateCall) Do(...) *MockResourceInterfaceCreateCall
- func (c *MockResourceInterfaceCreateCall) DoAndReturn(...) *MockResourceInterfaceCreateCall
- func (c *MockResourceInterfaceCreateCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockResourceInterfaceCreateCall
- type MockResourceInterfaceDeleteCall
- func (c *MockResourceInterfaceDeleteCall) Do(f func(context.Context, string, v1.DeleteOptions, ...string) error) *MockResourceInterfaceDeleteCall
- func (c *MockResourceInterfaceDeleteCall) DoAndReturn(f func(context.Context, string, v1.DeleteOptions, ...string) error) *MockResourceInterfaceDeleteCall
- func (c *MockResourceInterfaceDeleteCall) Return(arg0 error) *MockResourceInterfaceDeleteCall
- type MockResourceInterfaceDeleteCollectionCall
- func (c *MockResourceInterfaceDeleteCollectionCall) Do(f func(context.Context, v1.DeleteOptions, v1.ListOptions) error) *MockResourceInterfaceDeleteCollectionCall
- func (c *MockResourceInterfaceDeleteCollectionCall) DoAndReturn(f func(context.Context, v1.DeleteOptions, v1.ListOptions) error) *MockResourceInterfaceDeleteCollectionCall
- func (c *MockResourceInterfaceDeleteCollectionCall) Return(arg0 error) *MockResourceInterfaceDeleteCollectionCall
- type MockResourceInterfaceGetCall
- type MockResourceInterfaceListCall
- type MockResourceInterfaceMockRecorder
- func (mr *MockResourceInterfaceMockRecorder) Apply(ctx, name, obj, options any, subresources ...any) *MockResourceInterfaceApplyCall
- func (mr *MockResourceInterfaceMockRecorder) ApplyStatus(ctx, name, obj, options any) *MockResourceInterfaceApplyStatusCall
- func (mr *MockResourceInterfaceMockRecorder) Create(ctx, obj, options any, subresources ...any) *MockResourceInterfaceCreateCall
- func (mr *MockResourceInterfaceMockRecorder) Delete(ctx, name, options any, subresources ...any) *MockResourceInterfaceDeleteCall
- func (mr *MockResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions any) *MockResourceInterfaceDeleteCollectionCall
- func (mr *MockResourceInterfaceMockRecorder) Get(ctx, name, options any, subresources ...any) *MockResourceInterfaceGetCall
- func (mr *MockResourceInterfaceMockRecorder) List(ctx, opts any) *MockResourceInterfaceListCall
- func (mr *MockResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options any, subresources ...any) *MockResourceInterfacePatchCall
- func (mr *MockResourceInterfaceMockRecorder) Update(ctx, obj, options any, subresources ...any) *MockResourceInterfaceUpdateCall
- func (mr *MockResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options any) *MockResourceInterfaceUpdateStatusCall
- func (mr *MockResourceInterfaceMockRecorder) Watch(ctx, opts any) *MockResourceInterfaceWatchCall
- type MockResourceInterfacePatchCall
- type MockResourceInterfaceUpdateCall
- func (c *MockResourceInterfaceUpdateCall) Do(...) *MockResourceInterfaceUpdateCall
- func (c *MockResourceInterfaceUpdateCall) DoAndReturn(...) *MockResourceInterfaceUpdateCall
- func (c *MockResourceInterfaceUpdateCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockResourceInterfaceUpdateCall
- type MockResourceInterfaceUpdateStatusCall
- func (c *MockResourceInterfaceUpdateStatusCall) Do(...) *MockResourceInterfaceUpdateStatusCall
- func (c *MockResourceInterfaceUpdateStatusCall) DoAndReturn(...) *MockResourceInterfaceUpdateStatusCall
- func (c *MockResourceInterfaceUpdateStatusCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockResourceInterfaceUpdateStatusCall
- type MockResourceInterfaceWatchCall
- func (c *MockResourceInterfaceWatchCall) Do(f func(context.Context, v1.ListOptions) (watch.Interface, error)) *MockResourceInterfaceWatchCall
- func (c *MockResourceInterfaceWatchCall) DoAndReturn(f func(context.Context, v1.ListOptions) (watch.Interface, error)) *MockResourceInterfaceWatchCall
- func (c *MockResourceInterfaceWatchCall) Return(arg0 watch.Interface, arg1 error) *MockResourceInterfaceWatchCall
- type MockSecretInterface
- func (m *MockSecretInterface) Apply(ctx context.Context, secret *v11.SecretApplyConfiguration, ...) (*v1.Secret, error)
- func (m *MockSecretInterface) Create(ctx context.Context, secret *v1.Secret, opts v10.CreateOptions) (*v1.Secret, error)
- func (m *MockSecretInterface) Delete(ctx context.Context, name string, opts v10.DeleteOptions) error
- func (m *MockSecretInterface) DeleteCollection(ctx context.Context, opts v10.DeleteOptions, listOpts v10.ListOptions) error
- func (m *MockSecretInterface) EXPECT() *MockSecretInterfaceMockRecorder
- func (m *MockSecretInterface) Get(ctx context.Context, name string, opts v10.GetOptions) (*v1.Secret, error)
- func (m *MockSecretInterface) List(ctx context.Context, opts v10.ListOptions) (*v1.SecretList, error)
- func (m *MockSecretInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.Secret, error)
- func (m *MockSecretInterface) Update(ctx context.Context, secret *v1.Secret, opts v10.UpdateOptions) (*v1.Secret, error)
- func (m *MockSecretInterface) Watch(ctx context.Context, opts v10.ListOptions) (watch.Interface, error)
- type MockSecretInterfaceApplyCall
- type MockSecretInterfaceCreateCall
- func (c *MockSecretInterfaceCreateCall) Do(f func(context.Context, *v1.Secret, v10.CreateOptions) (*v1.Secret, error)) *MockSecretInterfaceCreateCall
- func (c *MockSecretInterfaceCreateCall) DoAndReturn(f func(context.Context, *v1.Secret, v10.CreateOptions) (*v1.Secret, error)) *MockSecretInterfaceCreateCall
- func (c *MockSecretInterfaceCreateCall) Return(arg0 *v1.Secret, arg1 error) *MockSecretInterfaceCreateCall
- type MockSecretInterfaceDeleteCall
- func (c *MockSecretInterfaceDeleteCall) Do(f func(context.Context, string, v10.DeleteOptions) error) *MockSecretInterfaceDeleteCall
- func (c *MockSecretInterfaceDeleteCall) DoAndReturn(f func(context.Context, string, v10.DeleteOptions) error) *MockSecretInterfaceDeleteCall
- func (c *MockSecretInterfaceDeleteCall) Return(arg0 error) *MockSecretInterfaceDeleteCall
- type MockSecretInterfaceDeleteCollectionCall
- func (c *MockSecretInterfaceDeleteCollectionCall) Do(f func(context.Context, v10.DeleteOptions, v10.ListOptions) error) *MockSecretInterfaceDeleteCollectionCall
- func (c *MockSecretInterfaceDeleteCollectionCall) DoAndReturn(f func(context.Context, v10.DeleteOptions, v10.ListOptions) error) *MockSecretInterfaceDeleteCollectionCall
- func (c *MockSecretInterfaceDeleteCollectionCall) Return(arg0 error) *MockSecretInterfaceDeleteCollectionCall
- type MockSecretInterfaceGetCall
- func (c *MockSecretInterfaceGetCall) Do(f func(context.Context, string, v10.GetOptions) (*v1.Secret, error)) *MockSecretInterfaceGetCall
- func (c *MockSecretInterfaceGetCall) DoAndReturn(f func(context.Context, string, v10.GetOptions) (*v1.Secret, error)) *MockSecretInterfaceGetCall
- func (c *MockSecretInterfaceGetCall) Return(arg0 *v1.Secret, arg1 error) *MockSecretInterfaceGetCall
- type MockSecretInterfaceListCall
- func (c *MockSecretInterfaceListCall) Do(f func(context.Context, v10.ListOptions) (*v1.SecretList, error)) *MockSecretInterfaceListCall
- func (c *MockSecretInterfaceListCall) DoAndReturn(f func(context.Context, v10.ListOptions) (*v1.SecretList, error)) *MockSecretInterfaceListCall
- func (c *MockSecretInterfaceListCall) Return(arg0 *v1.SecretList, arg1 error) *MockSecretInterfaceListCall
- type MockSecretInterfaceMockRecorder
- func (mr *MockSecretInterfaceMockRecorder) Apply(ctx, secret, opts any) *MockSecretInterfaceApplyCall
- func (mr *MockSecretInterfaceMockRecorder) Create(ctx, secret, opts any) *MockSecretInterfaceCreateCall
- func (mr *MockSecretInterfaceMockRecorder) Delete(ctx, name, opts any) *MockSecretInterfaceDeleteCall
- func (mr *MockSecretInterfaceMockRecorder) DeleteCollection(ctx, opts, listOpts any) *MockSecretInterfaceDeleteCollectionCall
- func (mr *MockSecretInterfaceMockRecorder) Get(ctx, name, opts any) *MockSecretInterfaceGetCall
- func (mr *MockSecretInterfaceMockRecorder) List(ctx, opts any) *MockSecretInterfaceListCall
- func (mr *MockSecretInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *MockSecretInterfacePatchCall
- func (mr *MockSecretInterfaceMockRecorder) Update(ctx, secret, opts any) *MockSecretInterfaceUpdateCall
- func (mr *MockSecretInterfaceMockRecorder) Watch(ctx, opts any) *MockSecretInterfaceWatchCall
- type MockSecretInterfacePatchCall
- type MockSecretInterfaceUpdateCall
- func (c *MockSecretInterfaceUpdateCall) Do(f func(context.Context, *v1.Secret, v10.UpdateOptions) (*v1.Secret, error)) *MockSecretInterfaceUpdateCall
- func (c *MockSecretInterfaceUpdateCall) DoAndReturn(f func(context.Context, *v1.Secret, v10.UpdateOptions) (*v1.Secret, error)) *MockSecretInterfaceUpdateCall
- func (c *MockSecretInterfaceUpdateCall) Return(arg0 *v1.Secret, arg1 error) *MockSecretInterfaceUpdateCall
- type MockSecretInterfaceWatchCall
- func (c *MockSecretInterfaceWatchCall) Do(f func(context.Context, v10.ListOptions) (watch.Interface, error)) *MockSecretInterfaceWatchCall
- func (c *MockSecretInterfaceWatchCall) DoAndReturn(f func(context.Context, v10.ListOptions) (watch.Interface, error)) *MockSecretInterfaceWatchCall
- func (c *MockSecretInterfaceWatchCall) Return(arg0 watch.Interface, arg1 error) *MockSecretInterfaceWatchCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApiextensionsV1Interface ¶
type MockApiextensionsV1Interface struct {
// contains filtered or unexported fields
}
MockApiextensionsV1Interface is a mock of ApiextensionsV1Interface interface.
func NewMockApiextensionsV1Interface ¶
func NewMockApiextensionsV1Interface(ctrl *gomock.Controller) *MockApiextensionsV1Interface
NewMockApiextensionsV1Interface creates a new mock instance.
func (*MockApiextensionsV1Interface) CustomResourceDefinitions ¶
func (m *MockApiextensionsV1Interface) CustomResourceDefinitions() v11.CustomResourceDefinitionInterface
CustomResourceDefinitions mocks base method.
func (*MockApiextensionsV1Interface) EXPECT ¶
func (m *MockApiextensionsV1Interface) EXPECT() *MockApiextensionsV1InterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApiextensionsV1Interface) RESTClient ¶
func (m *MockApiextensionsV1Interface) RESTClient() rest.Interface
RESTClient mocks base method.
type MockApiextensionsV1InterfaceCustomResourceDefinitionsCall ¶
MockApiextensionsV1InterfaceCustomResourceDefinitionsCall wrap *gomock.Call
func (*MockApiextensionsV1InterfaceCustomResourceDefinitionsCall) Do ¶
func (c *MockApiextensionsV1InterfaceCustomResourceDefinitionsCall) Do(f func() v11.CustomResourceDefinitionInterface) *MockApiextensionsV1InterfaceCustomResourceDefinitionsCall
Do rewrite *gomock.Call.Do
func (*MockApiextensionsV1InterfaceCustomResourceDefinitionsCall) DoAndReturn ¶
func (c *MockApiextensionsV1InterfaceCustomResourceDefinitionsCall) DoAndReturn(f func() v11.CustomResourceDefinitionInterface) *MockApiextensionsV1InterfaceCustomResourceDefinitionsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApiextensionsV1InterfaceCustomResourceDefinitionsCall) Return ¶
func (c *MockApiextensionsV1InterfaceCustomResourceDefinitionsCall) Return(arg0 v11.CustomResourceDefinitionInterface) *MockApiextensionsV1InterfaceCustomResourceDefinitionsCall
Return rewrite *gomock.Call.Return
type MockApiextensionsV1InterfaceMockRecorder ¶
type MockApiextensionsV1InterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockApiextensionsV1InterfaceMockRecorder is the mock recorder for MockApiextensionsV1Interface.
func (*MockApiextensionsV1InterfaceMockRecorder) CustomResourceDefinitions ¶
func (mr *MockApiextensionsV1InterfaceMockRecorder) CustomResourceDefinitions() *MockApiextensionsV1InterfaceCustomResourceDefinitionsCall
CustomResourceDefinitions indicates an expected call of CustomResourceDefinitions.
func (*MockApiextensionsV1InterfaceMockRecorder) RESTClient ¶
func (mr *MockApiextensionsV1InterfaceMockRecorder) RESTClient() *MockApiextensionsV1InterfaceRESTClientCall
RESTClient indicates an expected call of RESTClient.
type MockApiextensionsV1InterfaceRESTClientCall ¶
MockApiextensionsV1InterfaceRESTClientCall wrap *gomock.Call
func (*MockApiextensionsV1InterfaceRESTClientCall) Do ¶
func (c *MockApiextensionsV1InterfaceRESTClientCall) Do(f func() rest.Interface) *MockApiextensionsV1InterfaceRESTClientCall
Do rewrite *gomock.Call.Do
func (*MockApiextensionsV1InterfaceRESTClientCall) DoAndReturn ¶
func (c *MockApiextensionsV1InterfaceRESTClientCall) DoAndReturn(f func() rest.Interface) *MockApiextensionsV1InterfaceRESTClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApiextensionsV1InterfaceRESTClientCall) Return ¶
func (c *MockApiextensionsV1InterfaceRESTClientCall) Return(arg0 rest.Interface) *MockApiextensionsV1InterfaceRESTClientCall
Return rewrite *gomock.Call.Return
type MockCoreV1Interface ¶
type MockCoreV1Interface struct {
// contains filtered or unexported fields
}
MockCoreV1Interface is a mock of CoreV1Interface interface.
func NewMockCoreV1Interface ¶
func NewMockCoreV1Interface(ctrl *gomock.Controller) *MockCoreV1Interface
NewMockCoreV1Interface creates a new mock instance.
func (*MockCoreV1Interface) ComponentStatuses ¶
func (m *MockCoreV1Interface) ComponentStatuses() v12.ComponentStatusInterface
ComponentStatuses mocks base method.
func (*MockCoreV1Interface) ConfigMaps ¶
func (m *MockCoreV1Interface) ConfigMaps(namespace string) v12.ConfigMapInterface
ConfigMaps mocks base method.
func (*MockCoreV1Interface) EXPECT ¶
func (m *MockCoreV1Interface) EXPECT() *MockCoreV1InterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCoreV1Interface) Endpoints ¶
func (m *MockCoreV1Interface) Endpoints(namespace string) v12.EndpointsInterface
Endpoints mocks base method.
func (*MockCoreV1Interface) Events ¶
func (m *MockCoreV1Interface) Events(namespace string) v12.EventInterface
Events mocks base method.
func (*MockCoreV1Interface) LimitRanges ¶
func (m *MockCoreV1Interface) LimitRanges(namespace string) v12.LimitRangeInterface
LimitRanges mocks base method.
func (*MockCoreV1Interface) Namespaces ¶
func (m *MockCoreV1Interface) Namespaces() v12.NamespaceInterface
Namespaces mocks base method.
func (*MockCoreV1Interface) Nodes ¶
func (m *MockCoreV1Interface) Nodes() v12.NodeInterface
Nodes mocks base method.
func (*MockCoreV1Interface) PersistentVolumeClaims ¶
func (m *MockCoreV1Interface) PersistentVolumeClaims(namespace string) v12.PersistentVolumeClaimInterface
PersistentVolumeClaims mocks base method.
func (*MockCoreV1Interface) PersistentVolumes ¶
func (m *MockCoreV1Interface) PersistentVolumes() v12.PersistentVolumeInterface
PersistentVolumes mocks base method.
func (*MockCoreV1Interface) PodTemplates ¶
func (m *MockCoreV1Interface) PodTemplates(namespace string) v12.PodTemplateInterface
PodTemplates mocks base method.
func (*MockCoreV1Interface) Pods ¶
func (m *MockCoreV1Interface) Pods(namespace string) v12.PodInterface
Pods mocks base method.
func (*MockCoreV1Interface) RESTClient ¶
func (m *MockCoreV1Interface) RESTClient() rest.Interface
RESTClient mocks base method.
func (*MockCoreV1Interface) ReplicationControllers ¶
func (m *MockCoreV1Interface) ReplicationControllers(namespace string) v12.ReplicationControllerInterface
ReplicationControllers mocks base method.
func (*MockCoreV1Interface) ResourceQuotas ¶
func (m *MockCoreV1Interface) ResourceQuotas(namespace string) v12.ResourceQuotaInterface
ResourceQuotas mocks base method.
func (*MockCoreV1Interface) Secrets ¶
func (m *MockCoreV1Interface) Secrets(namespace string) v12.SecretInterface
Secrets mocks base method.
func (*MockCoreV1Interface) ServiceAccounts ¶
func (m *MockCoreV1Interface) ServiceAccounts(namespace string) v12.ServiceAccountInterface
ServiceAccounts mocks base method.
func (*MockCoreV1Interface) Services ¶
func (m *MockCoreV1Interface) Services(namespace string) v12.ServiceInterface
Services mocks base method.
type MockCoreV1InterfaceComponentStatusesCall ¶
MockCoreV1InterfaceComponentStatusesCall wrap *gomock.Call
func (*MockCoreV1InterfaceComponentStatusesCall) Do ¶
func (c *MockCoreV1InterfaceComponentStatusesCall) Do(f func() v12.ComponentStatusInterface) *MockCoreV1InterfaceComponentStatusesCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfaceComponentStatusesCall) DoAndReturn ¶
func (c *MockCoreV1InterfaceComponentStatusesCall) DoAndReturn(f func() v12.ComponentStatusInterface) *MockCoreV1InterfaceComponentStatusesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfaceComponentStatusesCall) Return ¶
func (c *MockCoreV1InterfaceComponentStatusesCall) Return(arg0 v12.ComponentStatusInterface) *MockCoreV1InterfaceComponentStatusesCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfaceConfigMapsCall ¶
MockCoreV1InterfaceConfigMapsCall wrap *gomock.Call
func (*MockCoreV1InterfaceConfigMapsCall) Do ¶
func (c *MockCoreV1InterfaceConfigMapsCall) Do(f func(string) v12.ConfigMapInterface) *MockCoreV1InterfaceConfigMapsCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfaceConfigMapsCall) DoAndReturn ¶
func (c *MockCoreV1InterfaceConfigMapsCall) DoAndReturn(f func(string) v12.ConfigMapInterface) *MockCoreV1InterfaceConfigMapsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfaceConfigMapsCall) Return ¶
func (c *MockCoreV1InterfaceConfigMapsCall) Return(arg0 v12.ConfigMapInterface) *MockCoreV1InterfaceConfigMapsCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfaceEndpointsCall ¶
MockCoreV1InterfaceEndpointsCall wrap *gomock.Call
func (*MockCoreV1InterfaceEndpointsCall) Do ¶
func (c *MockCoreV1InterfaceEndpointsCall) Do(f func(string) v12.EndpointsInterface) *MockCoreV1InterfaceEndpointsCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfaceEndpointsCall) DoAndReturn ¶
func (c *MockCoreV1InterfaceEndpointsCall) DoAndReturn(f func(string) v12.EndpointsInterface) *MockCoreV1InterfaceEndpointsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfaceEndpointsCall) Return ¶
func (c *MockCoreV1InterfaceEndpointsCall) Return(arg0 v12.EndpointsInterface) *MockCoreV1InterfaceEndpointsCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfaceEventsCall ¶
MockCoreV1InterfaceEventsCall wrap *gomock.Call
func (*MockCoreV1InterfaceEventsCall) Do ¶
func (c *MockCoreV1InterfaceEventsCall) Do(f func(string) v12.EventInterface) *MockCoreV1InterfaceEventsCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfaceEventsCall) DoAndReturn ¶
func (c *MockCoreV1InterfaceEventsCall) DoAndReturn(f func(string) v12.EventInterface) *MockCoreV1InterfaceEventsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfaceEventsCall) Return ¶
func (c *MockCoreV1InterfaceEventsCall) Return(arg0 v12.EventInterface) *MockCoreV1InterfaceEventsCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfaceLimitRangesCall ¶
MockCoreV1InterfaceLimitRangesCall wrap *gomock.Call
func (*MockCoreV1InterfaceLimitRangesCall) Do ¶
func (c *MockCoreV1InterfaceLimitRangesCall) Do(f func(string) v12.LimitRangeInterface) *MockCoreV1InterfaceLimitRangesCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfaceLimitRangesCall) DoAndReturn ¶
func (c *MockCoreV1InterfaceLimitRangesCall) DoAndReturn(f func(string) v12.LimitRangeInterface) *MockCoreV1InterfaceLimitRangesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfaceLimitRangesCall) Return ¶
func (c *MockCoreV1InterfaceLimitRangesCall) Return(arg0 v12.LimitRangeInterface) *MockCoreV1InterfaceLimitRangesCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfaceMockRecorder ¶
type MockCoreV1InterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCoreV1InterfaceMockRecorder is the mock recorder for MockCoreV1Interface.
func (*MockCoreV1InterfaceMockRecorder) ComponentStatuses ¶
func (mr *MockCoreV1InterfaceMockRecorder) ComponentStatuses() *MockCoreV1InterfaceComponentStatusesCall
ComponentStatuses indicates an expected call of ComponentStatuses.
func (*MockCoreV1InterfaceMockRecorder) ConfigMaps ¶
func (mr *MockCoreV1InterfaceMockRecorder) ConfigMaps(namespace any) *MockCoreV1InterfaceConfigMapsCall
ConfigMaps indicates an expected call of ConfigMaps.
func (*MockCoreV1InterfaceMockRecorder) Endpoints ¶
func (mr *MockCoreV1InterfaceMockRecorder) Endpoints(namespace any) *MockCoreV1InterfaceEndpointsCall
Endpoints indicates an expected call of Endpoints.
func (*MockCoreV1InterfaceMockRecorder) Events ¶
func (mr *MockCoreV1InterfaceMockRecorder) Events(namespace any) *MockCoreV1InterfaceEventsCall
Events indicates an expected call of Events.
func (*MockCoreV1InterfaceMockRecorder) LimitRanges ¶
func (mr *MockCoreV1InterfaceMockRecorder) LimitRanges(namespace any) *MockCoreV1InterfaceLimitRangesCall
LimitRanges indicates an expected call of LimitRanges.
func (*MockCoreV1InterfaceMockRecorder) Namespaces ¶
func (mr *MockCoreV1InterfaceMockRecorder) Namespaces() *MockCoreV1InterfaceNamespacesCall
Namespaces indicates an expected call of Namespaces.
func (*MockCoreV1InterfaceMockRecorder) Nodes ¶
func (mr *MockCoreV1InterfaceMockRecorder) Nodes() *MockCoreV1InterfaceNodesCall
Nodes indicates an expected call of Nodes.
func (*MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims ¶
func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims(namespace any) *MockCoreV1InterfacePersistentVolumeClaimsCall
PersistentVolumeClaims indicates an expected call of PersistentVolumeClaims.
func (*MockCoreV1InterfaceMockRecorder) PersistentVolumes ¶
func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumes() *MockCoreV1InterfacePersistentVolumesCall
PersistentVolumes indicates an expected call of PersistentVolumes.
func (*MockCoreV1InterfaceMockRecorder) PodTemplates ¶
func (mr *MockCoreV1InterfaceMockRecorder) PodTemplates(namespace any) *MockCoreV1InterfacePodTemplatesCall
PodTemplates indicates an expected call of PodTemplates.
func (*MockCoreV1InterfaceMockRecorder) Pods ¶
func (mr *MockCoreV1InterfaceMockRecorder) Pods(namespace any) *MockCoreV1InterfacePodsCall
Pods indicates an expected call of Pods.
func (*MockCoreV1InterfaceMockRecorder) RESTClient ¶
func (mr *MockCoreV1InterfaceMockRecorder) RESTClient() *MockCoreV1InterfaceRESTClientCall
RESTClient indicates an expected call of RESTClient.
func (*MockCoreV1InterfaceMockRecorder) ReplicationControllers ¶
func (mr *MockCoreV1InterfaceMockRecorder) ReplicationControllers(namespace any) *MockCoreV1InterfaceReplicationControllersCall
ReplicationControllers indicates an expected call of ReplicationControllers.
func (*MockCoreV1InterfaceMockRecorder) ResourceQuotas ¶
func (mr *MockCoreV1InterfaceMockRecorder) ResourceQuotas(namespace any) *MockCoreV1InterfaceResourceQuotasCall
ResourceQuotas indicates an expected call of ResourceQuotas.
func (*MockCoreV1InterfaceMockRecorder) Secrets ¶
func (mr *MockCoreV1InterfaceMockRecorder) Secrets(namespace any) *MockCoreV1InterfaceSecretsCall
Secrets indicates an expected call of Secrets.
func (*MockCoreV1InterfaceMockRecorder) ServiceAccounts ¶
func (mr *MockCoreV1InterfaceMockRecorder) ServiceAccounts(namespace any) *MockCoreV1InterfaceServiceAccountsCall
ServiceAccounts indicates an expected call of ServiceAccounts.
func (*MockCoreV1InterfaceMockRecorder) Services ¶
func (mr *MockCoreV1InterfaceMockRecorder) Services(namespace any) *MockCoreV1InterfaceServicesCall
Services indicates an expected call of Services.
type MockCoreV1InterfaceNamespacesCall ¶
MockCoreV1InterfaceNamespacesCall wrap *gomock.Call
func (*MockCoreV1InterfaceNamespacesCall) Do ¶
func (c *MockCoreV1InterfaceNamespacesCall) Do(f func() v12.NamespaceInterface) *MockCoreV1InterfaceNamespacesCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfaceNamespacesCall) DoAndReturn ¶
func (c *MockCoreV1InterfaceNamespacesCall) DoAndReturn(f func() v12.NamespaceInterface) *MockCoreV1InterfaceNamespacesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfaceNamespacesCall) Return ¶
func (c *MockCoreV1InterfaceNamespacesCall) Return(arg0 v12.NamespaceInterface) *MockCoreV1InterfaceNamespacesCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfaceNodesCall ¶
MockCoreV1InterfaceNodesCall wrap *gomock.Call
func (*MockCoreV1InterfaceNodesCall) Do ¶
func (c *MockCoreV1InterfaceNodesCall) Do(f func() v12.NodeInterface) *MockCoreV1InterfaceNodesCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfaceNodesCall) DoAndReturn ¶
func (c *MockCoreV1InterfaceNodesCall) DoAndReturn(f func() v12.NodeInterface) *MockCoreV1InterfaceNodesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfaceNodesCall) Return ¶
func (c *MockCoreV1InterfaceNodesCall) Return(arg0 v12.NodeInterface) *MockCoreV1InterfaceNodesCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfacePersistentVolumeClaimsCall ¶
MockCoreV1InterfacePersistentVolumeClaimsCall wrap *gomock.Call
func (*MockCoreV1InterfacePersistentVolumeClaimsCall) Do ¶
func (c *MockCoreV1InterfacePersistentVolumeClaimsCall) Do(f func(string) v12.PersistentVolumeClaimInterface) *MockCoreV1InterfacePersistentVolumeClaimsCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfacePersistentVolumeClaimsCall) DoAndReturn ¶
func (c *MockCoreV1InterfacePersistentVolumeClaimsCall) DoAndReturn(f func(string) v12.PersistentVolumeClaimInterface) *MockCoreV1InterfacePersistentVolumeClaimsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfacePersistentVolumeClaimsCall) Return ¶
func (c *MockCoreV1InterfacePersistentVolumeClaimsCall) Return(arg0 v12.PersistentVolumeClaimInterface) *MockCoreV1InterfacePersistentVolumeClaimsCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfacePersistentVolumesCall ¶
MockCoreV1InterfacePersistentVolumesCall wrap *gomock.Call
func (*MockCoreV1InterfacePersistentVolumesCall) Do ¶
func (c *MockCoreV1InterfacePersistentVolumesCall) Do(f func() v12.PersistentVolumeInterface) *MockCoreV1InterfacePersistentVolumesCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfacePersistentVolumesCall) DoAndReturn ¶
func (c *MockCoreV1InterfacePersistentVolumesCall) DoAndReturn(f func() v12.PersistentVolumeInterface) *MockCoreV1InterfacePersistentVolumesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfacePersistentVolumesCall) Return ¶
func (c *MockCoreV1InterfacePersistentVolumesCall) Return(arg0 v12.PersistentVolumeInterface) *MockCoreV1InterfacePersistentVolumesCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfacePodTemplatesCall ¶
MockCoreV1InterfacePodTemplatesCall wrap *gomock.Call
func (*MockCoreV1InterfacePodTemplatesCall) Do ¶
func (c *MockCoreV1InterfacePodTemplatesCall) Do(f func(string) v12.PodTemplateInterface) *MockCoreV1InterfacePodTemplatesCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfacePodTemplatesCall) DoAndReturn ¶
func (c *MockCoreV1InterfacePodTemplatesCall) DoAndReturn(f func(string) v12.PodTemplateInterface) *MockCoreV1InterfacePodTemplatesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfacePodTemplatesCall) Return ¶
func (c *MockCoreV1InterfacePodTemplatesCall) Return(arg0 v12.PodTemplateInterface) *MockCoreV1InterfacePodTemplatesCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfacePodsCall ¶
MockCoreV1InterfacePodsCall wrap *gomock.Call
func (*MockCoreV1InterfacePodsCall) Do ¶
func (c *MockCoreV1InterfacePodsCall) Do(f func(string) v12.PodInterface) *MockCoreV1InterfacePodsCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfacePodsCall) DoAndReturn ¶
func (c *MockCoreV1InterfacePodsCall) DoAndReturn(f func(string) v12.PodInterface) *MockCoreV1InterfacePodsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfacePodsCall) Return ¶
func (c *MockCoreV1InterfacePodsCall) Return(arg0 v12.PodInterface) *MockCoreV1InterfacePodsCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfaceRESTClientCall ¶
MockCoreV1InterfaceRESTClientCall wrap *gomock.Call
func (*MockCoreV1InterfaceRESTClientCall) Do ¶
func (c *MockCoreV1InterfaceRESTClientCall) Do(f func() rest.Interface) *MockCoreV1InterfaceRESTClientCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfaceRESTClientCall) DoAndReturn ¶
func (c *MockCoreV1InterfaceRESTClientCall) DoAndReturn(f func() rest.Interface) *MockCoreV1InterfaceRESTClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfaceRESTClientCall) Return ¶
func (c *MockCoreV1InterfaceRESTClientCall) Return(arg0 rest.Interface) *MockCoreV1InterfaceRESTClientCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfaceReplicationControllersCall ¶
MockCoreV1InterfaceReplicationControllersCall wrap *gomock.Call
func (*MockCoreV1InterfaceReplicationControllersCall) Do ¶
func (c *MockCoreV1InterfaceReplicationControllersCall) Do(f func(string) v12.ReplicationControllerInterface) *MockCoreV1InterfaceReplicationControllersCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfaceReplicationControllersCall) DoAndReturn ¶
func (c *MockCoreV1InterfaceReplicationControllersCall) DoAndReturn(f func(string) v12.ReplicationControllerInterface) *MockCoreV1InterfaceReplicationControllersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfaceReplicationControllersCall) Return ¶
func (c *MockCoreV1InterfaceReplicationControllersCall) Return(arg0 v12.ReplicationControllerInterface) *MockCoreV1InterfaceReplicationControllersCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfaceResourceQuotasCall ¶
MockCoreV1InterfaceResourceQuotasCall wrap *gomock.Call
func (*MockCoreV1InterfaceResourceQuotasCall) Do ¶
func (c *MockCoreV1InterfaceResourceQuotasCall) Do(f func(string) v12.ResourceQuotaInterface) *MockCoreV1InterfaceResourceQuotasCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfaceResourceQuotasCall) DoAndReturn ¶
func (c *MockCoreV1InterfaceResourceQuotasCall) DoAndReturn(f func(string) v12.ResourceQuotaInterface) *MockCoreV1InterfaceResourceQuotasCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfaceResourceQuotasCall) Return ¶
func (c *MockCoreV1InterfaceResourceQuotasCall) Return(arg0 v12.ResourceQuotaInterface) *MockCoreV1InterfaceResourceQuotasCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfaceSecretsCall ¶
MockCoreV1InterfaceSecretsCall wrap *gomock.Call
func (*MockCoreV1InterfaceSecretsCall) Do ¶
func (c *MockCoreV1InterfaceSecretsCall) Do(f func(string) v12.SecretInterface) *MockCoreV1InterfaceSecretsCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfaceSecretsCall) DoAndReturn ¶
func (c *MockCoreV1InterfaceSecretsCall) DoAndReturn(f func(string) v12.SecretInterface) *MockCoreV1InterfaceSecretsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfaceSecretsCall) Return ¶
func (c *MockCoreV1InterfaceSecretsCall) Return(arg0 v12.SecretInterface) *MockCoreV1InterfaceSecretsCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfaceServiceAccountsCall ¶
MockCoreV1InterfaceServiceAccountsCall wrap *gomock.Call
func (*MockCoreV1InterfaceServiceAccountsCall) Do ¶
func (c *MockCoreV1InterfaceServiceAccountsCall) Do(f func(string) v12.ServiceAccountInterface) *MockCoreV1InterfaceServiceAccountsCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfaceServiceAccountsCall) DoAndReturn ¶
func (c *MockCoreV1InterfaceServiceAccountsCall) DoAndReturn(f func(string) v12.ServiceAccountInterface) *MockCoreV1InterfaceServiceAccountsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfaceServiceAccountsCall) Return ¶
func (c *MockCoreV1InterfaceServiceAccountsCall) Return(arg0 v12.ServiceAccountInterface) *MockCoreV1InterfaceServiceAccountsCall
Return rewrite *gomock.Call.Return
type MockCoreV1InterfaceServicesCall ¶
MockCoreV1InterfaceServicesCall wrap *gomock.Call
func (*MockCoreV1InterfaceServicesCall) Do ¶
func (c *MockCoreV1InterfaceServicesCall) Do(f func(string) v12.ServiceInterface) *MockCoreV1InterfaceServicesCall
Do rewrite *gomock.Call.Do
func (*MockCoreV1InterfaceServicesCall) DoAndReturn ¶
func (c *MockCoreV1InterfaceServicesCall) DoAndReturn(f func(string) v12.ServiceInterface) *MockCoreV1InterfaceServicesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCoreV1InterfaceServicesCall) Return ¶
func (c *MockCoreV1InterfaceServicesCall) Return(arg0 v12.ServiceInterface) *MockCoreV1InterfaceServicesCall
Return rewrite *gomock.Call.Return
type MockCustomResourceDefinitionInterface ¶
type MockCustomResourceDefinitionInterface struct {
// contains filtered or unexported fields
}
MockCustomResourceDefinitionInterface is a mock of CustomResourceDefinitionInterface interface.
func NewMockCustomResourceDefinitionInterface ¶
func NewMockCustomResourceDefinitionInterface(ctrl *gomock.Controller) *MockCustomResourceDefinitionInterface
NewMockCustomResourceDefinitionInterface creates a new mock instance.
func (*MockCustomResourceDefinitionInterface) Apply ¶
func (m *MockCustomResourceDefinitionInterface) Apply(ctx context.Context, customResourceDefinition *v10.CustomResourceDefinitionApplyConfiguration, opts v12.ApplyOptions) (*v1.CustomResourceDefinition, error)
Apply mocks base method.
func (*MockCustomResourceDefinitionInterface) ApplyStatus ¶
func (m *MockCustomResourceDefinitionInterface) ApplyStatus(ctx context.Context, customResourceDefinition *v10.CustomResourceDefinitionApplyConfiguration, opts v12.ApplyOptions) (*v1.CustomResourceDefinition, error)
ApplyStatus mocks base method.
func (*MockCustomResourceDefinitionInterface) Create ¶
func (m *MockCustomResourceDefinitionInterface) Create(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinition, opts v12.CreateOptions) (*v1.CustomResourceDefinition, error)
Create mocks base method.
func (*MockCustomResourceDefinitionInterface) Delete ¶
func (m *MockCustomResourceDefinitionInterface) Delete(ctx context.Context, name string, opts v12.DeleteOptions) error
Delete mocks base method.
func (*MockCustomResourceDefinitionInterface) DeleteCollection ¶
func (m *MockCustomResourceDefinitionInterface) DeleteCollection(ctx context.Context, opts v12.DeleteOptions, listOpts v12.ListOptions) error
DeleteCollection mocks base method.
func (*MockCustomResourceDefinitionInterface) EXPECT ¶
func (m *MockCustomResourceDefinitionInterface) EXPECT() *MockCustomResourceDefinitionInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCustomResourceDefinitionInterface) Get ¶
func (m *MockCustomResourceDefinitionInterface) Get(ctx context.Context, name string, opts v12.GetOptions) (*v1.CustomResourceDefinition, error)
Get mocks base method.
func (*MockCustomResourceDefinitionInterface) List ¶
func (m *MockCustomResourceDefinitionInterface) List(ctx context.Context, opts v12.ListOptions) (*v1.CustomResourceDefinitionList, error)
List mocks base method.
func (*MockCustomResourceDefinitionInterface) Patch ¶
func (m *MockCustomResourceDefinitionInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v12.PatchOptions, subresources ...string) (*v1.CustomResourceDefinition, error)
Patch mocks base method.
func (*MockCustomResourceDefinitionInterface) Update ¶
func (m *MockCustomResourceDefinitionInterface) Update(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinition, opts v12.UpdateOptions) (*v1.CustomResourceDefinition, error)
Update mocks base method.
func (*MockCustomResourceDefinitionInterface) UpdateStatus ¶
func (m *MockCustomResourceDefinitionInterface) UpdateStatus(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinition, opts v12.UpdateOptions) (*v1.CustomResourceDefinition, error)
UpdateStatus mocks base method.
func (*MockCustomResourceDefinitionInterface) Watch ¶
func (m *MockCustomResourceDefinitionInterface) Watch(ctx context.Context, opts v12.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockCustomResourceDefinitionInterfaceApplyCall ¶
MockCustomResourceDefinitionInterfaceApplyCall wrap *gomock.Call
func (*MockCustomResourceDefinitionInterfaceApplyCall) Do ¶
func (c *MockCustomResourceDefinitionInterfaceApplyCall) Do(f func(context.Context, *v10.CustomResourceDefinitionApplyConfiguration, v12.ApplyOptions) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfaceApplyCall
Do rewrite *gomock.Call.Do
func (*MockCustomResourceDefinitionInterfaceApplyCall) DoAndReturn ¶
func (c *MockCustomResourceDefinitionInterfaceApplyCall) DoAndReturn(f func(context.Context, *v10.CustomResourceDefinitionApplyConfiguration, v12.ApplyOptions) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfaceApplyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCustomResourceDefinitionInterfaceApplyCall) Return ¶
func (c *MockCustomResourceDefinitionInterfaceApplyCall) Return(result *v1.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterfaceApplyCall
Return rewrite *gomock.Call.Return
type MockCustomResourceDefinitionInterfaceApplyStatusCall ¶
MockCustomResourceDefinitionInterfaceApplyStatusCall wrap *gomock.Call
func (*MockCustomResourceDefinitionInterfaceApplyStatusCall) Do ¶
func (c *MockCustomResourceDefinitionInterfaceApplyStatusCall) Do(f func(context.Context, *v10.CustomResourceDefinitionApplyConfiguration, v12.ApplyOptions) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfaceApplyStatusCall
Do rewrite *gomock.Call.Do
func (*MockCustomResourceDefinitionInterfaceApplyStatusCall) DoAndReturn ¶
func (c *MockCustomResourceDefinitionInterfaceApplyStatusCall) DoAndReturn(f func(context.Context, *v10.CustomResourceDefinitionApplyConfiguration, v12.ApplyOptions) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfaceApplyStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCustomResourceDefinitionInterfaceApplyStatusCall) Return ¶
func (c *MockCustomResourceDefinitionInterfaceApplyStatusCall) Return(result *v1.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterfaceApplyStatusCall
Return rewrite *gomock.Call.Return
type MockCustomResourceDefinitionInterfaceCreateCall ¶
MockCustomResourceDefinitionInterfaceCreateCall wrap *gomock.Call
func (*MockCustomResourceDefinitionInterfaceCreateCall) Do ¶
func (c *MockCustomResourceDefinitionInterfaceCreateCall) Do(f func(context.Context, *v1.CustomResourceDefinition, v12.CreateOptions) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfaceCreateCall
Do rewrite *gomock.Call.Do
func (*MockCustomResourceDefinitionInterfaceCreateCall) DoAndReturn ¶
func (c *MockCustomResourceDefinitionInterfaceCreateCall) DoAndReturn(f func(context.Context, *v1.CustomResourceDefinition, v12.CreateOptions) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfaceCreateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCustomResourceDefinitionInterfaceCreateCall) Return ¶
func (c *MockCustomResourceDefinitionInterfaceCreateCall) Return(arg0 *v1.CustomResourceDefinition, arg1 error) *MockCustomResourceDefinitionInterfaceCreateCall
Return rewrite *gomock.Call.Return
type MockCustomResourceDefinitionInterfaceDeleteCall ¶
MockCustomResourceDefinitionInterfaceDeleteCall wrap *gomock.Call
func (*MockCustomResourceDefinitionInterfaceDeleteCall) Do ¶
func (c *MockCustomResourceDefinitionInterfaceDeleteCall) Do(f func(context.Context, string, v12.DeleteOptions) error) *MockCustomResourceDefinitionInterfaceDeleteCall
Do rewrite *gomock.Call.Do
func (*MockCustomResourceDefinitionInterfaceDeleteCall) DoAndReturn ¶
func (c *MockCustomResourceDefinitionInterfaceDeleteCall) DoAndReturn(f func(context.Context, string, v12.DeleteOptions) error) *MockCustomResourceDefinitionInterfaceDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCustomResourceDefinitionInterfaceDeleteCall) Return ¶
func (c *MockCustomResourceDefinitionInterfaceDeleteCall) Return(arg0 error) *MockCustomResourceDefinitionInterfaceDeleteCall
Return rewrite *gomock.Call.Return
type MockCustomResourceDefinitionInterfaceDeleteCollectionCall ¶
MockCustomResourceDefinitionInterfaceDeleteCollectionCall wrap *gomock.Call
func (*MockCustomResourceDefinitionInterfaceDeleteCollectionCall) Do ¶
func (c *MockCustomResourceDefinitionInterfaceDeleteCollectionCall) Do(f func(context.Context, v12.DeleteOptions, v12.ListOptions) error) *MockCustomResourceDefinitionInterfaceDeleteCollectionCall
Do rewrite *gomock.Call.Do
func (*MockCustomResourceDefinitionInterfaceDeleteCollectionCall) DoAndReturn ¶
func (c *MockCustomResourceDefinitionInterfaceDeleteCollectionCall) DoAndReturn(f func(context.Context, v12.DeleteOptions, v12.ListOptions) error) *MockCustomResourceDefinitionInterfaceDeleteCollectionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCustomResourceDefinitionInterfaceDeleteCollectionCall) Return ¶
func (c *MockCustomResourceDefinitionInterfaceDeleteCollectionCall) Return(arg0 error) *MockCustomResourceDefinitionInterfaceDeleteCollectionCall
Return rewrite *gomock.Call.Return
type MockCustomResourceDefinitionInterfaceGetCall ¶
MockCustomResourceDefinitionInterfaceGetCall wrap *gomock.Call
func (*MockCustomResourceDefinitionInterfaceGetCall) Do ¶
func (c *MockCustomResourceDefinitionInterfaceGetCall) Do(f func(context.Context, string, v12.GetOptions) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfaceGetCall
Do rewrite *gomock.Call.Do
func (*MockCustomResourceDefinitionInterfaceGetCall) DoAndReturn ¶
func (c *MockCustomResourceDefinitionInterfaceGetCall) DoAndReturn(f func(context.Context, string, v12.GetOptions) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfaceGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCustomResourceDefinitionInterfaceGetCall) Return ¶
func (c *MockCustomResourceDefinitionInterfaceGetCall) Return(arg0 *v1.CustomResourceDefinition, arg1 error) *MockCustomResourceDefinitionInterfaceGetCall
Return rewrite *gomock.Call.Return
type MockCustomResourceDefinitionInterfaceListCall ¶
MockCustomResourceDefinitionInterfaceListCall wrap *gomock.Call
func (*MockCustomResourceDefinitionInterfaceListCall) Do ¶
func (c *MockCustomResourceDefinitionInterfaceListCall) Do(f func(context.Context, v12.ListOptions) (*v1.CustomResourceDefinitionList, error)) *MockCustomResourceDefinitionInterfaceListCall
Do rewrite *gomock.Call.Do
func (*MockCustomResourceDefinitionInterfaceListCall) DoAndReturn ¶
func (c *MockCustomResourceDefinitionInterfaceListCall) DoAndReturn(f func(context.Context, v12.ListOptions) (*v1.CustomResourceDefinitionList, error)) *MockCustomResourceDefinitionInterfaceListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCustomResourceDefinitionInterfaceListCall) Return ¶
func (c *MockCustomResourceDefinitionInterfaceListCall) Return(arg0 *v1.CustomResourceDefinitionList, arg1 error) *MockCustomResourceDefinitionInterfaceListCall
Return rewrite *gomock.Call.Return
type MockCustomResourceDefinitionInterfaceMockRecorder ¶
type MockCustomResourceDefinitionInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCustomResourceDefinitionInterfaceMockRecorder is the mock recorder for MockCustomResourceDefinitionInterface.
func (*MockCustomResourceDefinitionInterfaceMockRecorder) Apply ¶
func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Apply(ctx, customResourceDefinition, opts any) *MockCustomResourceDefinitionInterfaceApplyCall
Apply indicates an expected call of Apply.
func (*MockCustomResourceDefinitionInterfaceMockRecorder) ApplyStatus ¶
func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) ApplyStatus(ctx, customResourceDefinition, opts any) *MockCustomResourceDefinitionInterfaceApplyStatusCall
ApplyStatus indicates an expected call of ApplyStatus.
func (*MockCustomResourceDefinitionInterfaceMockRecorder) Create ¶
func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Create(ctx, customResourceDefinition, opts any) *MockCustomResourceDefinitionInterfaceCreateCall
Create indicates an expected call of Create.
func (*MockCustomResourceDefinitionInterfaceMockRecorder) Delete ¶
func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Delete(ctx, name, opts any) *MockCustomResourceDefinitionInterfaceDeleteCall
Delete indicates an expected call of Delete.
func (*MockCustomResourceDefinitionInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) DeleteCollection(ctx, opts, listOpts any) *MockCustomResourceDefinitionInterfaceDeleteCollectionCall
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockCustomResourceDefinitionInterfaceMockRecorder) Get ¶
func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Get(ctx, name, opts any) *MockCustomResourceDefinitionInterfaceGetCall
Get indicates an expected call of Get.
func (*MockCustomResourceDefinitionInterfaceMockRecorder) List ¶
func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) List(ctx, opts any) *MockCustomResourceDefinitionInterfaceListCall
List indicates an expected call of List.
func (*MockCustomResourceDefinitionInterfaceMockRecorder) Patch ¶
func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *MockCustomResourceDefinitionInterfacePatchCall
Patch indicates an expected call of Patch.
func (*MockCustomResourceDefinitionInterfaceMockRecorder) Update ¶
func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Update(ctx, customResourceDefinition, opts any) *MockCustomResourceDefinitionInterfaceUpdateCall
Update indicates an expected call of Update.
func (*MockCustomResourceDefinitionInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) UpdateStatus(ctx, customResourceDefinition, opts any) *MockCustomResourceDefinitionInterfaceUpdateStatusCall
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockCustomResourceDefinitionInterfaceMockRecorder) Watch ¶
func (mr *MockCustomResourceDefinitionInterfaceMockRecorder) Watch(ctx, opts any) *MockCustomResourceDefinitionInterfaceWatchCall
Watch indicates an expected call of Watch.
type MockCustomResourceDefinitionInterfacePatchCall ¶
MockCustomResourceDefinitionInterfacePatchCall wrap *gomock.Call
func (*MockCustomResourceDefinitionInterfacePatchCall) Do ¶
func (c *MockCustomResourceDefinitionInterfacePatchCall) Do(f func(context.Context, string, types.PatchType, []byte, v12.PatchOptions, ...string) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfacePatchCall
Do rewrite *gomock.Call.Do
func (*MockCustomResourceDefinitionInterfacePatchCall) DoAndReturn ¶
func (c *MockCustomResourceDefinitionInterfacePatchCall) DoAndReturn(f func(context.Context, string, types.PatchType, []byte, v12.PatchOptions, ...string) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfacePatchCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCustomResourceDefinitionInterfacePatchCall) Return ¶
func (c *MockCustomResourceDefinitionInterfacePatchCall) Return(result *v1.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterfacePatchCall
Return rewrite *gomock.Call.Return
type MockCustomResourceDefinitionInterfaceUpdateCall ¶
MockCustomResourceDefinitionInterfaceUpdateCall wrap *gomock.Call
func (*MockCustomResourceDefinitionInterfaceUpdateCall) Do ¶
func (c *MockCustomResourceDefinitionInterfaceUpdateCall) Do(f func(context.Context, *v1.CustomResourceDefinition, v12.UpdateOptions) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfaceUpdateCall
Do rewrite *gomock.Call.Do
func (*MockCustomResourceDefinitionInterfaceUpdateCall) DoAndReturn ¶
func (c *MockCustomResourceDefinitionInterfaceUpdateCall) DoAndReturn(f func(context.Context, *v1.CustomResourceDefinition, v12.UpdateOptions) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfaceUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCustomResourceDefinitionInterfaceUpdateCall) Return ¶
func (c *MockCustomResourceDefinitionInterfaceUpdateCall) Return(arg0 *v1.CustomResourceDefinition, arg1 error) *MockCustomResourceDefinitionInterfaceUpdateCall
Return rewrite *gomock.Call.Return
type MockCustomResourceDefinitionInterfaceUpdateStatusCall ¶
MockCustomResourceDefinitionInterfaceUpdateStatusCall wrap *gomock.Call
func (*MockCustomResourceDefinitionInterfaceUpdateStatusCall) Do ¶
func (c *MockCustomResourceDefinitionInterfaceUpdateStatusCall) Do(f func(context.Context, *v1.CustomResourceDefinition, v12.UpdateOptions) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfaceUpdateStatusCall
Do rewrite *gomock.Call.Do
func (*MockCustomResourceDefinitionInterfaceUpdateStatusCall) DoAndReturn ¶
func (c *MockCustomResourceDefinitionInterfaceUpdateStatusCall) DoAndReturn(f func(context.Context, *v1.CustomResourceDefinition, v12.UpdateOptions) (*v1.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterfaceUpdateStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCustomResourceDefinitionInterfaceUpdateStatusCall) Return ¶
func (c *MockCustomResourceDefinitionInterfaceUpdateStatusCall) Return(arg0 *v1.CustomResourceDefinition, arg1 error) *MockCustomResourceDefinitionInterfaceUpdateStatusCall
Return rewrite *gomock.Call.Return
type MockCustomResourceDefinitionInterfaceWatchCall ¶
MockCustomResourceDefinitionInterfaceWatchCall wrap *gomock.Call
func (*MockCustomResourceDefinitionInterfaceWatchCall) Do ¶
func (c *MockCustomResourceDefinitionInterfaceWatchCall) Do(f func(context.Context, v12.ListOptions) (watch.Interface, error)) *MockCustomResourceDefinitionInterfaceWatchCall
Do rewrite *gomock.Call.Do
func (*MockCustomResourceDefinitionInterfaceWatchCall) DoAndReturn ¶
func (c *MockCustomResourceDefinitionInterfaceWatchCall) DoAndReturn(f func(context.Context, v12.ListOptions) (watch.Interface, error)) *MockCustomResourceDefinitionInterfaceWatchCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCustomResourceDefinitionInterfaceWatchCall) Return ¶
func (c *MockCustomResourceDefinitionInterfaceWatchCall) Return(arg0 watch.Interface, arg1 error) *MockCustomResourceDefinitionInterfaceWatchCall
Return rewrite *gomock.Call.Return
type MockFactory ¶
type MockFactory struct {
// contains filtered or unexported fields
}
MockFactory is a mock of Factory interface.
func NewMockFactory ¶
func NewMockFactory(ctrl *gomock.Controller) *MockFactory
NewMockFactory creates a new mock instance.
func (*MockFactory) ClientForMapping ¶
func (m *MockFactory) ClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error)
ClientForMapping mocks base method.
func (*MockFactory) DynamicClient ¶
func (m *MockFactory) DynamicClient() (dynamic.Interface, error)
DynamicClient mocks base method.
func (*MockFactory) EXPECT ¶
func (m *MockFactory) EXPECT() *MockFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFactory) KubernetesClientSet ¶
func (m *MockFactory) KubernetesClientSet() (*kubernetes.Clientset, error)
KubernetesClientSet mocks base method.
func (*MockFactory) NewBuilder ¶
func (m *MockFactory) NewBuilder() *resource.Builder
NewBuilder mocks base method.
func (*MockFactory) OpenAPISchema ¶
func (m *MockFactory) OpenAPISchema() (openapi0.Resources, error)
OpenAPISchema mocks base method.
func (*MockFactory) OpenAPIV3Client ¶
func (m *MockFactory) OpenAPIV3Client() (openapi.Client, error)
OpenAPIV3Client mocks base method.
func (*MockFactory) RESTClient ¶
func (m *MockFactory) RESTClient() (*rest.RESTClient, error)
RESTClient mocks base method.
func (*MockFactory) ToDiscoveryClient ¶
func (m *MockFactory) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
ToDiscoveryClient mocks base method.
func (*MockFactory) ToRESTConfig ¶
func (m *MockFactory) ToRESTConfig() (*rest.Config, error)
ToRESTConfig mocks base method.
func (*MockFactory) ToRESTMapper ¶
func (m *MockFactory) ToRESTMapper() (meta.RESTMapper, error)
ToRESTMapper mocks base method.
func (*MockFactory) ToRawKubeConfigLoader ¶
func (m *MockFactory) ToRawKubeConfigLoader() clientcmd.ClientConfig
ToRawKubeConfigLoader mocks base method.
func (*MockFactory) UnstructuredClientForMapping ¶
func (m *MockFactory) UnstructuredClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error)
UnstructuredClientForMapping mocks base method.
func (*MockFactory) Validator ¶
func (m *MockFactory) Validator(validationDirective string) (validation.Schema, error)
Validator mocks base method.
type MockFactoryClientForMappingCall ¶
MockFactoryClientForMappingCall wrap *gomock.Call
func (*MockFactoryClientForMappingCall) Do ¶
func (c *MockFactoryClientForMappingCall) Do(f func(*meta.RESTMapping) (resource.RESTClient, error)) *MockFactoryClientForMappingCall
Do rewrite *gomock.Call.Do
func (*MockFactoryClientForMappingCall) DoAndReturn ¶
func (c *MockFactoryClientForMappingCall) DoAndReturn(f func(*meta.RESTMapping) (resource.RESTClient, error)) *MockFactoryClientForMappingCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFactoryClientForMappingCall) Return ¶
func (c *MockFactoryClientForMappingCall) Return(arg0 resource.RESTClient, arg1 error) *MockFactoryClientForMappingCall
Return rewrite *gomock.Call.Return
type MockFactoryDynamicClientCall ¶
MockFactoryDynamicClientCall wrap *gomock.Call
func (*MockFactoryDynamicClientCall) Do ¶
func (c *MockFactoryDynamicClientCall) Do(f func() (dynamic.Interface, error)) *MockFactoryDynamicClientCall
Do rewrite *gomock.Call.Do
func (*MockFactoryDynamicClientCall) DoAndReturn ¶
func (c *MockFactoryDynamicClientCall) DoAndReturn(f func() (dynamic.Interface, error)) *MockFactoryDynamicClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFactoryDynamicClientCall) Return ¶
func (c *MockFactoryDynamicClientCall) Return(arg0 dynamic.Interface, arg1 error) *MockFactoryDynamicClientCall
Return rewrite *gomock.Call.Return
type MockFactoryKubernetesClientSetCall ¶
MockFactoryKubernetesClientSetCall wrap *gomock.Call
func (*MockFactoryKubernetesClientSetCall) Do ¶
func (c *MockFactoryKubernetesClientSetCall) Do(f func() (*kubernetes.Clientset, error)) *MockFactoryKubernetesClientSetCall
Do rewrite *gomock.Call.Do
func (*MockFactoryKubernetesClientSetCall) DoAndReturn ¶
func (c *MockFactoryKubernetesClientSetCall) DoAndReturn(f func() (*kubernetes.Clientset, error)) *MockFactoryKubernetesClientSetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFactoryKubernetesClientSetCall) Return ¶
func (c *MockFactoryKubernetesClientSetCall) Return(arg0 *kubernetes.Clientset, arg1 error) *MockFactoryKubernetesClientSetCall
Return rewrite *gomock.Call.Return
type MockFactoryMockRecorder ¶
type MockFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryMockRecorder is the mock recorder for MockFactory.
func (*MockFactoryMockRecorder) ClientForMapping ¶
func (mr *MockFactoryMockRecorder) ClientForMapping(mapping any) *MockFactoryClientForMappingCall
ClientForMapping indicates an expected call of ClientForMapping.
func (*MockFactoryMockRecorder) DynamicClient ¶
func (mr *MockFactoryMockRecorder) DynamicClient() *MockFactoryDynamicClientCall
DynamicClient indicates an expected call of DynamicClient.
func (*MockFactoryMockRecorder) KubernetesClientSet ¶
func (mr *MockFactoryMockRecorder) KubernetesClientSet() *MockFactoryKubernetesClientSetCall
KubernetesClientSet indicates an expected call of KubernetesClientSet.
func (*MockFactoryMockRecorder) NewBuilder ¶
func (mr *MockFactoryMockRecorder) NewBuilder() *MockFactoryNewBuilderCall
NewBuilder indicates an expected call of NewBuilder.
func (*MockFactoryMockRecorder) OpenAPISchema ¶
func (mr *MockFactoryMockRecorder) OpenAPISchema() *MockFactoryOpenAPISchemaCall
OpenAPISchema indicates an expected call of OpenAPISchema.
func (*MockFactoryMockRecorder) OpenAPIV3Client ¶
func (mr *MockFactoryMockRecorder) OpenAPIV3Client() *MockFactoryOpenAPIV3ClientCall
OpenAPIV3Client indicates an expected call of OpenAPIV3Client.
func (*MockFactoryMockRecorder) RESTClient ¶
func (mr *MockFactoryMockRecorder) RESTClient() *MockFactoryRESTClientCall
RESTClient indicates an expected call of RESTClient.
func (*MockFactoryMockRecorder) ToDiscoveryClient ¶
func (mr *MockFactoryMockRecorder) ToDiscoveryClient() *MockFactoryToDiscoveryClientCall
ToDiscoveryClient indicates an expected call of ToDiscoveryClient.
func (*MockFactoryMockRecorder) ToRESTConfig ¶
func (mr *MockFactoryMockRecorder) ToRESTConfig() *MockFactoryToRESTConfigCall
ToRESTConfig indicates an expected call of ToRESTConfig.
func (*MockFactoryMockRecorder) ToRESTMapper ¶
func (mr *MockFactoryMockRecorder) ToRESTMapper() *MockFactoryToRESTMapperCall
ToRESTMapper indicates an expected call of ToRESTMapper.
func (*MockFactoryMockRecorder) ToRawKubeConfigLoader ¶
func (mr *MockFactoryMockRecorder) ToRawKubeConfigLoader() *MockFactoryToRawKubeConfigLoaderCall
ToRawKubeConfigLoader indicates an expected call of ToRawKubeConfigLoader.
func (*MockFactoryMockRecorder) UnstructuredClientForMapping ¶
func (mr *MockFactoryMockRecorder) UnstructuredClientForMapping(mapping any) *MockFactoryUnstructuredClientForMappingCall
UnstructuredClientForMapping indicates an expected call of UnstructuredClientForMapping.
func (*MockFactoryMockRecorder) Validator ¶
func (mr *MockFactoryMockRecorder) Validator(validationDirective any) *MockFactoryValidatorCall
Validator indicates an expected call of Validator.
type MockFactoryNewBuilderCall ¶
MockFactoryNewBuilderCall wrap *gomock.Call
func (*MockFactoryNewBuilderCall) Do ¶
func (c *MockFactoryNewBuilderCall) Do(f func() *resource.Builder) *MockFactoryNewBuilderCall
Do rewrite *gomock.Call.Do
func (*MockFactoryNewBuilderCall) DoAndReturn ¶
func (c *MockFactoryNewBuilderCall) DoAndReturn(f func() *resource.Builder) *MockFactoryNewBuilderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFactoryNewBuilderCall) Return ¶
func (c *MockFactoryNewBuilderCall) Return(arg0 *resource.Builder) *MockFactoryNewBuilderCall
Return rewrite *gomock.Call.Return
type MockFactoryOpenAPISchemaCall ¶
MockFactoryOpenAPISchemaCall wrap *gomock.Call
func (*MockFactoryOpenAPISchemaCall) Do ¶
func (c *MockFactoryOpenAPISchemaCall) Do(f func() (openapi0.Resources, error)) *MockFactoryOpenAPISchemaCall
Do rewrite *gomock.Call.Do
func (*MockFactoryOpenAPISchemaCall) DoAndReturn ¶
func (c *MockFactoryOpenAPISchemaCall) DoAndReturn(f func() (openapi0.Resources, error)) *MockFactoryOpenAPISchemaCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFactoryOpenAPISchemaCall) Return ¶
func (c *MockFactoryOpenAPISchemaCall) Return(arg0 openapi0.Resources, arg1 error) *MockFactoryOpenAPISchemaCall
Return rewrite *gomock.Call.Return
type MockFactoryOpenAPIV3ClientCall ¶
MockFactoryOpenAPIV3ClientCall wrap *gomock.Call
func (*MockFactoryOpenAPIV3ClientCall) Do ¶
func (c *MockFactoryOpenAPIV3ClientCall) Do(f func() (openapi.Client, error)) *MockFactoryOpenAPIV3ClientCall
Do rewrite *gomock.Call.Do
func (*MockFactoryOpenAPIV3ClientCall) DoAndReturn ¶
func (c *MockFactoryOpenAPIV3ClientCall) DoAndReturn(f func() (openapi.Client, error)) *MockFactoryOpenAPIV3ClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFactoryOpenAPIV3ClientCall) Return ¶
func (c *MockFactoryOpenAPIV3ClientCall) Return(arg0 openapi.Client, arg1 error) *MockFactoryOpenAPIV3ClientCall
Return rewrite *gomock.Call.Return
type MockFactoryRESTClientCall ¶
MockFactoryRESTClientCall wrap *gomock.Call
func (*MockFactoryRESTClientCall) Do ¶
func (c *MockFactoryRESTClientCall) Do(f func() (*rest.RESTClient, error)) *MockFactoryRESTClientCall
Do rewrite *gomock.Call.Do
func (*MockFactoryRESTClientCall) DoAndReturn ¶
func (c *MockFactoryRESTClientCall) DoAndReturn(f func() (*rest.RESTClient, error)) *MockFactoryRESTClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFactoryRESTClientCall) Return ¶
func (c *MockFactoryRESTClientCall) Return(arg0 *rest.RESTClient, arg1 error) *MockFactoryRESTClientCall
Return rewrite *gomock.Call.Return
type MockFactoryToDiscoveryClientCall ¶
MockFactoryToDiscoveryClientCall wrap *gomock.Call
func (*MockFactoryToDiscoveryClientCall) Do ¶
func (c *MockFactoryToDiscoveryClientCall) Do(f func() (discovery.CachedDiscoveryInterface, error)) *MockFactoryToDiscoveryClientCall
Do rewrite *gomock.Call.Do
func (*MockFactoryToDiscoveryClientCall) DoAndReturn ¶
func (c *MockFactoryToDiscoveryClientCall) DoAndReturn(f func() (discovery.CachedDiscoveryInterface, error)) *MockFactoryToDiscoveryClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFactoryToDiscoveryClientCall) Return ¶
func (c *MockFactoryToDiscoveryClientCall) Return(arg0 discovery.CachedDiscoveryInterface, arg1 error) *MockFactoryToDiscoveryClientCall
Return rewrite *gomock.Call.Return
type MockFactoryToRESTConfigCall ¶
MockFactoryToRESTConfigCall wrap *gomock.Call
func (*MockFactoryToRESTConfigCall) Do ¶
func (c *MockFactoryToRESTConfigCall) Do(f func() (*rest.Config, error)) *MockFactoryToRESTConfigCall
Do rewrite *gomock.Call.Do
func (*MockFactoryToRESTConfigCall) DoAndReturn ¶
func (c *MockFactoryToRESTConfigCall) DoAndReturn(f func() (*rest.Config, error)) *MockFactoryToRESTConfigCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFactoryToRESTConfigCall) Return ¶
func (c *MockFactoryToRESTConfigCall) Return(arg0 *rest.Config, arg1 error) *MockFactoryToRESTConfigCall
Return rewrite *gomock.Call.Return
type MockFactoryToRESTMapperCall ¶
MockFactoryToRESTMapperCall wrap *gomock.Call
func (*MockFactoryToRESTMapperCall) Do ¶
func (c *MockFactoryToRESTMapperCall) Do(f func() (meta.RESTMapper, error)) *MockFactoryToRESTMapperCall
Do rewrite *gomock.Call.Do
func (*MockFactoryToRESTMapperCall) DoAndReturn ¶
func (c *MockFactoryToRESTMapperCall) DoAndReturn(f func() (meta.RESTMapper, error)) *MockFactoryToRESTMapperCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFactoryToRESTMapperCall) Return ¶
func (c *MockFactoryToRESTMapperCall) Return(arg0 meta.RESTMapper, arg1 error) *MockFactoryToRESTMapperCall
Return rewrite *gomock.Call.Return
type MockFactoryToRawKubeConfigLoaderCall ¶
MockFactoryToRawKubeConfigLoaderCall wrap *gomock.Call
func (*MockFactoryToRawKubeConfigLoaderCall) Do ¶
func (c *MockFactoryToRawKubeConfigLoaderCall) Do(f func() clientcmd.ClientConfig) *MockFactoryToRawKubeConfigLoaderCall
Do rewrite *gomock.Call.Do
func (*MockFactoryToRawKubeConfigLoaderCall) DoAndReturn ¶
func (c *MockFactoryToRawKubeConfigLoaderCall) DoAndReturn(f func() clientcmd.ClientConfig) *MockFactoryToRawKubeConfigLoaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFactoryToRawKubeConfigLoaderCall) Return ¶
func (c *MockFactoryToRawKubeConfigLoaderCall) Return(arg0 clientcmd.ClientConfig) *MockFactoryToRawKubeConfigLoaderCall
Return rewrite *gomock.Call.Return
type MockFactoryUnstructuredClientForMappingCall ¶
MockFactoryUnstructuredClientForMappingCall wrap *gomock.Call
func (*MockFactoryUnstructuredClientForMappingCall) Do ¶
func (c *MockFactoryUnstructuredClientForMappingCall) Do(f func(*meta.RESTMapping) (resource.RESTClient, error)) *MockFactoryUnstructuredClientForMappingCall
Do rewrite *gomock.Call.Do
func (*MockFactoryUnstructuredClientForMappingCall) DoAndReturn ¶
func (c *MockFactoryUnstructuredClientForMappingCall) DoAndReturn(f func(*meta.RESTMapping) (resource.RESTClient, error)) *MockFactoryUnstructuredClientForMappingCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFactoryUnstructuredClientForMappingCall) Return ¶
func (c *MockFactoryUnstructuredClientForMappingCall) Return(arg0 resource.RESTClient, arg1 error) *MockFactoryUnstructuredClientForMappingCall
Return rewrite *gomock.Call.Return
type MockFactoryValidatorCall ¶
MockFactoryValidatorCall wrap *gomock.Call
func (*MockFactoryValidatorCall) Do ¶
func (c *MockFactoryValidatorCall) Do(f func(string) (validation.Schema, error)) *MockFactoryValidatorCall
Do rewrite *gomock.Call.Do
func (*MockFactoryValidatorCall) DoAndReturn ¶
func (c *MockFactoryValidatorCall) DoAndReturn(f func(string) (validation.Schema, error)) *MockFactoryValidatorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFactoryValidatorCall) Return ¶
func (c *MockFactoryValidatorCall) Return(arg0 validation.Schema, arg1 error) *MockFactoryValidatorCall
Return rewrite *gomock.Call.Return
type MockGenericLister ¶
type MockGenericLister struct {
// contains filtered or unexported fields
}
MockGenericLister is a mock of GenericLister interface.
func NewMockGenericLister ¶
func NewMockGenericLister(ctrl *gomock.Controller) *MockGenericLister
NewMockGenericLister creates a new mock instance.
func (*MockGenericLister) ByNamespace ¶
func (m *MockGenericLister) ByNamespace(namespace string) cache.GenericNamespaceLister
ByNamespace mocks base method.
func (*MockGenericLister) EXPECT ¶
func (m *MockGenericLister) EXPECT() *MockGenericListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGenericListerByNamespaceCall ¶
MockGenericListerByNamespaceCall wrap *gomock.Call
func (*MockGenericListerByNamespaceCall) Do ¶
func (c *MockGenericListerByNamespaceCall) Do(f func(string) cache.GenericNamespaceLister) *MockGenericListerByNamespaceCall
Do rewrite *gomock.Call.Do
func (*MockGenericListerByNamespaceCall) DoAndReturn ¶
func (c *MockGenericListerByNamespaceCall) DoAndReturn(f func(string) cache.GenericNamespaceLister) *MockGenericListerByNamespaceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGenericListerByNamespaceCall) Return ¶
func (c *MockGenericListerByNamespaceCall) Return(arg0 cache.GenericNamespaceLister) *MockGenericListerByNamespaceCall
Return rewrite *gomock.Call.Return
type MockGenericListerGetCall ¶
MockGenericListerGetCall wrap *gomock.Call
func (*MockGenericListerGetCall) Do ¶
func (c *MockGenericListerGetCall) Do(f func(string) (runtime.Object, error)) *MockGenericListerGetCall
Do rewrite *gomock.Call.Do
func (*MockGenericListerGetCall) DoAndReturn ¶
func (c *MockGenericListerGetCall) DoAndReturn(f func(string) (runtime.Object, error)) *MockGenericListerGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGenericListerGetCall) Return ¶
func (c *MockGenericListerGetCall) Return(arg0 runtime.Object, arg1 error) *MockGenericListerGetCall
Return rewrite *gomock.Call.Return
type MockGenericListerListCall ¶
MockGenericListerListCall wrap *gomock.Call
func (*MockGenericListerListCall) Do ¶
func (c *MockGenericListerListCall) Do(f func(labels.Selector) ([]runtime.Object, error)) *MockGenericListerListCall
Do rewrite *gomock.Call.Do
func (*MockGenericListerListCall) DoAndReturn ¶
func (c *MockGenericListerListCall) DoAndReturn(f func(labels.Selector) ([]runtime.Object, error)) *MockGenericListerListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGenericListerListCall) Return ¶
func (c *MockGenericListerListCall) Return(ret []runtime.Object, err error) *MockGenericListerListCall
Return rewrite *gomock.Call.Return
type MockGenericListerMockRecorder ¶
type MockGenericListerMockRecorder struct {
// contains filtered or unexported fields
}
MockGenericListerMockRecorder is the mock recorder for MockGenericLister.
func (*MockGenericListerMockRecorder) ByNamespace ¶
func (mr *MockGenericListerMockRecorder) ByNamespace(namespace any) *MockGenericListerByNamespaceCall
ByNamespace indicates an expected call of ByNamespace.
func (*MockGenericListerMockRecorder) Get ¶
func (mr *MockGenericListerMockRecorder) Get(name any) *MockGenericListerGetCall
Get indicates an expected call of Get.
func (*MockGenericListerMockRecorder) List ¶
func (mr *MockGenericListerMockRecorder) List(selector any) *MockGenericListerListCall
List indicates an expected call of List.
type MockGenericNamespaceLister ¶
type MockGenericNamespaceLister struct {
// contains filtered or unexported fields
}
MockGenericNamespaceLister is a mock of GenericNamespaceLister interface.
func NewMockGenericNamespaceLister ¶
func NewMockGenericNamespaceLister(ctrl *gomock.Controller) *MockGenericNamespaceLister
NewMockGenericNamespaceLister creates a new mock instance.
func (*MockGenericNamespaceLister) EXPECT ¶
func (m *MockGenericNamespaceLister) EXPECT() *MockGenericNamespaceListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGenericNamespaceListerGetCall ¶
MockGenericNamespaceListerGetCall wrap *gomock.Call
func (*MockGenericNamespaceListerGetCall) Do ¶
func (c *MockGenericNamespaceListerGetCall) Do(f func(string) (runtime.Object, error)) *MockGenericNamespaceListerGetCall
Do rewrite *gomock.Call.Do
func (*MockGenericNamespaceListerGetCall) DoAndReturn ¶
func (c *MockGenericNamespaceListerGetCall) DoAndReturn(f func(string) (runtime.Object, error)) *MockGenericNamespaceListerGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGenericNamespaceListerGetCall) Return ¶
func (c *MockGenericNamespaceListerGetCall) Return(arg0 runtime.Object, arg1 error) *MockGenericNamespaceListerGetCall
Return rewrite *gomock.Call.Return
type MockGenericNamespaceListerListCall ¶
MockGenericNamespaceListerListCall wrap *gomock.Call
func (*MockGenericNamespaceListerListCall) Do ¶
func (c *MockGenericNamespaceListerListCall) Do(f func(labels.Selector) ([]runtime.Object, error)) *MockGenericNamespaceListerListCall
Do rewrite *gomock.Call.Do
func (*MockGenericNamespaceListerListCall) DoAndReturn ¶
func (c *MockGenericNamespaceListerListCall) DoAndReturn(f func(labels.Selector) ([]runtime.Object, error)) *MockGenericNamespaceListerListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGenericNamespaceListerListCall) Return ¶
func (c *MockGenericNamespaceListerListCall) Return(ret []runtime.Object, err error) *MockGenericNamespaceListerListCall
Return rewrite *gomock.Call.Return
type MockGenericNamespaceListerMockRecorder ¶
type MockGenericNamespaceListerMockRecorder struct {
// contains filtered or unexported fields
}
MockGenericNamespaceListerMockRecorder is the mock recorder for MockGenericNamespaceLister.
func (*MockGenericNamespaceListerMockRecorder) Get ¶
func (mr *MockGenericNamespaceListerMockRecorder) Get(name any) *MockGenericNamespaceListerGetCall
Get indicates an expected call of Get.
func (*MockGenericNamespaceListerMockRecorder) List ¶
func (mr *MockGenericNamespaceListerMockRecorder) List(selector any) *MockGenericNamespaceListerListCall
List indicates an expected call of List.
type MockIndexer ¶
type MockIndexer struct {
// contains filtered or unexported fields
}
MockIndexer is a mock of Indexer interface.
func NewMockIndexer ¶
func NewMockIndexer(ctrl *gomock.Controller) *MockIndexer
NewMockIndexer creates a new mock instance.
func (*MockIndexer) AddIndexers ¶
func (m *MockIndexer) AddIndexers(newIndexers cache.Indexers) error
AddIndexers mocks base method.
func (*MockIndexer) ByIndex ¶
func (m *MockIndexer) ByIndex(indexName, indexedValue string) ([]any, error)
ByIndex mocks base method.
func (*MockIndexer) EXPECT ¶
func (m *MockIndexer) EXPECT() *MockIndexerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIndexer) Get ¶
func (m *MockIndexer) Get(obj any) (any, bool, error)
Get mocks base method.
func (*MockIndexer) GetByKey ¶
func (m *MockIndexer) GetByKey(key string) (any, bool, error)
GetByKey mocks base method.
func (*MockIndexer) GetIndexers ¶
func (m *MockIndexer) GetIndexers() cache.Indexers
GetIndexers mocks base method.
func (*MockIndexer) Index ¶
func (m *MockIndexer) Index(indexName string, obj any) ([]any, error)
Index mocks base method.
func (*MockIndexer) IndexKeys ¶
func (m *MockIndexer) IndexKeys(indexName, indexedValue string) ([]string, error)
IndexKeys mocks base method.
func (*MockIndexer) ListIndexFuncValues ¶
func (m *MockIndexer) ListIndexFuncValues(indexName string) []string
ListIndexFuncValues mocks base method.
func (*MockIndexer) ListKeys ¶
func (m *MockIndexer) ListKeys() []string
ListKeys mocks base method.
type MockIndexerAddCall ¶
MockIndexerAddCall wrap *gomock.Call
func (*MockIndexerAddCall) Do ¶
func (c *MockIndexerAddCall) Do(f func(any) error) *MockIndexerAddCall
Do rewrite *gomock.Call.Do
func (*MockIndexerAddCall) DoAndReturn ¶
func (c *MockIndexerAddCall) DoAndReturn(f func(any) error) *MockIndexerAddCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerAddCall) Return ¶
func (c *MockIndexerAddCall) Return(arg0 error) *MockIndexerAddCall
Return rewrite *gomock.Call.Return
type MockIndexerAddIndexersCall ¶
MockIndexerAddIndexersCall wrap *gomock.Call
func (*MockIndexerAddIndexersCall) Do ¶
func (c *MockIndexerAddIndexersCall) Do(f func(cache.Indexers) error) *MockIndexerAddIndexersCall
Do rewrite *gomock.Call.Do
func (*MockIndexerAddIndexersCall) DoAndReturn ¶
func (c *MockIndexerAddIndexersCall) DoAndReturn(f func(cache.Indexers) error) *MockIndexerAddIndexersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerAddIndexersCall) Return ¶
func (c *MockIndexerAddIndexersCall) Return(arg0 error) *MockIndexerAddIndexersCall
Return rewrite *gomock.Call.Return
type MockIndexerByIndexCall ¶
MockIndexerByIndexCall wrap *gomock.Call
func (*MockIndexerByIndexCall) Do ¶
func (c *MockIndexerByIndexCall) Do(f func(string, string) ([]any, error)) *MockIndexerByIndexCall
Do rewrite *gomock.Call.Do
func (*MockIndexerByIndexCall) DoAndReturn ¶
func (c *MockIndexerByIndexCall) DoAndReturn(f func(string, string) ([]any, error)) *MockIndexerByIndexCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerByIndexCall) Return ¶
func (c *MockIndexerByIndexCall) Return(arg0 []any, arg1 error) *MockIndexerByIndexCall
Return rewrite *gomock.Call.Return
type MockIndexerDeleteCall ¶
MockIndexerDeleteCall wrap *gomock.Call
func (*MockIndexerDeleteCall) Do ¶
func (c *MockIndexerDeleteCall) Do(f func(any) error) *MockIndexerDeleteCall
Do rewrite *gomock.Call.Do
func (*MockIndexerDeleteCall) DoAndReturn ¶
func (c *MockIndexerDeleteCall) DoAndReturn(f func(any) error) *MockIndexerDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerDeleteCall) Return ¶
func (c *MockIndexerDeleteCall) Return(arg0 error) *MockIndexerDeleteCall
Return rewrite *gomock.Call.Return
type MockIndexerGetByKeyCall ¶
MockIndexerGetByKeyCall wrap *gomock.Call
func (*MockIndexerGetByKeyCall) Do ¶
func (c *MockIndexerGetByKeyCall) Do(f func(string) (any, bool, error)) *MockIndexerGetByKeyCall
Do rewrite *gomock.Call.Do
func (*MockIndexerGetByKeyCall) DoAndReturn ¶
func (c *MockIndexerGetByKeyCall) DoAndReturn(f func(string) (any, bool, error)) *MockIndexerGetByKeyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerGetByKeyCall) Return ¶
func (c *MockIndexerGetByKeyCall) Return(item any, exists bool, err error) *MockIndexerGetByKeyCall
Return rewrite *gomock.Call.Return
type MockIndexerGetCall ¶
MockIndexerGetCall wrap *gomock.Call
func (*MockIndexerGetCall) Do ¶
func (c *MockIndexerGetCall) Do(f func(any) (any, bool, error)) *MockIndexerGetCall
Do rewrite *gomock.Call.Do
func (*MockIndexerGetCall) DoAndReturn ¶
func (c *MockIndexerGetCall) DoAndReturn(f func(any) (any, bool, error)) *MockIndexerGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerGetCall) Return ¶
func (c *MockIndexerGetCall) Return(item any, exists bool, err error) *MockIndexerGetCall
Return rewrite *gomock.Call.Return
type MockIndexerGetIndexersCall ¶
MockIndexerGetIndexersCall wrap *gomock.Call
func (*MockIndexerGetIndexersCall) Do ¶
func (c *MockIndexerGetIndexersCall) Do(f func() cache.Indexers) *MockIndexerGetIndexersCall
Do rewrite *gomock.Call.Do
func (*MockIndexerGetIndexersCall) DoAndReturn ¶
func (c *MockIndexerGetIndexersCall) DoAndReturn(f func() cache.Indexers) *MockIndexerGetIndexersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerGetIndexersCall) Return ¶
func (c *MockIndexerGetIndexersCall) Return(arg0 cache.Indexers) *MockIndexerGetIndexersCall
Return rewrite *gomock.Call.Return
type MockIndexerIndexCall ¶
MockIndexerIndexCall wrap *gomock.Call
func (*MockIndexerIndexCall) Do ¶
func (c *MockIndexerIndexCall) Do(f func(string, any) ([]any, error)) *MockIndexerIndexCall
Do rewrite *gomock.Call.Do
func (*MockIndexerIndexCall) DoAndReturn ¶
func (c *MockIndexerIndexCall) DoAndReturn(f func(string, any) ([]any, error)) *MockIndexerIndexCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerIndexCall) Return ¶
func (c *MockIndexerIndexCall) Return(arg0 []any, arg1 error) *MockIndexerIndexCall
Return rewrite *gomock.Call.Return
type MockIndexerIndexKeysCall ¶
MockIndexerIndexKeysCall wrap *gomock.Call
func (*MockIndexerIndexKeysCall) Do ¶
func (c *MockIndexerIndexKeysCall) Do(f func(string, string) ([]string, error)) *MockIndexerIndexKeysCall
Do rewrite *gomock.Call.Do
func (*MockIndexerIndexKeysCall) DoAndReturn ¶
func (c *MockIndexerIndexKeysCall) DoAndReturn(f func(string, string) ([]string, error)) *MockIndexerIndexKeysCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerIndexKeysCall) Return ¶
func (c *MockIndexerIndexKeysCall) Return(arg0 []string, arg1 error) *MockIndexerIndexKeysCall
Return rewrite *gomock.Call.Return
type MockIndexerListCall ¶
MockIndexerListCall wrap *gomock.Call
func (*MockIndexerListCall) Do ¶
func (c *MockIndexerListCall) Do(f func() []any) *MockIndexerListCall
Do rewrite *gomock.Call.Do
func (*MockIndexerListCall) DoAndReturn ¶
func (c *MockIndexerListCall) DoAndReturn(f func() []any) *MockIndexerListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerListCall) Return ¶
func (c *MockIndexerListCall) Return(arg0 []any) *MockIndexerListCall
Return rewrite *gomock.Call.Return
type MockIndexerListIndexFuncValuesCall ¶
MockIndexerListIndexFuncValuesCall wrap *gomock.Call
func (*MockIndexerListIndexFuncValuesCall) Do ¶
func (c *MockIndexerListIndexFuncValuesCall) Do(f func(string) []string) *MockIndexerListIndexFuncValuesCall
Do rewrite *gomock.Call.Do
func (*MockIndexerListIndexFuncValuesCall) DoAndReturn ¶
func (c *MockIndexerListIndexFuncValuesCall) DoAndReturn(f func(string) []string) *MockIndexerListIndexFuncValuesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerListIndexFuncValuesCall) Return ¶
func (c *MockIndexerListIndexFuncValuesCall) Return(arg0 []string) *MockIndexerListIndexFuncValuesCall
Return rewrite *gomock.Call.Return
type MockIndexerListKeysCall ¶
MockIndexerListKeysCall wrap *gomock.Call
func (*MockIndexerListKeysCall) Do ¶
func (c *MockIndexerListKeysCall) Do(f func() []string) *MockIndexerListKeysCall
Do rewrite *gomock.Call.Do
func (*MockIndexerListKeysCall) DoAndReturn ¶
func (c *MockIndexerListKeysCall) DoAndReturn(f func() []string) *MockIndexerListKeysCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerListKeysCall) Return ¶
func (c *MockIndexerListKeysCall) Return(arg0 []string) *MockIndexerListKeysCall
Return rewrite *gomock.Call.Return
type MockIndexerMockRecorder ¶
type MockIndexerMockRecorder struct {
// contains filtered or unexported fields
}
MockIndexerMockRecorder is the mock recorder for MockIndexer.
func (*MockIndexerMockRecorder) Add ¶
func (mr *MockIndexerMockRecorder) Add(obj any) *MockIndexerAddCall
Add indicates an expected call of Add.
func (*MockIndexerMockRecorder) AddIndexers ¶
func (mr *MockIndexerMockRecorder) AddIndexers(newIndexers any) *MockIndexerAddIndexersCall
AddIndexers indicates an expected call of AddIndexers.
func (*MockIndexerMockRecorder) ByIndex ¶
func (mr *MockIndexerMockRecorder) ByIndex(indexName, indexedValue any) *MockIndexerByIndexCall
ByIndex indicates an expected call of ByIndex.
func (*MockIndexerMockRecorder) Delete ¶
func (mr *MockIndexerMockRecorder) Delete(obj any) *MockIndexerDeleteCall
Delete indicates an expected call of Delete.
func (*MockIndexerMockRecorder) Get ¶
func (mr *MockIndexerMockRecorder) Get(obj any) *MockIndexerGetCall
Get indicates an expected call of Get.
func (*MockIndexerMockRecorder) GetByKey ¶
func (mr *MockIndexerMockRecorder) GetByKey(key any) *MockIndexerGetByKeyCall
GetByKey indicates an expected call of GetByKey.
func (*MockIndexerMockRecorder) GetIndexers ¶
func (mr *MockIndexerMockRecorder) GetIndexers() *MockIndexerGetIndexersCall
GetIndexers indicates an expected call of GetIndexers.
func (*MockIndexerMockRecorder) Index ¶
func (mr *MockIndexerMockRecorder) Index(indexName, obj any) *MockIndexerIndexCall
Index indicates an expected call of Index.
func (*MockIndexerMockRecorder) IndexKeys ¶
func (mr *MockIndexerMockRecorder) IndexKeys(indexName, indexedValue any) *MockIndexerIndexKeysCall
IndexKeys indicates an expected call of IndexKeys.
func (*MockIndexerMockRecorder) List ¶
func (mr *MockIndexerMockRecorder) List() *MockIndexerListCall
List indicates an expected call of List.
func (*MockIndexerMockRecorder) ListIndexFuncValues ¶
func (mr *MockIndexerMockRecorder) ListIndexFuncValues(indexName any) *MockIndexerListIndexFuncValuesCall
ListIndexFuncValues indicates an expected call of ListIndexFuncValues.
func (*MockIndexerMockRecorder) ListKeys ¶
func (mr *MockIndexerMockRecorder) ListKeys() *MockIndexerListKeysCall
ListKeys indicates an expected call of ListKeys.
func (*MockIndexerMockRecorder) Replace ¶
func (mr *MockIndexerMockRecorder) Replace(arg0, arg1 any) *MockIndexerReplaceCall
Replace indicates an expected call of Replace.
func (*MockIndexerMockRecorder) Resync ¶
func (mr *MockIndexerMockRecorder) Resync() *MockIndexerResyncCall
Resync indicates an expected call of Resync.
func (*MockIndexerMockRecorder) Update ¶
func (mr *MockIndexerMockRecorder) Update(obj any) *MockIndexerUpdateCall
Update indicates an expected call of Update.
type MockIndexerReplaceCall ¶
MockIndexerReplaceCall wrap *gomock.Call
func (*MockIndexerReplaceCall) Do ¶
func (c *MockIndexerReplaceCall) Do(f func([]any, string) error) *MockIndexerReplaceCall
Do rewrite *gomock.Call.Do
func (*MockIndexerReplaceCall) DoAndReturn ¶
func (c *MockIndexerReplaceCall) DoAndReturn(f func([]any, string) error) *MockIndexerReplaceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerReplaceCall) Return ¶
func (c *MockIndexerReplaceCall) Return(arg0 error) *MockIndexerReplaceCall
Return rewrite *gomock.Call.Return
type MockIndexerResyncCall ¶
MockIndexerResyncCall wrap *gomock.Call
func (*MockIndexerResyncCall) Do ¶
func (c *MockIndexerResyncCall) Do(f func() error) *MockIndexerResyncCall
Do rewrite *gomock.Call.Do
func (*MockIndexerResyncCall) DoAndReturn ¶
func (c *MockIndexerResyncCall) DoAndReturn(f func() error) *MockIndexerResyncCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerResyncCall) Return ¶
func (c *MockIndexerResyncCall) Return(arg0 error) *MockIndexerResyncCall
Return rewrite *gomock.Call.Return
type MockIndexerUpdateCall ¶
MockIndexerUpdateCall wrap *gomock.Call
func (*MockIndexerUpdateCall) Do ¶
func (c *MockIndexerUpdateCall) Do(f func(any) error) *MockIndexerUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIndexerUpdateCall) DoAndReturn ¶
func (c *MockIndexerUpdateCall) DoAndReturn(f func(any) error) *MockIndexerUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIndexerUpdateCall) Return ¶
func (c *MockIndexerUpdateCall) Return(arg0 error) *MockIndexerUpdateCall
Return rewrite *gomock.Call.Return
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) Apply ¶
func (m *MockNamespaceableResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions, subresources ...string) (*unstructured.Unstructured, error)
Apply mocks base method.
func (*MockNamespaceableResourceInterface) ApplyStatus ¶
func (m *MockNamespaceableResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions) (*unstructured.Unstructured, error)
ApplyStatus mocks base method.
func (*MockNamespaceableResourceInterface) Create ¶
func (m *MockNamespaceableResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)
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 ¶
func (m *MockNamespaceableResourceInterface) EXPECT() *MockNamespaceableResourceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNamespaceableResourceInterface) Get ¶
func (m *MockNamespaceableResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)
Get mocks base method.
func (*MockNamespaceableResourceInterface) List ¶
func (m *MockNamespaceableResourceInterface) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
List mocks base method.
func (*MockNamespaceableResourceInterface) Namespace ¶
func (m *MockNamespaceableResourceInterface) Namespace(arg0 string) dynamic.ResourceInterface
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 ¶
func (m *MockNamespaceableResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)
Update mocks base method.
func (*MockNamespaceableResourceInterface) UpdateStatus ¶
func (m *MockNamespaceableResourceInterface) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
UpdateStatus mocks base method.
func (*MockNamespaceableResourceInterface) Watch ¶
func (m *MockNamespaceableResourceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockNamespaceableResourceInterfaceApplyCall ¶
MockNamespaceableResourceInterfaceApplyCall wrap *gomock.Call
func (*MockNamespaceableResourceInterfaceApplyCall) Do ¶
func (c *MockNamespaceableResourceInterfaceApplyCall) Do(f func(context.Context, string, *unstructured.Unstructured, v1.ApplyOptions, ...string) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfaceApplyCall
Do rewrite *gomock.Call.Do
func (*MockNamespaceableResourceInterfaceApplyCall) DoAndReturn ¶
func (c *MockNamespaceableResourceInterfaceApplyCall) DoAndReturn(f func(context.Context, string, *unstructured.Unstructured, v1.ApplyOptions, ...string) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfaceApplyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNamespaceableResourceInterfaceApplyCall) Return ¶
func (c *MockNamespaceableResourceInterfaceApplyCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfaceApplyCall
Return rewrite *gomock.Call.Return
type MockNamespaceableResourceInterfaceApplyStatusCall ¶
MockNamespaceableResourceInterfaceApplyStatusCall wrap *gomock.Call
func (*MockNamespaceableResourceInterfaceApplyStatusCall) Do ¶
func (c *MockNamespaceableResourceInterfaceApplyStatusCall) Do(f func(context.Context, string, *unstructured.Unstructured, v1.ApplyOptions) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfaceApplyStatusCall
Do rewrite *gomock.Call.Do
func (*MockNamespaceableResourceInterfaceApplyStatusCall) DoAndReturn ¶
func (c *MockNamespaceableResourceInterfaceApplyStatusCall) DoAndReturn(f func(context.Context, string, *unstructured.Unstructured, v1.ApplyOptions) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfaceApplyStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNamespaceableResourceInterfaceApplyStatusCall) Return ¶
func (c *MockNamespaceableResourceInterfaceApplyStatusCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfaceApplyStatusCall
Return rewrite *gomock.Call.Return
type MockNamespaceableResourceInterfaceCreateCall ¶
MockNamespaceableResourceInterfaceCreateCall wrap *gomock.Call
func (*MockNamespaceableResourceInterfaceCreateCall) Do ¶
func (c *MockNamespaceableResourceInterfaceCreateCall) Do(f func(context.Context, *unstructured.Unstructured, v1.CreateOptions, ...string) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfaceCreateCall
Do rewrite *gomock.Call.Do
func (*MockNamespaceableResourceInterfaceCreateCall) DoAndReturn ¶
func (c *MockNamespaceableResourceInterfaceCreateCall) DoAndReturn(f func(context.Context, *unstructured.Unstructured, v1.CreateOptions, ...string) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfaceCreateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNamespaceableResourceInterfaceCreateCall) Return ¶
func (c *MockNamespaceableResourceInterfaceCreateCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfaceCreateCall
Return rewrite *gomock.Call.Return
type MockNamespaceableResourceInterfaceDeleteCall ¶
MockNamespaceableResourceInterfaceDeleteCall wrap *gomock.Call
func (*MockNamespaceableResourceInterfaceDeleteCall) Do ¶
func (c *MockNamespaceableResourceInterfaceDeleteCall) Do(f func(context.Context, string, v1.DeleteOptions, ...string) error) *MockNamespaceableResourceInterfaceDeleteCall
Do rewrite *gomock.Call.Do
func (*MockNamespaceableResourceInterfaceDeleteCall) DoAndReturn ¶
func (c *MockNamespaceableResourceInterfaceDeleteCall) DoAndReturn(f func(context.Context, string, v1.DeleteOptions, ...string) error) *MockNamespaceableResourceInterfaceDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNamespaceableResourceInterfaceDeleteCall) Return ¶
func (c *MockNamespaceableResourceInterfaceDeleteCall) Return(arg0 error) *MockNamespaceableResourceInterfaceDeleteCall
Return rewrite *gomock.Call.Return
type MockNamespaceableResourceInterfaceDeleteCollectionCall ¶
MockNamespaceableResourceInterfaceDeleteCollectionCall wrap *gomock.Call
func (*MockNamespaceableResourceInterfaceDeleteCollectionCall) Do ¶
func (c *MockNamespaceableResourceInterfaceDeleteCollectionCall) Do(f func(context.Context, v1.DeleteOptions, v1.ListOptions) error) *MockNamespaceableResourceInterfaceDeleteCollectionCall
Do rewrite *gomock.Call.Do
func (*MockNamespaceableResourceInterfaceDeleteCollectionCall) DoAndReturn ¶
func (c *MockNamespaceableResourceInterfaceDeleteCollectionCall) DoAndReturn(f func(context.Context, v1.DeleteOptions, v1.ListOptions) error) *MockNamespaceableResourceInterfaceDeleteCollectionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNamespaceableResourceInterfaceDeleteCollectionCall) Return ¶
func (c *MockNamespaceableResourceInterfaceDeleteCollectionCall) Return(arg0 error) *MockNamespaceableResourceInterfaceDeleteCollectionCall
Return rewrite *gomock.Call.Return
type MockNamespaceableResourceInterfaceGetCall ¶
MockNamespaceableResourceInterfaceGetCall wrap *gomock.Call
func (*MockNamespaceableResourceInterfaceGetCall) Do ¶
func (c *MockNamespaceableResourceInterfaceGetCall) Do(f func(context.Context, string, v1.GetOptions, ...string) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfaceGetCall
Do rewrite *gomock.Call.Do
func (*MockNamespaceableResourceInterfaceGetCall) DoAndReturn ¶
func (c *MockNamespaceableResourceInterfaceGetCall) DoAndReturn(f func(context.Context, string, v1.GetOptions, ...string) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfaceGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNamespaceableResourceInterfaceGetCall) Return ¶
func (c *MockNamespaceableResourceInterfaceGetCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfaceGetCall
Return rewrite *gomock.Call.Return
type MockNamespaceableResourceInterfaceListCall ¶
MockNamespaceableResourceInterfaceListCall wrap *gomock.Call
func (*MockNamespaceableResourceInterfaceListCall) Do ¶
func (c *MockNamespaceableResourceInterfaceListCall) Do(f func(context.Context, v1.ListOptions) (*unstructured.UnstructuredList, error)) *MockNamespaceableResourceInterfaceListCall
Do rewrite *gomock.Call.Do
func (*MockNamespaceableResourceInterfaceListCall) DoAndReturn ¶
func (c *MockNamespaceableResourceInterfaceListCall) DoAndReturn(f func(context.Context, v1.ListOptions) (*unstructured.UnstructuredList, error)) *MockNamespaceableResourceInterfaceListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNamespaceableResourceInterfaceListCall) Return ¶
func (c *MockNamespaceableResourceInterfaceListCall) Return(arg0 *unstructured.UnstructuredList, arg1 error) *MockNamespaceableResourceInterfaceListCall
Return rewrite *gomock.Call.Return
type MockNamespaceableResourceInterfaceMockRecorder ¶
type MockNamespaceableResourceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespaceableResourceInterfaceMockRecorder is the mock recorder for MockNamespaceableResourceInterface.
func (*MockNamespaceableResourceInterfaceMockRecorder) Apply ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Apply(ctx, name, obj, options any, subresources ...any) *MockNamespaceableResourceInterfaceApplyCall
Apply indicates an expected call of Apply.
func (*MockNamespaceableResourceInterfaceMockRecorder) ApplyStatus ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) ApplyStatus(ctx, name, obj, options any) *MockNamespaceableResourceInterfaceApplyStatusCall
ApplyStatus indicates an expected call of ApplyStatus.
func (*MockNamespaceableResourceInterfaceMockRecorder) Create ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Create(ctx, obj, options any, subresources ...any) *MockNamespaceableResourceInterfaceCreateCall
Create indicates an expected call of Create.
func (*MockNamespaceableResourceInterfaceMockRecorder) Delete ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Delete(ctx, name, options any, subresources ...any) *MockNamespaceableResourceInterfaceDeleteCall
Delete indicates an expected call of Delete.
func (*MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions any) *MockNamespaceableResourceInterfaceDeleteCollectionCall
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockNamespaceableResourceInterfaceMockRecorder) Get ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Get(ctx, name, options any, subresources ...any) *MockNamespaceableResourceInterfaceGetCall
Get indicates an expected call of Get.
func (*MockNamespaceableResourceInterfaceMockRecorder) List ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) List(ctx, opts any) *MockNamespaceableResourceInterfaceListCall
List indicates an expected call of List.
func (*MockNamespaceableResourceInterfaceMockRecorder) Namespace ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Namespace(arg0 any) *MockNamespaceableResourceInterfaceNamespaceCall
Namespace indicates an expected call of Namespace.
func (*MockNamespaceableResourceInterfaceMockRecorder) Patch ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options any, subresources ...any) *MockNamespaceableResourceInterfacePatchCall
Patch indicates an expected call of Patch.
func (*MockNamespaceableResourceInterfaceMockRecorder) Update ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Update(ctx, obj, options any, subresources ...any) *MockNamespaceableResourceInterfaceUpdateCall
Update indicates an expected call of Update.
func (*MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options any) *MockNamespaceableResourceInterfaceUpdateStatusCall
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockNamespaceableResourceInterfaceMockRecorder) Watch ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Watch(ctx, opts any) *MockNamespaceableResourceInterfaceWatchCall
Watch indicates an expected call of Watch.
type MockNamespaceableResourceInterfaceNamespaceCall ¶
MockNamespaceableResourceInterfaceNamespaceCall wrap *gomock.Call
func (*MockNamespaceableResourceInterfaceNamespaceCall) Do ¶
func (c *MockNamespaceableResourceInterfaceNamespaceCall) Do(f func(string) dynamic.ResourceInterface) *MockNamespaceableResourceInterfaceNamespaceCall
Do rewrite *gomock.Call.Do
func (*MockNamespaceableResourceInterfaceNamespaceCall) DoAndReturn ¶
func (c *MockNamespaceableResourceInterfaceNamespaceCall) DoAndReturn(f func(string) dynamic.ResourceInterface) *MockNamespaceableResourceInterfaceNamespaceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNamespaceableResourceInterfaceNamespaceCall) Return ¶
func (c *MockNamespaceableResourceInterfaceNamespaceCall) Return(arg0 dynamic.ResourceInterface) *MockNamespaceableResourceInterfaceNamespaceCall
Return rewrite *gomock.Call.Return
type MockNamespaceableResourceInterfacePatchCall ¶
MockNamespaceableResourceInterfacePatchCall wrap *gomock.Call
func (*MockNamespaceableResourceInterfacePatchCall) Do ¶
func (c *MockNamespaceableResourceInterfacePatchCall) Do(f func(context.Context, string, types.PatchType, []byte, v1.PatchOptions, ...string) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfacePatchCall
Do rewrite *gomock.Call.Do
func (*MockNamespaceableResourceInterfacePatchCall) DoAndReturn ¶
func (c *MockNamespaceableResourceInterfacePatchCall) DoAndReturn(f func(context.Context, string, types.PatchType, []byte, v1.PatchOptions, ...string) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfacePatchCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNamespaceableResourceInterfacePatchCall) Return ¶
func (c *MockNamespaceableResourceInterfacePatchCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfacePatchCall
Return rewrite *gomock.Call.Return
type MockNamespaceableResourceInterfaceUpdateCall ¶
MockNamespaceableResourceInterfaceUpdateCall wrap *gomock.Call
func (*MockNamespaceableResourceInterfaceUpdateCall) Do ¶
func (c *MockNamespaceableResourceInterfaceUpdateCall) Do(f func(context.Context, *unstructured.Unstructured, v1.UpdateOptions, ...string) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfaceUpdateCall
Do rewrite *gomock.Call.Do
func (*MockNamespaceableResourceInterfaceUpdateCall) DoAndReturn ¶
func (c *MockNamespaceableResourceInterfaceUpdateCall) DoAndReturn(f func(context.Context, *unstructured.Unstructured, v1.UpdateOptions, ...string) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfaceUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNamespaceableResourceInterfaceUpdateCall) Return ¶
func (c *MockNamespaceableResourceInterfaceUpdateCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfaceUpdateCall
Return rewrite *gomock.Call.Return
type MockNamespaceableResourceInterfaceUpdateStatusCall ¶
MockNamespaceableResourceInterfaceUpdateStatusCall wrap *gomock.Call
func (*MockNamespaceableResourceInterfaceUpdateStatusCall) Do ¶
func (c *MockNamespaceableResourceInterfaceUpdateStatusCall) Do(f func(context.Context, *unstructured.Unstructured, v1.UpdateOptions) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfaceUpdateStatusCall
Do rewrite *gomock.Call.Do
func (*MockNamespaceableResourceInterfaceUpdateStatusCall) DoAndReturn ¶
func (c *MockNamespaceableResourceInterfaceUpdateStatusCall) DoAndReturn(f func(context.Context, *unstructured.Unstructured, v1.UpdateOptions) (*unstructured.Unstructured, error)) *MockNamespaceableResourceInterfaceUpdateStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNamespaceableResourceInterfaceUpdateStatusCall) Return ¶
func (c *MockNamespaceableResourceInterfaceUpdateStatusCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockNamespaceableResourceInterfaceUpdateStatusCall
Return rewrite *gomock.Call.Return
type MockNamespaceableResourceInterfaceWatchCall ¶
MockNamespaceableResourceInterfaceWatchCall wrap *gomock.Call
func (*MockNamespaceableResourceInterfaceWatchCall) Do ¶
func (c *MockNamespaceableResourceInterfaceWatchCall) Do(f func(context.Context, v1.ListOptions) (watch.Interface, error)) *MockNamespaceableResourceInterfaceWatchCall
Do rewrite *gomock.Call.Do
func (*MockNamespaceableResourceInterfaceWatchCall) DoAndReturn ¶
func (c *MockNamespaceableResourceInterfaceWatchCall) DoAndReturn(f func(context.Context, v1.ListOptions) (watch.Interface, error)) *MockNamespaceableResourceInterfaceWatchCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNamespaceableResourceInterfaceWatchCall) Return ¶
func (c *MockNamespaceableResourceInterfaceWatchCall) Return(arg0 watch.Interface, arg1 error) *MockNamespaceableResourceInterfaceWatchCall
Return rewrite *gomock.Call.Return
type MockRESTClientGetter ¶
type MockRESTClientGetter struct {
// contains filtered or unexported fields
}
MockRESTClientGetter is a mock of RESTClientGetter interface.
func NewMockRESTClientGetter ¶
func NewMockRESTClientGetter(ctrl *gomock.Controller) *MockRESTClientGetter
NewMockRESTClientGetter creates a new mock instance.
func (*MockRESTClientGetter) EXPECT ¶
func (m *MockRESTClientGetter) EXPECT() *MockRESTClientGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRESTClientGetter) ToDiscoveryClient ¶
func (m *MockRESTClientGetter) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
ToDiscoveryClient mocks base method.
func (*MockRESTClientGetter) ToRESTConfig ¶
func (m *MockRESTClientGetter) ToRESTConfig() (*rest.Config, error)
ToRESTConfig mocks base method.
func (*MockRESTClientGetter) ToRESTMapper ¶
func (m *MockRESTClientGetter) ToRESTMapper() (meta.RESTMapper, error)
ToRESTMapper mocks base method.
type MockRESTClientGetterMockRecorder ¶
type MockRESTClientGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockRESTClientGetterMockRecorder is the mock recorder for MockRESTClientGetter.
func (*MockRESTClientGetterMockRecorder) ToDiscoveryClient ¶
func (mr *MockRESTClientGetterMockRecorder) ToDiscoveryClient() *MockRESTClientGetterToDiscoveryClientCall
ToDiscoveryClient indicates an expected call of ToDiscoveryClient.
func (*MockRESTClientGetterMockRecorder) ToRESTConfig ¶
func (mr *MockRESTClientGetterMockRecorder) ToRESTConfig() *MockRESTClientGetterToRESTConfigCall
ToRESTConfig indicates an expected call of ToRESTConfig.
func (*MockRESTClientGetterMockRecorder) ToRESTMapper ¶
func (mr *MockRESTClientGetterMockRecorder) ToRESTMapper() *MockRESTClientGetterToRESTMapperCall
ToRESTMapper indicates an expected call of ToRESTMapper.
type MockRESTClientGetterToDiscoveryClientCall ¶
MockRESTClientGetterToDiscoveryClientCall wrap *gomock.Call
func (*MockRESTClientGetterToDiscoveryClientCall) Do ¶
func (c *MockRESTClientGetterToDiscoveryClientCall) Do(f func() (discovery.CachedDiscoveryInterface, error)) *MockRESTClientGetterToDiscoveryClientCall
Do rewrite *gomock.Call.Do
func (*MockRESTClientGetterToDiscoveryClientCall) DoAndReturn ¶
func (c *MockRESTClientGetterToDiscoveryClientCall) DoAndReturn(f func() (discovery.CachedDiscoveryInterface, error)) *MockRESTClientGetterToDiscoveryClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRESTClientGetterToDiscoveryClientCall) Return ¶
func (c *MockRESTClientGetterToDiscoveryClientCall) Return(arg0 discovery.CachedDiscoveryInterface, arg1 error) *MockRESTClientGetterToDiscoveryClientCall
Return rewrite *gomock.Call.Return
type MockRESTClientGetterToRESTConfigCall ¶
MockRESTClientGetterToRESTConfigCall wrap *gomock.Call
func (*MockRESTClientGetterToRESTConfigCall) Do ¶
func (c *MockRESTClientGetterToRESTConfigCall) Do(f func() (*rest.Config, error)) *MockRESTClientGetterToRESTConfigCall
Do rewrite *gomock.Call.Do
func (*MockRESTClientGetterToRESTConfigCall) DoAndReturn ¶
func (c *MockRESTClientGetterToRESTConfigCall) DoAndReturn(f func() (*rest.Config, error)) *MockRESTClientGetterToRESTConfigCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRESTClientGetterToRESTConfigCall) Return ¶
func (c *MockRESTClientGetterToRESTConfigCall) Return(arg0 *rest.Config, arg1 error) *MockRESTClientGetterToRESTConfigCall
Return rewrite *gomock.Call.Return
type MockRESTClientGetterToRESTMapperCall ¶
MockRESTClientGetterToRESTMapperCall wrap *gomock.Call
func (*MockRESTClientGetterToRESTMapperCall) Do ¶
func (c *MockRESTClientGetterToRESTMapperCall) Do(f func() (meta.RESTMapper, error)) *MockRESTClientGetterToRESTMapperCall
Do rewrite *gomock.Call.Do
func (*MockRESTClientGetterToRESTMapperCall) DoAndReturn ¶
func (c *MockRESTClientGetterToRESTMapperCall) DoAndReturn(f func() (meta.RESTMapper, error)) *MockRESTClientGetterToRESTMapperCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRESTClientGetterToRESTMapperCall) Return ¶
func (c *MockRESTClientGetterToRESTMapperCall) Return(arg0 meta.RESTMapper, arg1 error) *MockRESTClientGetterToRESTMapperCall
Return rewrite *gomock.Call.Return
type MockRateLimitingWorkqueue ¶
type MockRateLimitingWorkqueue[T comparable] struct { // contains filtered or unexported fields }
MockRateLimitingWorkqueue is a mock of TypedRateLimitingInterface interface.
func NewMockRateLimitingWorkqueue ¶
func NewMockRateLimitingWorkqueue[T comparable](ctrl *gomock.Controller) *MockRateLimitingWorkqueue[T]
NewMockRateLimitingWorkqueue creates a new mock instance.
func (*MockRateLimitingWorkqueue[T]) Add ¶
func (m *MockRateLimitingWorkqueue[T]) Add(item T)
Add mocks base method.
func (*MockRateLimitingWorkqueue[T]) AddAfter ¶
func (m *MockRateLimitingWorkqueue[T]) AddAfter(item T, duration time.Duration)
AddAfter mocks base method.
func (*MockRateLimitingWorkqueue[T]) AddRateLimited ¶
func (m *MockRateLimitingWorkqueue[T]) AddRateLimited(item T)
AddRateLimited mocks base method.
func (*MockRateLimitingWorkqueue[T]) Done ¶
func (m *MockRateLimitingWorkqueue[T]) Done(item T)
Done mocks base method.
func (*MockRateLimitingWorkqueue[T]) EXPECT ¶
func (m *MockRateLimitingWorkqueue[T]) EXPECT() *MockRateLimitingWorkqueueMockRecorder[T]
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRateLimitingWorkqueue[T]) Forget ¶
func (m *MockRateLimitingWorkqueue[T]) Forget(item T)
Forget mocks base method.
func (*MockRateLimitingWorkqueue[T]) Get ¶
func (m *MockRateLimitingWorkqueue[T]) Get() (T, bool)
Get mocks base method.
func (*MockRateLimitingWorkqueue[T]) Len ¶
func (m *MockRateLimitingWorkqueue[T]) Len() int
Len mocks base method.
func (*MockRateLimitingWorkqueue[T]) NumRequeues ¶
func (m *MockRateLimitingWorkqueue[T]) NumRequeues(item T) int
NumRequeues mocks base method.
func (*MockRateLimitingWorkqueue[T]) ShutDown ¶
func (m *MockRateLimitingWorkqueue[T]) ShutDown()
ShutDown mocks base method.
func (*MockRateLimitingWorkqueue[T]) ShutDownWithDrain ¶
func (m *MockRateLimitingWorkqueue[T]) ShutDownWithDrain()
ShutDownWithDrain mocks base method.
func (*MockRateLimitingWorkqueue[T]) ShuttingDown ¶
func (m *MockRateLimitingWorkqueue[T]) ShuttingDown() bool
ShuttingDown mocks base method.
type MockRateLimitingWorkqueueAddAfterCall ¶
type MockRateLimitingWorkqueueAddAfterCall[T comparable] struct { *gomock.Call }
MockRateLimitingWorkqueueAddAfterCall wrap *gomock.Call
func (*MockRateLimitingWorkqueueAddAfterCall[T]) Do ¶
func (c *MockRateLimitingWorkqueueAddAfterCall[T]) Do(f func(T, time.Duration)) *MockRateLimitingWorkqueueAddAfterCall[T]
Do rewrite *gomock.Call.Do
func (*MockRateLimitingWorkqueueAddAfterCall[T]) DoAndReturn ¶
func (c *MockRateLimitingWorkqueueAddAfterCall[T]) DoAndReturn(f func(T, time.Duration)) *MockRateLimitingWorkqueueAddAfterCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRateLimitingWorkqueueAddAfterCall[T]) Return ¶
func (c *MockRateLimitingWorkqueueAddAfterCall[T]) Return() *MockRateLimitingWorkqueueAddAfterCall[T]
Return rewrite *gomock.Call.Return
type MockRateLimitingWorkqueueAddCall ¶
type MockRateLimitingWorkqueueAddCall[T comparable] struct { *gomock.Call }
MockRateLimitingWorkqueueAddCall wrap *gomock.Call
func (*MockRateLimitingWorkqueueAddCall[T]) Do ¶
func (c *MockRateLimitingWorkqueueAddCall[T]) Do(f func(T)) *MockRateLimitingWorkqueueAddCall[T]
Do rewrite *gomock.Call.Do
func (*MockRateLimitingWorkqueueAddCall[T]) DoAndReturn ¶
func (c *MockRateLimitingWorkqueueAddCall[T]) DoAndReturn(f func(T)) *MockRateLimitingWorkqueueAddCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRateLimitingWorkqueueAddCall[T]) Return ¶
func (c *MockRateLimitingWorkqueueAddCall[T]) Return() *MockRateLimitingWorkqueueAddCall[T]
Return rewrite *gomock.Call.Return
type MockRateLimitingWorkqueueAddRateLimitedCall ¶
type MockRateLimitingWorkqueueAddRateLimitedCall[T comparable] struct { *gomock.Call }
MockRateLimitingWorkqueueAddRateLimitedCall wrap *gomock.Call
func (*MockRateLimitingWorkqueueAddRateLimitedCall[T]) Do ¶
func (c *MockRateLimitingWorkqueueAddRateLimitedCall[T]) Do(f func(T)) *MockRateLimitingWorkqueueAddRateLimitedCall[T]
Do rewrite *gomock.Call.Do
func (*MockRateLimitingWorkqueueAddRateLimitedCall[T]) DoAndReturn ¶
func (c *MockRateLimitingWorkqueueAddRateLimitedCall[T]) DoAndReturn(f func(T)) *MockRateLimitingWorkqueueAddRateLimitedCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRateLimitingWorkqueueAddRateLimitedCall[T]) Return ¶
func (c *MockRateLimitingWorkqueueAddRateLimitedCall[T]) Return() *MockRateLimitingWorkqueueAddRateLimitedCall[T]
Return rewrite *gomock.Call.Return
type MockRateLimitingWorkqueueDoneCall ¶
type MockRateLimitingWorkqueueDoneCall[T comparable] struct { *gomock.Call }
MockRateLimitingWorkqueueDoneCall wrap *gomock.Call
func (*MockRateLimitingWorkqueueDoneCall[T]) Do ¶
func (c *MockRateLimitingWorkqueueDoneCall[T]) Do(f func(T)) *MockRateLimitingWorkqueueDoneCall[T]
Do rewrite *gomock.Call.Do
func (*MockRateLimitingWorkqueueDoneCall[T]) DoAndReturn ¶
func (c *MockRateLimitingWorkqueueDoneCall[T]) DoAndReturn(f func(T)) *MockRateLimitingWorkqueueDoneCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRateLimitingWorkqueueDoneCall[T]) Return ¶
func (c *MockRateLimitingWorkqueueDoneCall[T]) Return() *MockRateLimitingWorkqueueDoneCall[T]
Return rewrite *gomock.Call.Return
type MockRateLimitingWorkqueueForgetCall ¶
type MockRateLimitingWorkqueueForgetCall[T comparable] struct { *gomock.Call }
MockRateLimitingWorkqueueForgetCall wrap *gomock.Call
func (*MockRateLimitingWorkqueueForgetCall[T]) Do ¶
func (c *MockRateLimitingWorkqueueForgetCall[T]) Do(f func(T)) *MockRateLimitingWorkqueueForgetCall[T]
Do rewrite *gomock.Call.Do
func (*MockRateLimitingWorkqueueForgetCall[T]) DoAndReturn ¶
func (c *MockRateLimitingWorkqueueForgetCall[T]) DoAndReturn(f func(T)) *MockRateLimitingWorkqueueForgetCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRateLimitingWorkqueueForgetCall[T]) Return ¶
func (c *MockRateLimitingWorkqueueForgetCall[T]) Return() *MockRateLimitingWorkqueueForgetCall[T]
Return rewrite *gomock.Call.Return
type MockRateLimitingWorkqueueGetCall ¶
type MockRateLimitingWorkqueueGetCall[T comparable] struct { *gomock.Call }
MockRateLimitingWorkqueueGetCall wrap *gomock.Call
func (*MockRateLimitingWorkqueueGetCall[T]) Do ¶
func (c *MockRateLimitingWorkqueueGetCall[T]) Do(f func() (T, bool)) *MockRateLimitingWorkqueueGetCall[T]
Do rewrite *gomock.Call.Do
func (*MockRateLimitingWorkqueueGetCall[T]) DoAndReturn ¶
func (c *MockRateLimitingWorkqueueGetCall[T]) DoAndReturn(f func() (T, bool)) *MockRateLimitingWorkqueueGetCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRateLimitingWorkqueueGetCall[T]) Return ¶
func (c *MockRateLimitingWorkqueueGetCall[T]) Return(item T, shutdown bool) *MockRateLimitingWorkqueueGetCall[T]
Return rewrite *gomock.Call.Return
type MockRateLimitingWorkqueueLenCall ¶
type MockRateLimitingWorkqueueLenCall[T comparable] struct { *gomock.Call }
MockRateLimitingWorkqueueLenCall wrap *gomock.Call
func (*MockRateLimitingWorkqueueLenCall[T]) Do ¶
func (c *MockRateLimitingWorkqueueLenCall[T]) Do(f func() int) *MockRateLimitingWorkqueueLenCall[T]
Do rewrite *gomock.Call.Do
func (*MockRateLimitingWorkqueueLenCall[T]) DoAndReturn ¶
func (c *MockRateLimitingWorkqueueLenCall[T]) DoAndReturn(f func() int) *MockRateLimitingWorkqueueLenCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRateLimitingWorkqueueLenCall[T]) Return ¶
func (c *MockRateLimitingWorkqueueLenCall[T]) Return(arg0 int) *MockRateLimitingWorkqueueLenCall[T]
Return rewrite *gomock.Call.Return
type MockRateLimitingWorkqueueMockRecorder ¶
type MockRateLimitingWorkqueueMockRecorder[T comparable] struct { // contains filtered or unexported fields }
MockRateLimitingWorkqueueMockRecorder is the mock recorder for MockRateLimitingWorkqueue.
func (*MockRateLimitingWorkqueueMockRecorder[T]) Add ¶
func (mr *MockRateLimitingWorkqueueMockRecorder[T]) Add(item any) *MockRateLimitingWorkqueueAddCall[T]
Add indicates an expected call of Add.
func (*MockRateLimitingWorkqueueMockRecorder[T]) AddAfter ¶
func (mr *MockRateLimitingWorkqueueMockRecorder[T]) AddAfter(item, duration any) *MockRateLimitingWorkqueueAddAfterCall[T]
AddAfter indicates an expected call of AddAfter.
func (*MockRateLimitingWorkqueueMockRecorder[T]) AddRateLimited ¶
func (mr *MockRateLimitingWorkqueueMockRecorder[T]) AddRateLimited(item any) *MockRateLimitingWorkqueueAddRateLimitedCall[T]
AddRateLimited indicates an expected call of AddRateLimited.
func (*MockRateLimitingWorkqueueMockRecorder[T]) Done ¶
func (mr *MockRateLimitingWorkqueueMockRecorder[T]) Done(item any) *MockRateLimitingWorkqueueDoneCall[T]
Done indicates an expected call of Done.
func (*MockRateLimitingWorkqueueMockRecorder[T]) Forget ¶
func (mr *MockRateLimitingWorkqueueMockRecorder[T]) Forget(item any) *MockRateLimitingWorkqueueForgetCall[T]
Forget indicates an expected call of Forget.
func (*MockRateLimitingWorkqueueMockRecorder[T]) Get ¶
func (mr *MockRateLimitingWorkqueueMockRecorder[T]) Get() *MockRateLimitingWorkqueueGetCall[T]
Get indicates an expected call of Get.
func (*MockRateLimitingWorkqueueMockRecorder[T]) Len ¶
func (mr *MockRateLimitingWorkqueueMockRecorder[T]) Len() *MockRateLimitingWorkqueueLenCall[T]
Len indicates an expected call of Len.
func (*MockRateLimitingWorkqueueMockRecorder[T]) NumRequeues ¶
func (mr *MockRateLimitingWorkqueueMockRecorder[T]) NumRequeues(item any) *MockRateLimitingWorkqueueNumRequeuesCall[T]
NumRequeues indicates an expected call of NumRequeues.
func (*MockRateLimitingWorkqueueMockRecorder[T]) ShutDown ¶
func (mr *MockRateLimitingWorkqueueMockRecorder[T]) ShutDown() *MockRateLimitingWorkqueueShutDownCall[T]
ShutDown indicates an expected call of ShutDown.
func (*MockRateLimitingWorkqueueMockRecorder[T]) ShutDownWithDrain ¶
func (mr *MockRateLimitingWorkqueueMockRecorder[T]) ShutDownWithDrain() *MockRateLimitingWorkqueueShutDownWithDrainCall[T]
ShutDownWithDrain indicates an expected call of ShutDownWithDrain.
func (*MockRateLimitingWorkqueueMockRecorder[T]) ShuttingDown ¶
func (mr *MockRateLimitingWorkqueueMockRecorder[T]) ShuttingDown() *MockRateLimitingWorkqueueShuttingDownCall[T]
ShuttingDown indicates an expected call of ShuttingDown.
type MockRateLimitingWorkqueueNumRequeuesCall ¶
type MockRateLimitingWorkqueueNumRequeuesCall[T comparable] struct { *gomock.Call }
MockRateLimitingWorkqueueNumRequeuesCall wrap *gomock.Call
func (*MockRateLimitingWorkqueueNumRequeuesCall[T]) Do ¶
func (c *MockRateLimitingWorkqueueNumRequeuesCall[T]) Do(f func(T) int) *MockRateLimitingWorkqueueNumRequeuesCall[T]
Do rewrite *gomock.Call.Do
func (*MockRateLimitingWorkqueueNumRequeuesCall[T]) DoAndReturn ¶
func (c *MockRateLimitingWorkqueueNumRequeuesCall[T]) DoAndReturn(f func(T) int) *MockRateLimitingWorkqueueNumRequeuesCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRateLimitingWorkqueueNumRequeuesCall[T]) Return ¶
func (c *MockRateLimitingWorkqueueNumRequeuesCall[T]) Return(arg0 int) *MockRateLimitingWorkqueueNumRequeuesCall[T]
Return rewrite *gomock.Call.Return
type MockRateLimitingWorkqueueShutDownCall ¶
type MockRateLimitingWorkqueueShutDownCall[T comparable] struct { *gomock.Call }
MockRateLimitingWorkqueueShutDownCall wrap *gomock.Call
func (*MockRateLimitingWorkqueueShutDownCall[T]) Do ¶
func (c *MockRateLimitingWorkqueueShutDownCall[T]) Do(f func()) *MockRateLimitingWorkqueueShutDownCall[T]
Do rewrite *gomock.Call.Do
func (*MockRateLimitingWorkqueueShutDownCall[T]) DoAndReturn ¶
func (c *MockRateLimitingWorkqueueShutDownCall[T]) DoAndReturn(f func()) *MockRateLimitingWorkqueueShutDownCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRateLimitingWorkqueueShutDownCall[T]) Return ¶
func (c *MockRateLimitingWorkqueueShutDownCall[T]) Return() *MockRateLimitingWorkqueueShutDownCall[T]
Return rewrite *gomock.Call.Return
type MockRateLimitingWorkqueueShutDownWithDrainCall ¶
type MockRateLimitingWorkqueueShutDownWithDrainCall[T comparable] struct { *gomock.Call }
MockRateLimitingWorkqueueShutDownWithDrainCall wrap *gomock.Call
func (*MockRateLimitingWorkqueueShutDownWithDrainCall[T]) Do ¶
func (c *MockRateLimitingWorkqueueShutDownWithDrainCall[T]) Do(f func()) *MockRateLimitingWorkqueueShutDownWithDrainCall[T]
Do rewrite *gomock.Call.Do
func (*MockRateLimitingWorkqueueShutDownWithDrainCall[T]) DoAndReturn ¶
func (c *MockRateLimitingWorkqueueShutDownWithDrainCall[T]) DoAndReturn(f func()) *MockRateLimitingWorkqueueShutDownWithDrainCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRateLimitingWorkqueueShutDownWithDrainCall[T]) Return ¶
func (c *MockRateLimitingWorkqueueShutDownWithDrainCall[T]) Return() *MockRateLimitingWorkqueueShutDownWithDrainCall[T]
Return rewrite *gomock.Call.Return
type MockRateLimitingWorkqueueShuttingDownCall ¶
type MockRateLimitingWorkqueueShuttingDownCall[T comparable] struct { *gomock.Call }
MockRateLimitingWorkqueueShuttingDownCall wrap *gomock.Call
func (*MockRateLimitingWorkqueueShuttingDownCall[T]) Do ¶
func (c *MockRateLimitingWorkqueueShuttingDownCall[T]) Do(f func() bool) *MockRateLimitingWorkqueueShuttingDownCall[T]
Do rewrite *gomock.Call.Do
func (*MockRateLimitingWorkqueueShuttingDownCall[T]) DoAndReturn ¶
func (c *MockRateLimitingWorkqueueShuttingDownCall[T]) DoAndReturn(f func() bool) *MockRateLimitingWorkqueueShuttingDownCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRateLimitingWorkqueueShuttingDownCall[T]) Return ¶
func (c *MockRateLimitingWorkqueueShuttingDownCall[T]) Return(arg0 bool) *MockRateLimitingWorkqueueShuttingDownCall[T]
Return rewrite *gomock.Call.Return
type MockResettableRESTMapper ¶
type MockResettableRESTMapper struct {
// contains filtered or unexported fields
}
MockResettableRESTMapper is a mock of ResettableRESTMapper interface.
func NewMockResettableRESTMapper ¶
func NewMockResettableRESTMapper(ctrl *gomock.Controller) *MockResettableRESTMapper
NewMockResettableRESTMapper creates a new mock instance.
func (*MockResettableRESTMapper) EXPECT ¶
func (m *MockResettableRESTMapper) EXPECT() *MockResettableRESTMapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResettableRESTMapper) KindFor ¶
func (m *MockResettableRESTMapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
KindFor mocks base method.
func (*MockResettableRESTMapper) KindsFor ¶
func (m *MockResettableRESTMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
KindsFor mocks base method.
func (*MockResettableRESTMapper) RESTMapping ¶
func (m *MockResettableRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error)
RESTMapping mocks base method.
func (*MockResettableRESTMapper) RESTMappings ¶
func (m *MockResettableRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error)
RESTMappings mocks base method.
func (*MockResettableRESTMapper) Reset ¶
func (m *MockResettableRESTMapper) Reset()
Reset mocks base method.
func (*MockResettableRESTMapper) ResourceFor ¶
func (m *MockResettableRESTMapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)
ResourceFor mocks base method.
func (*MockResettableRESTMapper) ResourceSingularizer ¶
func (m *MockResettableRESTMapper) ResourceSingularizer(resource string) (string, error)
ResourceSingularizer mocks base method.
func (*MockResettableRESTMapper) ResourcesFor ¶
func (m *MockResettableRESTMapper) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
ResourcesFor mocks base method.
type MockResettableRESTMapperKindForCall ¶
MockResettableRESTMapperKindForCall wrap *gomock.Call
func (*MockResettableRESTMapperKindForCall) Do ¶
func (c *MockResettableRESTMapperKindForCall) Do(f func(schema.GroupVersionResource) (schema.GroupVersionKind, error)) *MockResettableRESTMapperKindForCall
Do rewrite *gomock.Call.Do
func (*MockResettableRESTMapperKindForCall) DoAndReturn ¶
func (c *MockResettableRESTMapperKindForCall) DoAndReturn(f func(schema.GroupVersionResource) (schema.GroupVersionKind, error)) *MockResettableRESTMapperKindForCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResettableRESTMapperKindForCall) Return ¶
func (c *MockResettableRESTMapperKindForCall) Return(arg0 schema.GroupVersionKind, arg1 error) *MockResettableRESTMapperKindForCall
Return rewrite *gomock.Call.Return
type MockResettableRESTMapperKindsForCall ¶
MockResettableRESTMapperKindsForCall wrap *gomock.Call
func (*MockResettableRESTMapperKindsForCall) Do ¶
func (c *MockResettableRESTMapperKindsForCall) Do(f func(schema.GroupVersionResource) ([]schema.GroupVersionKind, error)) *MockResettableRESTMapperKindsForCall
Do rewrite *gomock.Call.Do
func (*MockResettableRESTMapperKindsForCall) DoAndReturn ¶
func (c *MockResettableRESTMapperKindsForCall) DoAndReturn(f func(schema.GroupVersionResource) ([]schema.GroupVersionKind, error)) *MockResettableRESTMapperKindsForCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResettableRESTMapperKindsForCall) Return ¶
func (c *MockResettableRESTMapperKindsForCall) Return(arg0 []schema.GroupVersionKind, arg1 error) *MockResettableRESTMapperKindsForCall
Return rewrite *gomock.Call.Return
type MockResettableRESTMapperMockRecorder ¶
type MockResettableRESTMapperMockRecorder struct {
// contains filtered or unexported fields
}
MockResettableRESTMapperMockRecorder is the mock recorder for MockResettableRESTMapper.
func (*MockResettableRESTMapperMockRecorder) KindFor ¶
func (mr *MockResettableRESTMapperMockRecorder) KindFor(resource any) *MockResettableRESTMapperKindForCall
KindFor indicates an expected call of KindFor.
func (*MockResettableRESTMapperMockRecorder) KindsFor ¶
func (mr *MockResettableRESTMapperMockRecorder) KindsFor(resource any) *MockResettableRESTMapperKindsForCall
KindsFor indicates an expected call of KindsFor.
func (*MockResettableRESTMapperMockRecorder) RESTMapping ¶
func (mr *MockResettableRESTMapperMockRecorder) RESTMapping(gk any, versions ...any) *MockResettableRESTMapperRESTMappingCall
RESTMapping indicates an expected call of RESTMapping.
func (*MockResettableRESTMapperMockRecorder) RESTMappings ¶
func (mr *MockResettableRESTMapperMockRecorder) RESTMappings(gk any, versions ...any) *MockResettableRESTMapperRESTMappingsCall
RESTMappings indicates an expected call of RESTMappings.
func (*MockResettableRESTMapperMockRecorder) Reset ¶
func (mr *MockResettableRESTMapperMockRecorder) Reset() *MockResettableRESTMapperResetCall
Reset indicates an expected call of Reset.
func (*MockResettableRESTMapperMockRecorder) ResourceFor ¶
func (mr *MockResettableRESTMapperMockRecorder) ResourceFor(input any) *MockResettableRESTMapperResourceForCall
ResourceFor indicates an expected call of ResourceFor.
func (*MockResettableRESTMapperMockRecorder) ResourceSingularizer ¶
func (mr *MockResettableRESTMapperMockRecorder) ResourceSingularizer(resource any) *MockResettableRESTMapperResourceSingularizerCall
ResourceSingularizer indicates an expected call of ResourceSingularizer.
func (*MockResettableRESTMapperMockRecorder) ResourcesFor ¶
func (mr *MockResettableRESTMapperMockRecorder) ResourcesFor(input any) *MockResettableRESTMapperResourcesForCall
ResourcesFor indicates an expected call of ResourcesFor.
type MockResettableRESTMapperRESTMappingCall ¶
MockResettableRESTMapperRESTMappingCall wrap *gomock.Call
func (*MockResettableRESTMapperRESTMappingCall) Do ¶
func (c *MockResettableRESTMapperRESTMappingCall) Do(f func(schema.GroupKind, ...string) (*meta.RESTMapping, error)) *MockResettableRESTMapperRESTMappingCall
Do rewrite *gomock.Call.Do
func (*MockResettableRESTMapperRESTMappingCall) DoAndReturn ¶
func (c *MockResettableRESTMapperRESTMappingCall) DoAndReturn(f func(schema.GroupKind, ...string) (*meta.RESTMapping, error)) *MockResettableRESTMapperRESTMappingCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResettableRESTMapperRESTMappingCall) Return ¶
func (c *MockResettableRESTMapperRESTMappingCall) Return(arg0 *meta.RESTMapping, arg1 error) *MockResettableRESTMapperRESTMappingCall
Return rewrite *gomock.Call.Return
type MockResettableRESTMapperRESTMappingsCall ¶
MockResettableRESTMapperRESTMappingsCall wrap *gomock.Call
func (*MockResettableRESTMapperRESTMappingsCall) Do ¶
func (c *MockResettableRESTMapperRESTMappingsCall) Do(f func(schema.GroupKind, ...string) ([]*meta.RESTMapping, error)) *MockResettableRESTMapperRESTMappingsCall
Do rewrite *gomock.Call.Do
func (*MockResettableRESTMapperRESTMappingsCall) DoAndReturn ¶
func (c *MockResettableRESTMapperRESTMappingsCall) DoAndReturn(f func(schema.GroupKind, ...string) ([]*meta.RESTMapping, error)) *MockResettableRESTMapperRESTMappingsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResettableRESTMapperRESTMappingsCall) Return ¶
func (c *MockResettableRESTMapperRESTMappingsCall) Return(arg0 []*meta.RESTMapping, arg1 error) *MockResettableRESTMapperRESTMappingsCall
Return rewrite *gomock.Call.Return
type MockResettableRESTMapperResetCall ¶
MockResettableRESTMapperResetCall wrap *gomock.Call
func (*MockResettableRESTMapperResetCall) Do ¶
func (c *MockResettableRESTMapperResetCall) Do(f func()) *MockResettableRESTMapperResetCall
Do rewrite *gomock.Call.Do
func (*MockResettableRESTMapperResetCall) DoAndReturn ¶
func (c *MockResettableRESTMapperResetCall) DoAndReturn(f func()) *MockResettableRESTMapperResetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResettableRESTMapperResetCall) Return ¶
func (c *MockResettableRESTMapperResetCall) Return() *MockResettableRESTMapperResetCall
Return rewrite *gomock.Call.Return
type MockResettableRESTMapperResourceForCall ¶
MockResettableRESTMapperResourceForCall wrap *gomock.Call
func (*MockResettableRESTMapperResourceForCall) Do ¶
func (c *MockResettableRESTMapperResourceForCall) Do(f func(schema.GroupVersionResource) (schema.GroupVersionResource, error)) *MockResettableRESTMapperResourceForCall
Do rewrite *gomock.Call.Do
func (*MockResettableRESTMapperResourceForCall) DoAndReturn ¶
func (c *MockResettableRESTMapperResourceForCall) DoAndReturn(f func(schema.GroupVersionResource) (schema.GroupVersionResource, error)) *MockResettableRESTMapperResourceForCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResettableRESTMapperResourceForCall) Return ¶
func (c *MockResettableRESTMapperResourceForCall) Return(arg0 schema.GroupVersionResource, arg1 error) *MockResettableRESTMapperResourceForCall
Return rewrite *gomock.Call.Return
type MockResettableRESTMapperResourceSingularizerCall ¶
MockResettableRESTMapperResourceSingularizerCall wrap *gomock.Call
func (*MockResettableRESTMapperResourceSingularizerCall) Do ¶
func (c *MockResettableRESTMapperResourceSingularizerCall) Do(f func(string) (string, error)) *MockResettableRESTMapperResourceSingularizerCall
Do rewrite *gomock.Call.Do
func (*MockResettableRESTMapperResourceSingularizerCall) DoAndReturn ¶
func (c *MockResettableRESTMapperResourceSingularizerCall) DoAndReturn(f func(string) (string, error)) *MockResettableRESTMapperResourceSingularizerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResettableRESTMapperResourceSingularizerCall) Return ¶
func (c *MockResettableRESTMapperResourceSingularizerCall) Return(singular string, err error) *MockResettableRESTMapperResourceSingularizerCall
Return rewrite *gomock.Call.Return
type MockResettableRESTMapperResourcesForCall ¶
MockResettableRESTMapperResourcesForCall wrap *gomock.Call
func (*MockResettableRESTMapperResourcesForCall) Do ¶
func (c *MockResettableRESTMapperResourcesForCall) Do(f func(schema.GroupVersionResource) ([]schema.GroupVersionResource, error)) *MockResettableRESTMapperResourcesForCall
Do rewrite *gomock.Call.Do
func (*MockResettableRESTMapperResourcesForCall) DoAndReturn ¶
func (c *MockResettableRESTMapperResourcesForCall) DoAndReturn(f func(schema.GroupVersionResource) ([]schema.GroupVersionResource, error)) *MockResettableRESTMapperResourcesForCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResettableRESTMapperResourcesForCall) Return ¶
func (c *MockResettableRESTMapperResourcesForCall) Return(arg0 []schema.GroupVersionResource, arg1 error) *MockResettableRESTMapperResourcesForCall
Return rewrite *gomock.Call.Return
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) Apply ¶
func (m *MockResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions, subresources ...string) (*unstructured.Unstructured, error)
Apply mocks base method.
func (*MockResourceInterface) ApplyStatus ¶
func (m *MockResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions) (*unstructured.Unstructured, error)
ApplyStatus mocks base method.
func (*MockResourceInterface) Create ¶
func (m *MockResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)
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 ¶
func (m *MockResourceInterface) EXPECT() *MockResourceInterfaceMockRecorder
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 ¶
func (m *MockResourceInterface) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
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 ¶
func (m *MockResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)
Update mocks base method.
func (*MockResourceInterface) UpdateStatus ¶
func (m *MockResourceInterface) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
UpdateStatus mocks base method.
func (*MockResourceInterface) Watch ¶
func (m *MockResourceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockResourceInterfaceApplyCall ¶
MockResourceInterfaceApplyCall wrap *gomock.Call
func (*MockResourceInterfaceApplyCall) Do ¶
func (c *MockResourceInterfaceApplyCall) Do(f func(context.Context, string, *unstructured.Unstructured, v1.ApplyOptions, ...string) (*unstructured.Unstructured, error)) *MockResourceInterfaceApplyCall
Do rewrite *gomock.Call.Do
func (*MockResourceInterfaceApplyCall) DoAndReturn ¶
func (c *MockResourceInterfaceApplyCall) DoAndReturn(f func(context.Context, string, *unstructured.Unstructured, v1.ApplyOptions, ...string) (*unstructured.Unstructured, error)) *MockResourceInterfaceApplyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourceInterfaceApplyCall) Return ¶
func (c *MockResourceInterfaceApplyCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockResourceInterfaceApplyCall
Return rewrite *gomock.Call.Return
type MockResourceInterfaceApplyStatusCall ¶
MockResourceInterfaceApplyStatusCall wrap *gomock.Call
func (*MockResourceInterfaceApplyStatusCall) Do ¶
func (c *MockResourceInterfaceApplyStatusCall) Do(f func(context.Context, string, *unstructured.Unstructured, v1.ApplyOptions) (*unstructured.Unstructured, error)) *MockResourceInterfaceApplyStatusCall
Do rewrite *gomock.Call.Do
func (*MockResourceInterfaceApplyStatusCall) DoAndReturn ¶
func (c *MockResourceInterfaceApplyStatusCall) DoAndReturn(f func(context.Context, string, *unstructured.Unstructured, v1.ApplyOptions) (*unstructured.Unstructured, error)) *MockResourceInterfaceApplyStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourceInterfaceApplyStatusCall) Return ¶
func (c *MockResourceInterfaceApplyStatusCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockResourceInterfaceApplyStatusCall
Return rewrite *gomock.Call.Return
type MockResourceInterfaceCreateCall ¶
MockResourceInterfaceCreateCall wrap *gomock.Call
func (*MockResourceInterfaceCreateCall) Do ¶
func (c *MockResourceInterfaceCreateCall) Do(f func(context.Context, *unstructured.Unstructured, v1.CreateOptions, ...string) (*unstructured.Unstructured, error)) *MockResourceInterfaceCreateCall
Do rewrite *gomock.Call.Do
func (*MockResourceInterfaceCreateCall) DoAndReturn ¶
func (c *MockResourceInterfaceCreateCall) DoAndReturn(f func(context.Context, *unstructured.Unstructured, v1.CreateOptions, ...string) (*unstructured.Unstructured, error)) *MockResourceInterfaceCreateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourceInterfaceCreateCall) Return ¶
func (c *MockResourceInterfaceCreateCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockResourceInterfaceCreateCall
Return rewrite *gomock.Call.Return
type MockResourceInterfaceDeleteCall ¶
MockResourceInterfaceDeleteCall wrap *gomock.Call
func (*MockResourceInterfaceDeleteCall) Do ¶
func (c *MockResourceInterfaceDeleteCall) Do(f func(context.Context, string, v1.DeleteOptions, ...string) error) *MockResourceInterfaceDeleteCall
Do rewrite *gomock.Call.Do
func (*MockResourceInterfaceDeleteCall) DoAndReturn ¶
func (c *MockResourceInterfaceDeleteCall) DoAndReturn(f func(context.Context, string, v1.DeleteOptions, ...string) error) *MockResourceInterfaceDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourceInterfaceDeleteCall) Return ¶
func (c *MockResourceInterfaceDeleteCall) Return(arg0 error) *MockResourceInterfaceDeleteCall
Return rewrite *gomock.Call.Return
type MockResourceInterfaceDeleteCollectionCall ¶
MockResourceInterfaceDeleteCollectionCall wrap *gomock.Call
func (*MockResourceInterfaceDeleteCollectionCall) Do ¶
func (c *MockResourceInterfaceDeleteCollectionCall) Do(f func(context.Context, v1.DeleteOptions, v1.ListOptions) error) *MockResourceInterfaceDeleteCollectionCall
Do rewrite *gomock.Call.Do
func (*MockResourceInterfaceDeleteCollectionCall) DoAndReturn ¶
func (c *MockResourceInterfaceDeleteCollectionCall) DoAndReturn(f func(context.Context, v1.DeleteOptions, v1.ListOptions) error) *MockResourceInterfaceDeleteCollectionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourceInterfaceDeleteCollectionCall) Return ¶
func (c *MockResourceInterfaceDeleteCollectionCall) Return(arg0 error) *MockResourceInterfaceDeleteCollectionCall
Return rewrite *gomock.Call.Return
type MockResourceInterfaceGetCall ¶
MockResourceInterfaceGetCall wrap *gomock.Call
func (*MockResourceInterfaceGetCall) Do ¶
func (c *MockResourceInterfaceGetCall) Do(f func(context.Context, string, v1.GetOptions, ...string) (*unstructured.Unstructured, error)) *MockResourceInterfaceGetCall
Do rewrite *gomock.Call.Do
func (*MockResourceInterfaceGetCall) DoAndReturn ¶
func (c *MockResourceInterfaceGetCall) DoAndReturn(f func(context.Context, string, v1.GetOptions, ...string) (*unstructured.Unstructured, error)) *MockResourceInterfaceGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourceInterfaceGetCall) Return ¶
func (c *MockResourceInterfaceGetCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockResourceInterfaceGetCall
Return rewrite *gomock.Call.Return
type MockResourceInterfaceListCall ¶
MockResourceInterfaceListCall wrap *gomock.Call
func (*MockResourceInterfaceListCall) Do ¶
func (c *MockResourceInterfaceListCall) Do(f func(context.Context, v1.ListOptions) (*unstructured.UnstructuredList, error)) *MockResourceInterfaceListCall
Do rewrite *gomock.Call.Do
func (*MockResourceInterfaceListCall) DoAndReturn ¶
func (c *MockResourceInterfaceListCall) DoAndReturn(f func(context.Context, v1.ListOptions) (*unstructured.UnstructuredList, error)) *MockResourceInterfaceListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourceInterfaceListCall) Return ¶
func (c *MockResourceInterfaceListCall) Return(arg0 *unstructured.UnstructuredList, arg1 error) *MockResourceInterfaceListCall
Return rewrite *gomock.Call.Return
type MockResourceInterfaceMockRecorder ¶
type MockResourceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceInterfaceMockRecorder is the mock recorder for MockResourceInterface.
func (*MockResourceInterfaceMockRecorder) Apply ¶
func (mr *MockResourceInterfaceMockRecorder) Apply(ctx, name, obj, options any, subresources ...any) *MockResourceInterfaceApplyCall
Apply indicates an expected call of Apply.
func (*MockResourceInterfaceMockRecorder) ApplyStatus ¶
func (mr *MockResourceInterfaceMockRecorder) ApplyStatus(ctx, name, obj, options any) *MockResourceInterfaceApplyStatusCall
ApplyStatus indicates an expected call of ApplyStatus.
func (*MockResourceInterfaceMockRecorder) Create ¶
func (mr *MockResourceInterfaceMockRecorder) Create(ctx, obj, options any, subresources ...any) *MockResourceInterfaceCreateCall
Create indicates an expected call of Create.
func (*MockResourceInterfaceMockRecorder) Delete ¶
func (mr *MockResourceInterfaceMockRecorder) Delete(ctx, name, options any, subresources ...any) *MockResourceInterfaceDeleteCall
Delete indicates an expected call of Delete.
func (*MockResourceInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions any) *MockResourceInterfaceDeleteCollectionCall
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockResourceInterfaceMockRecorder) Get ¶
func (mr *MockResourceInterfaceMockRecorder) Get(ctx, name, options any, subresources ...any) *MockResourceInterfaceGetCall
Get indicates an expected call of Get.
func (*MockResourceInterfaceMockRecorder) List ¶
func (mr *MockResourceInterfaceMockRecorder) List(ctx, opts any) *MockResourceInterfaceListCall
List indicates an expected call of List.
func (*MockResourceInterfaceMockRecorder) Patch ¶
func (mr *MockResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options any, subresources ...any) *MockResourceInterfacePatchCall
Patch indicates an expected call of Patch.
func (*MockResourceInterfaceMockRecorder) Update ¶
func (mr *MockResourceInterfaceMockRecorder) Update(ctx, obj, options any, subresources ...any) *MockResourceInterfaceUpdateCall
Update indicates an expected call of Update.
func (*MockResourceInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options any) *MockResourceInterfaceUpdateStatusCall
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockResourceInterfaceMockRecorder) Watch ¶
func (mr *MockResourceInterfaceMockRecorder) Watch(ctx, opts any) *MockResourceInterfaceWatchCall
Watch indicates an expected call of Watch.
type MockResourceInterfacePatchCall ¶
MockResourceInterfacePatchCall wrap *gomock.Call
func (*MockResourceInterfacePatchCall) Do ¶
func (c *MockResourceInterfacePatchCall) Do(f func(context.Context, string, types.PatchType, []byte, v1.PatchOptions, ...string) (*unstructured.Unstructured, error)) *MockResourceInterfacePatchCall
Do rewrite *gomock.Call.Do
func (*MockResourceInterfacePatchCall) DoAndReturn ¶
func (c *MockResourceInterfacePatchCall) DoAndReturn(f func(context.Context, string, types.PatchType, []byte, v1.PatchOptions, ...string) (*unstructured.Unstructured, error)) *MockResourceInterfacePatchCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourceInterfacePatchCall) Return ¶
func (c *MockResourceInterfacePatchCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockResourceInterfacePatchCall
Return rewrite *gomock.Call.Return
type MockResourceInterfaceUpdateCall ¶
MockResourceInterfaceUpdateCall wrap *gomock.Call
func (*MockResourceInterfaceUpdateCall) Do ¶
func (c *MockResourceInterfaceUpdateCall) Do(f func(context.Context, *unstructured.Unstructured, v1.UpdateOptions, ...string) (*unstructured.Unstructured, error)) *MockResourceInterfaceUpdateCall
Do rewrite *gomock.Call.Do
func (*MockResourceInterfaceUpdateCall) DoAndReturn ¶
func (c *MockResourceInterfaceUpdateCall) DoAndReturn(f func(context.Context, *unstructured.Unstructured, v1.UpdateOptions, ...string) (*unstructured.Unstructured, error)) *MockResourceInterfaceUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourceInterfaceUpdateCall) Return ¶
func (c *MockResourceInterfaceUpdateCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockResourceInterfaceUpdateCall
Return rewrite *gomock.Call.Return
type MockResourceInterfaceUpdateStatusCall ¶
MockResourceInterfaceUpdateStatusCall wrap *gomock.Call
func (*MockResourceInterfaceUpdateStatusCall) Do ¶
func (c *MockResourceInterfaceUpdateStatusCall) Do(f func(context.Context, *unstructured.Unstructured, v1.UpdateOptions) (*unstructured.Unstructured, error)) *MockResourceInterfaceUpdateStatusCall
Do rewrite *gomock.Call.Do
func (*MockResourceInterfaceUpdateStatusCall) DoAndReturn ¶
func (c *MockResourceInterfaceUpdateStatusCall) DoAndReturn(f func(context.Context, *unstructured.Unstructured, v1.UpdateOptions) (*unstructured.Unstructured, error)) *MockResourceInterfaceUpdateStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourceInterfaceUpdateStatusCall) Return ¶
func (c *MockResourceInterfaceUpdateStatusCall) Return(arg0 *unstructured.Unstructured, arg1 error) *MockResourceInterfaceUpdateStatusCall
Return rewrite *gomock.Call.Return
type MockResourceInterfaceWatchCall ¶
MockResourceInterfaceWatchCall wrap *gomock.Call
func (*MockResourceInterfaceWatchCall) Do ¶
func (c *MockResourceInterfaceWatchCall) Do(f func(context.Context, v1.ListOptions) (watch.Interface, error)) *MockResourceInterfaceWatchCall
Do rewrite *gomock.Call.Do
func (*MockResourceInterfaceWatchCall) DoAndReturn ¶
func (c *MockResourceInterfaceWatchCall) DoAndReturn(f func(context.Context, v1.ListOptions) (watch.Interface, error)) *MockResourceInterfaceWatchCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockResourceInterfaceWatchCall) Return ¶
func (c *MockResourceInterfaceWatchCall) Return(arg0 watch.Interface, arg1 error) *MockResourceInterfaceWatchCall
Return rewrite *gomock.Call.Return
type MockSecretInterface ¶
type MockSecretInterface struct {
// contains filtered or unexported fields
}
MockSecretInterface is a mock of SecretInterface interface.
func NewMockSecretInterface ¶
func NewMockSecretInterface(ctrl *gomock.Controller) *MockSecretInterface
NewMockSecretInterface creates a new mock instance.
func (*MockSecretInterface) Apply ¶
func (m *MockSecretInterface) Apply(ctx context.Context, secret *v11.SecretApplyConfiguration, opts v10.ApplyOptions) (*v1.Secret, error)
Apply mocks base method.
func (*MockSecretInterface) Create ¶
func (m *MockSecretInterface) Create(ctx context.Context, secret *v1.Secret, opts v10.CreateOptions) (*v1.Secret, error)
Create mocks base method.
func (*MockSecretInterface) Delete ¶
func (m *MockSecretInterface) Delete(ctx context.Context, name string, opts v10.DeleteOptions) error
Delete mocks base method.
func (*MockSecretInterface) DeleteCollection ¶
func (m *MockSecretInterface) DeleteCollection(ctx context.Context, opts v10.DeleteOptions, listOpts v10.ListOptions) error
DeleteCollection mocks base method.
func (*MockSecretInterface) EXPECT ¶
func (m *MockSecretInterface) EXPECT() *MockSecretInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretInterface) Get ¶
func (m *MockSecretInterface) Get(ctx context.Context, name string, opts v10.GetOptions) (*v1.Secret, error)
Get mocks base method.
func (*MockSecretInterface) List ¶
func (m *MockSecretInterface) List(ctx context.Context, opts v10.ListOptions) (*v1.SecretList, error)
List mocks base method.
func (*MockSecretInterface) Patch ¶
func (m *MockSecretInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v10.PatchOptions, subresources ...string) (*v1.Secret, error)
Patch mocks base method.
func (*MockSecretInterface) Update ¶
func (m *MockSecretInterface) Update(ctx context.Context, secret *v1.Secret, opts v10.UpdateOptions) (*v1.Secret, error)
Update mocks base method.
func (*MockSecretInterface) Watch ¶
func (m *MockSecretInterface) Watch(ctx context.Context, opts v10.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockSecretInterfaceApplyCall ¶
MockSecretInterfaceApplyCall wrap *gomock.Call
func (*MockSecretInterfaceApplyCall) Do ¶
func (c *MockSecretInterfaceApplyCall) Do(f func(context.Context, *v11.SecretApplyConfiguration, v10.ApplyOptions) (*v1.Secret, error)) *MockSecretInterfaceApplyCall
Do rewrite *gomock.Call.Do
func (*MockSecretInterfaceApplyCall) DoAndReturn ¶
func (c *MockSecretInterfaceApplyCall) DoAndReturn(f func(context.Context, *v11.SecretApplyConfiguration, v10.ApplyOptions) (*v1.Secret, error)) *MockSecretInterfaceApplyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSecretInterfaceApplyCall) Return ¶
func (c *MockSecretInterfaceApplyCall) Return(result *v1.Secret, err error) *MockSecretInterfaceApplyCall
Return rewrite *gomock.Call.Return
type MockSecretInterfaceCreateCall ¶
MockSecretInterfaceCreateCall wrap *gomock.Call
func (*MockSecretInterfaceCreateCall) Do ¶
func (c *MockSecretInterfaceCreateCall) Do(f func(context.Context, *v1.Secret, v10.CreateOptions) (*v1.Secret, error)) *MockSecretInterfaceCreateCall
Do rewrite *gomock.Call.Do
func (*MockSecretInterfaceCreateCall) DoAndReturn ¶
func (c *MockSecretInterfaceCreateCall) DoAndReturn(f func(context.Context, *v1.Secret, v10.CreateOptions) (*v1.Secret, error)) *MockSecretInterfaceCreateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSecretInterfaceCreateCall) Return ¶
func (c *MockSecretInterfaceCreateCall) Return(arg0 *v1.Secret, arg1 error) *MockSecretInterfaceCreateCall
Return rewrite *gomock.Call.Return
type MockSecretInterfaceDeleteCall ¶
MockSecretInterfaceDeleteCall wrap *gomock.Call
func (*MockSecretInterfaceDeleteCall) Do ¶
func (c *MockSecretInterfaceDeleteCall) Do(f func(context.Context, string, v10.DeleteOptions) error) *MockSecretInterfaceDeleteCall
Do rewrite *gomock.Call.Do
func (*MockSecretInterfaceDeleteCall) DoAndReturn ¶
func (c *MockSecretInterfaceDeleteCall) DoAndReturn(f func(context.Context, string, v10.DeleteOptions) error) *MockSecretInterfaceDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSecretInterfaceDeleteCall) Return ¶
func (c *MockSecretInterfaceDeleteCall) Return(arg0 error) *MockSecretInterfaceDeleteCall
Return rewrite *gomock.Call.Return
type MockSecretInterfaceDeleteCollectionCall ¶
MockSecretInterfaceDeleteCollectionCall wrap *gomock.Call
func (*MockSecretInterfaceDeleteCollectionCall) Do ¶
func (c *MockSecretInterfaceDeleteCollectionCall) Do(f func(context.Context, v10.DeleteOptions, v10.ListOptions) error) *MockSecretInterfaceDeleteCollectionCall
Do rewrite *gomock.Call.Do
func (*MockSecretInterfaceDeleteCollectionCall) DoAndReturn ¶
func (c *MockSecretInterfaceDeleteCollectionCall) DoAndReturn(f func(context.Context, v10.DeleteOptions, v10.ListOptions) error) *MockSecretInterfaceDeleteCollectionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSecretInterfaceDeleteCollectionCall) Return ¶
func (c *MockSecretInterfaceDeleteCollectionCall) Return(arg0 error) *MockSecretInterfaceDeleteCollectionCall
Return rewrite *gomock.Call.Return
type MockSecretInterfaceGetCall ¶
MockSecretInterfaceGetCall wrap *gomock.Call
func (*MockSecretInterfaceGetCall) Do ¶
func (c *MockSecretInterfaceGetCall) Do(f func(context.Context, string, v10.GetOptions) (*v1.Secret, error)) *MockSecretInterfaceGetCall
Do rewrite *gomock.Call.Do
func (*MockSecretInterfaceGetCall) DoAndReturn ¶
func (c *MockSecretInterfaceGetCall) DoAndReturn(f func(context.Context, string, v10.GetOptions) (*v1.Secret, error)) *MockSecretInterfaceGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSecretInterfaceGetCall) Return ¶
func (c *MockSecretInterfaceGetCall) Return(arg0 *v1.Secret, arg1 error) *MockSecretInterfaceGetCall
Return rewrite *gomock.Call.Return
type MockSecretInterfaceListCall ¶
MockSecretInterfaceListCall wrap *gomock.Call
func (*MockSecretInterfaceListCall) Do ¶
func (c *MockSecretInterfaceListCall) Do(f func(context.Context, v10.ListOptions) (*v1.SecretList, error)) *MockSecretInterfaceListCall
Do rewrite *gomock.Call.Do
func (*MockSecretInterfaceListCall) DoAndReturn ¶
func (c *MockSecretInterfaceListCall) DoAndReturn(f func(context.Context, v10.ListOptions) (*v1.SecretList, error)) *MockSecretInterfaceListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSecretInterfaceListCall) Return ¶
func (c *MockSecretInterfaceListCall) Return(arg0 *v1.SecretList, arg1 error) *MockSecretInterfaceListCall
Return rewrite *gomock.Call.Return
type MockSecretInterfaceMockRecorder ¶
type MockSecretInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretInterfaceMockRecorder is the mock recorder for MockSecretInterface.
func (*MockSecretInterfaceMockRecorder) Apply ¶
func (mr *MockSecretInterfaceMockRecorder) Apply(ctx, secret, opts any) *MockSecretInterfaceApplyCall
Apply indicates an expected call of Apply.
func (*MockSecretInterfaceMockRecorder) Create ¶
func (mr *MockSecretInterfaceMockRecorder) Create(ctx, secret, opts any) *MockSecretInterfaceCreateCall
Create indicates an expected call of Create.
func (*MockSecretInterfaceMockRecorder) Delete ¶
func (mr *MockSecretInterfaceMockRecorder) Delete(ctx, name, opts any) *MockSecretInterfaceDeleteCall
Delete indicates an expected call of Delete.
func (*MockSecretInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockSecretInterfaceMockRecorder) DeleteCollection(ctx, opts, listOpts any) *MockSecretInterfaceDeleteCollectionCall
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockSecretInterfaceMockRecorder) Get ¶
func (mr *MockSecretInterfaceMockRecorder) Get(ctx, name, opts any) *MockSecretInterfaceGetCall
Get indicates an expected call of Get.
func (*MockSecretInterfaceMockRecorder) List ¶
func (mr *MockSecretInterfaceMockRecorder) List(ctx, opts any) *MockSecretInterfaceListCall
List indicates an expected call of List.
func (*MockSecretInterfaceMockRecorder) Patch ¶
func (mr *MockSecretInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *MockSecretInterfacePatchCall
Patch indicates an expected call of Patch.
func (*MockSecretInterfaceMockRecorder) Update ¶
func (mr *MockSecretInterfaceMockRecorder) Update(ctx, secret, opts any) *MockSecretInterfaceUpdateCall
Update indicates an expected call of Update.
func (*MockSecretInterfaceMockRecorder) Watch ¶
func (mr *MockSecretInterfaceMockRecorder) Watch(ctx, opts any) *MockSecretInterfaceWatchCall
Watch indicates an expected call of Watch.
type MockSecretInterfacePatchCall ¶
MockSecretInterfacePatchCall wrap *gomock.Call
func (*MockSecretInterfacePatchCall) Do ¶
func (c *MockSecretInterfacePatchCall) Do(f func(context.Context, string, types.PatchType, []byte, v10.PatchOptions, ...string) (*v1.Secret, error)) *MockSecretInterfacePatchCall
Do rewrite *gomock.Call.Do
func (*MockSecretInterfacePatchCall) DoAndReturn ¶
func (c *MockSecretInterfacePatchCall) DoAndReturn(f func(context.Context, string, types.PatchType, []byte, v10.PatchOptions, ...string) (*v1.Secret, error)) *MockSecretInterfacePatchCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSecretInterfacePatchCall) Return ¶
func (c *MockSecretInterfacePatchCall) Return(result *v1.Secret, err error) *MockSecretInterfacePatchCall
Return rewrite *gomock.Call.Return
type MockSecretInterfaceUpdateCall ¶
MockSecretInterfaceUpdateCall wrap *gomock.Call
func (*MockSecretInterfaceUpdateCall) Do ¶
func (c *MockSecretInterfaceUpdateCall) Do(f func(context.Context, *v1.Secret, v10.UpdateOptions) (*v1.Secret, error)) *MockSecretInterfaceUpdateCall
Do rewrite *gomock.Call.Do
func (*MockSecretInterfaceUpdateCall) DoAndReturn ¶
func (c *MockSecretInterfaceUpdateCall) DoAndReturn(f func(context.Context, *v1.Secret, v10.UpdateOptions) (*v1.Secret, error)) *MockSecretInterfaceUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSecretInterfaceUpdateCall) Return ¶
func (c *MockSecretInterfaceUpdateCall) Return(arg0 *v1.Secret, arg1 error) *MockSecretInterfaceUpdateCall
Return rewrite *gomock.Call.Return
type MockSecretInterfaceWatchCall ¶
MockSecretInterfaceWatchCall wrap *gomock.Call
func (*MockSecretInterfaceWatchCall) Do ¶
func (c *MockSecretInterfaceWatchCall) Do(f func(context.Context, v10.ListOptions) (watch.Interface, error)) *MockSecretInterfaceWatchCall
Do rewrite *gomock.Call.Do
func (*MockSecretInterfaceWatchCall) DoAndReturn ¶
func (c *MockSecretInterfaceWatchCall) DoAndReturn(f func(context.Context, v10.ListOptions) (watch.Interface, error)) *MockSecretInterfaceWatchCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSecretInterfaceWatchCall) Return ¶
func (c *MockSecretInterfaceWatchCall) Return(arg0 watch.Interface, arg1 error) *MockSecretInterfaceWatchCall
Return rewrite *gomock.Call.Return