Documentation
¶
Index ¶
- type CTRLManager
- func (_mock *CTRLManager) Add(runnable manager.Runnable) error
- func (_mock *CTRLManager) AddHealthzCheck(name string, check healthz.Checker) error
- func (_mock *CTRLManager) AddMetricsServerExtraHandler(path string, handler http.Handler) error
- func (_mock *CTRLManager) AddReadyzCheck(name string, check healthz.Checker) error
- func (_m *CTRLManager) EXPECT() *CTRLManager_Expecter
- func (_mock *CTRLManager) Elected() <-chan struct{}
- func (_mock *CTRLManager) GetAPIReader() client.Reader
- func (_mock *CTRLManager) GetCache() cache.Cache
- func (_mock *CTRLManager) GetClient() client.Client
- func (_mock *CTRLManager) GetConfig() *rest.Config
- func (_mock *CTRLManager) GetControllerOptions() config.Controller
- func (_mock *CTRLManager) GetEventRecorderFor(name string) record.EventRecorder
- func (_mock *CTRLManager) GetFieldIndexer() client.FieldIndexer
- func (_mock *CTRLManager) GetHTTPClient() *http.Client
- func (_mock *CTRLManager) GetLogger() logr.Logger
- func (_mock *CTRLManager) GetRESTMapper() meta.RESTMapper
- func (_mock *CTRLManager) GetScheme() *runtime.Scheme
- func (_mock *CTRLManager) GetWebhookServer() webhook.Server
- func (_mock *CTRLManager) Start(ctx context.Context) error
- type CTRLManager_AddHealthzCheck_Call
- func (_c *CTRLManager_AddHealthzCheck_Call) Return(err error) *CTRLManager_AddHealthzCheck_Call
- func (_c *CTRLManager_AddHealthzCheck_Call) Run(run func(name string, check healthz.Checker)) *CTRLManager_AddHealthzCheck_Call
- func (_c *CTRLManager_AddHealthzCheck_Call) RunAndReturn(run func(name string, check healthz.Checker) error) *CTRLManager_AddHealthzCheck_Call
- type CTRLManager_AddMetricsServerExtraHandler_Call
- func (_c *CTRLManager_AddMetricsServerExtraHandler_Call) Return(err error) *CTRLManager_AddMetricsServerExtraHandler_Call
- func (_c *CTRLManager_AddMetricsServerExtraHandler_Call) Run(run func(path string, handler http.Handler)) *CTRLManager_AddMetricsServerExtraHandler_Call
- func (_c *CTRLManager_AddMetricsServerExtraHandler_Call) RunAndReturn(run func(path string, handler http.Handler) error) *CTRLManager_AddMetricsServerExtraHandler_Call
- type CTRLManager_AddReadyzCheck_Call
- func (_c *CTRLManager_AddReadyzCheck_Call) Return(err error) *CTRLManager_AddReadyzCheck_Call
- func (_c *CTRLManager_AddReadyzCheck_Call) Run(run func(name string, check healthz.Checker)) *CTRLManager_AddReadyzCheck_Call
- func (_c *CTRLManager_AddReadyzCheck_Call) RunAndReturn(run func(name string, check healthz.Checker) error) *CTRLManager_AddReadyzCheck_Call
- type CTRLManager_Add_Call
- type CTRLManager_Elected_Call
- type CTRLManager_Expecter
- func (_e *CTRLManager_Expecter) Add(runnable interface{}) *CTRLManager_Add_Call
- func (_e *CTRLManager_Expecter) AddHealthzCheck(name interface{}, check interface{}) *CTRLManager_AddHealthzCheck_Call
- func (_e *CTRLManager_Expecter) AddMetricsServerExtraHandler(path interface{}, handler interface{}) *CTRLManager_AddMetricsServerExtraHandler_Call
- func (_e *CTRLManager_Expecter) AddReadyzCheck(name interface{}, check interface{}) *CTRLManager_AddReadyzCheck_Call
- func (_e *CTRLManager_Expecter) Elected() *CTRLManager_Elected_Call
- func (_e *CTRLManager_Expecter) GetAPIReader() *CTRLManager_GetAPIReader_Call
- func (_e *CTRLManager_Expecter) GetCache() *CTRLManager_GetCache_Call
- func (_e *CTRLManager_Expecter) GetClient() *CTRLManager_GetClient_Call
- func (_e *CTRLManager_Expecter) GetConfig() *CTRLManager_GetConfig_Call
- func (_e *CTRLManager_Expecter) GetControllerOptions() *CTRLManager_GetControllerOptions_Call
- func (_e *CTRLManager_Expecter) GetEventRecorderFor(name interface{}) *CTRLManager_GetEventRecorderFor_Call
- func (_e *CTRLManager_Expecter) GetFieldIndexer() *CTRLManager_GetFieldIndexer_Call
- func (_e *CTRLManager_Expecter) GetHTTPClient() *CTRLManager_GetHTTPClient_Call
- func (_e *CTRLManager_Expecter) GetLogger() *CTRLManager_GetLogger_Call
- func (_e *CTRLManager_Expecter) GetRESTMapper() *CTRLManager_GetRESTMapper_Call
- func (_e *CTRLManager_Expecter) GetScheme() *CTRLManager_GetScheme_Call
- func (_e *CTRLManager_Expecter) GetWebhookServer() *CTRLManager_GetWebhookServer_Call
- func (_e *CTRLManager_Expecter) Start(ctx interface{}) *CTRLManager_Start_Call
- type CTRLManager_GetAPIReader_Call
- type CTRLManager_GetCache_Call
- type CTRLManager_GetClient_Call
- type CTRLManager_GetConfig_Call
- type CTRLManager_GetControllerOptions_Call
- func (_c *CTRLManager_GetControllerOptions_Call) Return(controller config.Controller) *CTRLManager_GetControllerOptions_Call
- func (_c *CTRLManager_GetControllerOptions_Call) Run(run func()) *CTRLManager_GetControllerOptions_Call
- func (_c *CTRLManager_GetControllerOptions_Call) RunAndReturn(run func() config.Controller) *CTRLManager_GetControllerOptions_Call
- type CTRLManager_GetEventRecorderFor_Call
- func (_c *CTRLManager_GetEventRecorderFor_Call) Return(eventRecorder record.EventRecorder) *CTRLManager_GetEventRecorderFor_Call
- func (_c *CTRLManager_GetEventRecorderFor_Call) Run(run func(name string)) *CTRLManager_GetEventRecorderFor_Call
- func (_c *CTRLManager_GetEventRecorderFor_Call) RunAndReturn(run func(name string) record.EventRecorder) *CTRLManager_GetEventRecorderFor_Call
- type CTRLManager_GetFieldIndexer_Call
- func (_c *CTRLManager_GetFieldIndexer_Call) Return(fieldIndexer client.FieldIndexer) *CTRLManager_GetFieldIndexer_Call
- func (_c *CTRLManager_GetFieldIndexer_Call) Run(run func()) *CTRLManager_GetFieldIndexer_Call
- func (_c *CTRLManager_GetFieldIndexer_Call) RunAndReturn(run func() client.FieldIndexer) *CTRLManager_GetFieldIndexer_Call
- type CTRLManager_GetHTTPClient_Call
- func (_c *CTRLManager_GetHTTPClient_Call) Return(client1 *http.Client) *CTRLManager_GetHTTPClient_Call
- func (_c *CTRLManager_GetHTTPClient_Call) Run(run func()) *CTRLManager_GetHTTPClient_Call
- func (_c *CTRLManager_GetHTTPClient_Call) RunAndReturn(run func() *http.Client) *CTRLManager_GetHTTPClient_Call
- type CTRLManager_GetLogger_Call
- type CTRLManager_GetRESTMapper_Call
- func (_c *CTRLManager_GetRESTMapper_Call) Return(rESTMapper meta.RESTMapper) *CTRLManager_GetRESTMapper_Call
- func (_c *CTRLManager_GetRESTMapper_Call) Run(run func()) *CTRLManager_GetRESTMapper_Call
- func (_c *CTRLManager_GetRESTMapper_Call) RunAndReturn(run func() meta.RESTMapper) *CTRLManager_GetRESTMapper_Call
- type CTRLManager_GetScheme_Call
- type CTRLManager_GetWebhookServer_Call
- func (_c *CTRLManager_GetWebhookServer_Call) Return(server webhook.Server) *CTRLManager_GetWebhookServer_Call
- func (_c *CTRLManager_GetWebhookServer_Call) Run(run func()) *CTRLManager_GetWebhookServer_Call
- func (_c *CTRLManager_GetWebhookServer_Call) RunAndReturn(run func() webhook.Server) *CTRLManager_GetWebhookServer_Call
- type CTRLManager_Start_Call
- type MockClient
- func (_mock *MockClient) Apply(ctx context.Context, obj runtime.ApplyConfiguration, ...) error
- func (_mock *MockClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
- func (_mock *MockClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
- func (_mock *MockClient) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
- func (_m *MockClient) EXPECT() *MockClient_Expecter
- func (_mock *MockClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) error
- func (_mock *MockClient) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)
- func (_mock *MockClient) IsObjectNamespaced(obj runtime.Object) (bool, error)
- func (_mock *MockClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
- func (_mock *MockClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error
- func (_mock *MockClient) RESTMapper() meta.RESTMapper
- func (_mock *MockClient) Scheme() *runtime.Scheme
- func (_mock *MockClient) Status() client.SubResourceWriter
- func (_mock *MockClient) SubResource(subResource string) client.SubResourceClient
- func (_mock *MockClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
- type MockClient_Apply_Call
- func (_c *MockClient_Apply_Call) Return(err error) *MockClient_Apply_Call
- func (_c *MockClient_Apply_Call) Run(run func(ctx context.Context, obj runtime.ApplyConfiguration, ...)) *MockClient_Apply_Call
- func (_c *MockClient_Apply_Call) RunAndReturn(run func(ctx context.Context, obj runtime.ApplyConfiguration, ...) error) *MockClient_Apply_Call
- type MockClient_Create_Call
- type MockClient_DeleteAllOf_Call
- type MockClient_Delete_Call
- type MockClient_Expecter
- func (_e *MockClient_Expecter) Apply(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_Apply_Call
- func (_e *MockClient_Expecter) Create(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_Create_Call
- func (_e *MockClient_Expecter) Delete(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_Delete_Call
- func (_e *MockClient_Expecter) DeleteAllOf(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_DeleteAllOf_Call
- func (_e *MockClient_Expecter) Get(ctx interface{}, key interface{}, obj interface{}, opts ...interface{}) *MockClient_Get_Call
- func (_e *MockClient_Expecter) GroupVersionKindFor(obj interface{}) *MockClient_GroupVersionKindFor_Call
- func (_e *MockClient_Expecter) IsObjectNamespaced(obj interface{}) *MockClient_IsObjectNamespaced_Call
- func (_e *MockClient_Expecter) List(ctx interface{}, list interface{}, opts ...interface{}) *MockClient_List_Call
- func (_e *MockClient_Expecter) Patch(ctx interface{}, obj interface{}, patch interface{}, opts ...interface{}) *MockClient_Patch_Call
- func (_e *MockClient_Expecter) RESTMapper() *MockClient_RESTMapper_Call
- func (_e *MockClient_Expecter) Scheme() *MockClient_Scheme_Call
- func (_e *MockClient_Expecter) Status() *MockClient_Status_Call
- func (_e *MockClient_Expecter) SubResource(subResource interface{}) *MockClient_SubResource_Call
- func (_e *MockClient_Expecter) Update(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_Update_Call
- type MockClient_Get_Call
- type MockClient_GroupVersionKindFor_Call
- func (_c *MockClient_GroupVersionKindFor_Call) Return(groupVersionKind schema.GroupVersionKind, err error) *MockClient_GroupVersionKindFor_Call
- func (_c *MockClient_GroupVersionKindFor_Call) Run(run func(obj runtime.Object)) *MockClient_GroupVersionKindFor_Call
- func (_c *MockClient_GroupVersionKindFor_Call) RunAndReturn(run func(obj runtime.Object) (schema.GroupVersionKind, error)) *MockClient_GroupVersionKindFor_Call
- type MockClient_IsObjectNamespaced_Call
- func (_c *MockClient_IsObjectNamespaced_Call) Return(b bool, err error) *MockClient_IsObjectNamespaced_Call
- func (_c *MockClient_IsObjectNamespaced_Call) Run(run func(obj runtime.Object)) *MockClient_IsObjectNamespaced_Call
- func (_c *MockClient_IsObjectNamespaced_Call) RunAndReturn(run func(obj runtime.Object) (bool, error)) *MockClient_IsObjectNamespaced_Call
- type MockClient_List_Call
- type MockClient_Patch_Call
- type MockClient_RESTMapper_Call
- type MockClient_Scheme_Call
- type MockClient_Status_Call
- type MockClient_SubResource_Call
- func (_c *MockClient_SubResource_Call) Return(subResourceClient client.SubResourceClient) *MockClient_SubResource_Call
- func (_c *MockClient_SubResource_Call) Run(run func(subResource string)) *MockClient_SubResource_Call
- func (_c *MockClient_SubResource_Call) RunAndReturn(run func(subResource string) client.SubResourceClient) *MockClient_SubResource_Call
- type MockClient_Update_Call
- type MockCluster
- func (_m *MockCluster) EXPECT() *MockCluster_Expecter
- func (_mock *MockCluster) GetAPIReader() client.Reader
- func (_mock *MockCluster) GetCache() cache.Cache
- func (_mock *MockCluster) GetClient() client.Client
- func (_mock *MockCluster) GetConfig() *rest.Config
- func (_mock *MockCluster) GetEventRecorderFor(name string) record.EventRecorder
- func (_mock *MockCluster) GetFieldIndexer() client.FieldIndexer
- func (_mock *MockCluster) GetHTTPClient() *http.Client
- func (_mock *MockCluster) GetRESTMapper() meta.RESTMapper
- func (_mock *MockCluster) GetScheme() *runtime.Scheme
- func (_mock *MockCluster) Start(ctx context.Context) error
- type MockCluster_Expecter
- func (_e *MockCluster_Expecter) GetAPIReader() *MockCluster_GetAPIReader_Call
- func (_e *MockCluster_Expecter) GetCache() *MockCluster_GetCache_Call
- func (_e *MockCluster_Expecter) GetClient() *MockCluster_GetClient_Call
- func (_e *MockCluster_Expecter) GetConfig() *MockCluster_GetConfig_Call
- func (_e *MockCluster_Expecter) GetEventRecorderFor(name interface{}) *MockCluster_GetEventRecorderFor_Call
- func (_e *MockCluster_Expecter) GetFieldIndexer() *MockCluster_GetFieldIndexer_Call
- func (_e *MockCluster_Expecter) GetHTTPClient() *MockCluster_GetHTTPClient_Call
- func (_e *MockCluster_Expecter) GetRESTMapper() *MockCluster_GetRESTMapper_Call
- func (_e *MockCluster_Expecter) GetScheme() *MockCluster_GetScheme_Call
- func (_e *MockCluster_Expecter) Start(ctx interface{}) *MockCluster_Start_Call
- type MockCluster_GetAPIReader_Call
- type MockCluster_GetCache_Call
- type MockCluster_GetClient_Call
- type MockCluster_GetConfig_Call
- type MockCluster_GetEventRecorderFor_Call
- func (_c *MockCluster_GetEventRecorderFor_Call) Return(eventRecorder record.EventRecorder) *MockCluster_GetEventRecorderFor_Call
- func (_c *MockCluster_GetEventRecorderFor_Call) Run(run func(name string)) *MockCluster_GetEventRecorderFor_Call
- func (_c *MockCluster_GetEventRecorderFor_Call) RunAndReturn(run func(name string) record.EventRecorder) *MockCluster_GetEventRecorderFor_Call
- type MockCluster_GetFieldIndexer_Call
- func (_c *MockCluster_GetFieldIndexer_Call) Return(fieldIndexer client.FieldIndexer) *MockCluster_GetFieldIndexer_Call
- func (_c *MockCluster_GetFieldIndexer_Call) Run(run func()) *MockCluster_GetFieldIndexer_Call
- func (_c *MockCluster_GetFieldIndexer_Call) RunAndReturn(run func() client.FieldIndexer) *MockCluster_GetFieldIndexer_Call
- type MockCluster_GetHTTPClient_Call
- func (_c *MockCluster_GetHTTPClient_Call) Return(client1 *http.Client) *MockCluster_GetHTTPClient_Call
- func (_c *MockCluster_GetHTTPClient_Call) Run(run func()) *MockCluster_GetHTTPClient_Call
- func (_c *MockCluster_GetHTTPClient_Call) RunAndReturn(run func() *http.Client) *MockCluster_GetHTTPClient_Call
- type MockCluster_GetRESTMapper_Call
- func (_c *MockCluster_GetRESTMapper_Call) Return(rESTMapper meta.RESTMapper) *MockCluster_GetRESTMapper_Call
- func (_c *MockCluster_GetRESTMapper_Call) Run(run func()) *MockCluster_GetRESTMapper_Call
- func (_c *MockCluster_GetRESTMapper_Call) RunAndReturn(run func() meta.RESTMapper) *MockCluster_GetRESTMapper_Call
- type MockCluster_GetScheme_Call
- type MockCluster_Start_Call
- type MockDiscoveryInterface
- func (_m *MockDiscoveryInterface) EXPECT() *MockDiscoveryInterface_Expecter
- func (_mock *MockDiscoveryInterface) OpenAPISchema() (*openapi_v2.Document, error)
- func (_mock *MockDiscoveryInterface) OpenAPIV3() openapi.Client
- func (_mock *MockDiscoveryInterface) RESTClient() rest.Interface
- func (_mock *MockDiscoveryInterface) ServerGroups() (*v1.APIGroupList, error)
- func (_mock *MockDiscoveryInterface) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error)
- func (_mock *MockDiscoveryInterface) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)
- func (_mock *MockDiscoveryInterface) ServerPreferredResources() ([]*v1.APIResourceList, error)
- func (_mock *MockDiscoveryInterface) ServerResourcesForGroupVersion(groupVersion string) (*v1.APIResourceList, error)
- func (_mock *MockDiscoveryInterface) ServerVersion() (*version.Info, error)
- func (_mock *MockDiscoveryInterface) WithLegacy() discovery.DiscoveryInterface
- type MockDiscoveryInterface_Expecter
- func (_e *MockDiscoveryInterface_Expecter) OpenAPISchema() *MockDiscoveryInterface_OpenAPISchema_Call
- func (_e *MockDiscoveryInterface_Expecter) OpenAPIV3() *MockDiscoveryInterface_OpenAPIV3_Call
- func (_e *MockDiscoveryInterface_Expecter) RESTClient() *MockDiscoveryInterface_RESTClient_Call
- func (_e *MockDiscoveryInterface_Expecter) ServerGroups() *MockDiscoveryInterface_ServerGroups_Call
- func (_e *MockDiscoveryInterface_Expecter) ServerGroupsAndResources() *MockDiscoveryInterface_ServerGroupsAndResources_Call
- func (_e *MockDiscoveryInterface_Expecter) ServerPreferredNamespacedResources() *MockDiscoveryInterface_ServerPreferredNamespacedResources_Call
- func (_e *MockDiscoveryInterface_Expecter) ServerPreferredResources() *MockDiscoveryInterface_ServerPreferredResources_Call
- func (_e *MockDiscoveryInterface_Expecter) ServerResourcesForGroupVersion(groupVersion interface{}) *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call
- func (_e *MockDiscoveryInterface_Expecter) ServerVersion() *MockDiscoveryInterface_ServerVersion_Call
- func (_e *MockDiscoveryInterface_Expecter) WithLegacy() *MockDiscoveryInterface_WithLegacy_Call
- type MockDiscoveryInterface_OpenAPISchema_Call
- func (_c *MockDiscoveryInterface_OpenAPISchema_Call) Return(document *openapi_v2.Document, err error) *MockDiscoveryInterface_OpenAPISchema_Call
- func (_c *MockDiscoveryInterface_OpenAPISchema_Call) Run(run func()) *MockDiscoveryInterface_OpenAPISchema_Call
- func (_c *MockDiscoveryInterface_OpenAPISchema_Call) RunAndReturn(run func() (*openapi_v2.Document, error)) *MockDiscoveryInterface_OpenAPISchema_Call
- type MockDiscoveryInterface_OpenAPIV3_Call
- func (_c *MockDiscoveryInterface_OpenAPIV3_Call) Return(client openapi.Client) *MockDiscoveryInterface_OpenAPIV3_Call
- func (_c *MockDiscoveryInterface_OpenAPIV3_Call) Run(run func()) *MockDiscoveryInterface_OpenAPIV3_Call
- func (_c *MockDiscoveryInterface_OpenAPIV3_Call) RunAndReturn(run func() openapi.Client) *MockDiscoveryInterface_OpenAPIV3_Call
- type MockDiscoveryInterface_RESTClient_Call
- func (_c *MockDiscoveryInterface_RESTClient_Call) Return(interfaceParam rest.Interface) *MockDiscoveryInterface_RESTClient_Call
- func (_c *MockDiscoveryInterface_RESTClient_Call) Run(run func()) *MockDiscoveryInterface_RESTClient_Call
- func (_c *MockDiscoveryInterface_RESTClient_Call) RunAndReturn(run func() rest.Interface) *MockDiscoveryInterface_RESTClient_Call
- type MockDiscoveryInterface_ServerGroupsAndResources_Call
- func (_c *MockDiscoveryInterface_ServerGroupsAndResources_Call) Return(aPIGroups []*v1.APIGroup, aPIResourceLists []*v1.APIResourceList, err error) *MockDiscoveryInterface_ServerGroupsAndResources_Call
- func (_c *MockDiscoveryInterface_ServerGroupsAndResources_Call) Run(run func()) *MockDiscoveryInterface_ServerGroupsAndResources_Call
- func (_c *MockDiscoveryInterface_ServerGroupsAndResources_Call) RunAndReturn(run func() ([]*v1.APIGroup, []*v1.APIResourceList, error)) *MockDiscoveryInterface_ServerGroupsAndResources_Call
- type MockDiscoveryInterface_ServerGroups_Call
- func (_c *MockDiscoveryInterface_ServerGroups_Call) Return(aPIGroupList *v1.APIGroupList, err error) *MockDiscoveryInterface_ServerGroups_Call
- func (_c *MockDiscoveryInterface_ServerGroups_Call) Run(run func()) *MockDiscoveryInterface_ServerGroups_Call
- func (_c *MockDiscoveryInterface_ServerGroups_Call) RunAndReturn(run func() (*v1.APIGroupList, error)) *MockDiscoveryInterface_ServerGroups_Call
- type MockDiscoveryInterface_ServerPreferredNamespacedResources_Call
- func (_c *MockDiscoveryInterface_ServerPreferredNamespacedResources_Call) Return(aPIResourceLists []*v1.APIResourceList, err error) *MockDiscoveryInterface_ServerPreferredNamespacedResources_Call
- func (_c *MockDiscoveryInterface_ServerPreferredNamespacedResources_Call) Run(run func()) *MockDiscoveryInterface_ServerPreferredNamespacedResources_Call
- func (_c *MockDiscoveryInterface_ServerPreferredNamespacedResources_Call) RunAndReturn(run func() ([]*v1.APIResourceList, error)) *MockDiscoveryInterface_ServerPreferredNamespacedResources_Call
- type MockDiscoveryInterface_ServerPreferredResources_Call
- func (_c *MockDiscoveryInterface_ServerPreferredResources_Call) Return(aPIResourceLists []*v1.APIResourceList, err error) *MockDiscoveryInterface_ServerPreferredResources_Call
- func (_c *MockDiscoveryInterface_ServerPreferredResources_Call) Run(run func()) *MockDiscoveryInterface_ServerPreferredResources_Call
- func (_c *MockDiscoveryInterface_ServerPreferredResources_Call) RunAndReturn(run func() ([]*v1.APIResourceList, error)) *MockDiscoveryInterface_ServerPreferredResources_Call
- type MockDiscoveryInterface_ServerResourcesForGroupVersion_Call
- func (_c *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call) Return(aPIResourceList *v1.APIResourceList, err error) *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call
- func (_c *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call) Run(run func(groupVersion string)) *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call
- func (_c *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call) RunAndReturn(run func(groupVersion string) (*v1.APIResourceList, error)) *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call
- type MockDiscoveryInterface_ServerVersion_Call
- func (_c *MockDiscoveryInterface_ServerVersion_Call) Return(info *version.Info, err error) *MockDiscoveryInterface_ServerVersion_Call
- func (_c *MockDiscoveryInterface_ServerVersion_Call) Run(run func()) *MockDiscoveryInterface_ServerVersion_Call
- func (_c *MockDiscoveryInterface_ServerVersion_Call) RunAndReturn(run func() (*version.Info, error)) *MockDiscoveryInterface_ServerVersion_Call
- type MockDiscoveryInterface_WithLegacy_Call
- func (_c *MockDiscoveryInterface_WithLegacy_Call) Return(discoveryInterface discovery.DiscoveryInterface) *MockDiscoveryInterface_WithLegacy_Call
- func (_c *MockDiscoveryInterface_WithLegacy_Call) Run(run func()) *MockDiscoveryInterface_WithLegacy_Call
- func (_c *MockDiscoveryInterface_WithLegacy_Call) RunAndReturn(run func() discovery.DiscoveryInterface) *MockDiscoveryInterface_WithLegacy_Call
- type MockManager
- func (_mock *MockManager) Add(runnable manager.Runnable) error
- func (_mock *MockManager) AddHealthzCheck(name string, check healthz.Checker) error
- func (_mock *MockManager) AddMetricsServerExtraHandler(path string, handler http.Handler) error
- func (_mock *MockManager) AddReadyzCheck(name string, check healthz.Checker) error
- func (_mock *MockManager) ClusterFromContext(ctx context.Context) (cluster.Cluster, error)
- func (_m *MockManager) EXPECT() *MockManager_Expecter
- func (_mock *MockManager) Elected() <-chan struct{}
- func (_mock *MockManager) Engage(context1 context.Context, s string, cluster1 cluster.Cluster) error
- func (_mock *MockManager) GetCluster(ctx context.Context, clusterName string) (cluster.Cluster, error)
- func (_mock *MockManager) GetControllerOptions() config.Controller
- func (_mock *MockManager) GetFieldIndexer() client.FieldIndexer
- func (_mock *MockManager) GetLocalManager() manager0.Manager
- func (_mock *MockManager) GetLogger() logr.Logger
- func (_mock *MockManager) GetManager(ctx context.Context, clusterName string) (manager0.Manager, error)
- func (_mock *MockManager) GetProvider() multicluster.Provider
- func (_mock *MockManager) GetWebhookServer() webhook.Server
- func (_mock *MockManager) Start(ctx context.Context) error
- type MockManager_AddHealthzCheck_Call
- func (_c *MockManager_AddHealthzCheck_Call) Return(err error) *MockManager_AddHealthzCheck_Call
- func (_c *MockManager_AddHealthzCheck_Call) Run(run func(name string, check healthz.Checker)) *MockManager_AddHealthzCheck_Call
- func (_c *MockManager_AddHealthzCheck_Call) RunAndReturn(run func(name string, check healthz.Checker) error) *MockManager_AddHealthzCheck_Call
- type MockManager_AddMetricsServerExtraHandler_Call
- func (_c *MockManager_AddMetricsServerExtraHandler_Call) Return(err error) *MockManager_AddMetricsServerExtraHandler_Call
- func (_c *MockManager_AddMetricsServerExtraHandler_Call) Run(run func(path string, handler http.Handler)) *MockManager_AddMetricsServerExtraHandler_Call
- func (_c *MockManager_AddMetricsServerExtraHandler_Call) RunAndReturn(run func(path string, handler http.Handler) error) *MockManager_AddMetricsServerExtraHandler_Call
- type MockManager_AddReadyzCheck_Call
- func (_c *MockManager_AddReadyzCheck_Call) Return(err error) *MockManager_AddReadyzCheck_Call
- func (_c *MockManager_AddReadyzCheck_Call) Run(run func(name string, check healthz.Checker)) *MockManager_AddReadyzCheck_Call
- func (_c *MockManager_AddReadyzCheck_Call) RunAndReturn(run func(name string, check healthz.Checker) error) *MockManager_AddReadyzCheck_Call
- type MockManager_Add_Call
- type MockManager_ClusterFromContext_Call
- func (_c *MockManager_ClusterFromContext_Call) Return(cluster1 cluster.Cluster, err error) *MockManager_ClusterFromContext_Call
- func (_c *MockManager_ClusterFromContext_Call) Run(run func(ctx context.Context)) *MockManager_ClusterFromContext_Call
- func (_c *MockManager_ClusterFromContext_Call) RunAndReturn(run func(ctx context.Context) (cluster.Cluster, error)) *MockManager_ClusterFromContext_Call
- type MockManager_Elected_Call
- type MockManager_Engage_Call
- func (_c *MockManager_Engage_Call) Return(err error) *MockManager_Engage_Call
- func (_c *MockManager_Engage_Call) Run(run func(context1 context.Context, s string, cluster1 cluster.Cluster)) *MockManager_Engage_Call
- func (_c *MockManager_Engage_Call) RunAndReturn(run func(context1 context.Context, s string, cluster1 cluster.Cluster) error) *MockManager_Engage_Call
- type MockManager_Expecter
- func (_e *MockManager_Expecter) Add(runnable interface{}) *MockManager_Add_Call
- func (_e *MockManager_Expecter) AddHealthzCheck(name interface{}, check interface{}) *MockManager_AddHealthzCheck_Call
- func (_e *MockManager_Expecter) AddMetricsServerExtraHandler(path interface{}, handler interface{}) *MockManager_AddMetricsServerExtraHandler_Call
- func (_e *MockManager_Expecter) AddReadyzCheck(name interface{}, check interface{}) *MockManager_AddReadyzCheck_Call
- func (_e *MockManager_Expecter) ClusterFromContext(ctx interface{}) *MockManager_ClusterFromContext_Call
- func (_e *MockManager_Expecter) Elected() *MockManager_Elected_Call
- func (_e *MockManager_Expecter) Engage(context1 interface{}, s interface{}, cluster1 interface{}) *MockManager_Engage_Call
- func (_e *MockManager_Expecter) GetCluster(ctx interface{}, clusterName interface{}) *MockManager_GetCluster_Call
- func (_e *MockManager_Expecter) GetControllerOptions() *MockManager_GetControllerOptions_Call
- func (_e *MockManager_Expecter) GetFieldIndexer() *MockManager_GetFieldIndexer_Call
- func (_e *MockManager_Expecter) GetLocalManager() *MockManager_GetLocalManager_Call
- func (_e *MockManager_Expecter) GetLogger() *MockManager_GetLogger_Call
- func (_e *MockManager_Expecter) GetManager(ctx interface{}, clusterName interface{}) *MockManager_GetManager_Call
- func (_e *MockManager_Expecter) GetProvider() *MockManager_GetProvider_Call
- func (_e *MockManager_Expecter) GetWebhookServer() *MockManager_GetWebhookServer_Call
- func (_e *MockManager_Expecter) Start(ctx interface{}) *MockManager_Start_Call
- type MockManager_GetCluster_Call
- func (_c *MockManager_GetCluster_Call) Return(cluster1 cluster.Cluster, err error) *MockManager_GetCluster_Call
- func (_c *MockManager_GetCluster_Call) Run(run func(ctx context.Context, clusterName string)) *MockManager_GetCluster_Call
- func (_c *MockManager_GetCluster_Call) RunAndReturn(run func(ctx context.Context, clusterName string) (cluster.Cluster, error)) *MockManager_GetCluster_Call
- type MockManager_GetControllerOptions_Call
- func (_c *MockManager_GetControllerOptions_Call) Return(controller config.Controller) *MockManager_GetControllerOptions_Call
- func (_c *MockManager_GetControllerOptions_Call) Run(run func()) *MockManager_GetControllerOptions_Call
- func (_c *MockManager_GetControllerOptions_Call) RunAndReturn(run func() config.Controller) *MockManager_GetControllerOptions_Call
- type MockManager_GetFieldIndexer_Call
- func (_c *MockManager_GetFieldIndexer_Call) Return(fieldIndexer client.FieldIndexer) *MockManager_GetFieldIndexer_Call
- func (_c *MockManager_GetFieldIndexer_Call) Run(run func()) *MockManager_GetFieldIndexer_Call
- func (_c *MockManager_GetFieldIndexer_Call) RunAndReturn(run func() client.FieldIndexer) *MockManager_GetFieldIndexer_Call
- type MockManager_GetLocalManager_Call
- func (_c *MockManager_GetLocalManager_Call) Return(manager1 manager0.Manager) *MockManager_GetLocalManager_Call
- func (_c *MockManager_GetLocalManager_Call) Run(run func()) *MockManager_GetLocalManager_Call
- func (_c *MockManager_GetLocalManager_Call) RunAndReturn(run func() manager0.Manager) *MockManager_GetLocalManager_Call
- type MockManager_GetLogger_Call
- type MockManager_GetManager_Call
- func (_c *MockManager_GetManager_Call) Return(manager1 manager0.Manager, err error) *MockManager_GetManager_Call
- func (_c *MockManager_GetManager_Call) Run(run func(ctx context.Context, clusterName string)) *MockManager_GetManager_Call
- func (_c *MockManager_GetManager_Call) RunAndReturn(run func(ctx context.Context, clusterName string) (manager0.Manager, error)) *MockManager_GetManager_Call
- type MockManager_GetProvider_Call
- func (_c *MockManager_GetProvider_Call) Return(provider multicluster.Provider) *MockManager_GetProvider_Call
- func (_c *MockManager_GetProvider_Call) Run(run func()) *MockManager_GetProvider_Call
- func (_c *MockManager_GetProvider_Call) RunAndReturn(run func() multicluster.Provider) *MockManager_GetProvider_Call
- type MockManager_GetWebhookServer_Call
- func (_c *MockManager_GetWebhookServer_Call) Return(server webhook.Server) *MockManager_GetWebhookServer_Call
- func (_c *MockManager_GetWebhookServer_Call) Run(run func()) *MockManager_GetWebhookServer_Call
- func (_c *MockManager_GetWebhookServer_Call) RunAndReturn(run func() webhook.Server) *MockManager_GetWebhookServer_Call
- type MockManager_Start_Call
- type MockOpenFGAServiceClient
- func (_mock *MockOpenFGAServiceClient) BatchCheck(ctx context.Context, in *openfgav1.BatchCheckRequest, opts ...grpc.CallOption) (*openfgav1.BatchCheckResponse, error)
- func (_mock *MockOpenFGAServiceClient) Check(ctx context.Context, in *openfgav1.CheckRequest, opts ...grpc.CallOption) (*openfgav1.CheckResponse, error)
- func (_mock *MockOpenFGAServiceClient) CreateStore(ctx context.Context, in *openfgav1.CreateStoreRequest, opts ...grpc.CallOption) (*openfgav1.CreateStoreResponse, error)
- func (_mock *MockOpenFGAServiceClient) DeleteStore(ctx context.Context, in *openfgav1.DeleteStoreRequest, opts ...grpc.CallOption) (*openfgav1.DeleteStoreResponse, error)
- func (_m *MockOpenFGAServiceClient) EXPECT() *MockOpenFGAServiceClient_Expecter
- func (_mock *MockOpenFGAServiceClient) Expand(ctx context.Context, in *openfgav1.ExpandRequest, opts ...grpc.CallOption) (*openfgav1.ExpandResponse, error)
- func (_mock *MockOpenFGAServiceClient) GetStore(ctx context.Context, in *openfgav1.GetStoreRequest, opts ...grpc.CallOption) (*openfgav1.GetStoreResponse, error)
- func (_mock *MockOpenFGAServiceClient) ListObjects(ctx context.Context, in *openfgav1.ListObjectsRequest, opts ...grpc.CallOption) (*openfgav1.ListObjectsResponse, error)
- func (_mock *MockOpenFGAServiceClient) ListStores(ctx context.Context, in *openfgav1.ListStoresRequest, opts ...grpc.CallOption) (*openfgav1.ListStoresResponse, error)
- func (_mock *MockOpenFGAServiceClient) ListUsers(ctx context.Context, in *openfgav1.ListUsersRequest, opts ...grpc.CallOption) (*openfgav1.ListUsersResponse, error)
- func (_mock *MockOpenFGAServiceClient) Read(ctx context.Context, in *openfgav1.ReadRequest, opts ...grpc.CallOption) (*openfgav1.ReadResponse, error)
- func (_mock *MockOpenFGAServiceClient) ReadAssertions(ctx context.Context, in *openfgav1.ReadAssertionsRequest, ...) (*openfgav1.ReadAssertionsResponse, error)
- func (_mock *MockOpenFGAServiceClient) ReadAuthorizationModel(ctx context.Context, in *openfgav1.ReadAuthorizationModelRequest, ...) (*openfgav1.ReadAuthorizationModelResponse, error)
- func (_mock *MockOpenFGAServiceClient) ReadAuthorizationModels(ctx context.Context, in *openfgav1.ReadAuthorizationModelsRequest, ...) (*openfgav1.ReadAuthorizationModelsResponse, error)
- func (_mock *MockOpenFGAServiceClient) ReadChanges(ctx context.Context, in *openfgav1.ReadChangesRequest, opts ...grpc.CallOption) (*openfgav1.ReadChangesResponse, error)
- func (_mock *MockOpenFGAServiceClient) StreamedListObjects(ctx context.Context, in *openfgav1.StreamedListObjectsRequest, ...) (openfgav1.OpenFGAService_StreamedListObjectsClient, error)
- func (_mock *MockOpenFGAServiceClient) UpdateStore(ctx context.Context, in *openfgav1.UpdateStoreRequest, opts ...grpc.CallOption) (*openfgav1.UpdateStoreResponse, error)
- func (_mock *MockOpenFGAServiceClient) Write(ctx context.Context, in *openfgav1.WriteRequest, opts ...grpc.CallOption) (*openfgav1.WriteResponse, error)
- func (_mock *MockOpenFGAServiceClient) WriteAssertions(ctx context.Context, in *openfgav1.WriteAssertionsRequest, ...) (*openfgav1.WriteAssertionsResponse, error)
- func (_mock *MockOpenFGAServiceClient) WriteAuthorizationModel(ctx context.Context, in *openfgav1.WriteAuthorizationModelRequest, ...) (*openfgav1.WriteAuthorizationModelResponse, error)
- type MockOpenFGAServiceClient_BatchCheck_Call
- func (_c *MockOpenFGAServiceClient_BatchCheck_Call) Return(batchCheckResponse *openfgav1.BatchCheckResponse, err error) *MockOpenFGAServiceClient_BatchCheck_Call
- func (_c *MockOpenFGAServiceClient_BatchCheck_Call) Run(...) *MockOpenFGAServiceClient_BatchCheck_Call
- func (_c *MockOpenFGAServiceClient_BatchCheck_Call) RunAndReturn(...) *MockOpenFGAServiceClient_BatchCheck_Call
- type MockOpenFGAServiceClient_Check_Call
- func (_c *MockOpenFGAServiceClient_Check_Call) Return(checkResponse *openfgav1.CheckResponse, err error) *MockOpenFGAServiceClient_Check_Call
- func (_c *MockOpenFGAServiceClient_Check_Call) Run(...) *MockOpenFGAServiceClient_Check_Call
- func (_c *MockOpenFGAServiceClient_Check_Call) RunAndReturn(...) *MockOpenFGAServiceClient_Check_Call
- type MockOpenFGAServiceClient_CreateStore_Call
- func (_c *MockOpenFGAServiceClient_CreateStore_Call) Return(createStoreResponse *openfgav1.CreateStoreResponse, err error) *MockOpenFGAServiceClient_CreateStore_Call
- func (_c *MockOpenFGAServiceClient_CreateStore_Call) Run(...) *MockOpenFGAServiceClient_CreateStore_Call
- func (_c *MockOpenFGAServiceClient_CreateStore_Call) RunAndReturn(...) *MockOpenFGAServiceClient_CreateStore_Call
- type MockOpenFGAServiceClient_DeleteStore_Call
- func (_c *MockOpenFGAServiceClient_DeleteStore_Call) Return(deleteStoreResponse *openfgav1.DeleteStoreResponse, err error) *MockOpenFGAServiceClient_DeleteStore_Call
- func (_c *MockOpenFGAServiceClient_DeleteStore_Call) Run(...) *MockOpenFGAServiceClient_DeleteStore_Call
- func (_c *MockOpenFGAServiceClient_DeleteStore_Call) RunAndReturn(...) *MockOpenFGAServiceClient_DeleteStore_Call
- type MockOpenFGAServiceClient_Expand_Call
- func (_c *MockOpenFGAServiceClient_Expand_Call) Return(expandResponse *openfgav1.ExpandResponse, err error) *MockOpenFGAServiceClient_Expand_Call
- func (_c *MockOpenFGAServiceClient_Expand_Call) Run(...) *MockOpenFGAServiceClient_Expand_Call
- func (_c *MockOpenFGAServiceClient_Expand_Call) RunAndReturn(...) *MockOpenFGAServiceClient_Expand_Call
- type MockOpenFGAServiceClient_Expecter
- func (_e *MockOpenFGAServiceClient_Expecter) BatchCheck(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_BatchCheck_Call
- func (_e *MockOpenFGAServiceClient_Expecter) Check(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_Check_Call
- func (_e *MockOpenFGAServiceClient_Expecter) CreateStore(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_CreateStore_Call
- func (_e *MockOpenFGAServiceClient_Expecter) DeleteStore(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_DeleteStore_Call
- func (_e *MockOpenFGAServiceClient_Expecter) Expand(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_Expand_Call
- func (_e *MockOpenFGAServiceClient_Expecter) GetStore(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_GetStore_Call
- func (_e *MockOpenFGAServiceClient_Expecter) ListObjects(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ListObjects_Call
- func (_e *MockOpenFGAServiceClient_Expecter) ListStores(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ListStores_Call
- func (_e *MockOpenFGAServiceClient_Expecter) ListUsers(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ListUsers_Call
- func (_e *MockOpenFGAServiceClient_Expecter) Read(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_Read_Call
- func (_e *MockOpenFGAServiceClient_Expecter) ReadAssertions(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ReadAssertions_Call
- func (_e *MockOpenFGAServiceClient_Expecter) ReadAuthorizationModel(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ReadAuthorizationModel_Call
- func (_e *MockOpenFGAServiceClient_Expecter) ReadAuthorizationModels(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ReadAuthorizationModels_Call
- func (_e *MockOpenFGAServiceClient_Expecter) ReadChanges(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ReadChanges_Call
- func (_e *MockOpenFGAServiceClient_Expecter) StreamedListObjects(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_StreamedListObjects_Call
- func (_e *MockOpenFGAServiceClient_Expecter) UpdateStore(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_UpdateStore_Call
- func (_e *MockOpenFGAServiceClient_Expecter) Write(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_Write_Call
- func (_e *MockOpenFGAServiceClient_Expecter) WriteAssertions(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_WriteAssertions_Call
- func (_e *MockOpenFGAServiceClient_Expecter) WriteAuthorizationModel(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_WriteAuthorizationModel_Call
- type MockOpenFGAServiceClient_GetStore_Call
- func (_c *MockOpenFGAServiceClient_GetStore_Call) Return(getStoreResponse *openfgav1.GetStoreResponse, err error) *MockOpenFGAServiceClient_GetStore_Call
- func (_c *MockOpenFGAServiceClient_GetStore_Call) Run(...) *MockOpenFGAServiceClient_GetStore_Call
- func (_c *MockOpenFGAServiceClient_GetStore_Call) RunAndReturn(...) *MockOpenFGAServiceClient_GetStore_Call
- type MockOpenFGAServiceClient_ListObjects_Call
- func (_c *MockOpenFGAServiceClient_ListObjects_Call) Return(listObjectsResponse *openfgav1.ListObjectsResponse, err error) *MockOpenFGAServiceClient_ListObjects_Call
- func (_c *MockOpenFGAServiceClient_ListObjects_Call) Run(...) *MockOpenFGAServiceClient_ListObjects_Call
- func (_c *MockOpenFGAServiceClient_ListObjects_Call) RunAndReturn(...) *MockOpenFGAServiceClient_ListObjects_Call
- type MockOpenFGAServiceClient_ListStores_Call
- func (_c *MockOpenFGAServiceClient_ListStores_Call) Return(listStoresResponse *openfgav1.ListStoresResponse, err error) *MockOpenFGAServiceClient_ListStores_Call
- func (_c *MockOpenFGAServiceClient_ListStores_Call) Run(...) *MockOpenFGAServiceClient_ListStores_Call
- func (_c *MockOpenFGAServiceClient_ListStores_Call) RunAndReturn(...) *MockOpenFGAServiceClient_ListStores_Call
- type MockOpenFGAServiceClient_ListUsers_Call
- func (_c *MockOpenFGAServiceClient_ListUsers_Call) Return(listUsersResponse *openfgav1.ListUsersResponse, err error) *MockOpenFGAServiceClient_ListUsers_Call
- func (_c *MockOpenFGAServiceClient_ListUsers_Call) Run(...) *MockOpenFGAServiceClient_ListUsers_Call
- func (_c *MockOpenFGAServiceClient_ListUsers_Call) RunAndReturn(...) *MockOpenFGAServiceClient_ListUsers_Call
- type MockOpenFGAServiceClient_ReadAssertions_Call
- func (_c *MockOpenFGAServiceClient_ReadAssertions_Call) Return(readAssertionsResponse *openfgav1.ReadAssertionsResponse, err error) *MockOpenFGAServiceClient_ReadAssertions_Call
- func (_c *MockOpenFGAServiceClient_ReadAssertions_Call) Run(run func(ctx context.Context, in *openfgav1.ReadAssertionsRequest, ...)) *MockOpenFGAServiceClient_ReadAssertions_Call
- func (_c *MockOpenFGAServiceClient_ReadAssertions_Call) RunAndReturn(...) *MockOpenFGAServiceClient_ReadAssertions_Call
- type MockOpenFGAServiceClient_ReadAuthorizationModel_Call
- func (_c *MockOpenFGAServiceClient_ReadAuthorizationModel_Call) Return(readAuthorizationModelResponse *openfgav1.ReadAuthorizationModelResponse, ...) *MockOpenFGAServiceClient_ReadAuthorizationModel_Call
- func (_c *MockOpenFGAServiceClient_ReadAuthorizationModel_Call) Run(...) *MockOpenFGAServiceClient_ReadAuthorizationModel_Call
- func (_c *MockOpenFGAServiceClient_ReadAuthorizationModel_Call) RunAndReturn(...) *MockOpenFGAServiceClient_ReadAuthorizationModel_Call
- type MockOpenFGAServiceClient_ReadAuthorizationModels_Call
- func (_c *MockOpenFGAServiceClient_ReadAuthorizationModels_Call) Return(readAuthorizationModelsResponse *openfgav1.ReadAuthorizationModelsResponse, ...) *MockOpenFGAServiceClient_ReadAuthorizationModels_Call
- func (_c *MockOpenFGAServiceClient_ReadAuthorizationModels_Call) Run(...) *MockOpenFGAServiceClient_ReadAuthorizationModels_Call
- func (_c *MockOpenFGAServiceClient_ReadAuthorizationModels_Call) RunAndReturn(...) *MockOpenFGAServiceClient_ReadAuthorizationModels_Call
- type MockOpenFGAServiceClient_ReadChanges_Call
- func (_c *MockOpenFGAServiceClient_ReadChanges_Call) Return(readChangesResponse *openfgav1.ReadChangesResponse, err error) *MockOpenFGAServiceClient_ReadChanges_Call
- func (_c *MockOpenFGAServiceClient_ReadChanges_Call) Run(...) *MockOpenFGAServiceClient_ReadChanges_Call
- func (_c *MockOpenFGAServiceClient_ReadChanges_Call) RunAndReturn(...) *MockOpenFGAServiceClient_ReadChanges_Call
- type MockOpenFGAServiceClient_Read_Call
- func (_c *MockOpenFGAServiceClient_Read_Call) Return(readResponse *openfgav1.ReadResponse, err error) *MockOpenFGAServiceClient_Read_Call
- func (_c *MockOpenFGAServiceClient_Read_Call) Run(...) *MockOpenFGAServiceClient_Read_Call
- func (_c *MockOpenFGAServiceClient_Read_Call) RunAndReturn(...) *MockOpenFGAServiceClient_Read_Call
- type MockOpenFGAServiceClient_StreamedListObjects_Call
- func (_c *MockOpenFGAServiceClient_StreamedListObjects_Call) Return(...) *MockOpenFGAServiceClient_StreamedListObjects_Call
- func (_c *MockOpenFGAServiceClient_StreamedListObjects_Call) Run(run func(ctx context.Context, in *openfgav1.StreamedListObjectsRequest, ...)) *MockOpenFGAServiceClient_StreamedListObjects_Call
- func (_c *MockOpenFGAServiceClient_StreamedListObjects_Call) RunAndReturn(...) *MockOpenFGAServiceClient_StreamedListObjects_Call
- type MockOpenFGAServiceClient_UpdateStore_Call
- func (_c *MockOpenFGAServiceClient_UpdateStore_Call) Return(updateStoreResponse *openfgav1.UpdateStoreResponse, err error) *MockOpenFGAServiceClient_UpdateStore_Call
- func (_c *MockOpenFGAServiceClient_UpdateStore_Call) Run(...) *MockOpenFGAServiceClient_UpdateStore_Call
- func (_c *MockOpenFGAServiceClient_UpdateStore_Call) RunAndReturn(...) *MockOpenFGAServiceClient_UpdateStore_Call
- type MockOpenFGAServiceClient_WriteAssertions_Call
- func (_c *MockOpenFGAServiceClient_WriteAssertions_Call) Return(writeAssertionsResponse *openfgav1.WriteAssertionsResponse, err error) *MockOpenFGAServiceClient_WriteAssertions_Call
- func (_c *MockOpenFGAServiceClient_WriteAssertions_Call) Run(run func(ctx context.Context, in *openfgav1.WriteAssertionsRequest, ...)) *MockOpenFGAServiceClient_WriteAssertions_Call
- func (_c *MockOpenFGAServiceClient_WriteAssertions_Call) RunAndReturn(...) *MockOpenFGAServiceClient_WriteAssertions_Call
- type MockOpenFGAServiceClient_WriteAuthorizationModel_Call
- func (_c *MockOpenFGAServiceClient_WriteAuthorizationModel_Call) Return(writeAuthorizationModelResponse *openfgav1.WriteAuthorizationModelResponse, ...) *MockOpenFGAServiceClient_WriteAuthorizationModel_Call
- func (_c *MockOpenFGAServiceClient_WriteAuthorizationModel_Call) Run(...) *MockOpenFGAServiceClient_WriteAuthorizationModel_Call
- func (_c *MockOpenFGAServiceClient_WriteAuthorizationModel_Call) RunAndReturn(...) *MockOpenFGAServiceClient_WriteAuthorizationModel_Call
- type MockOpenFGAServiceClient_Write_Call
- func (_c *MockOpenFGAServiceClient_Write_Call) Return(writeResponse *openfgav1.WriteResponse, err error) *MockOpenFGAServiceClient_Write_Call
- func (_c *MockOpenFGAServiceClient_Write_Call) Run(...) *MockOpenFGAServiceClient_Write_Call
- func (_c *MockOpenFGAServiceClient_Write_Call) RunAndReturn(...) *MockOpenFGAServiceClient_Write_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CTRLManager ¶
CTRLManager is an autogenerated mock type for the Manager type
func NewCTRLManager ¶
func NewCTRLManager(t interface {
mock.TestingT
Cleanup(func())
}) *CTRLManager
NewCTRLManager creates a new instance of CTRLManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CTRLManager) Add ¶
func (_mock *CTRLManager) Add(runnable manager.Runnable) error
Add provides a mock function for the type CTRLManager
func (*CTRLManager) AddHealthzCheck ¶
func (_mock *CTRLManager) AddHealthzCheck(name string, check healthz.Checker) error
AddHealthzCheck provides a mock function for the type CTRLManager
func (*CTRLManager) AddMetricsServerExtraHandler ¶
func (_mock *CTRLManager) AddMetricsServerExtraHandler(path string, handler http.Handler) error
AddMetricsServerExtraHandler provides a mock function for the type CTRLManager
func (*CTRLManager) AddReadyzCheck ¶
func (_mock *CTRLManager) AddReadyzCheck(name string, check healthz.Checker) error
AddReadyzCheck provides a mock function for the type CTRLManager
func (*CTRLManager) EXPECT ¶
func (_m *CTRLManager) EXPECT() *CTRLManager_Expecter
func (*CTRLManager) Elected ¶
func (_mock *CTRLManager) Elected() <-chan struct{}
Elected provides a mock function for the type CTRLManager
func (*CTRLManager) GetAPIReader ¶
func (_mock *CTRLManager) GetAPIReader() client.Reader
GetAPIReader provides a mock function for the type CTRLManager
func (*CTRLManager) GetCache ¶
func (_mock *CTRLManager) GetCache() cache.Cache
GetCache provides a mock function for the type CTRLManager
func (*CTRLManager) GetClient ¶
func (_mock *CTRLManager) GetClient() client.Client
GetClient provides a mock function for the type CTRLManager
func (*CTRLManager) GetConfig ¶
func (_mock *CTRLManager) GetConfig() *rest.Config
GetConfig provides a mock function for the type CTRLManager
func (*CTRLManager) GetControllerOptions ¶
func (_mock *CTRLManager) GetControllerOptions() config.Controller
GetControllerOptions provides a mock function for the type CTRLManager
func (*CTRLManager) GetEventRecorderFor ¶
func (_mock *CTRLManager) GetEventRecorderFor(name string) record.EventRecorder
GetEventRecorderFor provides a mock function for the type CTRLManager
func (*CTRLManager) GetFieldIndexer ¶
func (_mock *CTRLManager) GetFieldIndexer() client.FieldIndexer
GetFieldIndexer provides a mock function for the type CTRLManager
func (*CTRLManager) GetHTTPClient ¶
func (_mock *CTRLManager) GetHTTPClient() *http.Client
GetHTTPClient provides a mock function for the type CTRLManager
func (*CTRLManager) GetLogger ¶
func (_mock *CTRLManager) GetLogger() logr.Logger
GetLogger provides a mock function for the type CTRLManager
func (*CTRLManager) GetRESTMapper ¶
func (_mock *CTRLManager) GetRESTMapper() meta.RESTMapper
GetRESTMapper provides a mock function for the type CTRLManager
func (*CTRLManager) GetScheme ¶
func (_mock *CTRLManager) GetScheme() *runtime.Scheme
GetScheme provides a mock function for the type CTRLManager
func (*CTRLManager) GetWebhookServer ¶
func (_mock *CTRLManager) GetWebhookServer() webhook.Server
GetWebhookServer provides a mock function for the type CTRLManager
type CTRLManager_AddHealthzCheck_Call ¶
CTRLManager_AddHealthzCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddHealthzCheck'
func (*CTRLManager_AddHealthzCheck_Call) Return ¶
func (_c *CTRLManager_AddHealthzCheck_Call) Return(err error) *CTRLManager_AddHealthzCheck_Call
func (*CTRLManager_AddHealthzCheck_Call) Run ¶
func (_c *CTRLManager_AddHealthzCheck_Call) Run(run func(name string, check healthz.Checker)) *CTRLManager_AddHealthzCheck_Call
func (*CTRLManager_AddHealthzCheck_Call) RunAndReturn ¶
func (_c *CTRLManager_AddHealthzCheck_Call) RunAndReturn(run func(name string, check healthz.Checker) error) *CTRLManager_AddHealthzCheck_Call
type CTRLManager_AddMetricsServerExtraHandler_Call ¶
CTRLManager_AddMetricsServerExtraHandler_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddMetricsServerExtraHandler'
func (*CTRLManager_AddMetricsServerExtraHandler_Call) Return ¶
func (_c *CTRLManager_AddMetricsServerExtraHandler_Call) Return(err error) *CTRLManager_AddMetricsServerExtraHandler_Call
func (*CTRLManager_AddMetricsServerExtraHandler_Call) Run ¶
func (_c *CTRLManager_AddMetricsServerExtraHandler_Call) Run(run func(path string, handler http.Handler)) *CTRLManager_AddMetricsServerExtraHandler_Call
func (*CTRLManager_AddMetricsServerExtraHandler_Call) RunAndReturn ¶
func (_c *CTRLManager_AddMetricsServerExtraHandler_Call) RunAndReturn(run func(path string, handler http.Handler) error) *CTRLManager_AddMetricsServerExtraHandler_Call
type CTRLManager_AddReadyzCheck_Call ¶
CTRLManager_AddReadyzCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddReadyzCheck'
func (*CTRLManager_AddReadyzCheck_Call) Return ¶
func (_c *CTRLManager_AddReadyzCheck_Call) Return(err error) *CTRLManager_AddReadyzCheck_Call
func (*CTRLManager_AddReadyzCheck_Call) Run ¶
func (_c *CTRLManager_AddReadyzCheck_Call) Run(run func(name string, check healthz.Checker)) *CTRLManager_AddReadyzCheck_Call
func (*CTRLManager_AddReadyzCheck_Call) RunAndReturn ¶
func (_c *CTRLManager_AddReadyzCheck_Call) RunAndReturn(run func(name string, check healthz.Checker) error) *CTRLManager_AddReadyzCheck_Call
type CTRLManager_Add_Call ¶
CTRLManager_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*CTRLManager_Add_Call) Return ¶
func (_c *CTRLManager_Add_Call) Return(err error) *CTRLManager_Add_Call
func (*CTRLManager_Add_Call) Run ¶
func (_c *CTRLManager_Add_Call) Run(run func(runnable manager.Runnable)) *CTRLManager_Add_Call
func (*CTRLManager_Add_Call) RunAndReturn ¶
func (_c *CTRLManager_Add_Call) RunAndReturn(run func(runnable manager.Runnable) error) *CTRLManager_Add_Call
type CTRLManager_Elected_Call ¶
CTRLManager_Elected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Elected'
func (*CTRLManager_Elected_Call) Return ¶
func (_c *CTRLManager_Elected_Call) Return(valCh <-chan struct{}) *CTRLManager_Elected_Call
func (*CTRLManager_Elected_Call) Run ¶
func (_c *CTRLManager_Elected_Call) Run(run func()) *CTRLManager_Elected_Call
func (*CTRLManager_Elected_Call) RunAndReturn ¶
func (_c *CTRLManager_Elected_Call) RunAndReturn(run func() <-chan struct{}) *CTRLManager_Elected_Call
type CTRLManager_Expecter ¶
type CTRLManager_Expecter struct {
// contains filtered or unexported fields
}
func (*CTRLManager_Expecter) Add ¶
func (_e *CTRLManager_Expecter) Add(runnable interface{}) *CTRLManager_Add_Call
Add is a helper method to define mock.On call
- runnable manager.Runnable
func (*CTRLManager_Expecter) AddHealthzCheck ¶
func (_e *CTRLManager_Expecter) AddHealthzCheck(name interface{}, check interface{}) *CTRLManager_AddHealthzCheck_Call
AddHealthzCheck is a helper method to define mock.On call
- name string
- check healthz.Checker
func (*CTRLManager_Expecter) AddMetricsServerExtraHandler ¶
func (_e *CTRLManager_Expecter) AddMetricsServerExtraHandler(path interface{}, handler interface{}) *CTRLManager_AddMetricsServerExtraHandler_Call
AddMetricsServerExtraHandler is a helper method to define mock.On call
- path string
- handler http.Handler
func (*CTRLManager_Expecter) AddReadyzCheck ¶
func (_e *CTRLManager_Expecter) AddReadyzCheck(name interface{}, check interface{}) *CTRLManager_AddReadyzCheck_Call
AddReadyzCheck is a helper method to define mock.On call
- name string
- check healthz.Checker
func (*CTRLManager_Expecter) Elected ¶
func (_e *CTRLManager_Expecter) Elected() *CTRLManager_Elected_Call
Elected is a helper method to define mock.On call
func (*CTRLManager_Expecter) GetAPIReader ¶
func (_e *CTRLManager_Expecter) GetAPIReader() *CTRLManager_GetAPIReader_Call
GetAPIReader is a helper method to define mock.On call
func (*CTRLManager_Expecter) GetCache ¶
func (_e *CTRLManager_Expecter) GetCache() *CTRLManager_GetCache_Call
GetCache is a helper method to define mock.On call
func (*CTRLManager_Expecter) GetClient ¶
func (_e *CTRLManager_Expecter) GetClient() *CTRLManager_GetClient_Call
GetClient is a helper method to define mock.On call
func (*CTRLManager_Expecter) GetConfig ¶
func (_e *CTRLManager_Expecter) GetConfig() *CTRLManager_GetConfig_Call
GetConfig is a helper method to define mock.On call
func (*CTRLManager_Expecter) GetControllerOptions ¶
func (_e *CTRLManager_Expecter) GetControllerOptions() *CTRLManager_GetControllerOptions_Call
GetControllerOptions is a helper method to define mock.On call
func (*CTRLManager_Expecter) GetEventRecorderFor ¶
func (_e *CTRLManager_Expecter) GetEventRecorderFor(name interface{}) *CTRLManager_GetEventRecorderFor_Call
GetEventRecorderFor is a helper method to define mock.On call
- name string
func (*CTRLManager_Expecter) GetFieldIndexer ¶
func (_e *CTRLManager_Expecter) GetFieldIndexer() *CTRLManager_GetFieldIndexer_Call
GetFieldIndexer is a helper method to define mock.On call
func (*CTRLManager_Expecter) GetHTTPClient ¶
func (_e *CTRLManager_Expecter) GetHTTPClient() *CTRLManager_GetHTTPClient_Call
GetHTTPClient is a helper method to define mock.On call
func (*CTRLManager_Expecter) GetLogger ¶
func (_e *CTRLManager_Expecter) GetLogger() *CTRLManager_GetLogger_Call
GetLogger is a helper method to define mock.On call
func (*CTRLManager_Expecter) GetRESTMapper ¶
func (_e *CTRLManager_Expecter) GetRESTMapper() *CTRLManager_GetRESTMapper_Call
GetRESTMapper is a helper method to define mock.On call
func (*CTRLManager_Expecter) GetScheme ¶
func (_e *CTRLManager_Expecter) GetScheme() *CTRLManager_GetScheme_Call
GetScheme is a helper method to define mock.On call
func (*CTRLManager_Expecter) GetWebhookServer ¶
func (_e *CTRLManager_Expecter) GetWebhookServer() *CTRLManager_GetWebhookServer_Call
GetWebhookServer is a helper method to define mock.On call
func (*CTRLManager_Expecter) Start ¶
func (_e *CTRLManager_Expecter) Start(ctx interface{}) *CTRLManager_Start_Call
Start is a helper method to define mock.On call
- ctx context.Context
type CTRLManager_GetAPIReader_Call ¶
CTRLManager_GetAPIReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAPIReader'
func (*CTRLManager_GetAPIReader_Call) Return ¶
func (_c *CTRLManager_GetAPIReader_Call) Return(reader client.Reader) *CTRLManager_GetAPIReader_Call
func (*CTRLManager_GetAPIReader_Call) Run ¶
func (_c *CTRLManager_GetAPIReader_Call) Run(run func()) *CTRLManager_GetAPIReader_Call
func (*CTRLManager_GetAPIReader_Call) RunAndReturn ¶
func (_c *CTRLManager_GetAPIReader_Call) RunAndReturn(run func() client.Reader) *CTRLManager_GetAPIReader_Call
type CTRLManager_GetCache_Call ¶
CTRLManager_GetCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCache'
func (*CTRLManager_GetCache_Call) Return ¶
func (_c *CTRLManager_GetCache_Call) Return(cache1 cache.Cache) *CTRLManager_GetCache_Call
func (*CTRLManager_GetCache_Call) Run ¶
func (_c *CTRLManager_GetCache_Call) Run(run func()) *CTRLManager_GetCache_Call
func (*CTRLManager_GetCache_Call) RunAndReturn ¶
func (_c *CTRLManager_GetCache_Call) RunAndReturn(run func() cache.Cache) *CTRLManager_GetCache_Call
type CTRLManager_GetClient_Call ¶
CTRLManager_GetClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClient'
func (*CTRLManager_GetClient_Call) Return ¶
func (_c *CTRLManager_GetClient_Call) Return(client1 client.Client) *CTRLManager_GetClient_Call
func (*CTRLManager_GetClient_Call) Run ¶
func (_c *CTRLManager_GetClient_Call) Run(run func()) *CTRLManager_GetClient_Call
func (*CTRLManager_GetClient_Call) RunAndReturn ¶
func (_c *CTRLManager_GetClient_Call) RunAndReturn(run func() client.Client) *CTRLManager_GetClient_Call
type CTRLManager_GetConfig_Call ¶
CTRLManager_GetConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConfig'
func (*CTRLManager_GetConfig_Call) Return ¶
func (_c *CTRLManager_GetConfig_Call) Return(config *rest.Config) *CTRLManager_GetConfig_Call
func (*CTRLManager_GetConfig_Call) Run ¶
func (_c *CTRLManager_GetConfig_Call) Run(run func()) *CTRLManager_GetConfig_Call
func (*CTRLManager_GetConfig_Call) RunAndReturn ¶
func (_c *CTRLManager_GetConfig_Call) RunAndReturn(run func() *rest.Config) *CTRLManager_GetConfig_Call
type CTRLManager_GetControllerOptions_Call ¶
CTRLManager_GetControllerOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetControllerOptions'
func (*CTRLManager_GetControllerOptions_Call) Return ¶
func (_c *CTRLManager_GetControllerOptions_Call) Return(controller config.Controller) *CTRLManager_GetControllerOptions_Call
func (*CTRLManager_GetControllerOptions_Call) Run ¶
func (_c *CTRLManager_GetControllerOptions_Call) Run(run func()) *CTRLManager_GetControllerOptions_Call
func (*CTRLManager_GetControllerOptions_Call) RunAndReturn ¶
func (_c *CTRLManager_GetControllerOptions_Call) RunAndReturn(run func() config.Controller) *CTRLManager_GetControllerOptions_Call
type CTRLManager_GetEventRecorderFor_Call ¶
CTRLManager_GetEventRecorderFor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEventRecorderFor'
func (*CTRLManager_GetEventRecorderFor_Call) Return ¶
func (_c *CTRLManager_GetEventRecorderFor_Call) Return(eventRecorder record.EventRecorder) *CTRLManager_GetEventRecorderFor_Call
func (*CTRLManager_GetEventRecorderFor_Call) Run ¶
func (_c *CTRLManager_GetEventRecorderFor_Call) Run(run func(name string)) *CTRLManager_GetEventRecorderFor_Call
func (*CTRLManager_GetEventRecorderFor_Call) RunAndReturn ¶
func (_c *CTRLManager_GetEventRecorderFor_Call) RunAndReturn(run func(name string) record.EventRecorder) *CTRLManager_GetEventRecorderFor_Call
type CTRLManager_GetFieldIndexer_Call ¶
CTRLManager_GetFieldIndexer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFieldIndexer'
func (*CTRLManager_GetFieldIndexer_Call) Return ¶
func (_c *CTRLManager_GetFieldIndexer_Call) Return(fieldIndexer client.FieldIndexer) *CTRLManager_GetFieldIndexer_Call
func (*CTRLManager_GetFieldIndexer_Call) Run ¶
func (_c *CTRLManager_GetFieldIndexer_Call) Run(run func()) *CTRLManager_GetFieldIndexer_Call
func (*CTRLManager_GetFieldIndexer_Call) RunAndReturn ¶
func (_c *CTRLManager_GetFieldIndexer_Call) RunAndReturn(run func() client.FieldIndexer) *CTRLManager_GetFieldIndexer_Call
type CTRLManager_GetHTTPClient_Call ¶
CTRLManager_GetHTTPClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHTTPClient'
func (*CTRLManager_GetHTTPClient_Call) Return ¶
func (_c *CTRLManager_GetHTTPClient_Call) Return(client1 *http.Client) *CTRLManager_GetHTTPClient_Call
func (*CTRLManager_GetHTTPClient_Call) Run ¶
func (_c *CTRLManager_GetHTTPClient_Call) Run(run func()) *CTRLManager_GetHTTPClient_Call
func (*CTRLManager_GetHTTPClient_Call) RunAndReturn ¶
func (_c *CTRLManager_GetHTTPClient_Call) RunAndReturn(run func() *http.Client) *CTRLManager_GetHTTPClient_Call
type CTRLManager_GetLogger_Call ¶
CTRLManager_GetLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogger'
func (*CTRLManager_GetLogger_Call) Return ¶
func (_c *CTRLManager_GetLogger_Call) Return(logger logr.Logger) *CTRLManager_GetLogger_Call
func (*CTRLManager_GetLogger_Call) Run ¶
func (_c *CTRLManager_GetLogger_Call) Run(run func()) *CTRLManager_GetLogger_Call
func (*CTRLManager_GetLogger_Call) RunAndReturn ¶
func (_c *CTRLManager_GetLogger_Call) RunAndReturn(run func() logr.Logger) *CTRLManager_GetLogger_Call
type CTRLManager_GetRESTMapper_Call ¶
CTRLManager_GetRESTMapper_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRESTMapper'
func (*CTRLManager_GetRESTMapper_Call) Return ¶
func (_c *CTRLManager_GetRESTMapper_Call) Return(rESTMapper meta.RESTMapper) *CTRLManager_GetRESTMapper_Call
func (*CTRLManager_GetRESTMapper_Call) Run ¶
func (_c *CTRLManager_GetRESTMapper_Call) Run(run func()) *CTRLManager_GetRESTMapper_Call
func (*CTRLManager_GetRESTMapper_Call) RunAndReturn ¶
func (_c *CTRLManager_GetRESTMapper_Call) RunAndReturn(run func() meta.RESTMapper) *CTRLManager_GetRESTMapper_Call
type CTRLManager_GetScheme_Call ¶
CTRLManager_GetScheme_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScheme'
func (*CTRLManager_GetScheme_Call) Return ¶
func (_c *CTRLManager_GetScheme_Call) Return(scheme *runtime.Scheme) *CTRLManager_GetScheme_Call
func (*CTRLManager_GetScheme_Call) Run ¶
func (_c *CTRLManager_GetScheme_Call) Run(run func()) *CTRLManager_GetScheme_Call
func (*CTRLManager_GetScheme_Call) RunAndReturn ¶
func (_c *CTRLManager_GetScheme_Call) RunAndReturn(run func() *runtime.Scheme) *CTRLManager_GetScheme_Call
type CTRLManager_GetWebhookServer_Call ¶
CTRLManager_GetWebhookServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWebhookServer'
func (*CTRLManager_GetWebhookServer_Call) Return ¶
func (_c *CTRLManager_GetWebhookServer_Call) Return(server webhook.Server) *CTRLManager_GetWebhookServer_Call
func (*CTRLManager_GetWebhookServer_Call) Run ¶
func (_c *CTRLManager_GetWebhookServer_Call) Run(run func()) *CTRLManager_GetWebhookServer_Call
func (*CTRLManager_GetWebhookServer_Call) RunAndReturn ¶
func (_c *CTRLManager_GetWebhookServer_Call) RunAndReturn(run func() webhook.Server) *CTRLManager_GetWebhookServer_Call
type CTRLManager_Start_Call ¶
CTRLManager_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*CTRLManager_Start_Call) Return ¶
func (_c *CTRLManager_Start_Call) Return(err error) *CTRLManager_Start_Call
func (*CTRLManager_Start_Call) Run ¶
func (_c *CTRLManager_Start_Call) Run(run func(ctx context.Context)) *CTRLManager_Start_Call
func (*CTRLManager_Start_Call) RunAndReturn ¶
func (_c *CTRLManager_Start_Call) RunAndReturn(run func(ctx context.Context) error) *CTRLManager_Start_Call
type MockClient ¶
MockClient is an autogenerated mock type for the Client type
func NewMockClient ¶
func NewMockClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockClient
NewMockClient creates a new instance of MockClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockClient) Apply ¶
func (_mock *MockClient) Apply(ctx context.Context, obj runtime.ApplyConfiguration, opts ...client.ApplyOption) error
Apply provides a mock function for the type MockClient
func (*MockClient) Create ¶
func (_mock *MockClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
Create provides a mock function for the type MockClient
func (*MockClient) Delete ¶
func (_mock *MockClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
Delete provides a mock function for the type MockClient
func (*MockClient) DeleteAllOf ¶
func (_mock *MockClient) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
DeleteAllOf provides a mock function for the type MockClient
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *MockClient_Expecter
func (*MockClient) Get ¶
func (_mock *MockClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error
Get provides a mock function for the type MockClient
func (*MockClient) GroupVersionKindFor ¶
func (_mock *MockClient) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)
GroupVersionKindFor provides a mock function for the type MockClient
func (*MockClient) IsObjectNamespaced ¶
func (_mock *MockClient) IsObjectNamespaced(obj runtime.Object) (bool, error)
IsObjectNamespaced provides a mock function for the type MockClient
func (*MockClient) List ¶
func (_mock *MockClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
List provides a mock function for the type MockClient
func (*MockClient) Patch ¶
func (_mock *MockClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error
Patch provides a mock function for the type MockClient
func (*MockClient) RESTMapper ¶
func (_mock *MockClient) RESTMapper() meta.RESTMapper
RESTMapper provides a mock function for the type MockClient
func (*MockClient) Scheme ¶
func (_mock *MockClient) Scheme() *runtime.Scheme
Scheme provides a mock function for the type MockClient
func (*MockClient) Status ¶
func (_mock *MockClient) Status() client.SubResourceWriter
Status provides a mock function for the type MockClient
func (*MockClient) SubResource ¶
func (_mock *MockClient) SubResource(subResource string) client.SubResourceClient
SubResource provides a mock function for the type MockClient
func (*MockClient) Update ¶
func (_mock *MockClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
Update provides a mock function for the type MockClient
type MockClient_Apply_Call ¶
MockClient_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'
func (*MockClient_Apply_Call) Return ¶
func (_c *MockClient_Apply_Call) Return(err error) *MockClient_Apply_Call
func (*MockClient_Apply_Call) Run ¶
func (_c *MockClient_Apply_Call) Run(run func(ctx context.Context, obj runtime.ApplyConfiguration, opts ...client.ApplyOption)) *MockClient_Apply_Call
func (*MockClient_Apply_Call) RunAndReturn ¶
func (_c *MockClient_Apply_Call) RunAndReturn(run func(ctx context.Context, obj runtime.ApplyConfiguration, opts ...client.ApplyOption) error) *MockClient_Apply_Call
type MockClient_Create_Call ¶
MockClient_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockClient_Create_Call) Return ¶
func (_c *MockClient_Create_Call) Return(err error) *MockClient_Create_Call
func (*MockClient_Create_Call) Run ¶
func (_c *MockClient_Create_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.CreateOption)) *MockClient_Create_Call
func (*MockClient_Create_Call) RunAndReturn ¶
func (_c *MockClient_Create_Call) RunAndReturn(run func(ctx context.Context, obj client.Object, opts ...client.CreateOption) error) *MockClient_Create_Call
type MockClient_DeleteAllOf_Call ¶
MockClient_DeleteAllOf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllOf'
func (*MockClient_DeleteAllOf_Call) Return ¶
func (_c *MockClient_DeleteAllOf_Call) Return(err error) *MockClient_DeleteAllOf_Call
func (*MockClient_DeleteAllOf_Call) Run ¶
func (_c *MockClient_DeleteAllOf_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption)) *MockClient_DeleteAllOf_Call
func (*MockClient_DeleteAllOf_Call) RunAndReturn ¶
func (_c *MockClient_DeleteAllOf_Call) RunAndReturn(run func(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error) *MockClient_DeleteAllOf_Call
type MockClient_Delete_Call ¶
MockClient_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockClient_Delete_Call) Return ¶
func (_c *MockClient_Delete_Call) Return(err error) *MockClient_Delete_Call
func (*MockClient_Delete_Call) Run ¶
func (_c *MockClient_Delete_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.DeleteOption)) *MockClient_Delete_Call
func (*MockClient_Delete_Call) RunAndReturn ¶
func (_c *MockClient_Delete_Call) RunAndReturn(run func(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error) *MockClient_Delete_Call
type MockClient_Expecter ¶
type MockClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockClient_Expecter) Apply ¶
func (_e *MockClient_Expecter) Apply(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_Apply_Call
Apply is a helper method to define mock.On call
- ctx context.Context
- obj runtime.ApplyConfiguration
- opts ...client.ApplyOption
func (*MockClient_Expecter) Create ¶
func (_e *MockClient_Expecter) Create(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- opts ...client.CreateOption
func (*MockClient_Expecter) Delete ¶
func (_e *MockClient_Expecter) Delete(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- opts ...client.DeleteOption
func (*MockClient_Expecter) DeleteAllOf ¶
func (_e *MockClient_Expecter) DeleteAllOf(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_DeleteAllOf_Call
DeleteAllOf is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- opts ...client.DeleteAllOfOption
func (*MockClient_Expecter) Get ¶
func (_e *MockClient_Expecter) Get(ctx interface{}, key interface{}, obj interface{}, opts ...interface{}) *MockClient_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- key client.ObjectKey
- obj client.Object
- opts ...client.GetOption
func (*MockClient_Expecter) GroupVersionKindFor ¶
func (_e *MockClient_Expecter) GroupVersionKindFor(obj interface{}) *MockClient_GroupVersionKindFor_Call
GroupVersionKindFor is a helper method to define mock.On call
- obj runtime.Object
func (*MockClient_Expecter) IsObjectNamespaced ¶
func (_e *MockClient_Expecter) IsObjectNamespaced(obj interface{}) *MockClient_IsObjectNamespaced_Call
IsObjectNamespaced is a helper method to define mock.On call
- obj runtime.Object
func (*MockClient_Expecter) List ¶
func (_e *MockClient_Expecter) List(ctx interface{}, list interface{}, opts ...interface{}) *MockClient_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- list client.ObjectList
- opts ...client.ListOption
func (*MockClient_Expecter) Patch ¶
func (_e *MockClient_Expecter) Patch(ctx interface{}, obj interface{}, patch interface{}, opts ...interface{}) *MockClient_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- patch client.Patch
- opts ...client.PatchOption
func (*MockClient_Expecter) RESTMapper ¶
func (_e *MockClient_Expecter) RESTMapper() *MockClient_RESTMapper_Call
RESTMapper is a helper method to define mock.On call
func (*MockClient_Expecter) Scheme ¶
func (_e *MockClient_Expecter) Scheme() *MockClient_Scheme_Call
Scheme is a helper method to define mock.On call
func (*MockClient_Expecter) Status ¶
func (_e *MockClient_Expecter) Status() *MockClient_Status_Call
Status is a helper method to define mock.On call
func (*MockClient_Expecter) SubResource ¶
func (_e *MockClient_Expecter) SubResource(subResource interface{}) *MockClient_SubResource_Call
SubResource is a helper method to define mock.On call
- subResource string
func (*MockClient_Expecter) Update ¶
func (_e *MockClient_Expecter) Update(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- opts ...client.UpdateOption
type MockClient_Get_Call ¶
MockClient_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockClient_Get_Call) Return ¶
func (_c *MockClient_Get_Call) Return(err error) *MockClient_Get_Call
func (*MockClient_Get_Call) Run ¶
func (_c *MockClient_Get_Call) Run(run func(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption)) *MockClient_Get_Call
func (*MockClient_Get_Call) RunAndReturn ¶
type MockClient_GroupVersionKindFor_Call ¶
MockClient_GroupVersionKindFor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GroupVersionKindFor'
func (*MockClient_GroupVersionKindFor_Call) Return ¶
func (_c *MockClient_GroupVersionKindFor_Call) Return(groupVersionKind schema.GroupVersionKind, err error) *MockClient_GroupVersionKindFor_Call
func (*MockClient_GroupVersionKindFor_Call) Run ¶
func (_c *MockClient_GroupVersionKindFor_Call) Run(run func(obj runtime.Object)) *MockClient_GroupVersionKindFor_Call
func (*MockClient_GroupVersionKindFor_Call) RunAndReturn ¶
func (_c *MockClient_GroupVersionKindFor_Call) RunAndReturn(run func(obj runtime.Object) (schema.GroupVersionKind, error)) *MockClient_GroupVersionKindFor_Call
type MockClient_IsObjectNamespaced_Call ¶
MockClient_IsObjectNamespaced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsObjectNamespaced'
func (*MockClient_IsObjectNamespaced_Call) Return ¶
func (_c *MockClient_IsObjectNamespaced_Call) Return(b bool, err error) *MockClient_IsObjectNamespaced_Call
func (*MockClient_IsObjectNamespaced_Call) Run ¶
func (_c *MockClient_IsObjectNamespaced_Call) Run(run func(obj runtime.Object)) *MockClient_IsObjectNamespaced_Call
func (*MockClient_IsObjectNamespaced_Call) RunAndReturn ¶
func (_c *MockClient_IsObjectNamespaced_Call) RunAndReturn(run func(obj runtime.Object) (bool, error)) *MockClient_IsObjectNamespaced_Call
type MockClient_List_Call ¶
MockClient_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockClient_List_Call) Return ¶
func (_c *MockClient_List_Call) Return(err error) *MockClient_List_Call
func (*MockClient_List_Call) Run ¶
func (_c *MockClient_List_Call) Run(run func(ctx context.Context, list client.ObjectList, opts ...client.ListOption)) *MockClient_List_Call
func (*MockClient_List_Call) RunAndReturn ¶
func (_c *MockClient_List_Call) RunAndReturn(run func(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error) *MockClient_List_Call
type MockClient_Patch_Call ¶
MockClient_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*MockClient_Patch_Call) Return ¶
func (_c *MockClient_Patch_Call) Return(err error) *MockClient_Patch_Call
func (*MockClient_Patch_Call) Run ¶
func (_c *MockClient_Patch_Call) Run(run func(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption)) *MockClient_Patch_Call
func (*MockClient_Patch_Call) RunAndReturn ¶
func (_c *MockClient_Patch_Call) RunAndReturn(run func(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error) *MockClient_Patch_Call
type MockClient_RESTMapper_Call ¶
MockClient_RESTMapper_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RESTMapper'
func (*MockClient_RESTMapper_Call) Return ¶
func (_c *MockClient_RESTMapper_Call) Return(rESTMapper meta.RESTMapper) *MockClient_RESTMapper_Call
func (*MockClient_RESTMapper_Call) Run ¶
func (_c *MockClient_RESTMapper_Call) Run(run func()) *MockClient_RESTMapper_Call
func (*MockClient_RESTMapper_Call) RunAndReturn ¶
func (_c *MockClient_RESTMapper_Call) RunAndReturn(run func() meta.RESTMapper) *MockClient_RESTMapper_Call
type MockClient_Scheme_Call ¶
MockClient_Scheme_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scheme'
func (*MockClient_Scheme_Call) Return ¶
func (_c *MockClient_Scheme_Call) Return(scheme *runtime.Scheme) *MockClient_Scheme_Call
func (*MockClient_Scheme_Call) Run ¶
func (_c *MockClient_Scheme_Call) Run(run func()) *MockClient_Scheme_Call
func (*MockClient_Scheme_Call) RunAndReturn ¶
func (_c *MockClient_Scheme_Call) RunAndReturn(run func() *runtime.Scheme) *MockClient_Scheme_Call
type MockClient_Status_Call ¶
MockClient_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*MockClient_Status_Call) Return ¶
func (_c *MockClient_Status_Call) Return(subResourceWriter client.SubResourceWriter) *MockClient_Status_Call
func (*MockClient_Status_Call) Run ¶
func (_c *MockClient_Status_Call) Run(run func()) *MockClient_Status_Call
func (*MockClient_Status_Call) RunAndReturn ¶
func (_c *MockClient_Status_Call) RunAndReturn(run func() client.SubResourceWriter) *MockClient_Status_Call
type MockClient_SubResource_Call ¶
MockClient_SubResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubResource'
func (*MockClient_SubResource_Call) Return ¶
func (_c *MockClient_SubResource_Call) Return(subResourceClient client.SubResourceClient) *MockClient_SubResource_Call
func (*MockClient_SubResource_Call) Run ¶
func (_c *MockClient_SubResource_Call) Run(run func(subResource string)) *MockClient_SubResource_Call
func (*MockClient_SubResource_Call) RunAndReturn ¶
func (_c *MockClient_SubResource_Call) RunAndReturn(run func(subResource string) client.SubResourceClient) *MockClient_SubResource_Call
type MockClient_Update_Call ¶
MockClient_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockClient_Update_Call) Return ¶
func (_c *MockClient_Update_Call) Return(err error) *MockClient_Update_Call
func (*MockClient_Update_Call) Run ¶
func (_c *MockClient_Update_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.UpdateOption)) *MockClient_Update_Call
func (*MockClient_Update_Call) RunAndReturn ¶
func (_c *MockClient_Update_Call) RunAndReturn(run func(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error) *MockClient_Update_Call
type MockCluster ¶
MockCluster is an autogenerated mock type for the Cluster type
func NewMockCluster ¶
func NewMockCluster(t interface {
mock.TestingT
Cleanup(func())
}) *MockCluster
NewMockCluster creates a new instance of MockCluster. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockCluster) EXPECT ¶
func (_m *MockCluster) EXPECT() *MockCluster_Expecter
func (*MockCluster) GetAPIReader ¶
func (_mock *MockCluster) GetAPIReader() client.Reader
GetAPIReader provides a mock function for the type MockCluster
func (*MockCluster) GetCache ¶
func (_mock *MockCluster) GetCache() cache.Cache
GetCache provides a mock function for the type MockCluster
func (*MockCluster) GetClient ¶
func (_mock *MockCluster) GetClient() client.Client
GetClient provides a mock function for the type MockCluster
func (*MockCluster) GetConfig ¶
func (_mock *MockCluster) GetConfig() *rest.Config
GetConfig provides a mock function for the type MockCluster
func (*MockCluster) GetEventRecorderFor ¶
func (_mock *MockCluster) GetEventRecorderFor(name string) record.EventRecorder
GetEventRecorderFor provides a mock function for the type MockCluster
func (*MockCluster) GetFieldIndexer ¶
func (_mock *MockCluster) GetFieldIndexer() client.FieldIndexer
GetFieldIndexer provides a mock function for the type MockCluster
func (*MockCluster) GetHTTPClient ¶
func (_mock *MockCluster) GetHTTPClient() *http.Client
GetHTTPClient provides a mock function for the type MockCluster
func (*MockCluster) GetRESTMapper ¶
func (_mock *MockCluster) GetRESTMapper() meta.RESTMapper
GetRESTMapper provides a mock function for the type MockCluster
func (*MockCluster) GetScheme ¶
func (_mock *MockCluster) GetScheme() *runtime.Scheme
GetScheme provides a mock function for the type MockCluster
type MockCluster_Expecter ¶
type MockCluster_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCluster_Expecter) GetAPIReader ¶
func (_e *MockCluster_Expecter) GetAPIReader() *MockCluster_GetAPIReader_Call
GetAPIReader is a helper method to define mock.On call
func (*MockCluster_Expecter) GetCache ¶
func (_e *MockCluster_Expecter) GetCache() *MockCluster_GetCache_Call
GetCache is a helper method to define mock.On call
func (*MockCluster_Expecter) GetClient ¶
func (_e *MockCluster_Expecter) GetClient() *MockCluster_GetClient_Call
GetClient is a helper method to define mock.On call
func (*MockCluster_Expecter) GetConfig ¶
func (_e *MockCluster_Expecter) GetConfig() *MockCluster_GetConfig_Call
GetConfig is a helper method to define mock.On call
func (*MockCluster_Expecter) GetEventRecorderFor ¶
func (_e *MockCluster_Expecter) GetEventRecorderFor(name interface{}) *MockCluster_GetEventRecorderFor_Call
GetEventRecorderFor is a helper method to define mock.On call
- name string
func (*MockCluster_Expecter) GetFieldIndexer ¶
func (_e *MockCluster_Expecter) GetFieldIndexer() *MockCluster_GetFieldIndexer_Call
GetFieldIndexer is a helper method to define mock.On call
func (*MockCluster_Expecter) GetHTTPClient ¶
func (_e *MockCluster_Expecter) GetHTTPClient() *MockCluster_GetHTTPClient_Call
GetHTTPClient is a helper method to define mock.On call
func (*MockCluster_Expecter) GetRESTMapper ¶
func (_e *MockCluster_Expecter) GetRESTMapper() *MockCluster_GetRESTMapper_Call
GetRESTMapper is a helper method to define mock.On call
func (*MockCluster_Expecter) GetScheme ¶
func (_e *MockCluster_Expecter) GetScheme() *MockCluster_GetScheme_Call
GetScheme is a helper method to define mock.On call
func (*MockCluster_Expecter) Start ¶
func (_e *MockCluster_Expecter) Start(ctx interface{}) *MockCluster_Start_Call
Start is a helper method to define mock.On call
- ctx context.Context
type MockCluster_GetAPIReader_Call ¶
MockCluster_GetAPIReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAPIReader'
func (*MockCluster_GetAPIReader_Call) Return ¶
func (_c *MockCluster_GetAPIReader_Call) Return(reader client.Reader) *MockCluster_GetAPIReader_Call
func (*MockCluster_GetAPIReader_Call) Run ¶
func (_c *MockCluster_GetAPIReader_Call) Run(run func()) *MockCluster_GetAPIReader_Call
func (*MockCluster_GetAPIReader_Call) RunAndReturn ¶
func (_c *MockCluster_GetAPIReader_Call) RunAndReturn(run func() client.Reader) *MockCluster_GetAPIReader_Call
type MockCluster_GetCache_Call ¶
MockCluster_GetCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCache'
func (*MockCluster_GetCache_Call) Return ¶
func (_c *MockCluster_GetCache_Call) Return(cache1 cache.Cache) *MockCluster_GetCache_Call
func (*MockCluster_GetCache_Call) Run ¶
func (_c *MockCluster_GetCache_Call) Run(run func()) *MockCluster_GetCache_Call
func (*MockCluster_GetCache_Call) RunAndReturn ¶
func (_c *MockCluster_GetCache_Call) RunAndReturn(run func() cache.Cache) *MockCluster_GetCache_Call
type MockCluster_GetClient_Call ¶
MockCluster_GetClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClient'
func (*MockCluster_GetClient_Call) Return ¶
func (_c *MockCluster_GetClient_Call) Return(client1 client.Client) *MockCluster_GetClient_Call
func (*MockCluster_GetClient_Call) Run ¶
func (_c *MockCluster_GetClient_Call) Run(run func()) *MockCluster_GetClient_Call
func (*MockCluster_GetClient_Call) RunAndReturn ¶
func (_c *MockCluster_GetClient_Call) RunAndReturn(run func() client.Client) *MockCluster_GetClient_Call
type MockCluster_GetConfig_Call ¶
MockCluster_GetConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConfig'
func (*MockCluster_GetConfig_Call) Return ¶
func (_c *MockCluster_GetConfig_Call) Return(config *rest.Config) *MockCluster_GetConfig_Call
func (*MockCluster_GetConfig_Call) Run ¶
func (_c *MockCluster_GetConfig_Call) Run(run func()) *MockCluster_GetConfig_Call
func (*MockCluster_GetConfig_Call) RunAndReturn ¶
func (_c *MockCluster_GetConfig_Call) RunAndReturn(run func() *rest.Config) *MockCluster_GetConfig_Call
type MockCluster_GetEventRecorderFor_Call ¶
MockCluster_GetEventRecorderFor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEventRecorderFor'
func (*MockCluster_GetEventRecorderFor_Call) Return ¶
func (_c *MockCluster_GetEventRecorderFor_Call) Return(eventRecorder record.EventRecorder) *MockCluster_GetEventRecorderFor_Call
func (*MockCluster_GetEventRecorderFor_Call) Run ¶
func (_c *MockCluster_GetEventRecorderFor_Call) Run(run func(name string)) *MockCluster_GetEventRecorderFor_Call
func (*MockCluster_GetEventRecorderFor_Call) RunAndReturn ¶
func (_c *MockCluster_GetEventRecorderFor_Call) RunAndReturn(run func(name string) record.EventRecorder) *MockCluster_GetEventRecorderFor_Call
type MockCluster_GetFieldIndexer_Call ¶
MockCluster_GetFieldIndexer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFieldIndexer'
func (*MockCluster_GetFieldIndexer_Call) Return ¶
func (_c *MockCluster_GetFieldIndexer_Call) Return(fieldIndexer client.FieldIndexer) *MockCluster_GetFieldIndexer_Call
func (*MockCluster_GetFieldIndexer_Call) Run ¶
func (_c *MockCluster_GetFieldIndexer_Call) Run(run func()) *MockCluster_GetFieldIndexer_Call
func (*MockCluster_GetFieldIndexer_Call) RunAndReturn ¶
func (_c *MockCluster_GetFieldIndexer_Call) RunAndReturn(run func() client.FieldIndexer) *MockCluster_GetFieldIndexer_Call
type MockCluster_GetHTTPClient_Call ¶
MockCluster_GetHTTPClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHTTPClient'
func (*MockCluster_GetHTTPClient_Call) Return ¶
func (_c *MockCluster_GetHTTPClient_Call) Return(client1 *http.Client) *MockCluster_GetHTTPClient_Call
func (*MockCluster_GetHTTPClient_Call) Run ¶
func (_c *MockCluster_GetHTTPClient_Call) Run(run func()) *MockCluster_GetHTTPClient_Call
func (*MockCluster_GetHTTPClient_Call) RunAndReturn ¶
func (_c *MockCluster_GetHTTPClient_Call) RunAndReturn(run func() *http.Client) *MockCluster_GetHTTPClient_Call
type MockCluster_GetRESTMapper_Call ¶
MockCluster_GetRESTMapper_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRESTMapper'
func (*MockCluster_GetRESTMapper_Call) Return ¶
func (_c *MockCluster_GetRESTMapper_Call) Return(rESTMapper meta.RESTMapper) *MockCluster_GetRESTMapper_Call
func (*MockCluster_GetRESTMapper_Call) Run ¶
func (_c *MockCluster_GetRESTMapper_Call) Run(run func()) *MockCluster_GetRESTMapper_Call
func (*MockCluster_GetRESTMapper_Call) RunAndReturn ¶
func (_c *MockCluster_GetRESTMapper_Call) RunAndReturn(run func() meta.RESTMapper) *MockCluster_GetRESTMapper_Call
type MockCluster_GetScheme_Call ¶
MockCluster_GetScheme_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScheme'
func (*MockCluster_GetScheme_Call) Return ¶
func (_c *MockCluster_GetScheme_Call) Return(scheme *runtime.Scheme) *MockCluster_GetScheme_Call
func (*MockCluster_GetScheme_Call) Run ¶
func (_c *MockCluster_GetScheme_Call) Run(run func()) *MockCluster_GetScheme_Call
func (*MockCluster_GetScheme_Call) RunAndReturn ¶
func (_c *MockCluster_GetScheme_Call) RunAndReturn(run func() *runtime.Scheme) *MockCluster_GetScheme_Call
type MockCluster_Start_Call ¶
MockCluster_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*MockCluster_Start_Call) Return ¶
func (_c *MockCluster_Start_Call) Return(err error) *MockCluster_Start_Call
func (*MockCluster_Start_Call) Run ¶
func (_c *MockCluster_Start_Call) Run(run func(ctx context.Context)) *MockCluster_Start_Call
func (*MockCluster_Start_Call) RunAndReturn ¶
func (_c *MockCluster_Start_Call) RunAndReturn(run func(ctx context.Context) error) *MockCluster_Start_Call
type MockDiscoveryInterface ¶
MockDiscoveryInterface is an autogenerated mock type for the DiscoveryInterface type
func NewMockDiscoveryInterface ¶
func NewMockDiscoveryInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MockDiscoveryInterface
NewMockDiscoveryInterface creates a new instance of MockDiscoveryInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockDiscoveryInterface) EXPECT ¶
func (_m *MockDiscoveryInterface) EXPECT() *MockDiscoveryInterface_Expecter
func (*MockDiscoveryInterface) OpenAPISchema ¶
func (_mock *MockDiscoveryInterface) OpenAPISchema() (*openapi_v2.Document, error)
OpenAPISchema provides a mock function for the type MockDiscoveryInterface
func (*MockDiscoveryInterface) OpenAPIV3 ¶
func (_mock *MockDiscoveryInterface) OpenAPIV3() openapi.Client
OpenAPIV3 provides a mock function for the type MockDiscoveryInterface
func (*MockDiscoveryInterface) RESTClient ¶
func (_mock *MockDiscoveryInterface) RESTClient() rest.Interface
RESTClient provides a mock function for the type MockDiscoveryInterface
func (*MockDiscoveryInterface) ServerGroups ¶
func (_mock *MockDiscoveryInterface) ServerGroups() (*v1.APIGroupList, error)
ServerGroups provides a mock function for the type MockDiscoveryInterface
func (*MockDiscoveryInterface) ServerGroupsAndResources ¶
func (_mock *MockDiscoveryInterface) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error)
ServerGroupsAndResources provides a mock function for the type MockDiscoveryInterface
func (*MockDiscoveryInterface) ServerPreferredNamespacedResources ¶
func (_mock *MockDiscoveryInterface) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)
ServerPreferredNamespacedResources provides a mock function for the type MockDiscoveryInterface
func (*MockDiscoveryInterface) ServerPreferredResources ¶
func (_mock *MockDiscoveryInterface) ServerPreferredResources() ([]*v1.APIResourceList, error)
ServerPreferredResources provides a mock function for the type MockDiscoveryInterface
func (*MockDiscoveryInterface) ServerResourcesForGroupVersion ¶
func (_mock *MockDiscoveryInterface) ServerResourcesForGroupVersion(groupVersion string) (*v1.APIResourceList, error)
ServerResourcesForGroupVersion provides a mock function for the type MockDiscoveryInterface
func (*MockDiscoveryInterface) ServerVersion ¶
func (_mock *MockDiscoveryInterface) ServerVersion() (*version.Info, error)
ServerVersion provides a mock function for the type MockDiscoveryInterface
func (*MockDiscoveryInterface) WithLegacy ¶
func (_mock *MockDiscoveryInterface) WithLegacy() discovery.DiscoveryInterface
WithLegacy provides a mock function for the type MockDiscoveryInterface
type MockDiscoveryInterface_Expecter ¶
type MockDiscoveryInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDiscoveryInterface_Expecter) OpenAPISchema ¶
func (_e *MockDiscoveryInterface_Expecter) OpenAPISchema() *MockDiscoveryInterface_OpenAPISchema_Call
OpenAPISchema is a helper method to define mock.On call
func (*MockDiscoveryInterface_Expecter) OpenAPIV3 ¶
func (_e *MockDiscoveryInterface_Expecter) OpenAPIV3() *MockDiscoveryInterface_OpenAPIV3_Call
OpenAPIV3 is a helper method to define mock.On call
func (*MockDiscoveryInterface_Expecter) RESTClient ¶
func (_e *MockDiscoveryInterface_Expecter) RESTClient() *MockDiscoveryInterface_RESTClient_Call
RESTClient is a helper method to define mock.On call
func (*MockDiscoveryInterface_Expecter) ServerGroups ¶
func (_e *MockDiscoveryInterface_Expecter) ServerGroups() *MockDiscoveryInterface_ServerGroups_Call
ServerGroups is a helper method to define mock.On call
func (*MockDiscoveryInterface_Expecter) ServerGroupsAndResources ¶
func (_e *MockDiscoveryInterface_Expecter) ServerGroupsAndResources() *MockDiscoveryInterface_ServerGroupsAndResources_Call
ServerGroupsAndResources is a helper method to define mock.On call
func (*MockDiscoveryInterface_Expecter) ServerPreferredNamespacedResources ¶
func (_e *MockDiscoveryInterface_Expecter) ServerPreferredNamespacedResources() *MockDiscoveryInterface_ServerPreferredNamespacedResources_Call
ServerPreferredNamespacedResources is a helper method to define mock.On call
func (*MockDiscoveryInterface_Expecter) ServerPreferredResources ¶
func (_e *MockDiscoveryInterface_Expecter) ServerPreferredResources() *MockDiscoveryInterface_ServerPreferredResources_Call
ServerPreferredResources is a helper method to define mock.On call
func (*MockDiscoveryInterface_Expecter) ServerResourcesForGroupVersion ¶
func (_e *MockDiscoveryInterface_Expecter) ServerResourcesForGroupVersion(groupVersion interface{}) *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call
ServerResourcesForGroupVersion is a helper method to define mock.On call
- groupVersion string
func (*MockDiscoveryInterface_Expecter) ServerVersion ¶
func (_e *MockDiscoveryInterface_Expecter) ServerVersion() *MockDiscoveryInterface_ServerVersion_Call
ServerVersion is a helper method to define mock.On call
func (*MockDiscoveryInterface_Expecter) WithLegacy ¶
func (_e *MockDiscoveryInterface_Expecter) WithLegacy() *MockDiscoveryInterface_WithLegacy_Call
WithLegacy is a helper method to define mock.On call
type MockDiscoveryInterface_OpenAPISchema_Call ¶
MockDiscoveryInterface_OpenAPISchema_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenAPISchema'
func (*MockDiscoveryInterface_OpenAPISchema_Call) Return ¶
func (_c *MockDiscoveryInterface_OpenAPISchema_Call) Return(document *openapi_v2.Document, err error) *MockDiscoveryInterface_OpenAPISchema_Call
func (*MockDiscoveryInterface_OpenAPISchema_Call) Run ¶
func (_c *MockDiscoveryInterface_OpenAPISchema_Call) Run(run func()) *MockDiscoveryInterface_OpenAPISchema_Call
func (*MockDiscoveryInterface_OpenAPISchema_Call) RunAndReturn ¶
func (_c *MockDiscoveryInterface_OpenAPISchema_Call) RunAndReturn(run func() (*openapi_v2.Document, error)) *MockDiscoveryInterface_OpenAPISchema_Call
type MockDiscoveryInterface_OpenAPIV3_Call ¶
MockDiscoveryInterface_OpenAPIV3_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenAPIV3'
func (*MockDiscoveryInterface_OpenAPIV3_Call) Return ¶
func (_c *MockDiscoveryInterface_OpenAPIV3_Call) Return(client openapi.Client) *MockDiscoveryInterface_OpenAPIV3_Call
func (*MockDiscoveryInterface_OpenAPIV3_Call) Run ¶
func (_c *MockDiscoveryInterface_OpenAPIV3_Call) Run(run func()) *MockDiscoveryInterface_OpenAPIV3_Call
func (*MockDiscoveryInterface_OpenAPIV3_Call) RunAndReturn ¶
func (_c *MockDiscoveryInterface_OpenAPIV3_Call) RunAndReturn(run func() openapi.Client) *MockDiscoveryInterface_OpenAPIV3_Call
type MockDiscoveryInterface_RESTClient_Call ¶
MockDiscoveryInterface_RESTClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RESTClient'
func (*MockDiscoveryInterface_RESTClient_Call) Return ¶
func (_c *MockDiscoveryInterface_RESTClient_Call) Return(interfaceParam rest.Interface) *MockDiscoveryInterface_RESTClient_Call
func (*MockDiscoveryInterface_RESTClient_Call) Run ¶
func (_c *MockDiscoveryInterface_RESTClient_Call) Run(run func()) *MockDiscoveryInterface_RESTClient_Call
func (*MockDiscoveryInterface_RESTClient_Call) RunAndReturn ¶
func (_c *MockDiscoveryInterface_RESTClient_Call) RunAndReturn(run func() rest.Interface) *MockDiscoveryInterface_RESTClient_Call
type MockDiscoveryInterface_ServerGroupsAndResources_Call ¶
MockDiscoveryInterface_ServerGroupsAndResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerGroupsAndResources'
func (*MockDiscoveryInterface_ServerGroupsAndResources_Call) Return ¶
func (_c *MockDiscoveryInterface_ServerGroupsAndResources_Call) Return(aPIGroups []*v1.APIGroup, aPIResourceLists []*v1.APIResourceList, err error) *MockDiscoveryInterface_ServerGroupsAndResources_Call
func (*MockDiscoveryInterface_ServerGroupsAndResources_Call) Run ¶
func (_c *MockDiscoveryInterface_ServerGroupsAndResources_Call) Run(run func()) *MockDiscoveryInterface_ServerGroupsAndResources_Call
func (*MockDiscoveryInterface_ServerGroupsAndResources_Call) RunAndReturn ¶
func (_c *MockDiscoveryInterface_ServerGroupsAndResources_Call) RunAndReturn(run func() ([]*v1.APIGroup, []*v1.APIResourceList, error)) *MockDiscoveryInterface_ServerGroupsAndResources_Call
type MockDiscoveryInterface_ServerGroups_Call ¶
MockDiscoveryInterface_ServerGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerGroups'
func (*MockDiscoveryInterface_ServerGroups_Call) Return ¶
func (_c *MockDiscoveryInterface_ServerGroups_Call) Return(aPIGroupList *v1.APIGroupList, err error) *MockDiscoveryInterface_ServerGroups_Call
func (*MockDiscoveryInterface_ServerGroups_Call) Run ¶
func (_c *MockDiscoveryInterface_ServerGroups_Call) Run(run func()) *MockDiscoveryInterface_ServerGroups_Call
func (*MockDiscoveryInterface_ServerGroups_Call) RunAndReturn ¶
func (_c *MockDiscoveryInterface_ServerGroups_Call) RunAndReturn(run func() (*v1.APIGroupList, error)) *MockDiscoveryInterface_ServerGroups_Call
type MockDiscoveryInterface_ServerPreferredNamespacedResources_Call ¶
MockDiscoveryInterface_ServerPreferredNamespacedResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerPreferredNamespacedResources'
func (*MockDiscoveryInterface_ServerPreferredNamespacedResources_Call) Return ¶
func (_c *MockDiscoveryInterface_ServerPreferredNamespacedResources_Call) Return(aPIResourceLists []*v1.APIResourceList, err error) *MockDiscoveryInterface_ServerPreferredNamespacedResources_Call
func (*MockDiscoveryInterface_ServerPreferredNamespacedResources_Call) RunAndReturn ¶
func (_c *MockDiscoveryInterface_ServerPreferredNamespacedResources_Call) RunAndReturn(run func() ([]*v1.APIResourceList, error)) *MockDiscoveryInterface_ServerPreferredNamespacedResources_Call
type MockDiscoveryInterface_ServerPreferredResources_Call ¶
MockDiscoveryInterface_ServerPreferredResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerPreferredResources'
func (*MockDiscoveryInterface_ServerPreferredResources_Call) Return ¶
func (_c *MockDiscoveryInterface_ServerPreferredResources_Call) Return(aPIResourceLists []*v1.APIResourceList, err error) *MockDiscoveryInterface_ServerPreferredResources_Call
func (*MockDiscoveryInterface_ServerPreferredResources_Call) Run ¶
func (_c *MockDiscoveryInterface_ServerPreferredResources_Call) Run(run func()) *MockDiscoveryInterface_ServerPreferredResources_Call
func (*MockDiscoveryInterface_ServerPreferredResources_Call) RunAndReturn ¶
func (_c *MockDiscoveryInterface_ServerPreferredResources_Call) RunAndReturn(run func() ([]*v1.APIResourceList, error)) *MockDiscoveryInterface_ServerPreferredResources_Call
type MockDiscoveryInterface_ServerResourcesForGroupVersion_Call ¶
MockDiscoveryInterface_ServerResourcesForGroupVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerResourcesForGroupVersion'
func (*MockDiscoveryInterface_ServerResourcesForGroupVersion_Call) Return ¶
func (_c *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call) Return(aPIResourceList *v1.APIResourceList, err error) *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call
func (*MockDiscoveryInterface_ServerResourcesForGroupVersion_Call) Run ¶
func (_c *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call) Run(run func(groupVersion string)) *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call
func (*MockDiscoveryInterface_ServerResourcesForGroupVersion_Call) RunAndReturn ¶
func (_c *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call) RunAndReturn(run func(groupVersion string) (*v1.APIResourceList, error)) *MockDiscoveryInterface_ServerResourcesForGroupVersion_Call
type MockDiscoveryInterface_ServerVersion_Call ¶
MockDiscoveryInterface_ServerVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerVersion'
func (*MockDiscoveryInterface_ServerVersion_Call) Return ¶
func (_c *MockDiscoveryInterface_ServerVersion_Call) Return(info *version.Info, err error) *MockDiscoveryInterface_ServerVersion_Call
func (*MockDiscoveryInterface_ServerVersion_Call) Run ¶
func (_c *MockDiscoveryInterface_ServerVersion_Call) Run(run func()) *MockDiscoveryInterface_ServerVersion_Call
func (*MockDiscoveryInterface_ServerVersion_Call) RunAndReturn ¶
func (_c *MockDiscoveryInterface_ServerVersion_Call) RunAndReturn(run func() (*version.Info, error)) *MockDiscoveryInterface_ServerVersion_Call
type MockDiscoveryInterface_WithLegacy_Call ¶
MockDiscoveryInterface_WithLegacy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithLegacy'
func (*MockDiscoveryInterface_WithLegacy_Call) Return ¶
func (_c *MockDiscoveryInterface_WithLegacy_Call) Return(discoveryInterface discovery.DiscoveryInterface) *MockDiscoveryInterface_WithLegacy_Call
func (*MockDiscoveryInterface_WithLegacy_Call) Run ¶
func (_c *MockDiscoveryInterface_WithLegacy_Call) Run(run func()) *MockDiscoveryInterface_WithLegacy_Call
func (*MockDiscoveryInterface_WithLegacy_Call) RunAndReturn ¶
func (_c *MockDiscoveryInterface_WithLegacy_Call) RunAndReturn(run func() discovery.DiscoveryInterface) *MockDiscoveryInterface_WithLegacy_Call
type MockManager ¶
MockManager is an autogenerated mock type for the Manager type
func NewMockManager ¶
func NewMockManager(t interface {
mock.TestingT
Cleanup(func())
}) *MockManager
NewMockManager creates a new instance of MockManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockManager) Add ¶
func (_mock *MockManager) Add(runnable manager.Runnable) error
Add provides a mock function for the type MockManager
func (*MockManager) AddHealthzCheck ¶
func (_mock *MockManager) AddHealthzCheck(name string, check healthz.Checker) error
AddHealthzCheck provides a mock function for the type MockManager
func (*MockManager) AddMetricsServerExtraHandler ¶
func (_mock *MockManager) AddMetricsServerExtraHandler(path string, handler http.Handler) error
AddMetricsServerExtraHandler provides a mock function for the type MockManager
func (*MockManager) AddReadyzCheck ¶
func (_mock *MockManager) AddReadyzCheck(name string, check healthz.Checker) error
AddReadyzCheck provides a mock function for the type MockManager
func (*MockManager) ClusterFromContext ¶
ClusterFromContext provides a mock function for the type MockManager
func (*MockManager) EXPECT ¶
func (_m *MockManager) EXPECT() *MockManager_Expecter
func (*MockManager) Elected ¶
func (_mock *MockManager) Elected() <-chan struct{}
Elected provides a mock function for the type MockManager
func (*MockManager) Engage ¶
func (_mock *MockManager) Engage(context1 context.Context, s string, cluster1 cluster.Cluster) error
Engage provides a mock function for the type MockManager
func (*MockManager) GetCluster ¶
func (_mock *MockManager) GetCluster(ctx context.Context, clusterName string) (cluster.Cluster, error)
GetCluster provides a mock function for the type MockManager
func (*MockManager) GetControllerOptions ¶
func (_mock *MockManager) GetControllerOptions() config.Controller
GetControllerOptions provides a mock function for the type MockManager
func (*MockManager) GetFieldIndexer ¶
func (_mock *MockManager) GetFieldIndexer() client.FieldIndexer
GetFieldIndexer provides a mock function for the type MockManager
func (*MockManager) GetLocalManager ¶
func (_mock *MockManager) GetLocalManager() manager0.Manager
GetLocalManager provides a mock function for the type MockManager
func (*MockManager) GetLogger ¶
func (_mock *MockManager) GetLogger() logr.Logger
GetLogger provides a mock function for the type MockManager
func (*MockManager) GetManager ¶
func (_mock *MockManager) GetManager(ctx context.Context, clusterName string) (manager0.Manager, error)
GetManager provides a mock function for the type MockManager
func (*MockManager) GetProvider ¶
func (_mock *MockManager) GetProvider() multicluster.Provider
GetProvider provides a mock function for the type MockManager
func (*MockManager) GetWebhookServer ¶
func (_mock *MockManager) GetWebhookServer() webhook.Server
GetWebhookServer provides a mock function for the type MockManager
type MockManager_AddHealthzCheck_Call ¶
MockManager_AddHealthzCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddHealthzCheck'
func (*MockManager_AddHealthzCheck_Call) Return ¶
func (_c *MockManager_AddHealthzCheck_Call) Return(err error) *MockManager_AddHealthzCheck_Call
func (*MockManager_AddHealthzCheck_Call) Run ¶
func (_c *MockManager_AddHealthzCheck_Call) Run(run func(name string, check healthz.Checker)) *MockManager_AddHealthzCheck_Call
func (*MockManager_AddHealthzCheck_Call) RunAndReturn ¶
func (_c *MockManager_AddHealthzCheck_Call) RunAndReturn(run func(name string, check healthz.Checker) error) *MockManager_AddHealthzCheck_Call
type MockManager_AddMetricsServerExtraHandler_Call ¶
MockManager_AddMetricsServerExtraHandler_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddMetricsServerExtraHandler'
func (*MockManager_AddMetricsServerExtraHandler_Call) Return ¶
func (_c *MockManager_AddMetricsServerExtraHandler_Call) Return(err error) *MockManager_AddMetricsServerExtraHandler_Call
func (*MockManager_AddMetricsServerExtraHandler_Call) Run ¶
func (_c *MockManager_AddMetricsServerExtraHandler_Call) Run(run func(path string, handler http.Handler)) *MockManager_AddMetricsServerExtraHandler_Call
func (*MockManager_AddMetricsServerExtraHandler_Call) RunAndReturn ¶
func (_c *MockManager_AddMetricsServerExtraHandler_Call) RunAndReturn(run func(path string, handler http.Handler) error) *MockManager_AddMetricsServerExtraHandler_Call
type MockManager_AddReadyzCheck_Call ¶
MockManager_AddReadyzCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddReadyzCheck'
func (*MockManager_AddReadyzCheck_Call) Return ¶
func (_c *MockManager_AddReadyzCheck_Call) Return(err error) *MockManager_AddReadyzCheck_Call
func (*MockManager_AddReadyzCheck_Call) Run ¶
func (_c *MockManager_AddReadyzCheck_Call) Run(run func(name string, check healthz.Checker)) *MockManager_AddReadyzCheck_Call
func (*MockManager_AddReadyzCheck_Call) RunAndReturn ¶
func (_c *MockManager_AddReadyzCheck_Call) RunAndReturn(run func(name string, check healthz.Checker) error) *MockManager_AddReadyzCheck_Call
type MockManager_Add_Call ¶
MockManager_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*MockManager_Add_Call) Return ¶
func (_c *MockManager_Add_Call) Return(err error) *MockManager_Add_Call
func (*MockManager_Add_Call) Run ¶
func (_c *MockManager_Add_Call) Run(run func(runnable manager.Runnable)) *MockManager_Add_Call
func (*MockManager_Add_Call) RunAndReturn ¶
func (_c *MockManager_Add_Call) RunAndReturn(run func(runnable manager.Runnable) error) *MockManager_Add_Call
type MockManager_ClusterFromContext_Call ¶
MockManager_ClusterFromContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClusterFromContext'
func (*MockManager_ClusterFromContext_Call) Return ¶
func (_c *MockManager_ClusterFromContext_Call) Return(cluster1 cluster.Cluster, err error) *MockManager_ClusterFromContext_Call
func (*MockManager_ClusterFromContext_Call) Run ¶
func (_c *MockManager_ClusterFromContext_Call) Run(run func(ctx context.Context)) *MockManager_ClusterFromContext_Call
func (*MockManager_ClusterFromContext_Call) RunAndReturn ¶
func (_c *MockManager_ClusterFromContext_Call) RunAndReturn(run func(ctx context.Context) (cluster.Cluster, error)) *MockManager_ClusterFromContext_Call
type MockManager_Elected_Call ¶
MockManager_Elected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Elected'
func (*MockManager_Elected_Call) Return ¶
func (_c *MockManager_Elected_Call) Return(valCh <-chan struct{}) *MockManager_Elected_Call
func (*MockManager_Elected_Call) Run ¶
func (_c *MockManager_Elected_Call) Run(run func()) *MockManager_Elected_Call
func (*MockManager_Elected_Call) RunAndReturn ¶
func (_c *MockManager_Elected_Call) RunAndReturn(run func() <-chan struct{}) *MockManager_Elected_Call
type MockManager_Engage_Call ¶
MockManager_Engage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Engage'
func (*MockManager_Engage_Call) Return ¶
func (_c *MockManager_Engage_Call) Return(err error) *MockManager_Engage_Call
func (*MockManager_Engage_Call) Run ¶
func (_c *MockManager_Engage_Call) Run(run func(context1 context.Context, s string, cluster1 cluster.Cluster)) *MockManager_Engage_Call
func (*MockManager_Engage_Call) RunAndReturn ¶
func (_c *MockManager_Engage_Call) RunAndReturn(run func(context1 context.Context, s string, cluster1 cluster.Cluster) error) *MockManager_Engage_Call
type MockManager_Expecter ¶
type MockManager_Expecter struct {
// contains filtered or unexported fields
}
func (*MockManager_Expecter) Add ¶
func (_e *MockManager_Expecter) Add(runnable interface{}) *MockManager_Add_Call
Add is a helper method to define mock.On call
- runnable manager.Runnable
func (*MockManager_Expecter) AddHealthzCheck ¶
func (_e *MockManager_Expecter) AddHealthzCheck(name interface{}, check interface{}) *MockManager_AddHealthzCheck_Call
AddHealthzCheck is a helper method to define mock.On call
- name string
- check healthz.Checker
func (*MockManager_Expecter) AddMetricsServerExtraHandler ¶
func (_e *MockManager_Expecter) AddMetricsServerExtraHandler(path interface{}, handler interface{}) *MockManager_AddMetricsServerExtraHandler_Call
AddMetricsServerExtraHandler is a helper method to define mock.On call
- path string
- handler http.Handler
func (*MockManager_Expecter) AddReadyzCheck ¶
func (_e *MockManager_Expecter) AddReadyzCheck(name interface{}, check interface{}) *MockManager_AddReadyzCheck_Call
AddReadyzCheck is a helper method to define mock.On call
- name string
- check healthz.Checker
func (*MockManager_Expecter) ClusterFromContext ¶
func (_e *MockManager_Expecter) ClusterFromContext(ctx interface{}) *MockManager_ClusterFromContext_Call
ClusterFromContext is a helper method to define mock.On call
- ctx context.Context
func (*MockManager_Expecter) Elected ¶
func (_e *MockManager_Expecter) Elected() *MockManager_Elected_Call
Elected is a helper method to define mock.On call
func (*MockManager_Expecter) Engage ¶
func (_e *MockManager_Expecter) Engage(context1 interface{}, s interface{}, cluster1 interface{}) *MockManager_Engage_Call
Engage is a helper method to define mock.On call
- context1 context.Context
- s string
- cluster1 cluster.Cluster
func (*MockManager_Expecter) GetCluster ¶
func (_e *MockManager_Expecter) GetCluster(ctx interface{}, clusterName interface{}) *MockManager_GetCluster_Call
GetCluster is a helper method to define mock.On call
- ctx context.Context
- clusterName string
func (*MockManager_Expecter) GetControllerOptions ¶
func (_e *MockManager_Expecter) GetControllerOptions() *MockManager_GetControllerOptions_Call
GetControllerOptions is a helper method to define mock.On call
func (*MockManager_Expecter) GetFieldIndexer ¶
func (_e *MockManager_Expecter) GetFieldIndexer() *MockManager_GetFieldIndexer_Call
GetFieldIndexer is a helper method to define mock.On call
func (*MockManager_Expecter) GetLocalManager ¶
func (_e *MockManager_Expecter) GetLocalManager() *MockManager_GetLocalManager_Call
GetLocalManager is a helper method to define mock.On call
func (*MockManager_Expecter) GetLogger ¶
func (_e *MockManager_Expecter) GetLogger() *MockManager_GetLogger_Call
GetLogger is a helper method to define mock.On call
func (*MockManager_Expecter) GetManager ¶
func (_e *MockManager_Expecter) GetManager(ctx interface{}, clusterName interface{}) *MockManager_GetManager_Call
GetManager is a helper method to define mock.On call
- ctx context.Context
- clusterName string
func (*MockManager_Expecter) GetProvider ¶
func (_e *MockManager_Expecter) GetProvider() *MockManager_GetProvider_Call
GetProvider is a helper method to define mock.On call
func (*MockManager_Expecter) GetWebhookServer ¶
func (_e *MockManager_Expecter) GetWebhookServer() *MockManager_GetWebhookServer_Call
GetWebhookServer is a helper method to define mock.On call
func (*MockManager_Expecter) Start ¶
func (_e *MockManager_Expecter) Start(ctx interface{}) *MockManager_Start_Call
Start is a helper method to define mock.On call
- ctx context.Context
type MockManager_GetCluster_Call ¶
MockManager_GetCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCluster'
func (*MockManager_GetCluster_Call) Return ¶
func (_c *MockManager_GetCluster_Call) Return(cluster1 cluster.Cluster, err error) *MockManager_GetCluster_Call
func (*MockManager_GetCluster_Call) Run ¶
func (_c *MockManager_GetCluster_Call) Run(run func(ctx context.Context, clusterName string)) *MockManager_GetCluster_Call
func (*MockManager_GetCluster_Call) RunAndReturn ¶
func (_c *MockManager_GetCluster_Call) RunAndReturn(run func(ctx context.Context, clusterName string) (cluster.Cluster, error)) *MockManager_GetCluster_Call
type MockManager_GetControllerOptions_Call ¶
MockManager_GetControllerOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetControllerOptions'
func (*MockManager_GetControllerOptions_Call) Return ¶
func (_c *MockManager_GetControllerOptions_Call) Return(controller config.Controller) *MockManager_GetControllerOptions_Call
func (*MockManager_GetControllerOptions_Call) Run ¶
func (_c *MockManager_GetControllerOptions_Call) Run(run func()) *MockManager_GetControllerOptions_Call
func (*MockManager_GetControllerOptions_Call) RunAndReturn ¶
func (_c *MockManager_GetControllerOptions_Call) RunAndReturn(run func() config.Controller) *MockManager_GetControllerOptions_Call
type MockManager_GetFieldIndexer_Call ¶
MockManager_GetFieldIndexer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFieldIndexer'
func (*MockManager_GetFieldIndexer_Call) Return ¶
func (_c *MockManager_GetFieldIndexer_Call) Return(fieldIndexer client.FieldIndexer) *MockManager_GetFieldIndexer_Call
func (*MockManager_GetFieldIndexer_Call) Run ¶
func (_c *MockManager_GetFieldIndexer_Call) Run(run func()) *MockManager_GetFieldIndexer_Call
func (*MockManager_GetFieldIndexer_Call) RunAndReturn ¶
func (_c *MockManager_GetFieldIndexer_Call) RunAndReturn(run func() client.FieldIndexer) *MockManager_GetFieldIndexer_Call
type MockManager_GetLocalManager_Call ¶
MockManager_GetLocalManager_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLocalManager'
func (*MockManager_GetLocalManager_Call) Return ¶
func (_c *MockManager_GetLocalManager_Call) Return(manager1 manager0.Manager) *MockManager_GetLocalManager_Call
func (*MockManager_GetLocalManager_Call) Run ¶
func (_c *MockManager_GetLocalManager_Call) Run(run func()) *MockManager_GetLocalManager_Call
func (*MockManager_GetLocalManager_Call) RunAndReturn ¶
func (_c *MockManager_GetLocalManager_Call) RunAndReturn(run func() manager0.Manager) *MockManager_GetLocalManager_Call
type MockManager_GetLogger_Call ¶
MockManager_GetLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogger'
func (*MockManager_GetLogger_Call) Return ¶
func (_c *MockManager_GetLogger_Call) Return(logger logr.Logger) *MockManager_GetLogger_Call
func (*MockManager_GetLogger_Call) Run ¶
func (_c *MockManager_GetLogger_Call) Run(run func()) *MockManager_GetLogger_Call
func (*MockManager_GetLogger_Call) RunAndReturn ¶
func (_c *MockManager_GetLogger_Call) RunAndReturn(run func() logr.Logger) *MockManager_GetLogger_Call
type MockManager_GetManager_Call ¶
MockManager_GetManager_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetManager'
func (*MockManager_GetManager_Call) Return ¶
func (_c *MockManager_GetManager_Call) Return(manager1 manager0.Manager, err error) *MockManager_GetManager_Call
func (*MockManager_GetManager_Call) Run ¶
func (_c *MockManager_GetManager_Call) Run(run func(ctx context.Context, clusterName string)) *MockManager_GetManager_Call
func (*MockManager_GetManager_Call) RunAndReturn ¶
func (_c *MockManager_GetManager_Call) RunAndReturn(run func(ctx context.Context, clusterName string) (manager0.Manager, error)) *MockManager_GetManager_Call
type MockManager_GetProvider_Call ¶
MockManager_GetProvider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProvider'
func (*MockManager_GetProvider_Call) Return ¶
func (_c *MockManager_GetProvider_Call) Return(provider multicluster.Provider) *MockManager_GetProvider_Call
func (*MockManager_GetProvider_Call) Run ¶
func (_c *MockManager_GetProvider_Call) Run(run func()) *MockManager_GetProvider_Call
func (*MockManager_GetProvider_Call) RunAndReturn ¶
func (_c *MockManager_GetProvider_Call) RunAndReturn(run func() multicluster.Provider) *MockManager_GetProvider_Call
type MockManager_GetWebhookServer_Call ¶
MockManager_GetWebhookServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWebhookServer'
func (*MockManager_GetWebhookServer_Call) Return ¶
func (_c *MockManager_GetWebhookServer_Call) Return(server webhook.Server) *MockManager_GetWebhookServer_Call
func (*MockManager_GetWebhookServer_Call) Run ¶
func (_c *MockManager_GetWebhookServer_Call) Run(run func()) *MockManager_GetWebhookServer_Call
func (*MockManager_GetWebhookServer_Call) RunAndReturn ¶
func (_c *MockManager_GetWebhookServer_Call) RunAndReturn(run func() webhook.Server) *MockManager_GetWebhookServer_Call
type MockManager_Start_Call ¶
MockManager_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*MockManager_Start_Call) Return ¶
func (_c *MockManager_Start_Call) Return(err error) *MockManager_Start_Call
func (*MockManager_Start_Call) Run ¶
func (_c *MockManager_Start_Call) Run(run func(ctx context.Context)) *MockManager_Start_Call
func (*MockManager_Start_Call) RunAndReturn ¶
func (_c *MockManager_Start_Call) RunAndReturn(run func(ctx context.Context) error) *MockManager_Start_Call
type MockOpenFGAServiceClient ¶
MockOpenFGAServiceClient is an autogenerated mock type for the OpenFGAServiceClient type
func NewMockOpenFGAServiceClient ¶
func NewMockOpenFGAServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockOpenFGAServiceClient
NewMockOpenFGAServiceClient creates a new instance of MockOpenFGAServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockOpenFGAServiceClient) BatchCheck ¶
func (_mock *MockOpenFGAServiceClient) BatchCheck(ctx context.Context, in *openfgav1.BatchCheckRequest, opts ...grpc.CallOption) (*openfgav1.BatchCheckResponse, error)
BatchCheck provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) Check ¶
func (_mock *MockOpenFGAServiceClient) Check(ctx context.Context, in *openfgav1.CheckRequest, opts ...grpc.CallOption) (*openfgav1.CheckResponse, error)
Check provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) CreateStore ¶
func (_mock *MockOpenFGAServiceClient) CreateStore(ctx context.Context, in *openfgav1.CreateStoreRequest, opts ...grpc.CallOption) (*openfgav1.CreateStoreResponse, error)
CreateStore provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) DeleteStore ¶
func (_mock *MockOpenFGAServiceClient) DeleteStore(ctx context.Context, in *openfgav1.DeleteStoreRequest, opts ...grpc.CallOption) (*openfgav1.DeleteStoreResponse, error)
DeleteStore provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) EXPECT ¶
func (_m *MockOpenFGAServiceClient) EXPECT() *MockOpenFGAServiceClient_Expecter
func (*MockOpenFGAServiceClient) Expand ¶
func (_mock *MockOpenFGAServiceClient) Expand(ctx context.Context, in *openfgav1.ExpandRequest, opts ...grpc.CallOption) (*openfgav1.ExpandResponse, error)
Expand provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) GetStore ¶
func (_mock *MockOpenFGAServiceClient) GetStore(ctx context.Context, in *openfgav1.GetStoreRequest, opts ...grpc.CallOption) (*openfgav1.GetStoreResponse, error)
GetStore provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) ListObjects ¶
func (_mock *MockOpenFGAServiceClient) ListObjects(ctx context.Context, in *openfgav1.ListObjectsRequest, opts ...grpc.CallOption) (*openfgav1.ListObjectsResponse, error)
ListObjects provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) ListStores ¶
func (_mock *MockOpenFGAServiceClient) ListStores(ctx context.Context, in *openfgav1.ListStoresRequest, opts ...grpc.CallOption) (*openfgav1.ListStoresResponse, error)
ListStores provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) ListUsers ¶
func (_mock *MockOpenFGAServiceClient) ListUsers(ctx context.Context, in *openfgav1.ListUsersRequest, opts ...grpc.CallOption) (*openfgav1.ListUsersResponse, error)
ListUsers provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) Read ¶
func (_mock *MockOpenFGAServiceClient) Read(ctx context.Context, in *openfgav1.ReadRequest, opts ...grpc.CallOption) (*openfgav1.ReadResponse, error)
Read provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) ReadAssertions ¶
func (_mock *MockOpenFGAServiceClient) ReadAssertions(ctx context.Context, in *openfgav1.ReadAssertionsRequest, opts ...grpc.CallOption) (*openfgav1.ReadAssertionsResponse, error)
ReadAssertions provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) ReadAuthorizationModel ¶
func (_mock *MockOpenFGAServiceClient) ReadAuthorizationModel(ctx context.Context, in *openfgav1.ReadAuthorizationModelRequest, opts ...grpc.CallOption) (*openfgav1.ReadAuthorizationModelResponse, error)
ReadAuthorizationModel provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) ReadAuthorizationModels ¶
func (_mock *MockOpenFGAServiceClient) ReadAuthorizationModels(ctx context.Context, in *openfgav1.ReadAuthorizationModelsRequest, opts ...grpc.CallOption) (*openfgav1.ReadAuthorizationModelsResponse, error)
ReadAuthorizationModels provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) ReadChanges ¶
func (_mock *MockOpenFGAServiceClient) ReadChanges(ctx context.Context, in *openfgav1.ReadChangesRequest, opts ...grpc.CallOption) (*openfgav1.ReadChangesResponse, error)
ReadChanges provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) StreamedListObjects ¶
func (_mock *MockOpenFGAServiceClient) StreamedListObjects(ctx context.Context, in *openfgav1.StreamedListObjectsRequest, opts ...grpc.CallOption) (openfgav1.OpenFGAService_StreamedListObjectsClient, error)
StreamedListObjects provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) UpdateStore ¶
func (_mock *MockOpenFGAServiceClient) UpdateStore(ctx context.Context, in *openfgav1.UpdateStoreRequest, opts ...grpc.CallOption) (*openfgav1.UpdateStoreResponse, error)
UpdateStore provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) Write ¶
func (_mock *MockOpenFGAServiceClient) Write(ctx context.Context, in *openfgav1.WriteRequest, opts ...grpc.CallOption) (*openfgav1.WriteResponse, error)
Write provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) WriteAssertions ¶
func (_mock *MockOpenFGAServiceClient) WriteAssertions(ctx context.Context, in *openfgav1.WriteAssertionsRequest, opts ...grpc.CallOption) (*openfgav1.WriteAssertionsResponse, error)
WriteAssertions provides a mock function for the type MockOpenFGAServiceClient
func (*MockOpenFGAServiceClient) WriteAuthorizationModel ¶
func (_mock *MockOpenFGAServiceClient) WriteAuthorizationModel(ctx context.Context, in *openfgav1.WriteAuthorizationModelRequest, opts ...grpc.CallOption) (*openfgav1.WriteAuthorizationModelResponse, error)
WriteAuthorizationModel provides a mock function for the type MockOpenFGAServiceClient
type MockOpenFGAServiceClient_BatchCheck_Call ¶
MockOpenFGAServiceClient_BatchCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchCheck'
func (*MockOpenFGAServiceClient_BatchCheck_Call) Return ¶
func (_c *MockOpenFGAServiceClient_BatchCheck_Call) Return(batchCheckResponse *openfgav1.BatchCheckResponse, err error) *MockOpenFGAServiceClient_BatchCheck_Call
func (*MockOpenFGAServiceClient_BatchCheck_Call) Run ¶
func (_c *MockOpenFGAServiceClient_BatchCheck_Call) Run(run func(ctx context.Context, in *openfgav1.BatchCheckRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_BatchCheck_Call
func (*MockOpenFGAServiceClient_BatchCheck_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_BatchCheck_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.BatchCheckRequest, opts ...grpc.CallOption) (*openfgav1.BatchCheckResponse, error)) *MockOpenFGAServiceClient_BatchCheck_Call
type MockOpenFGAServiceClient_Check_Call ¶
MockOpenFGAServiceClient_Check_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Check'
func (*MockOpenFGAServiceClient_Check_Call) Return ¶
func (_c *MockOpenFGAServiceClient_Check_Call) Return(checkResponse *openfgav1.CheckResponse, err error) *MockOpenFGAServiceClient_Check_Call
func (*MockOpenFGAServiceClient_Check_Call) Run ¶
func (_c *MockOpenFGAServiceClient_Check_Call) Run(run func(ctx context.Context, in *openfgav1.CheckRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_Check_Call
func (*MockOpenFGAServiceClient_Check_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_Check_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.CheckRequest, opts ...grpc.CallOption) (*openfgav1.CheckResponse, error)) *MockOpenFGAServiceClient_Check_Call
type MockOpenFGAServiceClient_CreateStore_Call ¶
MockOpenFGAServiceClient_CreateStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateStore'
func (*MockOpenFGAServiceClient_CreateStore_Call) Return ¶
func (_c *MockOpenFGAServiceClient_CreateStore_Call) Return(createStoreResponse *openfgav1.CreateStoreResponse, err error) *MockOpenFGAServiceClient_CreateStore_Call
func (*MockOpenFGAServiceClient_CreateStore_Call) Run ¶
func (_c *MockOpenFGAServiceClient_CreateStore_Call) Run(run func(ctx context.Context, in *openfgav1.CreateStoreRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_CreateStore_Call
func (*MockOpenFGAServiceClient_CreateStore_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_CreateStore_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.CreateStoreRequest, opts ...grpc.CallOption) (*openfgav1.CreateStoreResponse, error)) *MockOpenFGAServiceClient_CreateStore_Call
type MockOpenFGAServiceClient_DeleteStore_Call ¶
MockOpenFGAServiceClient_DeleteStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteStore'
func (*MockOpenFGAServiceClient_DeleteStore_Call) Return ¶
func (_c *MockOpenFGAServiceClient_DeleteStore_Call) Return(deleteStoreResponse *openfgav1.DeleteStoreResponse, err error) *MockOpenFGAServiceClient_DeleteStore_Call
func (*MockOpenFGAServiceClient_DeleteStore_Call) Run ¶
func (_c *MockOpenFGAServiceClient_DeleteStore_Call) Run(run func(ctx context.Context, in *openfgav1.DeleteStoreRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_DeleteStore_Call
func (*MockOpenFGAServiceClient_DeleteStore_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_DeleteStore_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.DeleteStoreRequest, opts ...grpc.CallOption) (*openfgav1.DeleteStoreResponse, error)) *MockOpenFGAServiceClient_DeleteStore_Call
type MockOpenFGAServiceClient_Expand_Call ¶
MockOpenFGAServiceClient_Expand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Expand'
func (*MockOpenFGAServiceClient_Expand_Call) Return ¶
func (_c *MockOpenFGAServiceClient_Expand_Call) Return(expandResponse *openfgav1.ExpandResponse, err error) *MockOpenFGAServiceClient_Expand_Call
func (*MockOpenFGAServiceClient_Expand_Call) Run ¶
func (_c *MockOpenFGAServiceClient_Expand_Call) Run(run func(ctx context.Context, in *openfgav1.ExpandRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_Expand_Call
func (*MockOpenFGAServiceClient_Expand_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_Expand_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.ExpandRequest, opts ...grpc.CallOption) (*openfgav1.ExpandResponse, error)) *MockOpenFGAServiceClient_Expand_Call
type MockOpenFGAServiceClient_Expecter ¶
type MockOpenFGAServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockOpenFGAServiceClient_Expecter) BatchCheck ¶
func (_e *MockOpenFGAServiceClient_Expecter) BatchCheck(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_BatchCheck_Call
BatchCheck is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.BatchCheckRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) Check ¶
func (_e *MockOpenFGAServiceClient_Expecter) Check(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_Check_Call
Check is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.CheckRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) CreateStore ¶
func (_e *MockOpenFGAServiceClient_Expecter) CreateStore(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_CreateStore_Call
CreateStore is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.CreateStoreRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) DeleteStore ¶
func (_e *MockOpenFGAServiceClient_Expecter) DeleteStore(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_DeleteStore_Call
DeleteStore is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.DeleteStoreRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) Expand ¶
func (_e *MockOpenFGAServiceClient_Expecter) Expand(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_Expand_Call
Expand is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ExpandRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) GetStore ¶
func (_e *MockOpenFGAServiceClient_Expecter) GetStore(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_GetStore_Call
GetStore is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.GetStoreRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) ListObjects ¶
func (_e *MockOpenFGAServiceClient_Expecter) ListObjects(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ListObjects_Call
ListObjects is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ListObjectsRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) ListStores ¶
func (_e *MockOpenFGAServiceClient_Expecter) ListStores(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ListStores_Call
ListStores is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ListStoresRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) ListUsers ¶
func (_e *MockOpenFGAServiceClient_Expecter) ListUsers(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ListUsers_Call
ListUsers is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ListUsersRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) Read ¶
func (_e *MockOpenFGAServiceClient_Expecter) Read(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_Read_Call
Read is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ReadRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) ReadAssertions ¶
func (_e *MockOpenFGAServiceClient_Expecter) ReadAssertions(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ReadAssertions_Call
ReadAssertions is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ReadAssertionsRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) ReadAuthorizationModel ¶
func (_e *MockOpenFGAServiceClient_Expecter) ReadAuthorizationModel(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ReadAuthorizationModel_Call
ReadAuthorizationModel is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ReadAuthorizationModelRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) ReadAuthorizationModels ¶
func (_e *MockOpenFGAServiceClient_Expecter) ReadAuthorizationModels(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ReadAuthorizationModels_Call
ReadAuthorizationModels is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ReadAuthorizationModelsRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) ReadChanges ¶
func (_e *MockOpenFGAServiceClient_Expecter) ReadChanges(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ReadChanges_Call
ReadChanges is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ReadChangesRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) StreamedListObjects ¶
func (_e *MockOpenFGAServiceClient_Expecter) StreamedListObjects(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_StreamedListObjects_Call
StreamedListObjects is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.StreamedListObjectsRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) UpdateStore ¶
func (_e *MockOpenFGAServiceClient_Expecter) UpdateStore(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_UpdateStore_Call
UpdateStore is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.UpdateStoreRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) Write ¶
func (_e *MockOpenFGAServiceClient_Expecter) Write(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_Write_Call
Write is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.WriteRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) WriteAssertions ¶
func (_e *MockOpenFGAServiceClient_Expecter) WriteAssertions(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_WriteAssertions_Call
WriteAssertions is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.WriteAssertionsRequest
- opts ...grpc.CallOption
func (*MockOpenFGAServiceClient_Expecter) WriteAuthorizationModel ¶
func (_e *MockOpenFGAServiceClient_Expecter) WriteAuthorizationModel(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_WriteAuthorizationModel_Call
WriteAuthorizationModel is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.WriteAuthorizationModelRequest
- opts ...grpc.CallOption
type MockOpenFGAServiceClient_GetStore_Call ¶
MockOpenFGAServiceClient_GetStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStore'
func (*MockOpenFGAServiceClient_GetStore_Call) Return ¶
func (_c *MockOpenFGAServiceClient_GetStore_Call) Return(getStoreResponse *openfgav1.GetStoreResponse, err error) *MockOpenFGAServiceClient_GetStore_Call
func (*MockOpenFGAServiceClient_GetStore_Call) Run ¶
func (_c *MockOpenFGAServiceClient_GetStore_Call) Run(run func(ctx context.Context, in *openfgav1.GetStoreRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_GetStore_Call
func (*MockOpenFGAServiceClient_GetStore_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_GetStore_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.GetStoreRequest, opts ...grpc.CallOption) (*openfgav1.GetStoreResponse, error)) *MockOpenFGAServiceClient_GetStore_Call
type MockOpenFGAServiceClient_ListObjects_Call ¶
MockOpenFGAServiceClient_ListObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListObjects'
func (*MockOpenFGAServiceClient_ListObjects_Call) Return ¶
func (_c *MockOpenFGAServiceClient_ListObjects_Call) Return(listObjectsResponse *openfgav1.ListObjectsResponse, err error) *MockOpenFGAServiceClient_ListObjects_Call
func (*MockOpenFGAServiceClient_ListObjects_Call) Run ¶
func (_c *MockOpenFGAServiceClient_ListObjects_Call) Run(run func(ctx context.Context, in *openfgav1.ListObjectsRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_ListObjects_Call
func (*MockOpenFGAServiceClient_ListObjects_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_ListObjects_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.ListObjectsRequest, opts ...grpc.CallOption) (*openfgav1.ListObjectsResponse, error)) *MockOpenFGAServiceClient_ListObjects_Call
type MockOpenFGAServiceClient_ListStores_Call ¶
MockOpenFGAServiceClient_ListStores_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStores'
func (*MockOpenFGAServiceClient_ListStores_Call) Return ¶
func (_c *MockOpenFGAServiceClient_ListStores_Call) Return(listStoresResponse *openfgav1.ListStoresResponse, err error) *MockOpenFGAServiceClient_ListStores_Call
func (*MockOpenFGAServiceClient_ListStores_Call) Run ¶
func (_c *MockOpenFGAServiceClient_ListStores_Call) Run(run func(ctx context.Context, in *openfgav1.ListStoresRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_ListStores_Call
func (*MockOpenFGAServiceClient_ListStores_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_ListStores_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.ListStoresRequest, opts ...grpc.CallOption) (*openfgav1.ListStoresResponse, error)) *MockOpenFGAServiceClient_ListStores_Call
type MockOpenFGAServiceClient_ListUsers_Call ¶
MockOpenFGAServiceClient_ListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsers'
func (*MockOpenFGAServiceClient_ListUsers_Call) Return ¶
func (_c *MockOpenFGAServiceClient_ListUsers_Call) Return(listUsersResponse *openfgav1.ListUsersResponse, err error) *MockOpenFGAServiceClient_ListUsers_Call
func (*MockOpenFGAServiceClient_ListUsers_Call) Run ¶
func (_c *MockOpenFGAServiceClient_ListUsers_Call) Run(run func(ctx context.Context, in *openfgav1.ListUsersRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_ListUsers_Call
func (*MockOpenFGAServiceClient_ListUsers_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_ListUsers_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.ListUsersRequest, opts ...grpc.CallOption) (*openfgav1.ListUsersResponse, error)) *MockOpenFGAServiceClient_ListUsers_Call
type MockOpenFGAServiceClient_ReadAssertions_Call ¶
MockOpenFGAServiceClient_ReadAssertions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAssertions'
func (*MockOpenFGAServiceClient_ReadAssertions_Call) Return ¶
func (_c *MockOpenFGAServiceClient_ReadAssertions_Call) Return(readAssertionsResponse *openfgav1.ReadAssertionsResponse, err error) *MockOpenFGAServiceClient_ReadAssertions_Call
func (*MockOpenFGAServiceClient_ReadAssertions_Call) Run ¶
func (_c *MockOpenFGAServiceClient_ReadAssertions_Call) Run(run func(ctx context.Context, in *openfgav1.ReadAssertionsRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_ReadAssertions_Call
func (*MockOpenFGAServiceClient_ReadAssertions_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_ReadAssertions_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.ReadAssertionsRequest, opts ...grpc.CallOption) (*openfgav1.ReadAssertionsResponse, error)) *MockOpenFGAServiceClient_ReadAssertions_Call
type MockOpenFGAServiceClient_ReadAuthorizationModel_Call ¶
MockOpenFGAServiceClient_ReadAuthorizationModel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAuthorizationModel'
func (*MockOpenFGAServiceClient_ReadAuthorizationModel_Call) Return ¶
func (_c *MockOpenFGAServiceClient_ReadAuthorizationModel_Call) Return(readAuthorizationModelResponse *openfgav1.ReadAuthorizationModelResponse, err error) *MockOpenFGAServiceClient_ReadAuthorizationModel_Call
func (*MockOpenFGAServiceClient_ReadAuthorizationModel_Call) Run ¶
func (_c *MockOpenFGAServiceClient_ReadAuthorizationModel_Call) Run(run func(ctx context.Context, in *openfgav1.ReadAuthorizationModelRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_ReadAuthorizationModel_Call
func (*MockOpenFGAServiceClient_ReadAuthorizationModel_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_ReadAuthorizationModel_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.ReadAuthorizationModelRequest, opts ...grpc.CallOption) (*openfgav1.ReadAuthorizationModelResponse, error)) *MockOpenFGAServiceClient_ReadAuthorizationModel_Call
type MockOpenFGAServiceClient_ReadAuthorizationModels_Call ¶
MockOpenFGAServiceClient_ReadAuthorizationModels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAuthorizationModels'
func (*MockOpenFGAServiceClient_ReadAuthorizationModels_Call) Return ¶
func (_c *MockOpenFGAServiceClient_ReadAuthorizationModels_Call) Return(readAuthorizationModelsResponse *openfgav1.ReadAuthorizationModelsResponse, err error) *MockOpenFGAServiceClient_ReadAuthorizationModels_Call
func (*MockOpenFGAServiceClient_ReadAuthorizationModels_Call) Run ¶
func (_c *MockOpenFGAServiceClient_ReadAuthorizationModels_Call) Run(run func(ctx context.Context, in *openfgav1.ReadAuthorizationModelsRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_ReadAuthorizationModels_Call
func (*MockOpenFGAServiceClient_ReadAuthorizationModels_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_ReadAuthorizationModels_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.ReadAuthorizationModelsRequest, opts ...grpc.CallOption) (*openfgav1.ReadAuthorizationModelsResponse, error)) *MockOpenFGAServiceClient_ReadAuthorizationModels_Call
type MockOpenFGAServiceClient_ReadChanges_Call ¶
MockOpenFGAServiceClient_ReadChanges_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadChanges'
func (*MockOpenFGAServiceClient_ReadChanges_Call) Return ¶
func (_c *MockOpenFGAServiceClient_ReadChanges_Call) Return(readChangesResponse *openfgav1.ReadChangesResponse, err error) *MockOpenFGAServiceClient_ReadChanges_Call
func (*MockOpenFGAServiceClient_ReadChanges_Call) Run ¶
func (_c *MockOpenFGAServiceClient_ReadChanges_Call) Run(run func(ctx context.Context, in *openfgav1.ReadChangesRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_ReadChanges_Call
func (*MockOpenFGAServiceClient_ReadChanges_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_ReadChanges_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.ReadChangesRequest, opts ...grpc.CallOption) (*openfgav1.ReadChangesResponse, error)) *MockOpenFGAServiceClient_ReadChanges_Call
type MockOpenFGAServiceClient_Read_Call ¶
MockOpenFGAServiceClient_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'
func (*MockOpenFGAServiceClient_Read_Call) Return ¶
func (_c *MockOpenFGAServiceClient_Read_Call) Return(readResponse *openfgav1.ReadResponse, err error) *MockOpenFGAServiceClient_Read_Call
func (*MockOpenFGAServiceClient_Read_Call) Run ¶
func (_c *MockOpenFGAServiceClient_Read_Call) Run(run func(ctx context.Context, in *openfgav1.ReadRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_Read_Call
func (*MockOpenFGAServiceClient_Read_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_Read_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.ReadRequest, opts ...grpc.CallOption) (*openfgav1.ReadResponse, error)) *MockOpenFGAServiceClient_Read_Call
type MockOpenFGAServiceClient_StreamedListObjects_Call ¶
MockOpenFGAServiceClient_StreamedListObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamedListObjects'
func (*MockOpenFGAServiceClient_StreamedListObjects_Call) Return ¶
func (_c *MockOpenFGAServiceClient_StreamedListObjects_Call) Return(openFGAService_StreamedListObjectsClient openfgav1.OpenFGAService_StreamedListObjectsClient, err error) *MockOpenFGAServiceClient_StreamedListObjects_Call
func (*MockOpenFGAServiceClient_StreamedListObjects_Call) Run ¶
func (_c *MockOpenFGAServiceClient_StreamedListObjects_Call) Run(run func(ctx context.Context, in *openfgav1.StreamedListObjectsRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_StreamedListObjects_Call
func (*MockOpenFGAServiceClient_StreamedListObjects_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_StreamedListObjects_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.StreamedListObjectsRequest, opts ...grpc.CallOption) (openfgav1.OpenFGAService_StreamedListObjectsClient, error)) *MockOpenFGAServiceClient_StreamedListObjects_Call
type MockOpenFGAServiceClient_UpdateStore_Call ¶
MockOpenFGAServiceClient_UpdateStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStore'
func (*MockOpenFGAServiceClient_UpdateStore_Call) Return ¶
func (_c *MockOpenFGAServiceClient_UpdateStore_Call) Return(updateStoreResponse *openfgav1.UpdateStoreResponse, err error) *MockOpenFGAServiceClient_UpdateStore_Call
func (*MockOpenFGAServiceClient_UpdateStore_Call) Run ¶
func (_c *MockOpenFGAServiceClient_UpdateStore_Call) Run(run func(ctx context.Context, in *openfgav1.UpdateStoreRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_UpdateStore_Call
func (*MockOpenFGAServiceClient_UpdateStore_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_UpdateStore_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.UpdateStoreRequest, opts ...grpc.CallOption) (*openfgav1.UpdateStoreResponse, error)) *MockOpenFGAServiceClient_UpdateStore_Call
type MockOpenFGAServiceClient_WriteAssertions_Call ¶
MockOpenFGAServiceClient_WriteAssertions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteAssertions'
func (*MockOpenFGAServiceClient_WriteAssertions_Call) Return ¶
func (_c *MockOpenFGAServiceClient_WriteAssertions_Call) Return(writeAssertionsResponse *openfgav1.WriteAssertionsResponse, err error) *MockOpenFGAServiceClient_WriteAssertions_Call
func (*MockOpenFGAServiceClient_WriteAssertions_Call) Run ¶
func (_c *MockOpenFGAServiceClient_WriteAssertions_Call) Run(run func(ctx context.Context, in *openfgav1.WriteAssertionsRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_WriteAssertions_Call
func (*MockOpenFGAServiceClient_WriteAssertions_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_WriteAssertions_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.WriteAssertionsRequest, opts ...grpc.CallOption) (*openfgav1.WriteAssertionsResponse, error)) *MockOpenFGAServiceClient_WriteAssertions_Call
type MockOpenFGAServiceClient_WriteAuthorizationModel_Call ¶
MockOpenFGAServiceClient_WriteAuthorizationModel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteAuthorizationModel'
func (*MockOpenFGAServiceClient_WriteAuthorizationModel_Call) Return ¶
func (_c *MockOpenFGAServiceClient_WriteAuthorizationModel_Call) Return(writeAuthorizationModelResponse *openfgav1.WriteAuthorizationModelResponse, err error) *MockOpenFGAServiceClient_WriteAuthorizationModel_Call
func (*MockOpenFGAServiceClient_WriteAuthorizationModel_Call) Run ¶
func (_c *MockOpenFGAServiceClient_WriteAuthorizationModel_Call) Run(run func(ctx context.Context, in *openfgav1.WriteAuthorizationModelRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_WriteAuthorizationModel_Call
func (*MockOpenFGAServiceClient_WriteAuthorizationModel_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_WriteAuthorizationModel_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.WriteAuthorizationModelRequest, opts ...grpc.CallOption) (*openfgav1.WriteAuthorizationModelResponse, error)) *MockOpenFGAServiceClient_WriteAuthorizationModel_Call
type MockOpenFGAServiceClient_Write_Call ¶
MockOpenFGAServiceClient_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'
func (*MockOpenFGAServiceClient_Write_Call) Return ¶
func (_c *MockOpenFGAServiceClient_Write_Call) Return(writeResponse *openfgav1.WriteResponse, err error) *MockOpenFGAServiceClient_Write_Call
func (*MockOpenFGAServiceClient_Write_Call) Run ¶
func (_c *MockOpenFGAServiceClient_Write_Call) Run(run func(ctx context.Context, in *openfgav1.WriteRequest, opts ...grpc.CallOption)) *MockOpenFGAServiceClient_Write_Call
func (*MockOpenFGAServiceClient_Write_Call) RunAndReturn ¶
func (_c *MockOpenFGAServiceClient_Write_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.WriteRequest, opts ...grpc.CallOption) (*openfgav1.WriteResponse, error)) *MockOpenFGAServiceClient_Write_Call