mocks

package
v0.147.19 Latest Latest
Warning

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

Go to latest
Published: May 21, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenFGAServiceClient

type OpenFGAServiceClient struct {
	mock.Mock
}

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) BatchCheck added in v0.147.11

func (_mock *OpenFGAServiceClient) BatchCheck(ctx context.Context, in *openfgav1.BatchCheckRequest, opts ...grpc.CallOption) (*openfgav1.BatchCheckResponse, error)

BatchCheck provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) Check

func (_mock *OpenFGAServiceClient) Check(ctx context.Context, in *openfgav1.CheckRequest, opts ...grpc.CallOption) (*openfgav1.CheckResponse, error)

Check provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) CreateStore

func (_mock *OpenFGAServiceClient) CreateStore(ctx context.Context, in *openfgav1.CreateStoreRequest, opts ...grpc.CallOption) (*openfgav1.CreateStoreResponse, error)

CreateStore provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) DeleteStore

func (_mock *OpenFGAServiceClient) DeleteStore(ctx context.Context, in *openfgav1.DeleteStoreRequest, opts ...grpc.CallOption) (*openfgav1.DeleteStoreResponse, error)

DeleteStore provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) EXPECT

func (*OpenFGAServiceClient) Expand

func (_mock *OpenFGAServiceClient) Expand(ctx context.Context, in *openfgav1.ExpandRequest, opts ...grpc.CallOption) (*openfgav1.ExpandResponse, error)

Expand provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) GetStore

func (_mock *OpenFGAServiceClient) GetStore(ctx context.Context, in *openfgav1.GetStoreRequest, opts ...grpc.CallOption) (*openfgav1.GetStoreResponse, error)

GetStore provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) ListObjects

func (_mock *OpenFGAServiceClient) ListObjects(ctx context.Context, in *openfgav1.ListObjectsRequest, opts ...grpc.CallOption) (*openfgav1.ListObjectsResponse, error)

ListObjects provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) ListStores

func (_mock *OpenFGAServiceClient) ListStores(ctx context.Context, in *openfgav1.ListStoresRequest, opts ...grpc.CallOption) (*openfgav1.ListStoresResponse, error)

ListStores provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) ListUsers

func (_mock *OpenFGAServiceClient) ListUsers(ctx context.Context, in *openfgav1.ListUsersRequest, opts ...grpc.CallOption) (*openfgav1.ListUsersResponse, error)

ListUsers provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) Read

func (_mock *OpenFGAServiceClient) Read(ctx context.Context, in *openfgav1.ReadRequest, opts ...grpc.CallOption) (*openfgav1.ReadResponse, error)

Read provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) ReadAssertions

func (_mock *OpenFGAServiceClient) ReadAssertions(ctx context.Context, in *openfgav1.ReadAssertionsRequest, opts ...grpc.CallOption) (*openfgav1.ReadAssertionsResponse, error)

ReadAssertions provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) ReadAuthorizationModel

func (_mock *OpenFGAServiceClient) ReadAuthorizationModel(ctx context.Context, in *openfgav1.ReadAuthorizationModelRequest, opts ...grpc.CallOption) (*openfgav1.ReadAuthorizationModelResponse, error)

ReadAuthorizationModel provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) ReadAuthorizationModels

func (_mock *OpenFGAServiceClient) ReadAuthorizationModels(ctx context.Context, in *openfgav1.ReadAuthorizationModelsRequest, opts ...grpc.CallOption) (*openfgav1.ReadAuthorizationModelsResponse, error)

ReadAuthorizationModels provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) ReadChanges

func (_mock *OpenFGAServiceClient) ReadChanges(ctx context.Context, in *openfgav1.ReadChangesRequest, opts ...grpc.CallOption) (*openfgav1.ReadChangesResponse, error)

ReadChanges provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) StreamedListObjects

func (_mock *OpenFGAServiceClient) StreamedListObjects(ctx context.Context, in *openfgav1.StreamedListObjectsRequest, opts ...grpc.CallOption) (openfgav1.OpenFGAService_StreamedListObjectsClient, error)

StreamedListObjects provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) UpdateStore

func (_mock *OpenFGAServiceClient) UpdateStore(ctx context.Context, in *openfgav1.UpdateStoreRequest, opts ...grpc.CallOption) (*openfgav1.UpdateStoreResponse, error)

UpdateStore provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) Write

func (_mock *OpenFGAServiceClient) Write(ctx context.Context, in *openfgav1.WriteRequest, opts ...grpc.CallOption) (*openfgav1.WriteResponse, error)

Write provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) WriteAssertions

func (_mock *OpenFGAServiceClient) WriteAssertions(ctx context.Context, in *openfgav1.WriteAssertionsRequest, opts ...grpc.CallOption) (*openfgav1.WriteAssertionsResponse, error)

WriteAssertions provides a mock function for the type OpenFGAServiceClient

func (*OpenFGAServiceClient) WriteAuthorizationModel

func (_mock *OpenFGAServiceClient) WriteAuthorizationModel(ctx context.Context, in *openfgav1.WriteAuthorizationModelRequest, opts ...grpc.CallOption) (*openfgav1.WriteAuthorizationModelResponse, error)

WriteAuthorizationModel provides a mock function for the type OpenFGAServiceClient

type OpenFGAServiceClient_BatchCheck_Call added in v0.147.11

type OpenFGAServiceClient_BatchCheck_Call struct {
	*mock.Call
}

OpenFGAServiceClient_BatchCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchCheck'

func (*OpenFGAServiceClient_BatchCheck_Call) Return added in v0.147.11

func (_c *OpenFGAServiceClient_BatchCheck_Call) Return(batchCheckResponse *openfgav1.BatchCheckResponse, err error) *OpenFGAServiceClient_BatchCheck_Call

func (*OpenFGAServiceClient_BatchCheck_Call) Run added in v0.147.11

func (_c *OpenFGAServiceClient_BatchCheck_Call) Run(run func(ctx context.Context, in *openfgav1.BatchCheckRequest, opts ...grpc.CallOption)) *OpenFGAServiceClient_BatchCheck_Call

func (*OpenFGAServiceClient_BatchCheck_Call) RunAndReturn added in v0.147.11

func (_c *OpenFGAServiceClient_BatchCheck_Call) RunAndReturn(run func(ctx context.Context, in *openfgav1.BatchCheckRequest, opts ...grpc.CallOption) (*openfgav1.BatchCheckResponse, error)) *OpenFGAServiceClient_BatchCheck_Call

type OpenFGAServiceClient_Check_Call

type OpenFGAServiceClient_Check_Call struct {
	*mock.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(checkResponse *openfgav1.CheckResponse, err 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(ctx context.Context, in *openfgav1.CheckRequest, opts ...grpc.CallOption) (*openfgav1.CheckResponse, error)) *OpenFGAServiceClient_Check_Call

type OpenFGAServiceClient_CreateStore_Call

type OpenFGAServiceClient_CreateStore_Call struct {
	*mock.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(createStoreResponse *openfgav1.CreateStoreResponse, err 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(ctx context.Context, in *openfgav1.CreateStoreRequest, opts ...grpc.CallOption) (*openfgav1.CreateStoreResponse, error)) *OpenFGAServiceClient_CreateStore_Call

type OpenFGAServiceClient_DeleteStore_Call

type OpenFGAServiceClient_DeleteStore_Call struct {
	*mock.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(deleteStoreResponse *openfgav1.DeleteStoreResponse, err 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(ctx context.Context, in *openfgav1.DeleteStoreRequest, opts ...grpc.CallOption) (*openfgav1.DeleteStoreResponse, error)) *OpenFGAServiceClient_DeleteStore_Call

type OpenFGAServiceClient_Expand_Call

type OpenFGAServiceClient_Expand_Call struct {
	*mock.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(expandResponse *openfgav1.ExpandResponse, err 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(ctx context.Context, in *openfgav1.ExpandRequest, opts ...grpc.CallOption) (*openfgav1.ExpandResponse, error)) *OpenFGAServiceClient_Expand_Call

type OpenFGAServiceClient_Expecter

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

func (*OpenFGAServiceClient_Expecter) BatchCheck added in v0.147.11

func (_e *OpenFGAServiceClient_Expecter) BatchCheck(ctx interface{}, in interface{}, opts ...interface{}) *OpenFGAServiceClient_BatchCheck_Call

BatchCheck is a helper method to define mock.On call

  • ctx
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

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
  • in
  • opts

type OpenFGAServiceClient_GetStore_Call

type OpenFGAServiceClient_GetStore_Call struct {
	*mock.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(getStoreResponse *openfgav1.GetStoreResponse, err 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(ctx context.Context, in *openfgav1.GetStoreRequest, opts ...grpc.CallOption) (*openfgav1.GetStoreResponse, error)) *OpenFGAServiceClient_GetStore_Call

type OpenFGAServiceClient_ListObjects_Call

type OpenFGAServiceClient_ListObjects_Call struct {
	*mock.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(listObjectsResponse *openfgav1.ListObjectsResponse, err 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(ctx context.Context, in *openfgav1.ListObjectsRequest, opts ...grpc.CallOption) (*openfgav1.ListObjectsResponse, error)) *OpenFGAServiceClient_ListObjects_Call

type OpenFGAServiceClient_ListStores_Call

type OpenFGAServiceClient_ListStores_Call struct {
	*mock.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(listStoresResponse *openfgav1.ListStoresResponse, err 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(ctx context.Context, in *openfgav1.ListStoresRequest, opts ...grpc.CallOption) (*openfgav1.ListStoresResponse, error)) *OpenFGAServiceClient_ListStores_Call

type OpenFGAServiceClient_ListUsers_Call

type OpenFGAServiceClient_ListUsers_Call struct {
	*mock.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(listUsersResponse *openfgav1.ListUsersResponse, err 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(ctx context.Context, in *openfgav1.ListUsersRequest, opts ...grpc.CallOption) (*openfgav1.ListUsersResponse, error)) *OpenFGAServiceClient_ListUsers_Call

type OpenFGAServiceClient_ReadAssertions_Call

type OpenFGAServiceClient_ReadAssertions_Call struct {
	*mock.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(readAssertionsResponse *openfgav1.ReadAssertionsResponse, err 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(ctx context.Context, in *openfgav1.ReadAssertionsRequest, opts ...grpc.CallOption) (*openfgav1.ReadAssertionsResponse, error)) *OpenFGAServiceClient_ReadAssertions_Call

type OpenFGAServiceClient_ReadAuthorizationModel_Call

type OpenFGAServiceClient_ReadAuthorizationModel_Call struct {
	*mock.Call
}

OpenFGAServiceClient_ReadAuthorizationModel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAuthorizationModel'

func (*OpenFGAServiceClient_ReadAuthorizationModel_Call) Return

func (_c *OpenFGAServiceClient_ReadAuthorizationModel_Call) Return(readAuthorizationModelResponse *openfgav1.ReadAuthorizationModelResponse, err error) *OpenFGAServiceClient_ReadAuthorizationModel_Call

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(ctx context.Context, in *openfgav1.ReadAuthorizationModelRequest, opts ...grpc.CallOption) (*openfgav1.ReadAuthorizationModelResponse, error)) *OpenFGAServiceClient_ReadAuthorizationModel_Call

type OpenFGAServiceClient_ReadAuthorizationModels_Call

type OpenFGAServiceClient_ReadAuthorizationModels_Call struct {
	*mock.Call
}

OpenFGAServiceClient_ReadAuthorizationModels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAuthorizationModels'

func (*OpenFGAServiceClient_ReadAuthorizationModels_Call) Return

func (_c *OpenFGAServiceClient_ReadAuthorizationModels_Call) Return(readAuthorizationModelsResponse *openfgav1.ReadAuthorizationModelsResponse, err error) *OpenFGAServiceClient_ReadAuthorizationModels_Call

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(ctx context.Context, in *openfgav1.ReadAuthorizationModelsRequest, opts ...grpc.CallOption) (*openfgav1.ReadAuthorizationModelsResponse, error)) *OpenFGAServiceClient_ReadAuthorizationModels_Call

type OpenFGAServiceClient_ReadChanges_Call

type OpenFGAServiceClient_ReadChanges_Call struct {
	*mock.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(readChangesResponse *openfgav1.ReadChangesResponse, err 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(ctx context.Context, in *openfgav1.ReadChangesRequest, opts ...grpc.CallOption) (*openfgav1.ReadChangesResponse, error)) *OpenFGAServiceClient_ReadChanges_Call

type OpenFGAServiceClient_Read_Call

type OpenFGAServiceClient_Read_Call struct {
	*mock.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(readResponse *openfgav1.ReadResponse, err 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(ctx context.Context, in *openfgav1.ReadRequest, opts ...grpc.CallOption) (*openfgav1.ReadResponse, error)) *OpenFGAServiceClient_Read_Call

type OpenFGAServiceClient_StreamedListObjects_Call

type OpenFGAServiceClient_StreamedListObjects_Call struct {
	*mock.Call
}

OpenFGAServiceClient_StreamedListObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamedListObjects'

func (*OpenFGAServiceClient_StreamedListObjects_Call) Return

func (_c *OpenFGAServiceClient_StreamedListObjects_Call) Return(openFGAService_StreamedListObjectsClient openfgav1.OpenFGAService_StreamedListObjectsClient, err error) *OpenFGAServiceClient_StreamedListObjects_Call

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(ctx context.Context, in *openfgav1.StreamedListObjectsRequest, opts ...grpc.CallOption) (openfgav1.OpenFGAService_StreamedListObjectsClient, error)) *OpenFGAServiceClient_StreamedListObjects_Call

type OpenFGAServiceClient_UpdateStore_Call

type OpenFGAServiceClient_UpdateStore_Call struct {
	*mock.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(updateStoreResponse *openfgav1.UpdateStoreResponse, err 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(ctx context.Context, in *openfgav1.UpdateStoreRequest, opts ...grpc.CallOption) (*openfgav1.UpdateStoreResponse, error)) *OpenFGAServiceClient_UpdateStore_Call

type OpenFGAServiceClient_WriteAssertions_Call

type OpenFGAServiceClient_WriteAssertions_Call struct {
	*mock.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(writeAssertionsResponse *openfgav1.WriteAssertionsResponse, err 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(ctx context.Context, in *openfgav1.WriteAssertionsRequest, opts ...grpc.CallOption) (*openfgav1.WriteAssertionsResponse, error)) *OpenFGAServiceClient_WriteAssertions_Call

type OpenFGAServiceClient_WriteAuthorizationModel_Call

type OpenFGAServiceClient_WriteAuthorizationModel_Call struct {
	*mock.Call
}

OpenFGAServiceClient_WriteAuthorizationModel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteAuthorizationModel'

func (*OpenFGAServiceClient_WriteAuthorizationModel_Call) Return

func (_c *OpenFGAServiceClient_WriteAuthorizationModel_Call) Return(writeAuthorizationModelResponse *openfgav1.WriteAuthorizationModelResponse, err error) *OpenFGAServiceClient_WriteAuthorizationModel_Call

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(ctx context.Context, in *openfgav1.WriteAuthorizationModelRequest, opts ...grpc.CallOption) (*openfgav1.WriteAuthorizationModelResponse, error)) *OpenFGAServiceClient_WriteAuthorizationModel_Call

type OpenFGAServiceClient_Write_Call

type OpenFGAServiceClient_Write_Call struct {
	*mock.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(writeResponse *openfgav1.WriteResponse, err 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(ctx context.Context, in *openfgav1.WriteRequest, opts ...grpc.CallOption) (*openfgav1.WriteResponse, error)) *OpenFGAServiceClient_Write_Call

Jump to

Keyboard shortcuts

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