Documentation ¶
Index ¶
- type Client
- func (_m *Client) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
- func (_m *Client) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
- func (_m *Client) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) Get(ctx context.Context, key types.NamespacedName, obj client.Object, ...) error
- func (_m *Client) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)
- func (_m *Client) IsObjectNamespaced(obj runtime.Object) (bool, error)
- func (_m *Client) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
- func (_m *Client) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error
- func (_m *Client) RESTMapper() meta.RESTMapper
- func (_m *Client) Scheme() *runtime.Scheme
- func (_m *Client) Status() client.SubResourceWriter
- func (_m *Client) SubResource(subResource string) client.SubResourceClient
- func (_m *Client) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
- type Client_Create_Call
- func (_c *Client_Create_Call) Return(_a0 error) *Client_Create_Call
- func (_c *Client_Create_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.CreateOption)) *Client_Create_Call
- func (_c *Client_Create_Call) RunAndReturn(run func(context.Context, client.Object, ...client.CreateOption) error) *Client_Create_Call
- type Client_DeleteAllOf_Call
- type Client_Delete_Call
- func (_c *Client_Delete_Call) Return(_a0 error) *Client_Delete_Call
- func (_c *Client_Delete_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.DeleteOption)) *Client_Delete_Call
- func (_c *Client_Delete_Call) RunAndReturn(run func(context.Context, client.Object, ...client.DeleteOption) error) *Client_Delete_Call
- type Client_Expecter
- func (_e *Client_Expecter) Create(ctx interface{}, obj interface{}, opts ...interface{}) *Client_Create_Call
- func (_e *Client_Expecter) Delete(ctx interface{}, obj interface{}, opts ...interface{}) *Client_Delete_Call
- func (_e *Client_Expecter) DeleteAllOf(ctx interface{}, obj interface{}, opts ...interface{}) *Client_DeleteAllOf_Call
- func (_e *Client_Expecter) Get(ctx interface{}, key interface{}, obj interface{}, opts ...interface{}) *Client_Get_Call
- func (_e *Client_Expecter) GroupVersionKindFor(obj interface{}) *Client_GroupVersionKindFor_Call
- func (_e *Client_Expecter) IsObjectNamespaced(obj interface{}) *Client_IsObjectNamespaced_Call
- func (_e *Client_Expecter) List(ctx interface{}, list interface{}, opts ...interface{}) *Client_List_Call
- func (_e *Client_Expecter) Patch(ctx interface{}, obj interface{}, patch interface{}, opts ...interface{}) *Client_Patch_Call
- func (_e *Client_Expecter) RESTMapper() *Client_RESTMapper_Call
- func (_e *Client_Expecter) Scheme() *Client_Scheme_Call
- func (_e *Client_Expecter) Status() *Client_Status_Call
- func (_e *Client_Expecter) SubResource(subResource interface{}) *Client_SubResource_Call
- func (_e *Client_Expecter) Update(ctx interface{}, obj interface{}, opts ...interface{}) *Client_Update_Call
- type Client_Get_Call
- type Client_GroupVersionKindFor_Call
- func (_c *Client_GroupVersionKindFor_Call) Return(_a0 schema.GroupVersionKind, _a1 error) *Client_GroupVersionKindFor_Call
- func (_c *Client_GroupVersionKindFor_Call) Run(run func(obj runtime.Object)) *Client_GroupVersionKindFor_Call
- func (_c *Client_GroupVersionKindFor_Call) RunAndReturn(run func(runtime.Object) (schema.GroupVersionKind, error)) *Client_GroupVersionKindFor_Call
- type Client_IsObjectNamespaced_Call
- func (_c *Client_IsObjectNamespaced_Call) Return(_a0 bool, _a1 error) *Client_IsObjectNamespaced_Call
- func (_c *Client_IsObjectNamespaced_Call) Run(run func(obj runtime.Object)) *Client_IsObjectNamespaced_Call
- func (_c *Client_IsObjectNamespaced_Call) RunAndReturn(run func(runtime.Object) (bool, error)) *Client_IsObjectNamespaced_Call
- type Client_List_Call
- type Client_Patch_Call
- type Client_RESTMapper_Call
- type Client_Scheme_Call
- type Client_Status_Call
- type Client_SubResource_Call
- func (_c *Client_SubResource_Call) Return(_a0 client.SubResourceClient) *Client_SubResource_Call
- func (_c *Client_SubResource_Call) Run(run func(subResource string)) *Client_SubResource_Call
- func (_c *Client_SubResource_Call) RunAndReturn(run func(string) client.SubResourceClient) *Client_SubResource_Call
- type Client_Update_Call
- func (_c *Client_Update_Call) Return(_a0 error) *Client_Update_Call
- func (_c *Client_Update_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.UpdateOption)) *Client_Update_Call
- func (_c *Client_Update_Call) RunAndReturn(run func(context.Context, client.Object, ...client.UpdateOption) error) *Client_Update_Call
- type K8Service
- func (_m *K8Service) EXPECT() *K8Service_Expecter
- func (_m *K8Service) GetAccount(ctx context.Context, accountKey types.NamespacedName) (*v1alpha1.Account, error)
- func (_m *K8Service) GetAccountForNamespace(ctx context.Context, namespace string) (*v1alpha1.Account, error)
- func (_m *K8Service) GetFirstLevelAccountForAccount(ctx context.Context, accountKey types.NamespacedName) (*v1alpha1.Account, error)
- func (_m *K8Service) GetFirstLevelAccountForNamespace(ctx context.Context, namespace string) (*v1alpha1.Account, error)
- type K8Service_Expecter
- func (_e *K8Service_Expecter) GetAccount(ctx interface{}, accountKey interface{}) *K8Service_GetAccount_Call
- func (_e *K8Service_Expecter) GetAccountForNamespace(ctx interface{}, namespace interface{}) *K8Service_GetAccountForNamespace_Call
- func (_e *K8Service_Expecter) GetFirstLevelAccountForAccount(ctx interface{}, accountKey interface{}) *K8Service_GetFirstLevelAccountForAccount_Call
- func (_e *K8Service_Expecter) GetFirstLevelAccountForNamespace(ctx interface{}, namespace interface{}) *K8Service_GetFirstLevelAccountForNamespace_Call
- type K8Service_GetAccountForNamespace_Call
- func (_c *K8Service_GetAccountForNamespace_Call) Return(_a0 *v1alpha1.Account, _a1 error) *K8Service_GetAccountForNamespace_Call
- func (_c *K8Service_GetAccountForNamespace_Call) Run(run func(ctx context.Context, namespace string)) *K8Service_GetAccountForNamespace_Call
- func (_c *K8Service_GetAccountForNamespace_Call) RunAndReturn(run func(context.Context, string) (*v1alpha1.Account, error)) *K8Service_GetAccountForNamespace_Call
- type K8Service_GetAccount_Call
- func (_c *K8Service_GetAccount_Call) Return(_a0 *v1alpha1.Account, _a1 error) *K8Service_GetAccount_Call
- func (_c *K8Service_GetAccount_Call) Run(run func(ctx context.Context, accountKey types.NamespacedName)) *K8Service_GetAccount_Call
- func (_c *K8Service_GetAccount_Call) RunAndReturn(run func(context.Context, types.NamespacedName) (*v1alpha1.Account, error)) *K8Service_GetAccount_Call
- type K8Service_GetFirstLevelAccountForAccount_Call
- func (_c *K8Service_GetFirstLevelAccountForAccount_Call) Return(_a0 *v1alpha1.Account, _a1 error) *K8Service_GetFirstLevelAccountForAccount_Call
- func (_c *K8Service_GetFirstLevelAccountForAccount_Call) Run(run func(ctx context.Context, accountKey types.NamespacedName)) *K8Service_GetFirstLevelAccountForAccount_Call
- func (_c *K8Service_GetFirstLevelAccountForAccount_Call) RunAndReturn(run func(context.Context, types.NamespacedName) (*v1alpha1.Account, error)) *K8Service_GetFirstLevelAccountForAccount_Call
- type K8Service_GetFirstLevelAccountForNamespace_Call
- func (_c *K8Service_GetFirstLevelAccountForNamespace_Call) Return(_a0 *v1alpha1.Account, _a1 error) *K8Service_GetFirstLevelAccountForNamespace_Call
- func (_c *K8Service_GetFirstLevelAccountForNamespace_Call) Run(run func(ctx context.Context, namespace string)) *K8Service_GetFirstLevelAccountForNamespace_Call
- func (_c *K8Service_GetFirstLevelAccountForNamespace_Call) RunAndReturn(run func(context.Context, string) (*v1alpha1.Account, error)) *K8Service_GetFirstLevelAccountForNamespace_Call
- type OpenFGAServiceClient
- func (_m *OpenFGAServiceClient) Check(ctx context.Context, in *openfgav1.CheckRequest, opts ...grpc.CallOption) (*openfgav1.CheckResponse, error)
- func (_m *OpenFGAServiceClient) CreateStore(ctx context.Context, in *openfgav1.CreateStoreRequest, opts ...grpc.CallOption) (*openfgav1.CreateStoreResponse, error)
- func (_m *OpenFGAServiceClient) DeleteStore(ctx context.Context, in *openfgav1.DeleteStoreRequest, opts ...grpc.CallOption) (*openfgav1.DeleteStoreResponse, error)
- func (_m *OpenFGAServiceClient) EXPECT() *OpenFGAServiceClient_Expecter
- func (_m *OpenFGAServiceClient) Expand(ctx context.Context, in *openfgav1.ExpandRequest, opts ...grpc.CallOption) (*openfgav1.ExpandResponse, error)
- func (_m *OpenFGAServiceClient) GetStore(ctx context.Context, in *openfgav1.GetStoreRequest, opts ...grpc.CallOption) (*openfgav1.GetStoreResponse, error)
- func (_m *OpenFGAServiceClient) ListObjects(ctx context.Context, in *openfgav1.ListObjectsRequest, opts ...grpc.CallOption) (*openfgav1.ListObjectsResponse, error)
- func (_m *OpenFGAServiceClient) ListStores(ctx context.Context, in *openfgav1.ListStoresRequest, opts ...grpc.CallOption) (*openfgav1.ListStoresResponse, error)
- func (_m *OpenFGAServiceClient) ListUsers(ctx context.Context, in *openfgav1.ListUsersRequest, opts ...grpc.CallOption) (*openfgav1.ListUsersResponse, error)
- func (_m *OpenFGAServiceClient) Read(ctx context.Context, in *openfgav1.ReadRequest, opts ...grpc.CallOption) (*openfgav1.ReadResponse, error)
- func (_m *OpenFGAServiceClient) ReadAssertions(ctx context.Context, in *openfgav1.ReadAssertionsRequest, ...) (*openfgav1.ReadAssertionsResponse, error)
- func (_m *OpenFGAServiceClient) ReadAuthorizationModel(ctx context.Context, in *openfgav1.ReadAuthorizationModelRequest, ...) (*openfgav1.ReadAuthorizationModelResponse, error)
- func (_m *OpenFGAServiceClient) ReadAuthorizationModels(ctx context.Context, in *openfgav1.ReadAuthorizationModelsRequest, ...) (*openfgav1.ReadAuthorizationModelsResponse, error)
- func (_m *OpenFGAServiceClient) ReadChanges(ctx context.Context, in *openfgav1.ReadChangesRequest, opts ...grpc.CallOption) (*openfgav1.ReadChangesResponse, error)
- func (_m *OpenFGAServiceClient) StreamedListObjects(ctx context.Context, in *openfgav1.StreamedListObjectsRequest, ...) (openfgav1.OpenFGAService_StreamedListObjectsClient, error)
- func (_m *OpenFGAServiceClient) UpdateStore(ctx context.Context, in *openfgav1.UpdateStoreRequest, opts ...grpc.CallOption) (*openfgav1.UpdateStoreResponse, error)
- func (_m *OpenFGAServiceClient) Write(ctx context.Context, in *openfgav1.WriteRequest, opts ...grpc.CallOption) (*openfgav1.WriteResponse, error)
- func (_m *OpenFGAServiceClient) WriteAssertions(ctx context.Context, in *openfgav1.WriteAssertionsRequest, ...) (*openfgav1.WriteAssertionsResponse, error)
- func (_m *OpenFGAServiceClient) WriteAuthorizationModel(ctx context.Context, in *openfgav1.WriteAuthorizationModelRequest, ...) (*openfgav1.WriteAuthorizationModelResponse, error)
- type OpenFGAServiceClient_Check_Call
- func (_c *OpenFGAServiceClient_Check_Call) Return(_a0 *openfgav1.CheckResponse, _a1 error) *OpenFGAServiceClient_Check_Call
- func (_c *OpenFGAServiceClient_Check_Call) Run(...) *OpenFGAServiceClient_Check_Call
- func (_c *OpenFGAServiceClient_Check_Call) RunAndReturn(...) *OpenFGAServiceClient_Check_Call
- type OpenFGAServiceClient_CreateStore_Call
- func (_c *OpenFGAServiceClient_CreateStore_Call) Return(_a0 *openfgav1.CreateStoreResponse, _a1 error) *OpenFGAServiceClient_CreateStore_Call
- func (_c *OpenFGAServiceClient_CreateStore_Call) Run(...) *OpenFGAServiceClient_CreateStore_Call
- func (_c *OpenFGAServiceClient_CreateStore_Call) RunAndReturn(...) *OpenFGAServiceClient_CreateStore_Call
- type OpenFGAServiceClient_DeleteStore_Call
- func (_c *OpenFGAServiceClient_DeleteStore_Call) Return(_a0 *openfgav1.DeleteStoreResponse, _a1 error) *OpenFGAServiceClient_DeleteStore_Call
- func (_c *OpenFGAServiceClient_DeleteStore_Call) Run(...) *OpenFGAServiceClient_DeleteStore_Call
- func (_c *OpenFGAServiceClient_DeleteStore_Call) RunAndReturn(...) *OpenFGAServiceClient_DeleteStore_Call
- type OpenFGAServiceClient_Expand_Call
- func (_c *OpenFGAServiceClient_Expand_Call) Return(_a0 *openfgav1.ExpandResponse, _a1 error) *OpenFGAServiceClient_Expand_Call
- func (_c *OpenFGAServiceClient_Expand_Call) Run(...) *OpenFGAServiceClient_Expand_Call
- func (_c *OpenFGAServiceClient_Expand_Call) RunAndReturn(...) *OpenFGAServiceClient_Expand_Call
- type OpenFGAServiceClient_Expecter
- func (_e *OpenFGAServiceClient_Expecter) Check(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_Check_Call
- func (_e *OpenFGAServiceClient_Expecter) CreateStore(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_CreateStore_Call
- func (_e *OpenFGAServiceClient_Expecter) DeleteStore(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_DeleteStore_Call
- func (_e *OpenFGAServiceClient_Expecter) Expand(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_Expand_Call
- func (_e *OpenFGAServiceClient_Expecter) GetStore(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_GetStore_Call
- func (_e *OpenFGAServiceClient_Expecter) ListObjects(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ListObjects_Call
- func (_e *OpenFGAServiceClient_Expecter) ListStores(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ListStores_Call
- func (_e *OpenFGAServiceClient_Expecter) ListUsers(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ListUsers_Call
- func (_e *OpenFGAServiceClient_Expecter) Read(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_Read_Call
- func (_e *OpenFGAServiceClient_Expecter) ReadAssertions(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ReadAssertions_Call
- func (_e *OpenFGAServiceClient_Expecter) ReadAuthorizationModel(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ReadAuthorizationModel_Call
- func (_e *OpenFGAServiceClient_Expecter) ReadAuthorizationModels(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ReadAuthorizationModels_Call
- func (_e *OpenFGAServiceClient_Expecter) ReadChanges(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ReadChanges_Call
- func (_e *OpenFGAServiceClient_Expecter) StreamedListObjects(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_StreamedListObjects_Call
- func (_e *OpenFGAServiceClient_Expecter) UpdateStore(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_UpdateStore_Call
- func (_e *OpenFGAServiceClient_Expecter) Write(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_Write_Call
- func (_e *OpenFGAServiceClient_Expecter) WriteAssertions(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_WriteAssertions_Call
- func (_e *OpenFGAServiceClient_Expecter) WriteAuthorizationModel(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_WriteAuthorizationModel_Call
- type OpenFGAServiceClient_GetStore_Call
- func (_c *OpenFGAServiceClient_GetStore_Call) Return(_a0 *openfgav1.GetStoreResponse, _a1 error) *OpenFGAServiceClient_GetStore_Call
- func (_c *OpenFGAServiceClient_GetStore_Call) Run(...) *OpenFGAServiceClient_GetStore_Call
- func (_c *OpenFGAServiceClient_GetStore_Call) RunAndReturn(...) *OpenFGAServiceClient_GetStore_Call
- type OpenFGAServiceClient_ListObjects_Call
- func (_c *OpenFGAServiceClient_ListObjects_Call) Return(_a0 *openfgav1.ListObjectsResponse, _a1 error) *OpenFGAServiceClient_ListObjects_Call
- func (_c *OpenFGAServiceClient_ListObjects_Call) Run(...) *OpenFGAServiceClient_ListObjects_Call
- func (_c *OpenFGAServiceClient_ListObjects_Call) RunAndReturn(...) *OpenFGAServiceClient_ListObjects_Call
- type OpenFGAServiceClient_ListStores_Call
- func (_c *OpenFGAServiceClient_ListStores_Call) Return(_a0 *openfgav1.ListStoresResponse, _a1 error) *OpenFGAServiceClient_ListStores_Call
- func (_c *OpenFGAServiceClient_ListStores_Call) Run(...) *OpenFGAServiceClient_ListStores_Call
- func (_c *OpenFGAServiceClient_ListStores_Call) RunAndReturn(...) *OpenFGAServiceClient_ListStores_Call
- type OpenFGAServiceClient_ListUsers_Call
- func (_c *OpenFGAServiceClient_ListUsers_Call) Return(_a0 *openfgav1.ListUsersResponse, _a1 error) *OpenFGAServiceClient_ListUsers_Call
- func (_c *OpenFGAServiceClient_ListUsers_Call) Run(...) *OpenFGAServiceClient_ListUsers_Call
- func (_c *OpenFGAServiceClient_ListUsers_Call) RunAndReturn(...) *OpenFGAServiceClient_ListUsers_Call
- type OpenFGAServiceClient_ReadAssertions_Call
- func (_c *OpenFGAServiceClient_ReadAssertions_Call) Return(_a0 *openfgav1.ReadAssertionsResponse, _a1 error) *OpenFGAServiceClient_ReadAssertions_Call
- func (_c *OpenFGAServiceClient_ReadAssertions_Call) Run(run func(ctx context.Context, in *openfgav1.ReadAssertionsRequest, ...)) *OpenFGAServiceClient_ReadAssertions_Call
- func (_c *OpenFGAServiceClient_ReadAssertions_Call) RunAndReturn(...) *OpenFGAServiceClient_ReadAssertions_Call
- type OpenFGAServiceClient_ReadAuthorizationModel_Call
- func (_c *OpenFGAServiceClient_ReadAuthorizationModel_Call) Return(_a0 *openfgav1.ReadAuthorizationModelResponse, _a1 error) *OpenFGAServiceClient_ReadAuthorizationModel_Call
- func (_c *OpenFGAServiceClient_ReadAuthorizationModel_Call) Run(...) *OpenFGAServiceClient_ReadAuthorizationModel_Call
- func (_c *OpenFGAServiceClient_ReadAuthorizationModel_Call) RunAndReturn(...) *OpenFGAServiceClient_ReadAuthorizationModel_Call
- type OpenFGAServiceClient_ReadAuthorizationModels_Call
- func (_c *OpenFGAServiceClient_ReadAuthorizationModels_Call) Return(_a0 *openfgav1.ReadAuthorizationModelsResponse, _a1 error) *OpenFGAServiceClient_ReadAuthorizationModels_Call
- func (_c *OpenFGAServiceClient_ReadAuthorizationModels_Call) Run(...) *OpenFGAServiceClient_ReadAuthorizationModels_Call
- func (_c *OpenFGAServiceClient_ReadAuthorizationModels_Call) RunAndReturn(...) *OpenFGAServiceClient_ReadAuthorizationModels_Call
- type OpenFGAServiceClient_ReadChanges_Call
- func (_c *OpenFGAServiceClient_ReadChanges_Call) Return(_a0 *openfgav1.ReadChangesResponse, _a1 error) *OpenFGAServiceClient_ReadChanges_Call
- func (_c *OpenFGAServiceClient_ReadChanges_Call) Run(...) *OpenFGAServiceClient_ReadChanges_Call
- func (_c *OpenFGAServiceClient_ReadChanges_Call) RunAndReturn(...) *OpenFGAServiceClient_ReadChanges_Call
- type OpenFGAServiceClient_Read_Call
- type OpenFGAServiceClient_StreamedListObjects_Call
- func (_c *OpenFGAServiceClient_StreamedListObjects_Call) Return(_a0 openfgav1.OpenFGAService_StreamedListObjectsClient, _a1 error) *OpenFGAServiceClient_StreamedListObjects_Call
- func (_c *OpenFGAServiceClient_StreamedListObjects_Call) Run(run func(ctx context.Context, in *openfgav1.StreamedListObjectsRequest, ...)) *OpenFGAServiceClient_StreamedListObjects_Call
- func (_c *OpenFGAServiceClient_StreamedListObjects_Call) RunAndReturn(...) *OpenFGAServiceClient_StreamedListObjects_Call
- type OpenFGAServiceClient_UpdateStore_Call
- func (_c *OpenFGAServiceClient_UpdateStore_Call) Return(_a0 *openfgav1.UpdateStoreResponse, _a1 error) *OpenFGAServiceClient_UpdateStore_Call
- func (_c *OpenFGAServiceClient_UpdateStore_Call) Run(...) *OpenFGAServiceClient_UpdateStore_Call
- func (_c *OpenFGAServiceClient_UpdateStore_Call) RunAndReturn(...) *OpenFGAServiceClient_UpdateStore_Call
- type OpenFGAServiceClient_WriteAssertions_Call
- func (_c *OpenFGAServiceClient_WriteAssertions_Call) Return(_a0 *openfgav1.WriteAssertionsResponse, _a1 error) *OpenFGAServiceClient_WriteAssertions_Call
- func (_c *OpenFGAServiceClient_WriteAssertions_Call) Run(run func(ctx context.Context, in *openfgav1.WriteAssertionsRequest, ...)) *OpenFGAServiceClient_WriteAssertions_Call
- func (_c *OpenFGAServiceClient_WriteAssertions_Call) RunAndReturn(...) *OpenFGAServiceClient_WriteAssertions_Call
- type OpenFGAServiceClient_WriteAuthorizationModel_Call
- func (_c *OpenFGAServiceClient_WriteAuthorizationModel_Call) Return(_a0 *openfgav1.WriteAuthorizationModelResponse, _a1 error) *OpenFGAServiceClient_WriteAuthorizationModel_Call
- func (_c *OpenFGAServiceClient_WriteAuthorizationModel_Call) Run(...) *OpenFGAServiceClient_WriteAuthorizationModel_Call
- func (_c *OpenFGAServiceClient_WriteAuthorizationModel_Call) RunAndReturn(...) *OpenFGAServiceClient_WriteAuthorizationModel_Call
- type OpenFGAServiceClient_Write_Call
- func (_c *OpenFGAServiceClient_Write_Call) Return(_a0 *openfgav1.WriteResponse, _a1 error) *OpenFGAServiceClient_Write_Call
- func (_c *OpenFGAServiceClient_Write_Call) Run(...) *OpenFGAServiceClient_Write_Call
- func (_c *OpenFGAServiceClient_Write_Call) RunAndReturn(...) *OpenFGAServiceClient_Write_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. 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 (*Client) DeleteAllOf ¶
func (_m *Client) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
DeleteAllOf provides a mock function with given fields: ctx, obj, opts
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) Get ¶
func (_m *Client) Get(ctx context.Context, key types.NamespacedName, obj client.Object, opts ...client.GetOption) error
Get provides a mock function with given fields: ctx, key, obj, opts
func (*Client) GroupVersionKindFor ¶
GroupVersionKindFor provides a mock function with given fields: obj
func (*Client) IsObjectNamespaced ¶
IsObjectNamespaced provides a mock function with given fields: obj
func (*Client) List ¶
func (_m *Client) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
List provides a mock function with given fields: ctx, list, opts
func (*Client) Patch ¶
func (_m *Client) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error
Patch provides a mock function with given fields: ctx, obj, patch, opts
func (*Client) RESTMapper ¶
func (_m *Client) RESTMapper() meta.RESTMapper
RESTMapper provides a mock function with given fields:
func (*Client) Status ¶
func (_m *Client) Status() client.SubResourceWriter
Status provides a mock function with given fields:
func (*Client) SubResource ¶
func (_m *Client) SubResource(subResource string) client.SubResourceClient
SubResource provides a mock function with given fields: subResource
type Client_Create_Call ¶
Client_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Client_Create_Call) Return ¶
func (_c *Client_Create_Call) Return(_a0 error) *Client_Create_Call
func (*Client_Create_Call) Run ¶
func (_c *Client_Create_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.CreateOption)) *Client_Create_Call
func (*Client_Create_Call) RunAndReturn ¶
func (_c *Client_Create_Call) RunAndReturn(run func(context.Context, client.Object, ...client.CreateOption) error) *Client_Create_Call
type Client_DeleteAllOf_Call ¶
Client_DeleteAllOf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllOf'
func (*Client_DeleteAllOf_Call) Return ¶
func (_c *Client_DeleteAllOf_Call) Return(_a0 error) *Client_DeleteAllOf_Call
func (*Client_DeleteAllOf_Call) Run ¶
func (_c *Client_DeleteAllOf_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption)) *Client_DeleteAllOf_Call
func (*Client_DeleteAllOf_Call) RunAndReturn ¶
func (_c *Client_DeleteAllOf_Call) RunAndReturn(run func(context.Context, client.Object, ...client.DeleteAllOfOption) error) *Client_DeleteAllOf_Call
type Client_Delete_Call ¶
Client_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Client_Delete_Call) Return ¶
func (_c *Client_Delete_Call) Return(_a0 error) *Client_Delete_Call
func (*Client_Delete_Call) Run ¶
func (_c *Client_Delete_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.DeleteOption)) *Client_Delete_Call
func (*Client_Delete_Call) RunAndReturn ¶
func (_c *Client_Delete_Call) RunAndReturn(run func(context.Context, client.Object, ...client.DeleteOption) error) *Client_Delete_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) Create ¶
func (_e *Client_Expecter) Create(ctx interface{}, obj interface{}, opts ...interface{}) *Client_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- opts ...client.CreateOption
func (*Client_Expecter) Delete ¶
func (_e *Client_Expecter) Delete(ctx interface{}, obj interface{}, opts ...interface{}) *Client_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- opts ...client.DeleteOption
func (*Client_Expecter) DeleteAllOf ¶
func (_e *Client_Expecter) DeleteAllOf(ctx interface{}, obj interface{}, opts ...interface{}) *Client_DeleteAllOf_Call
DeleteAllOf is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- opts ...client.DeleteAllOfOption
func (*Client_Expecter) Get ¶
func (_e *Client_Expecter) Get(ctx interface{}, key interface{}, obj interface{}, opts ...interface{}) *Client_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- key types.NamespacedName
- obj client.Object
- opts ...client.GetOption
func (*Client_Expecter) GroupVersionKindFor ¶
func (_e *Client_Expecter) GroupVersionKindFor(obj interface{}) *Client_GroupVersionKindFor_Call
GroupVersionKindFor is a helper method to define mock.On call
- obj runtime.Object
func (*Client_Expecter) IsObjectNamespaced ¶
func (_e *Client_Expecter) IsObjectNamespaced(obj interface{}) *Client_IsObjectNamespaced_Call
IsObjectNamespaced is a helper method to define mock.On call
- obj runtime.Object
func (*Client_Expecter) List ¶
func (_e *Client_Expecter) List(ctx interface{}, list interface{}, opts ...interface{}) *Client_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- list client.ObjectList
- opts ...client.ListOption
func (*Client_Expecter) Patch ¶
func (_e *Client_Expecter) Patch(ctx interface{}, obj interface{}, patch interface{}, opts ...interface{}) *Client_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 (*Client_Expecter) RESTMapper ¶
func (_e *Client_Expecter) RESTMapper() *Client_RESTMapper_Call
RESTMapper is a helper method to define mock.On call
func (*Client_Expecter) Scheme ¶
func (_e *Client_Expecter) Scheme() *Client_Scheme_Call
Scheme is a helper method to define mock.On call
func (*Client_Expecter) Status ¶
func (_e *Client_Expecter) Status() *Client_Status_Call
Status is a helper method to define mock.On call
func (*Client_Expecter) SubResource ¶
func (_e *Client_Expecter) SubResource(subResource interface{}) *Client_SubResource_Call
SubResource is a helper method to define mock.On call
- subResource string
func (*Client_Expecter) Update ¶
func (_e *Client_Expecter) Update(ctx interface{}, obj interface{}, opts ...interface{}) *Client_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- opts ...client.UpdateOption
type Client_Get_Call ¶
Client_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Client_Get_Call) Return ¶
func (_c *Client_Get_Call) Return(_a0 error) *Client_Get_Call
func (*Client_Get_Call) Run ¶
func (_c *Client_Get_Call) Run(run func(ctx context.Context, key types.NamespacedName, obj client.Object, opts ...client.GetOption)) *Client_Get_Call
func (*Client_Get_Call) RunAndReturn ¶
func (_c *Client_Get_Call) RunAndReturn(run func(context.Context, types.NamespacedName, client.Object, ...client.GetOption) error) *Client_Get_Call
type Client_GroupVersionKindFor_Call ¶
Client_GroupVersionKindFor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GroupVersionKindFor'
func (*Client_GroupVersionKindFor_Call) Return ¶
func (_c *Client_GroupVersionKindFor_Call) Return(_a0 schema.GroupVersionKind, _a1 error) *Client_GroupVersionKindFor_Call
func (*Client_GroupVersionKindFor_Call) Run ¶
func (_c *Client_GroupVersionKindFor_Call) Run(run func(obj runtime.Object)) *Client_GroupVersionKindFor_Call
func (*Client_GroupVersionKindFor_Call) RunAndReturn ¶
func (_c *Client_GroupVersionKindFor_Call) RunAndReturn(run func(runtime.Object) (schema.GroupVersionKind, error)) *Client_GroupVersionKindFor_Call
type Client_IsObjectNamespaced_Call ¶
Client_IsObjectNamespaced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsObjectNamespaced'
func (*Client_IsObjectNamespaced_Call) Return ¶
func (_c *Client_IsObjectNamespaced_Call) Return(_a0 bool, _a1 error) *Client_IsObjectNamespaced_Call
func (*Client_IsObjectNamespaced_Call) Run ¶
func (_c *Client_IsObjectNamespaced_Call) Run(run func(obj runtime.Object)) *Client_IsObjectNamespaced_Call
func (*Client_IsObjectNamespaced_Call) RunAndReturn ¶
func (_c *Client_IsObjectNamespaced_Call) RunAndReturn(run func(runtime.Object) (bool, error)) *Client_IsObjectNamespaced_Call
type Client_List_Call ¶
Client_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*Client_List_Call) Return ¶
func (_c *Client_List_Call) Return(_a0 error) *Client_List_Call
func (*Client_List_Call) Run ¶
func (_c *Client_List_Call) Run(run func(ctx context.Context, list client.ObjectList, opts ...client.ListOption)) *Client_List_Call
func (*Client_List_Call) RunAndReturn ¶
func (_c *Client_List_Call) RunAndReturn(run func(context.Context, client.ObjectList, ...client.ListOption) error) *Client_List_Call
type Client_Patch_Call ¶
Client_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*Client_Patch_Call) Return ¶
func (_c *Client_Patch_Call) Return(_a0 error) *Client_Patch_Call
func (*Client_Patch_Call) Run ¶
func (_c *Client_Patch_Call) Run(run func(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption)) *Client_Patch_Call
func (*Client_Patch_Call) RunAndReturn ¶
func (_c *Client_Patch_Call) RunAndReturn(run func(context.Context, client.Object, client.Patch, ...client.PatchOption) error) *Client_Patch_Call
type Client_RESTMapper_Call ¶
Client_RESTMapper_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RESTMapper'
func (*Client_RESTMapper_Call) Return ¶
func (_c *Client_RESTMapper_Call) Return(_a0 meta.RESTMapper) *Client_RESTMapper_Call
func (*Client_RESTMapper_Call) Run ¶
func (_c *Client_RESTMapper_Call) Run(run func()) *Client_RESTMapper_Call
func (*Client_RESTMapper_Call) RunAndReturn ¶
func (_c *Client_RESTMapper_Call) RunAndReturn(run func() meta.RESTMapper) *Client_RESTMapper_Call
type Client_Scheme_Call ¶
Client_Scheme_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scheme'
func (*Client_Scheme_Call) Return ¶
func (_c *Client_Scheme_Call) Return(_a0 *runtime.Scheme) *Client_Scheme_Call
func (*Client_Scheme_Call) Run ¶
func (_c *Client_Scheme_Call) Run(run func()) *Client_Scheme_Call
func (*Client_Scheme_Call) RunAndReturn ¶
func (_c *Client_Scheme_Call) RunAndReturn(run func() *runtime.Scheme) *Client_Scheme_Call
type Client_Status_Call ¶
Client_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*Client_Status_Call) Return ¶
func (_c *Client_Status_Call) Return(_a0 client.SubResourceWriter) *Client_Status_Call
func (*Client_Status_Call) Run ¶
func (_c *Client_Status_Call) Run(run func()) *Client_Status_Call
func (*Client_Status_Call) RunAndReturn ¶
func (_c *Client_Status_Call) RunAndReturn(run func() client.SubResourceWriter) *Client_Status_Call
type Client_SubResource_Call ¶
Client_SubResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubResource'
func (*Client_SubResource_Call) Return ¶
func (_c *Client_SubResource_Call) Return(_a0 client.SubResourceClient) *Client_SubResource_Call
func (*Client_SubResource_Call) Run ¶
func (_c *Client_SubResource_Call) Run(run func(subResource string)) *Client_SubResource_Call
func (*Client_SubResource_Call) RunAndReturn ¶
func (_c *Client_SubResource_Call) RunAndReturn(run func(string) client.SubResourceClient) *Client_SubResource_Call
type Client_Update_Call ¶
Client_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*Client_Update_Call) Return ¶
func (_c *Client_Update_Call) Return(_a0 error) *Client_Update_Call
func (*Client_Update_Call) Run ¶
func (_c *Client_Update_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.UpdateOption)) *Client_Update_Call
func (*Client_Update_Call) RunAndReturn ¶
func (_c *Client_Update_Call) RunAndReturn(run func(context.Context, client.Object, ...client.UpdateOption) error) *Client_Update_Call
type K8Service ¶
K8Service is an autogenerated mock type for the Service type
func NewK8Service ¶
NewK8Service creates a new instance of K8Service. 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 (*K8Service) EXPECT ¶
func (_m *K8Service) EXPECT() *K8Service_Expecter
func (*K8Service) GetAccount ¶
func (_m *K8Service) GetAccount(ctx context.Context, accountKey types.NamespacedName) (*v1alpha1.Account, error)
GetAccount provides a mock function with given fields: ctx, accountKey
func (*K8Service) GetAccountForNamespace ¶
func (_m *K8Service) GetAccountForNamespace(ctx context.Context, namespace string) (*v1alpha1.Account, error)
GetAccountForNamespace provides a mock function with given fields: ctx, namespace
func (*K8Service) GetFirstLevelAccountForAccount ¶
func (_m *K8Service) GetFirstLevelAccountForAccount(ctx context.Context, accountKey types.NamespacedName) (*v1alpha1.Account, error)
GetFirstLevelAccountForAccount provides a mock function with given fields: ctx, accountKey
type K8Service_Expecter ¶
type K8Service_Expecter struct {
// contains filtered or unexported fields
}
func (*K8Service_Expecter) GetAccount ¶
func (_e *K8Service_Expecter) GetAccount(ctx interface{}, accountKey interface{}) *K8Service_GetAccount_Call
GetAccount is a helper method to define mock.On call
- ctx context.Context
- accountKey types.NamespacedName
func (*K8Service_Expecter) GetAccountForNamespace ¶
func (_e *K8Service_Expecter) GetAccountForNamespace(ctx interface{}, namespace interface{}) *K8Service_GetAccountForNamespace_Call
GetAccountForNamespace is a helper method to define mock.On call
- ctx context.Context
- namespace string
func (*K8Service_Expecter) GetFirstLevelAccountForAccount ¶
func (_e *K8Service_Expecter) GetFirstLevelAccountForAccount(ctx interface{}, accountKey interface{}) *K8Service_GetFirstLevelAccountForAccount_Call
GetFirstLevelAccountForAccount is a helper method to define mock.On call
- ctx context.Context
- accountKey types.NamespacedName
func (*K8Service_Expecter) GetFirstLevelAccountForNamespace ¶
func (_e *K8Service_Expecter) GetFirstLevelAccountForNamespace(ctx interface{}, namespace interface{}) *K8Service_GetFirstLevelAccountForNamespace_Call
GetFirstLevelAccountForNamespace is a helper method to define mock.On call
- ctx context.Context
- namespace string
type K8Service_GetAccountForNamespace_Call ¶
K8Service_GetAccountForNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountForNamespace'
func (*K8Service_GetAccountForNamespace_Call) Return ¶
func (_c *K8Service_GetAccountForNamespace_Call) Return(_a0 *v1alpha1.Account, _a1 error) *K8Service_GetAccountForNamespace_Call
func (*K8Service_GetAccountForNamespace_Call) Run ¶
func (_c *K8Service_GetAccountForNamespace_Call) Run(run func(ctx context.Context, namespace string)) *K8Service_GetAccountForNamespace_Call
func (*K8Service_GetAccountForNamespace_Call) RunAndReturn ¶
func (_c *K8Service_GetAccountForNamespace_Call) RunAndReturn(run func(context.Context, string) (*v1alpha1.Account, error)) *K8Service_GetAccountForNamespace_Call
type K8Service_GetAccount_Call ¶
K8Service_GetAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccount'
func (*K8Service_GetAccount_Call) Return ¶
func (_c *K8Service_GetAccount_Call) Return(_a0 *v1alpha1.Account, _a1 error) *K8Service_GetAccount_Call
func (*K8Service_GetAccount_Call) Run ¶
func (_c *K8Service_GetAccount_Call) Run(run func(ctx context.Context, accountKey types.NamespacedName)) *K8Service_GetAccount_Call
func (*K8Service_GetAccount_Call) RunAndReturn ¶
func (_c *K8Service_GetAccount_Call) RunAndReturn(run func(context.Context, types.NamespacedName) (*v1alpha1.Account, error)) *K8Service_GetAccount_Call
type K8Service_GetFirstLevelAccountForAccount_Call ¶
K8Service_GetFirstLevelAccountForAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstLevelAccountForAccount'
func (*K8Service_GetFirstLevelAccountForAccount_Call) Return ¶
func (_c *K8Service_GetFirstLevelAccountForAccount_Call) Return(_a0 *v1alpha1.Account, _a1 error) *K8Service_GetFirstLevelAccountForAccount_Call
func (*K8Service_GetFirstLevelAccountForAccount_Call) Run ¶
func (_c *K8Service_GetFirstLevelAccountForAccount_Call) Run(run func(ctx context.Context, accountKey types.NamespacedName)) *K8Service_GetFirstLevelAccountForAccount_Call
func (*K8Service_GetFirstLevelAccountForAccount_Call) RunAndReturn ¶
func (_c *K8Service_GetFirstLevelAccountForAccount_Call) RunAndReturn(run func(context.Context, types.NamespacedName) (*v1alpha1.Account, error)) *K8Service_GetFirstLevelAccountForAccount_Call
type K8Service_GetFirstLevelAccountForNamespace_Call ¶
K8Service_GetFirstLevelAccountForNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstLevelAccountForNamespace'
func (*K8Service_GetFirstLevelAccountForNamespace_Call) Return ¶
func (_c *K8Service_GetFirstLevelAccountForNamespace_Call) Return(_a0 *v1alpha1.Account, _a1 error) *K8Service_GetFirstLevelAccountForNamespace_Call
func (*K8Service_GetFirstLevelAccountForNamespace_Call) Run ¶
func (_c *K8Service_GetFirstLevelAccountForNamespace_Call) Run(run func(ctx context.Context, namespace string)) *K8Service_GetFirstLevelAccountForNamespace_Call
func (*K8Service_GetFirstLevelAccountForNamespace_Call) RunAndReturn ¶
func (_c *K8Service_GetFirstLevelAccountForNamespace_Call) RunAndReturn(run func(context.Context, string) (*v1alpha1.Account, error)) *K8Service_GetFirstLevelAccountForNamespace_Call
type OpenFGAServiceClient ¶
OpenFGAServiceClient is an autogenerated mock type for the OpenFGAServiceClient type
func NewOpenFGAServiceClient ¶
func NewOpenFGAServiceClient(t interface { mock.TestingT Cleanup(func()) }) *OpenFGAServiceClient
NewOpenFGAServiceClient creates a new instance of OpenFGAServiceClient. 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 (*OpenFGAServiceClient) Check ¶
func (_m *OpenFGAServiceClient) Check(ctx context.Context, in *openfgav1.CheckRequest, opts ...grpc.CallOption) (*openfgav1.CheckResponse, error)
Check provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) CreateStore ¶
func (_m *OpenFGAServiceClient) CreateStore(ctx context.Context, in *openfgav1.CreateStoreRequest, opts ...grpc.CallOption) (*openfgav1.CreateStoreResponse, error)
CreateStore provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) DeleteStore ¶
func (_m *OpenFGAServiceClient) DeleteStore(ctx context.Context, in *openfgav1.DeleteStoreRequest, opts ...grpc.CallOption) (*openfgav1.DeleteStoreResponse, error)
DeleteStore provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) EXPECT ¶
func (_m *OpenFGAServiceClient) EXPECT() *OpenFGAServiceClient_Expecter
func (*OpenFGAServiceClient) Expand ¶
func (_m *OpenFGAServiceClient) Expand(ctx context.Context, in *openfgav1.ExpandRequest, opts ...grpc.CallOption) (*openfgav1.ExpandResponse, error)
Expand provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) GetStore ¶
func (_m *OpenFGAServiceClient) GetStore(ctx context.Context, in *openfgav1.GetStoreRequest, opts ...grpc.CallOption) (*openfgav1.GetStoreResponse, error)
GetStore provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) ListObjects ¶
func (_m *OpenFGAServiceClient) ListObjects(ctx context.Context, in *openfgav1.ListObjectsRequest, opts ...grpc.CallOption) (*openfgav1.ListObjectsResponse, error)
ListObjects provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) ListStores ¶
func (_m *OpenFGAServiceClient) ListStores(ctx context.Context, in *openfgav1.ListStoresRequest, opts ...grpc.CallOption) (*openfgav1.ListStoresResponse, error)
ListStores provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) ListUsers ¶
func (_m *OpenFGAServiceClient) ListUsers(ctx context.Context, in *openfgav1.ListUsersRequest, opts ...grpc.CallOption) (*openfgav1.ListUsersResponse, error)
ListUsers provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) Read ¶
func (_m *OpenFGAServiceClient) Read(ctx context.Context, in *openfgav1.ReadRequest, opts ...grpc.CallOption) (*openfgav1.ReadResponse, error)
Read provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) ReadAssertions ¶
func (_m *OpenFGAServiceClient) ReadAssertions(ctx context.Context, in *openfgav1.ReadAssertionsRequest, opts ...grpc.CallOption) (*openfgav1.ReadAssertionsResponse, error)
ReadAssertions provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) ReadAuthorizationModel ¶
func (_m *OpenFGAServiceClient) ReadAuthorizationModel(ctx context.Context, in *openfgav1.ReadAuthorizationModelRequest, opts ...grpc.CallOption) (*openfgav1.ReadAuthorizationModelResponse, error)
ReadAuthorizationModel provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) ReadAuthorizationModels ¶
func (_m *OpenFGAServiceClient) ReadAuthorizationModels(ctx context.Context, in *openfgav1.ReadAuthorizationModelsRequest, opts ...grpc.CallOption) (*openfgav1.ReadAuthorizationModelsResponse, error)
ReadAuthorizationModels provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) ReadChanges ¶
func (_m *OpenFGAServiceClient) ReadChanges(ctx context.Context, in *openfgav1.ReadChangesRequest, opts ...grpc.CallOption) (*openfgav1.ReadChangesResponse, error)
ReadChanges provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) StreamedListObjects ¶
func (_m *OpenFGAServiceClient) StreamedListObjects(ctx context.Context, in *openfgav1.StreamedListObjectsRequest, opts ...grpc.CallOption) (openfgav1.OpenFGAService_StreamedListObjectsClient, error)
StreamedListObjects provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) UpdateStore ¶
func (_m *OpenFGAServiceClient) UpdateStore(ctx context.Context, in *openfgav1.UpdateStoreRequest, opts ...grpc.CallOption) (*openfgav1.UpdateStoreResponse, error)
UpdateStore provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) Write ¶
func (_m *OpenFGAServiceClient) Write(ctx context.Context, in *openfgav1.WriteRequest, opts ...grpc.CallOption) (*openfgav1.WriteResponse, error)
Write provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) WriteAssertions ¶
func (_m *OpenFGAServiceClient) WriteAssertions(ctx context.Context, in *openfgav1.WriteAssertionsRequest, opts ...grpc.CallOption) (*openfgav1.WriteAssertionsResponse, error)
WriteAssertions provides a mock function with given fields: ctx, in, opts
func (*OpenFGAServiceClient) WriteAuthorizationModel ¶
func (_m *OpenFGAServiceClient) WriteAuthorizationModel(ctx context.Context, in *openfgav1.WriteAuthorizationModelRequest, opts ...grpc.CallOption) (*openfgav1.WriteAuthorizationModelResponse, error)
WriteAuthorizationModel provides a mock function with given fields: ctx, in, opts
type OpenFGAServiceClient_Check_Call ¶
OpenFGAServiceClient_Check_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Check'
func (*OpenFGAServiceClient_Check_Call) Return ¶
func (_c *OpenFGAServiceClient_Check_Call) Return(_a0 *openfgav1.CheckResponse, _a1 error) *OpenFGAServiceClient_Check_Call
func (*OpenFGAServiceClient_Check_Call) Run ¶
func (_c *OpenFGAServiceClient_Check_Call) Run(run func(ctx context.Context, in *openfgav1.CheckRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_Check_Call
func (*OpenFGAServiceClient_Check_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_Check_Call) RunAndReturn(run func(context.Context, *openfgav1.CheckRequest, ...grpc.CallOption) (*openfgav1.CheckResponse, error)) *OpenFGAServiceClient_Check_Call
type OpenFGAServiceClient_CreateStore_Call ¶
OpenFGAServiceClient_CreateStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateStore'
func (*OpenFGAServiceClient_CreateStore_Call) Return ¶
func (_c *OpenFGAServiceClient_CreateStore_Call) Return(_a0 *openfgav1.CreateStoreResponse, _a1 error) *OpenFGAServiceClient_CreateStore_Call
func (*OpenFGAServiceClient_CreateStore_Call) Run ¶
func (_c *OpenFGAServiceClient_CreateStore_Call) Run(run func(ctx context.Context, in *openfgav1.CreateStoreRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_CreateStore_Call
func (*OpenFGAServiceClient_CreateStore_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_CreateStore_Call) RunAndReturn(run func(context.Context, *openfgav1.CreateStoreRequest, ...grpc.CallOption) (*openfgav1.CreateStoreResponse, error)) *OpenFGAServiceClient_CreateStore_Call
type OpenFGAServiceClient_DeleteStore_Call ¶
OpenFGAServiceClient_DeleteStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteStore'
func (*OpenFGAServiceClient_DeleteStore_Call) Return ¶
func (_c *OpenFGAServiceClient_DeleteStore_Call) Return(_a0 *openfgav1.DeleteStoreResponse, _a1 error) *OpenFGAServiceClient_DeleteStore_Call
func (*OpenFGAServiceClient_DeleteStore_Call) Run ¶
func (_c *OpenFGAServiceClient_DeleteStore_Call) Run(run func(ctx context.Context, in *openfgav1.DeleteStoreRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_DeleteStore_Call
func (*OpenFGAServiceClient_DeleteStore_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_DeleteStore_Call) RunAndReturn(run func(context.Context, *openfgav1.DeleteStoreRequest, ...grpc.CallOption) (*openfgav1.DeleteStoreResponse, error)) *OpenFGAServiceClient_DeleteStore_Call
type OpenFGAServiceClient_Expand_Call ¶
OpenFGAServiceClient_Expand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Expand'
func (*OpenFGAServiceClient_Expand_Call) Return ¶
func (_c *OpenFGAServiceClient_Expand_Call) Return(_a0 *openfgav1.ExpandResponse, _a1 error) *OpenFGAServiceClient_Expand_Call
func (*OpenFGAServiceClient_Expand_Call) Run ¶
func (_c *OpenFGAServiceClient_Expand_Call) Run(run func(ctx context.Context, in *openfgav1.ExpandRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_Expand_Call
func (*OpenFGAServiceClient_Expand_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_Expand_Call) RunAndReturn(run func(context.Context, *openfgav1.ExpandRequest, ...grpc.CallOption) (*openfgav1.ExpandResponse, error)) *OpenFGAServiceClient_Expand_Call
type OpenFGAServiceClient_Expecter ¶
type OpenFGAServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*OpenFGAServiceClient_Expecter) Check ¶
func (_e *OpenFGAServiceClient_Expecter) Check(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_Check_Call
Check is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.CheckRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) CreateStore ¶
func (_e *OpenFGAServiceClient_Expecter) CreateStore(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_CreateStore_Call
CreateStore is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.CreateStoreRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) DeleteStore ¶
func (_e *OpenFGAServiceClient_Expecter) DeleteStore(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_DeleteStore_Call
DeleteStore is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.DeleteStoreRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) Expand ¶
func (_e *OpenFGAServiceClient_Expecter) Expand(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_Expand_Call
Expand is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ExpandRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) GetStore ¶
func (_e *OpenFGAServiceClient_Expecter) GetStore(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_GetStore_Call
GetStore is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.GetStoreRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) ListObjects ¶
func (_e *OpenFGAServiceClient_Expecter) ListObjects(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ListObjects_Call
ListObjects is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ListObjectsRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) ListStores ¶
func (_e *OpenFGAServiceClient_Expecter) ListStores(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ListStores_Call
ListStores is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ListStoresRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) ListUsers ¶
func (_e *OpenFGAServiceClient_Expecter) ListUsers(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ListUsers_Call
ListUsers is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ListUsersRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) Read ¶
func (_e *OpenFGAServiceClient_Expecter) Read(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_Read_Call
Read is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ReadRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) ReadAssertions ¶
func (_e *OpenFGAServiceClient_Expecter) ReadAssertions(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ReadAssertions_Call
ReadAssertions is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ReadAssertionsRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) ReadAuthorizationModel ¶
func (_e *OpenFGAServiceClient_Expecter) ReadAuthorizationModel(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ReadAuthorizationModel_Call
ReadAuthorizationModel is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ReadAuthorizationModelRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) ReadAuthorizationModels ¶
func (_e *OpenFGAServiceClient_Expecter) ReadAuthorizationModels(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ReadAuthorizationModels_Call
ReadAuthorizationModels is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ReadAuthorizationModelsRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) ReadChanges ¶
func (_e *OpenFGAServiceClient_Expecter) ReadChanges(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_ReadChanges_Call
ReadChanges is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.ReadChangesRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) StreamedListObjects ¶
func (_e *OpenFGAServiceClient_Expecter) StreamedListObjects(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_StreamedListObjects_Call
StreamedListObjects is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.StreamedListObjectsRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) UpdateStore ¶
func (_e *OpenFGAServiceClient_Expecter) UpdateStore(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_UpdateStore_Call
UpdateStore is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.UpdateStoreRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) Write ¶
func (_e *OpenFGAServiceClient_Expecter) Write(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_Write_Call
Write is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.WriteRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) WriteAssertions ¶
func (_e *OpenFGAServiceClient_Expecter) WriteAssertions(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_WriteAssertions_Call
WriteAssertions is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.WriteAssertionsRequest
- opts ...grpc.CallOption
func (*OpenFGAServiceClient_Expecter) WriteAuthorizationModel ¶
func (_e *OpenFGAServiceClient_Expecter) WriteAuthorizationModel(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_WriteAuthorizationModel_Call
WriteAuthorizationModel is a helper method to define mock.On call
- ctx context.Context
- in *openfgav1.WriteAuthorizationModelRequest
- opts ...grpc.CallOption
type OpenFGAServiceClient_GetStore_Call ¶
OpenFGAServiceClient_GetStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStore'
func (*OpenFGAServiceClient_GetStore_Call) Return ¶
func (_c *OpenFGAServiceClient_GetStore_Call) Return(_a0 *openfgav1.GetStoreResponse, _a1 error) *OpenFGAServiceClient_GetStore_Call
func (*OpenFGAServiceClient_GetStore_Call) Run ¶
func (_c *OpenFGAServiceClient_GetStore_Call) Run(run func(ctx context.Context, in *openfgav1.GetStoreRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_GetStore_Call
func (*OpenFGAServiceClient_GetStore_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_GetStore_Call) RunAndReturn(run func(context.Context, *openfgav1.GetStoreRequest, ...grpc.CallOption) (*openfgav1.GetStoreResponse, error)) *OpenFGAServiceClient_GetStore_Call
type OpenFGAServiceClient_ListObjects_Call ¶
OpenFGAServiceClient_ListObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListObjects'
func (*OpenFGAServiceClient_ListObjects_Call) Return ¶
func (_c *OpenFGAServiceClient_ListObjects_Call) Return(_a0 *openfgav1.ListObjectsResponse, _a1 error) *OpenFGAServiceClient_ListObjects_Call
func (*OpenFGAServiceClient_ListObjects_Call) Run ¶
func (_c *OpenFGAServiceClient_ListObjects_Call) Run(run func(ctx context.Context, in *openfgav1.ListObjectsRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_ListObjects_Call
func (*OpenFGAServiceClient_ListObjects_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_ListObjects_Call) RunAndReturn(run func(context.Context, *openfgav1.ListObjectsRequest, ...grpc.CallOption) (*openfgav1.ListObjectsResponse, error)) *OpenFGAServiceClient_ListObjects_Call
type OpenFGAServiceClient_ListStores_Call ¶
OpenFGAServiceClient_ListStores_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStores'
func (*OpenFGAServiceClient_ListStores_Call) Return ¶
func (_c *OpenFGAServiceClient_ListStores_Call) Return(_a0 *openfgav1.ListStoresResponse, _a1 error) *OpenFGAServiceClient_ListStores_Call
func (*OpenFGAServiceClient_ListStores_Call) Run ¶
func (_c *OpenFGAServiceClient_ListStores_Call) Run(run func(ctx context.Context, in *openfgav1.ListStoresRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_ListStores_Call
func (*OpenFGAServiceClient_ListStores_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_ListStores_Call) RunAndReturn(run func(context.Context, *openfgav1.ListStoresRequest, ...grpc.CallOption) (*openfgav1.ListStoresResponse, error)) *OpenFGAServiceClient_ListStores_Call
type OpenFGAServiceClient_ListUsers_Call ¶
OpenFGAServiceClient_ListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsers'
func (*OpenFGAServiceClient_ListUsers_Call) Return ¶
func (_c *OpenFGAServiceClient_ListUsers_Call) Return(_a0 *openfgav1.ListUsersResponse, _a1 error) *OpenFGAServiceClient_ListUsers_Call
func (*OpenFGAServiceClient_ListUsers_Call) Run ¶
func (_c *OpenFGAServiceClient_ListUsers_Call) Run(run func(ctx context.Context, in *openfgav1.ListUsersRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_ListUsers_Call
func (*OpenFGAServiceClient_ListUsers_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_ListUsers_Call) RunAndReturn(run func(context.Context, *openfgav1.ListUsersRequest, ...grpc.CallOption) (*openfgav1.ListUsersResponse, error)) *OpenFGAServiceClient_ListUsers_Call
type OpenFGAServiceClient_ReadAssertions_Call ¶
OpenFGAServiceClient_ReadAssertions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAssertions'
func (*OpenFGAServiceClient_ReadAssertions_Call) Return ¶
func (_c *OpenFGAServiceClient_ReadAssertions_Call) Return(_a0 *openfgav1.ReadAssertionsResponse, _a1 error) *OpenFGAServiceClient_ReadAssertions_Call
func (*OpenFGAServiceClient_ReadAssertions_Call) Run ¶
func (_c *OpenFGAServiceClient_ReadAssertions_Call) Run(run func(ctx context.Context, in *openfgav1.ReadAssertionsRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_ReadAssertions_Call
func (*OpenFGAServiceClient_ReadAssertions_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_ReadAssertions_Call) RunAndReturn(run func(context.Context, *openfgav1.ReadAssertionsRequest, ...grpc.CallOption) (*openfgav1.ReadAssertionsResponse, error)) *OpenFGAServiceClient_ReadAssertions_Call
type OpenFGAServiceClient_ReadAuthorizationModel_Call ¶
OpenFGAServiceClient_ReadAuthorizationModel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAuthorizationModel'
func (*OpenFGAServiceClient_ReadAuthorizationModel_Call) Run ¶
func (_c *OpenFGAServiceClient_ReadAuthorizationModel_Call) Run(run func(ctx context.Context, in *openfgav1.ReadAuthorizationModelRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_ReadAuthorizationModel_Call
func (*OpenFGAServiceClient_ReadAuthorizationModel_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_ReadAuthorizationModel_Call) RunAndReturn(run func(context.Context, *openfgav1.ReadAuthorizationModelRequest, ...grpc.CallOption) (*openfgav1.ReadAuthorizationModelResponse, error)) *OpenFGAServiceClient_ReadAuthorizationModel_Call
type OpenFGAServiceClient_ReadAuthorizationModels_Call ¶
OpenFGAServiceClient_ReadAuthorizationModels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAuthorizationModels'
func (*OpenFGAServiceClient_ReadAuthorizationModels_Call) Run ¶
func (_c *OpenFGAServiceClient_ReadAuthorizationModels_Call) Run(run func(ctx context.Context, in *openfgav1.ReadAuthorizationModelsRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_ReadAuthorizationModels_Call
func (*OpenFGAServiceClient_ReadAuthorizationModels_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_ReadAuthorizationModels_Call) RunAndReturn(run func(context.Context, *openfgav1.ReadAuthorizationModelsRequest, ...grpc.CallOption) (*openfgav1.ReadAuthorizationModelsResponse, error)) *OpenFGAServiceClient_ReadAuthorizationModels_Call
type OpenFGAServiceClient_ReadChanges_Call ¶
OpenFGAServiceClient_ReadChanges_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadChanges'
func (*OpenFGAServiceClient_ReadChanges_Call) Return ¶
func (_c *OpenFGAServiceClient_ReadChanges_Call) Return(_a0 *openfgav1.ReadChangesResponse, _a1 error) *OpenFGAServiceClient_ReadChanges_Call
func (*OpenFGAServiceClient_ReadChanges_Call) Run ¶
func (_c *OpenFGAServiceClient_ReadChanges_Call) Run(run func(ctx context.Context, in *openfgav1.ReadChangesRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_ReadChanges_Call
func (*OpenFGAServiceClient_ReadChanges_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_ReadChanges_Call) RunAndReturn(run func(context.Context, *openfgav1.ReadChangesRequest, ...grpc.CallOption) (*openfgav1.ReadChangesResponse, error)) *OpenFGAServiceClient_ReadChanges_Call
type OpenFGAServiceClient_Read_Call ¶
OpenFGAServiceClient_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'
func (*OpenFGAServiceClient_Read_Call) Return ¶
func (_c *OpenFGAServiceClient_Read_Call) Return(_a0 *openfgav1.ReadResponse, _a1 error) *OpenFGAServiceClient_Read_Call
func (*OpenFGAServiceClient_Read_Call) Run ¶
func (_c *OpenFGAServiceClient_Read_Call) Run(run func(ctx context.Context, in *openfgav1.ReadRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_Read_Call
func (*OpenFGAServiceClient_Read_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_Read_Call) RunAndReturn(run func(context.Context, *openfgav1.ReadRequest, ...grpc.CallOption) (*openfgav1.ReadResponse, error)) *OpenFGAServiceClient_Read_Call
type OpenFGAServiceClient_StreamedListObjects_Call ¶
OpenFGAServiceClient_StreamedListObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamedListObjects'
func (*OpenFGAServiceClient_StreamedListObjects_Call) Run ¶
func (_c *OpenFGAServiceClient_StreamedListObjects_Call) Run(run func(ctx context.Context, in *openfgav1.StreamedListObjectsRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_StreamedListObjects_Call
func (*OpenFGAServiceClient_StreamedListObjects_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_StreamedListObjects_Call) RunAndReturn(run func(context.Context, *openfgav1.StreamedListObjectsRequest, ...grpc.CallOption) (openfgav1.OpenFGAService_StreamedListObjectsClient, error)) *OpenFGAServiceClient_StreamedListObjects_Call
type OpenFGAServiceClient_UpdateStore_Call ¶
OpenFGAServiceClient_UpdateStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStore'
func (*OpenFGAServiceClient_UpdateStore_Call) Return ¶
func (_c *OpenFGAServiceClient_UpdateStore_Call) Return(_a0 *openfgav1.UpdateStoreResponse, _a1 error) *OpenFGAServiceClient_UpdateStore_Call
func (*OpenFGAServiceClient_UpdateStore_Call) Run ¶
func (_c *OpenFGAServiceClient_UpdateStore_Call) Run(run func(ctx context.Context, in *openfgav1.UpdateStoreRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_UpdateStore_Call
func (*OpenFGAServiceClient_UpdateStore_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_UpdateStore_Call) RunAndReturn(run func(context.Context, *openfgav1.UpdateStoreRequest, ...grpc.CallOption) (*openfgav1.UpdateStoreResponse, error)) *OpenFGAServiceClient_UpdateStore_Call
type OpenFGAServiceClient_WriteAssertions_Call ¶
OpenFGAServiceClient_WriteAssertions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteAssertions'
func (*OpenFGAServiceClient_WriteAssertions_Call) Return ¶
func (_c *OpenFGAServiceClient_WriteAssertions_Call) Return(_a0 *openfgav1.WriteAssertionsResponse, _a1 error) *OpenFGAServiceClient_WriteAssertions_Call
func (*OpenFGAServiceClient_WriteAssertions_Call) Run ¶
func (_c *OpenFGAServiceClient_WriteAssertions_Call) Run(run func(ctx context.Context, in *openfgav1.WriteAssertionsRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_WriteAssertions_Call
func (*OpenFGAServiceClient_WriteAssertions_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_WriteAssertions_Call) RunAndReturn(run func(context.Context, *openfgav1.WriteAssertionsRequest, ...grpc.CallOption) (*openfgav1.WriteAssertionsResponse, error)) *OpenFGAServiceClient_WriteAssertions_Call
type OpenFGAServiceClient_WriteAuthorizationModel_Call ¶
OpenFGAServiceClient_WriteAuthorizationModel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteAuthorizationModel'
func (*OpenFGAServiceClient_WriteAuthorizationModel_Call) Run ¶
func (_c *OpenFGAServiceClient_WriteAuthorizationModel_Call) Run(run func(ctx context.Context, in *openfgav1.WriteAuthorizationModelRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_WriteAuthorizationModel_Call
func (*OpenFGAServiceClient_WriteAuthorizationModel_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_WriteAuthorizationModel_Call) RunAndReturn(run func(context.Context, *openfgav1.WriteAuthorizationModelRequest, ...grpc.CallOption) (*openfgav1.WriteAuthorizationModelResponse, error)) *OpenFGAServiceClient_WriteAuthorizationModel_Call
type OpenFGAServiceClient_Write_Call ¶
OpenFGAServiceClient_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'
func (*OpenFGAServiceClient_Write_Call) Return ¶
func (_c *OpenFGAServiceClient_Write_Call) Return(_a0 *openfgav1.WriteResponse, _a1 error) *OpenFGAServiceClient_Write_Call
func (*OpenFGAServiceClient_Write_Call) Run ¶
func (_c *OpenFGAServiceClient_Write_Call) Run(run func(ctx context.Context, in *openfgav1.WriteRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_Write_Call
func (*OpenFGAServiceClient_Write_Call) RunAndReturn ¶
func (_c *OpenFGAServiceClient_Write_Call) RunAndReturn(run func(context.Context, *openfgav1.WriteRequest, ...grpc.CallOption) (*openfgav1.WriteResponse, error)) *OpenFGAServiceClient_Write_Call