Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAssertionsBackend
- func (m *MockAssertionsBackend) EXPECT() *MockAssertionsBackendMockRecorder
- func (m *MockAssertionsBackend) ReadAssertions(ctx context.Context, store, modelID string) ([]*openfgav1.Assertion, error)
- func (m *MockAssertionsBackend) WriteAssertions(ctx context.Context, store, modelID string, assertions []*openfgav1.Assertion) error
- type MockAssertionsBackendMockRecorder
- type MockAuthorizationModelBackend
- func (m *MockAuthorizationModelBackend) EXPECT() *MockAuthorizationModelBackendMockRecorder
- func (m *MockAuthorizationModelBackend) FindLatestAuthorizationModelID(ctx context.Context, store string) (string, error)
- func (m *MockAuthorizationModelBackend) MaxTypesPerAuthorizationModel() int
- func (m *MockAuthorizationModelBackend) ReadAuthorizationModel(ctx context.Context, store, id string) (*openfgav1.AuthorizationModel, error)
- func (m *MockAuthorizationModelBackend) ReadAuthorizationModels(ctx context.Context, store string, options storage.PaginationOptions) ([]*openfgav1.AuthorizationModel, []byte, error)
- func (m *MockAuthorizationModelBackend) ReadTypeDefinition(ctx context.Context, store, id, objectType string) (*openfgav1.TypeDefinition, error)
- func (m *MockAuthorizationModelBackend) WriteAuthorizationModel(ctx context.Context, store string, model *openfgav1.AuthorizationModel) error
- type MockAuthorizationModelBackendMockRecorder
- func (mr *MockAuthorizationModelBackendMockRecorder) FindLatestAuthorizationModelID(ctx, store interface{}) *gomock.Call
- func (mr *MockAuthorizationModelBackendMockRecorder) MaxTypesPerAuthorizationModel() *gomock.Call
- func (mr *MockAuthorizationModelBackendMockRecorder) ReadAuthorizationModel(ctx, store, id interface{}) *gomock.Call
- func (mr *MockAuthorizationModelBackendMockRecorder) ReadAuthorizationModels(ctx, store, options interface{}) *gomock.Call
- func (mr *MockAuthorizationModelBackendMockRecorder) ReadTypeDefinition(ctx, store, id, objectType interface{}) *gomock.Call
- func (mr *MockAuthorizationModelBackendMockRecorder) WriteAuthorizationModel(ctx, store, model interface{}) *gomock.Call
- type MockAuthorizationModelReadBackend
- func (m *MockAuthorizationModelReadBackend) EXPECT() *MockAuthorizationModelReadBackendMockRecorder
- func (m *MockAuthorizationModelReadBackend) FindLatestAuthorizationModelID(ctx context.Context, store string) (string, error)
- func (m *MockAuthorizationModelReadBackend) ReadAuthorizationModel(ctx context.Context, store, id string) (*openfgav1.AuthorizationModel, error)
- func (m *MockAuthorizationModelReadBackend) ReadAuthorizationModels(ctx context.Context, store string, options storage.PaginationOptions) ([]*openfgav1.AuthorizationModel, []byte, error)
- type MockAuthorizationModelReadBackendMockRecorder
- func (mr *MockAuthorizationModelReadBackendMockRecorder) FindLatestAuthorizationModelID(ctx, store interface{}) *gomock.Call
- func (mr *MockAuthorizationModelReadBackendMockRecorder) ReadAuthorizationModel(ctx, store, id interface{}) *gomock.Call
- func (mr *MockAuthorizationModelReadBackendMockRecorder) ReadAuthorizationModels(ctx, store, options interface{}) *gomock.Call
- type MockChangelogBackend
- type MockChangelogBackendMockRecorder
- type MockOpenFGADatastore
- func (m *MockOpenFGADatastore) Close()
- func (m *MockOpenFGADatastore) CreateStore(ctx context.Context, store *openfgav1.Store) (*openfgav1.Store, error)
- func (m *MockOpenFGADatastore) DeleteStore(ctx context.Context, id string) error
- func (m *MockOpenFGADatastore) EXPECT() *MockOpenFGADatastoreMockRecorder
- func (m *MockOpenFGADatastore) FindLatestAuthorizationModelID(ctx context.Context, store string) (string, error)
- func (m *MockOpenFGADatastore) GetStore(ctx context.Context, id string) (*openfgav1.Store, error)
- func (m *MockOpenFGADatastore) IsReady(ctx context.Context) (bool, error)
- func (m *MockOpenFGADatastore) ListObjectsByType(ctx context.Context, store, objectType string) (storage.ObjectIterator, error)
- func (m *MockOpenFGADatastore) ListStores(ctx context.Context, paginationOptions storage.PaginationOptions) ([]*openfgav1.Store, []byte, error)
- func (m *MockOpenFGADatastore) MaxTuplesPerWrite() int
- func (m *MockOpenFGADatastore) MaxTypesPerAuthorizationModel() int
- func (m *MockOpenFGADatastore) Read(arg0 context.Context, arg1 string, arg2 *openfgav1.TupleKey) (storage.TupleIterator, error)
- func (m *MockOpenFGADatastore) ReadAssertions(ctx context.Context, store, modelID string) ([]*openfgav1.Assertion, error)
- func (m *MockOpenFGADatastore) ReadAuthorizationModel(ctx context.Context, store, id string) (*openfgav1.AuthorizationModel, error)
- func (m *MockOpenFGADatastore) ReadAuthorizationModels(ctx context.Context, store string, options storage.PaginationOptions) ([]*openfgav1.AuthorizationModel, []byte, error)
- func (m *MockOpenFGADatastore) ReadChanges(ctx context.Context, store, objectType string, ...) ([]*openfgav1.TupleChange, []byte, error)
- func (m *MockOpenFGADatastore) ReadPage(ctx context.Context, store string, tk *openfgav1.TupleKey, ...) ([]*openfgav1.Tuple, []byte, error)
- func (m *MockOpenFGADatastore) ReadStartingWithUser(ctx context.Context, store string, filter storage.ReadStartingWithUserFilter) (storage.TupleIterator, error)
- func (m *MockOpenFGADatastore) ReadTypeDefinition(ctx context.Context, store, id, objectType string) (*openfgav1.TypeDefinition, error)
- func (m *MockOpenFGADatastore) ReadUserTuple(ctx context.Context, store string, tk *openfgav1.TupleKey) (*openfgav1.Tuple, error)
- func (m *MockOpenFGADatastore) ReadUsersetTuples(ctx context.Context, store string, filter storage.ReadUsersetTuplesFilter) (storage.TupleIterator, error)
- func (m *MockOpenFGADatastore) Write(ctx context.Context, store string, d storage.Deletes, w storage.Writes) error
- func (m *MockOpenFGADatastore) WriteAssertions(ctx context.Context, store, modelID string, assertions []*openfgav1.Assertion) error
- func (m *MockOpenFGADatastore) WriteAuthorizationModel(ctx context.Context, store string, model *openfgav1.AuthorizationModel) error
- type MockOpenFGADatastoreMockRecorder
- func (mr *MockOpenFGADatastoreMockRecorder) Close() *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) CreateStore(ctx, store interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) DeleteStore(ctx, id interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) FindLatestAuthorizationModelID(ctx, store interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) GetStore(ctx, id interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) IsReady(ctx interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) ListObjectsByType(ctx, store, objectType interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) ListStores(ctx, paginationOptions interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) MaxTuplesPerWrite() *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) MaxTypesPerAuthorizationModel() *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) Read(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) ReadAssertions(ctx, store, modelID interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) ReadAuthorizationModel(ctx, store, id interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) ReadAuthorizationModels(ctx, store, options interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) ReadChanges(ctx, store, objectType, paginationOptions, horizonOffset interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) ReadPage(ctx, store, tk, opts interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) ReadStartingWithUser(ctx, store, filter interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) ReadTypeDefinition(ctx, store, id, objectType interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) ReadUserTuple(ctx, store, tk interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) ReadUsersetTuples(ctx, store, filter interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) Write(ctx, store, d, w interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) WriteAssertions(ctx, store, modelID, assertions interface{}) *gomock.Call
- func (mr *MockOpenFGADatastoreMockRecorder) WriteAuthorizationModel(ctx, store, model interface{}) *gomock.Call
- type MockRelationshipTupleReader
- func (m *MockRelationshipTupleReader) EXPECT() *MockRelationshipTupleReaderMockRecorder
- func (m *MockRelationshipTupleReader) ListObjectsByType(ctx context.Context, store, objectType string) (storage.ObjectIterator, error)
- func (m *MockRelationshipTupleReader) Read(arg0 context.Context, arg1 string, arg2 *openfgav1.TupleKey) (storage.TupleIterator, error)
- func (m *MockRelationshipTupleReader) ReadPage(ctx context.Context, store string, tk *openfgav1.TupleKey, ...) ([]*openfgav1.Tuple, []byte, error)
- func (m *MockRelationshipTupleReader) ReadStartingWithUser(ctx context.Context, store string, filter storage.ReadStartingWithUserFilter) (storage.TupleIterator, error)
- func (m *MockRelationshipTupleReader) ReadUserTuple(ctx context.Context, store string, tk *openfgav1.TupleKey) (*openfgav1.Tuple, error)
- func (m *MockRelationshipTupleReader) ReadUsersetTuples(ctx context.Context, store string, filter storage.ReadUsersetTuplesFilter) (storage.TupleIterator, error)
- type MockRelationshipTupleReaderMockRecorder
- func (mr *MockRelationshipTupleReaderMockRecorder) ListObjectsByType(ctx, store, objectType interface{}) *gomock.Call
- func (mr *MockRelationshipTupleReaderMockRecorder) Read(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRelationshipTupleReaderMockRecorder) ReadPage(ctx, store, tk, opts interface{}) *gomock.Call
- func (mr *MockRelationshipTupleReaderMockRecorder) ReadStartingWithUser(ctx, store, filter interface{}) *gomock.Call
- func (mr *MockRelationshipTupleReaderMockRecorder) ReadUserTuple(ctx, store, tk interface{}) *gomock.Call
- func (mr *MockRelationshipTupleReaderMockRecorder) ReadUsersetTuples(ctx, store, filter interface{}) *gomock.Call
- type MockRelationshipTupleWriter
- type MockRelationshipTupleWriterMockRecorder
- type MockStoresBackend
- func (m *MockStoresBackend) CreateStore(ctx context.Context, store *openfgav1.Store) (*openfgav1.Store, error)
- func (m *MockStoresBackend) DeleteStore(ctx context.Context, id string) error
- func (m *MockStoresBackend) EXPECT() *MockStoresBackendMockRecorder
- func (m *MockStoresBackend) GetStore(ctx context.Context, id string) (*openfgav1.Store, error)
- func (m *MockStoresBackend) ListStores(ctx context.Context, paginationOptions storage.PaginationOptions) ([]*openfgav1.Store, []byte, error)
- type MockStoresBackendMockRecorder
- func (mr *MockStoresBackendMockRecorder) CreateStore(ctx, store interface{}) *gomock.Call
- func (mr *MockStoresBackendMockRecorder) DeleteStore(ctx, id interface{}) *gomock.Call
- func (mr *MockStoresBackendMockRecorder) GetStore(ctx, id interface{}) *gomock.Call
- func (mr *MockStoresBackendMockRecorder) ListStores(ctx, paginationOptions interface{}) *gomock.Call
- type MockTupleBackend
- func (m *MockTupleBackend) EXPECT() *MockTupleBackendMockRecorder
- func (m *MockTupleBackend) ListObjectsByType(ctx context.Context, store, objectType string) (storage.ObjectIterator, error)
- func (m *MockTupleBackend) MaxTuplesPerWrite() int
- func (m *MockTupleBackend) Read(arg0 context.Context, arg1 string, arg2 *openfgav1.TupleKey) (storage.TupleIterator, error)
- func (m *MockTupleBackend) ReadPage(ctx context.Context, store string, tk *openfgav1.TupleKey, ...) ([]*openfgav1.Tuple, []byte, error)
- func (m *MockTupleBackend) ReadStartingWithUser(ctx context.Context, store string, filter storage.ReadStartingWithUserFilter) (storage.TupleIterator, error)
- func (m *MockTupleBackend) ReadUserTuple(ctx context.Context, store string, tk *openfgav1.TupleKey) (*openfgav1.Tuple, error)
- func (m *MockTupleBackend) ReadUsersetTuples(ctx context.Context, store string, filter storage.ReadUsersetTuplesFilter) (storage.TupleIterator, error)
- func (m *MockTupleBackend) Write(ctx context.Context, store string, d storage.Deletes, w storage.Writes) error
- type MockTupleBackendMockRecorder
- func (mr *MockTupleBackendMockRecorder) ListObjectsByType(ctx, store, objectType interface{}) *gomock.Call
- func (mr *MockTupleBackendMockRecorder) MaxTuplesPerWrite() *gomock.Call
- func (mr *MockTupleBackendMockRecorder) Read(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTupleBackendMockRecorder) ReadPage(ctx, store, tk, opts interface{}) *gomock.Call
- func (mr *MockTupleBackendMockRecorder) ReadStartingWithUser(ctx, store, filter interface{}) *gomock.Call
- func (mr *MockTupleBackendMockRecorder) ReadUserTuple(ctx, store, tk interface{}) *gomock.Call
- func (mr *MockTupleBackendMockRecorder) ReadUsersetTuples(ctx, store, filter interface{}) *gomock.Call
- func (mr *MockTupleBackendMockRecorder) Write(ctx, store, d, w interface{}) *gomock.Call
- type MockTypeDefinitionReadBackend
- type MockTypeDefinitionReadBackendMockRecorder
- type MockTypeDefinitionWriteBackend
- func (m *MockTypeDefinitionWriteBackend) EXPECT() *MockTypeDefinitionWriteBackendMockRecorder
- func (m *MockTypeDefinitionWriteBackend) MaxTypesPerAuthorizationModel() int
- func (m *MockTypeDefinitionWriteBackend) WriteAuthorizationModel(ctx context.Context, store string, model *openfgav1.AuthorizationModel) error
- type MockTypeDefinitionWriteBackendMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAssertionsBackend ¶
type MockAssertionsBackend struct {
// contains filtered or unexported fields
}
MockAssertionsBackend is a mock of AssertionsBackend interface.
func NewMockAssertionsBackend ¶
func NewMockAssertionsBackend(ctrl *gomock.Controller) *MockAssertionsBackend
NewMockAssertionsBackend creates a new mock instance.
func (*MockAssertionsBackend) EXPECT ¶
func (m *MockAssertionsBackend) EXPECT() *MockAssertionsBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAssertionsBackend) ReadAssertions ¶
func (m *MockAssertionsBackend) ReadAssertions(ctx context.Context, store, modelID string) ([]*openfgav1.Assertion, error)
ReadAssertions mocks base method.
func (*MockAssertionsBackend) WriteAssertions ¶
func (m *MockAssertionsBackend) WriteAssertions(ctx context.Context, store, modelID string, assertions []*openfgav1.Assertion) error
WriteAssertions mocks base method.
type MockAssertionsBackendMockRecorder ¶
type MockAssertionsBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockAssertionsBackendMockRecorder is the mock recorder for MockAssertionsBackend.
func (*MockAssertionsBackendMockRecorder) ReadAssertions ¶
func (mr *MockAssertionsBackendMockRecorder) ReadAssertions(ctx, store, modelID interface{}) *gomock.Call
ReadAssertions indicates an expected call of ReadAssertions.
func (*MockAssertionsBackendMockRecorder) WriteAssertions ¶
func (mr *MockAssertionsBackendMockRecorder) WriteAssertions(ctx, store, modelID, assertions interface{}) *gomock.Call
WriteAssertions indicates an expected call of WriteAssertions.
type MockAuthorizationModelBackend ¶
type MockAuthorizationModelBackend struct {
// contains filtered or unexported fields
}
MockAuthorizationModelBackend is a mock of AuthorizationModelBackend interface.
func NewMockAuthorizationModelBackend ¶
func NewMockAuthorizationModelBackend(ctrl *gomock.Controller) *MockAuthorizationModelBackend
NewMockAuthorizationModelBackend creates a new mock instance.
func (*MockAuthorizationModelBackend) EXPECT ¶
func (m *MockAuthorizationModelBackend) EXPECT() *MockAuthorizationModelBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthorizationModelBackend) FindLatestAuthorizationModelID ¶
func (m *MockAuthorizationModelBackend) FindLatestAuthorizationModelID(ctx context.Context, store string) (string, error)
FindLatestAuthorizationModelID mocks base method.
func (*MockAuthorizationModelBackend) MaxTypesPerAuthorizationModel ¶
func (m *MockAuthorizationModelBackend) MaxTypesPerAuthorizationModel() int
MaxTypesPerAuthorizationModel mocks base method.
func (*MockAuthorizationModelBackend) ReadAuthorizationModel ¶
func (m *MockAuthorizationModelBackend) ReadAuthorizationModel(ctx context.Context, store, id string) (*openfgav1.AuthorizationModel, error)
ReadAuthorizationModel mocks base method.
func (*MockAuthorizationModelBackend) ReadAuthorizationModels ¶
func (m *MockAuthorizationModelBackend) ReadAuthorizationModels(ctx context.Context, store string, options storage.PaginationOptions) ([]*openfgav1.AuthorizationModel, []byte, error)
ReadAuthorizationModels mocks base method.
func (*MockAuthorizationModelBackend) ReadTypeDefinition ¶
func (m *MockAuthorizationModelBackend) ReadTypeDefinition(ctx context.Context, store, id, objectType string) (*openfgav1.TypeDefinition, error)
ReadTypeDefinition mocks base method.
func (*MockAuthorizationModelBackend) WriteAuthorizationModel ¶
func (m *MockAuthorizationModelBackend) WriteAuthorizationModel(ctx context.Context, store string, model *openfgav1.AuthorizationModel) error
WriteAuthorizationModel mocks base method.
type MockAuthorizationModelBackendMockRecorder ¶
type MockAuthorizationModelBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationModelBackendMockRecorder is the mock recorder for MockAuthorizationModelBackend.
func (*MockAuthorizationModelBackendMockRecorder) FindLatestAuthorizationModelID ¶
func (mr *MockAuthorizationModelBackendMockRecorder) FindLatestAuthorizationModelID(ctx, store interface{}) *gomock.Call
FindLatestAuthorizationModelID indicates an expected call of FindLatestAuthorizationModelID.
func (*MockAuthorizationModelBackendMockRecorder) MaxTypesPerAuthorizationModel ¶
func (mr *MockAuthorizationModelBackendMockRecorder) MaxTypesPerAuthorizationModel() *gomock.Call
MaxTypesPerAuthorizationModel indicates an expected call of MaxTypesPerAuthorizationModel.
func (*MockAuthorizationModelBackendMockRecorder) ReadAuthorizationModel ¶
func (mr *MockAuthorizationModelBackendMockRecorder) ReadAuthorizationModel(ctx, store, id interface{}) *gomock.Call
ReadAuthorizationModel indicates an expected call of ReadAuthorizationModel.
func (*MockAuthorizationModelBackendMockRecorder) ReadAuthorizationModels ¶
func (mr *MockAuthorizationModelBackendMockRecorder) ReadAuthorizationModels(ctx, store, options interface{}) *gomock.Call
ReadAuthorizationModels indicates an expected call of ReadAuthorizationModels.
func (*MockAuthorizationModelBackendMockRecorder) ReadTypeDefinition ¶
func (mr *MockAuthorizationModelBackendMockRecorder) ReadTypeDefinition(ctx, store, id, objectType interface{}) *gomock.Call
ReadTypeDefinition indicates an expected call of ReadTypeDefinition.
func (*MockAuthorizationModelBackendMockRecorder) WriteAuthorizationModel ¶
func (mr *MockAuthorizationModelBackendMockRecorder) WriteAuthorizationModel(ctx, store, model interface{}) *gomock.Call
WriteAuthorizationModel indicates an expected call of WriteAuthorizationModel.
type MockAuthorizationModelReadBackend ¶
type MockAuthorizationModelReadBackend struct {
// contains filtered or unexported fields
}
MockAuthorizationModelReadBackend is a mock of AuthorizationModelReadBackend interface.
func NewMockAuthorizationModelReadBackend ¶
func NewMockAuthorizationModelReadBackend(ctrl *gomock.Controller) *MockAuthorizationModelReadBackend
NewMockAuthorizationModelReadBackend creates a new mock instance.
func (*MockAuthorizationModelReadBackend) EXPECT ¶
func (m *MockAuthorizationModelReadBackend) EXPECT() *MockAuthorizationModelReadBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthorizationModelReadBackend) FindLatestAuthorizationModelID ¶
func (m *MockAuthorizationModelReadBackend) FindLatestAuthorizationModelID(ctx context.Context, store string) (string, error)
FindLatestAuthorizationModelID mocks base method.
func (*MockAuthorizationModelReadBackend) ReadAuthorizationModel ¶
func (m *MockAuthorizationModelReadBackend) ReadAuthorizationModel(ctx context.Context, store, id string) (*openfgav1.AuthorizationModel, error)
ReadAuthorizationModel mocks base method.
func (*MockAuthorizationModelReadBackend) ReadAuthorizationModels ¶
func (m *MockAuthorizationModelReadBackend) ReadAuthorizationModels(ctx context.Context, store string, options storage.PaginationOptions) ([]*openfgav1.AuthorizationModel, []byte, error)
ReadAuthorizationModels mocks base method.
type MockAuthorizationModelReadBackendMockRecorder ¶
type MockAuthorizationModelReadBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationModelReadBackendMockRecorder is the mock recorder for MockAuthorizationModelReadBackend.
func (*MockAuthorizationModelReadBackendMockRecorder) FindLatestAuthorizationModelID ¶
func (mr *MockAuthorizationModelReadBackendMockRecorder) FindLatestAuthorizationModelID(ctx, store interface{}) *gomock.Call
FindLatestAuthorizationModelID indicates an expected call of FindLatestAuthorizationModelID.
func (*MockAuthorizationModelReadBackendMockRecorder) ReadAuthorizationModel ¶
func (mr *MockAuthorizationModelReadBackendMockRecorder) ReadAuthorizationModel(ctx, store, id interface{}) *gomock.Call
ReadAuthorizationModel indicates an expected call of ReadAuthorizationModel.
func (*MockAuthorizationModelReadBackendMockRecorder) ReadAuthorizationModels ¶
func (mr *MockAuthorizationModelReadBackendMockRecorder) ReadAuthorizationModels(ctx, store, options interface{}) *gomock.Call
ReadAuthorizationModels indicates an expected call of ReadAuthorizationModels.
type MockChangelogBackend ¶
type MockChangelogBackend struct {
// contains filtered or unexported fields
}
MockChangelogBackend is a mock of ChangelogBackend interface.
func NewMockChangelogBackend ¶
func NewMockChangelogBackend(ctrl *gomock.Controller) *MockChangelogBackend
NewMockChangelogBackend creates a new mock instance.
func (*MockChangelogBackend) EXPECT ¶
func (m *MockChangelogBackend) EXPECT() *MockChangelogBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChangelogBackend) ReadChanges ¶
func (m *MockChangelogBackend) ReadChanges(ctx context.Context, store, objectType string, paginationOptions storage.PaginationOptions, horizonOffset time.Duration) ([]*openfgav1.TupleChange, []byte, error)
ReadChanges mocks base method.
type MockChangelogBackendMockRecorder ¶
type MockChangelogBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockChangelogBackendMockRecorder is the mock recorder for MockChangelogBackend.
func (*MockChangelogBackendMockRecorder) ReadChanges ¶
func (mr *MockChangelogBackendMockRecorder) ReadChanges(ctx, store, objectType, paginationOptions, horizonOffset interface{}) *gomock.Call
ReadChanges indicates an expected call of ReadChanges.
type MockOpenFGADatastore ¶
type MockOpenFGADatastore struct {
// contains filtered or unexported fields
}
MockOpenFGADatastore is a mock of OpenFGADatastore interface.
func NewMockOpenFGADatastore ¶
func NewMockOpenFGADatastore(ctrl *gomock.Controller) *MockOpenFGADatastore
NewMockOpenFGADatastore creates a new mock instance.
func (*MockOpenFGADatastore) Close ¶
func (m *MockOpenFGADatastore) Close()
Close mocks base method.
func (*MockOpenFGADatastore) CreateStore ¶
func (m *MockOpenFGADatastore) CreateStore(ctx context.Context, store *openfgav1.Store) (*openfgav1.Store, error)
CreateStore mocks base method.
func (*MockOpenFGADatastore) DeleteStore ¶
func (m *MockOpenFGADatastore) DeleteStore(ctx context.Context, id string) error
DeleteStore mocks base method.
func (*MockOpenFGADatastore) EXPECT ¶
func (m *MockOpenFGADatastore) EXPECT() *MockOpenFGADatastoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOpenFGADatastore) FindLatestAuthorizationModelID ¶
func (m *MockOpenFGADatastore) FindLatestAuthorizationModelID(ctx context.Context, store string) (string, error)
FindLatestAuthorizationModelID mocks base method.
func (*MockOpenFGADatastore) IsReady ¶
func (m *MockOpenFGADatastore) IsReady(ctx context.Context) (bool, error)
IsReady mocks base method.
func (*MockOpenFGADatastore) ListObjectsByType ¶
func (m *MockOpenFGADatastore) ListObjectsByType(ctx context.Context, store, objectType string) (storage.ObjectIterator, error)
ListObjectsByType mocks base method.
func (*MockOpenFGADatastore) ListStores ¶
func (m *MockOpenFGADatastore) ListStores(ctx context.Context, paginationOptions storage.PaginationOptions) ([]*openfgav1.Store, []byte, error)
ListStores mocks base method.
func (*MockOpenFGADatastore) MaxTuplesPerWrite ¶
func (m *MockOpenFGADatastore) MaxTuplesPerWrite() int
MaxTuplesPerWrite mocks base method.
func (*MockOpenFGADatastore) MaxTypesPerAuthorizationModel ¶
func (m *MockOpenFGADatastore) MaxTypesPerAuthorizationModel() int
MaxTypesPerAuthorizationModel mocks base method.
func (*MockOpenFGADatastore) Read ¶
func (m *MockOpenFGADatastore) Read(arg0 context.Context, arg1 string, arg2 *openfgav1.TupleKey) (storage.TupleIterator, error)
Read mocks base method.
func (*MockOpenFGADatastore) ReadAssertions ¶
func (m *MockOpenFGADatastore) ReadAssertions(ctx context.Context, store, modelID string) ([]*openfgav1.Assertion, error)
ReadAssertions mocks base method.
func (*MockOpenFGADatastore) ReadAuthorizationModel ¶
func (m *MockOpenFGADatastore) ReadAuthorizationModel(ctx context.Context, store, id string) (*openfgav1.AuthorizationModel, error)
ReadAuthorizationModel mocks base method.
func (*MockOpenFGADatastore) ReadAuthorizationModels ¶
func (m *MockOpenFGADatastore) ReadAuthorizationModels(ctx context.Context, store string, options storage.PaginationOptions) ([]*openfgav1.AuthorizationModel, []byte, error)
ReadAuthorizationModels mocks base method.
func (*MockOpenFGADatastore) ReadChanges ¶
func (m *MockOpenFGADatastore) ReadChanges(ctx context.Context, store, objectType string, paginationOptions storage.PaginationOptions, horizonOffset time.Duration) ([]*openfgav1.TupleChange, []byte, error)
ReadChanges mocks base method.
func (*MockOpenFGADatastore) ReadPage ¶
func (m *MockOpenFGADatastore) ReadPage(ctx context.Context, store string, tk *openfgav1.TupleKey, opts storage.PaginationOptions) ([]*openfgav1.Tuple, []byte, error)
ReadPage mocks base method.
func (*MockOpenFGADatastore) ReadStartingWithUser ¶
func (m *MockOpenFGADatastore) ReadStartingWithUser(ctx context.Context, store string, filter storage.ReadStartingWithUserFilter) (storage.TupleIterator, error)
ReadStartingWithUser mocks base method.
func (*MockOpenFGADatastore) ReadTypeDefinition ¶
func (m *MockOpenFGADatastore) ReadTypeDefinition(ctx context.Context, store, id, objectType string) (*openfgav1.TypeDefinition, error)
ReadTypeDefinition mocks base method.
func (*MockOpenFGADatastore) ReadUserTuple ¶
func (m *MockOpenFGADatastore) ReadUserTuple(ctx context.Context, store string, tk *openfgav1.TupleKey) (*openfgav1.Tuple, error)
ReadUserTuple mocks base method.
func (*MockOpenFGADatastore) ReadUsersetTuples ¶
func (m *MockOpenFGADatastore) ReadUsersetTuples(ctx context.Context, store string, filter storage.ReadUsersetTuplesFilter) (storage.TupleIterator, error)
ReadUsersetTuples mocks base method.
func (*MockOpenFGADatastore) Write ¶
func (m *MockOpenFGADatastore) Write(ctx context.Context, store string, d storage.Deletes, w storage.Writes) error
Write mocks base method.
func (*MockOpenFGADatastore) WriteAssertions ¶
func (m *MockOpenFGADatastore) WriteAssertions(ctx context.Context, store, modelID string, assertions []*openfgav1.Assertion) error
WriteAssertions mocks base method.
func (*MockOpenFGADatastore) WriteAuthorizationModel ¶
func (m *MockOpenFGADatastore) WriteAuthorizationModel(ctx context.Context, store string, model *openfgav1.AuthorizationModel) error
WriteAuthorizationModel mocks base method.
type MockOpenFGADatastoreMockRecorder ¶
type MockOpenFGADatastoreMockRecorder struct {
// contains filtered or unexported fields
}
MockOpenFGADatastoreMockRecorder is the mock recorder for MockOpenFGADatastore.
func (*MockOpenFGADatastoreMockRecorder) Close ¶
func (mr *MockOpenFGADatastoreMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockOpenFGADatastoreMockRecorder) CreateStore ¶
func (mr *MockOpenFGADatastoreMockRecorder) CreateStore(ctx, store interface{}) *gomock.Call
CreateStore indicates an expected call of CreateStore.
func (*MockOpenFGADatastoreMockRecorder) DeleteStore ¶
func (mr *MockOpenFGADatastoreMockRecorder) DeleteStore(ctx, id interface{}) *gomock.Call
DeleteStore indicates an expected call of DeleteStore.
func (*MockOpenFGADatastoreMockRecorder) FindLatestAuthorizationModelID ¶
func (mr *MockOpenFGADatastoreMockRecorder) FindLatestAuthorizationModelID(ctx, store interface{}) *gomock.Call
FindLatestAuthorizationModelID indicates an expected call of FindLatestAuthorizationModelID.
func (*MockOpenFGADatastoreMockRecorder) GetStore ¶
func (mr *MockOpenFGADatastoreMockRecorder) GetStore(ctx, id interface{}) *gomock.Call
GetStore indicates an expected call of GetStore.
func (*MockOpenFGADatastoreMockRecorder) IsReady ¶
func (mr *MockOpenFGADatastoreMockRecorder) IsReady(ctx interface{}) *gomock.Call
IsReady indicates an expected call of IsReady.
func (*MockOpenFGADatastoreMockRecorder) ListObjectsByType ¶
func (mr *MockOpenFGADatastoreMockRecorder) ListObjectsByType(ctx, store, objectType interface{}) *gomock.Call
ListObjectsByType indicates an expected call of ListObjectsByType.
func (*MockOpenFGADatastoreMockRecorder) ListStores ¶
func (mr *MockOpenFGADatastoreMockRecorder) ListStores(ctx, paginationOptions interface{}) *gomock.Call
ListStores indicates an expected call of ListStores.
func (*MockOpenFGADatastoreMockRecorder) MaxTuplesPerWrite ¶
func (mr *MockOpenFGADatastoreMockRecorder) MaxTuplesPerWrite() *gomock.Call
MaxTuplesPerWrite indicates an expected call of MaxTuplesPerWrite.
func (*MockOpenFGADatastoreMockRecorder) MaxTypesPerAuthorizationModel ¶
func (mr *MockOpenFGADatastoreMockRecorder) MaxTypesPerAuthorizationModel() *gomock.Call
MaxTypesPerAuthorizationModel indicates an expected call of MaxTypesPerAuthorizationModel.
func (*MockOpenFGADatastoreMockRecorder) Read ¶
func (mr *MockOpenFGADatastoreMockRecorder) Read(arg0, arg1, arg2 interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockOpenFGADatastoreMockRecorder) ReadAssertions ¶
func (mr *MockOpenFGADatastoreMockRecorder) ReadAssertions(ctx, store, modelID interface{}) *gomock.Call
ReadAssertions indicates an expected call of ReadAssertions.
func (*MockOpenFGADatastoreMockRecorder) ReadAuthorizationModel ¶
func (mr *MockOpenFGADatastoreMockRecorder) ReadAuthorizationModel(ctx, store, id interface{}) *gomock.Call
ReadAuthorizationModel indicates an expected call of ReadAuthorizationModel.
func (*MockOpenFGADatastoreMockRecorder) ReadAuthorizationModels ¶
func (mr *MockOpenFGADatastoreMockRecorder) ReadAuthorizationModels(ctx, store, options interface{}) *gomock.Call
ReadAuthorizationModels indicates an expected call of ReadAuthorizationModels.
func (*MockOpenFGADatastoreMockRecorder) ReadChanges ¶
func (mr *MockOpenFGADatastoreMockRecorder) ReadChanges(ctx, store, objectType, paginationOptions, horizonOffset interface{}) *gomock.Call
ReadChanges indicates an expected call of ReadChanges.
func (*MockOpenFGADatastoreMockRecorder) ReadPage ¶
func (mr *MockOpenFGADatastoreMockRecorder) ReadPage(ctx, store, tk, opts interface{}) *gomock.Call
ReadPage indicates an expected call of ReadPage.
func (*MockOpenFGADatastoreMockRecorder) ReadStartingWithUser ¶
func (mr *MockOpenFGADatastoreMockRecorder) ReadStartingWithUser(ctx, store, filter interface{}) *gomock.Call
ReadStartingWithUser indicates an expected call of ReadStartingWithUser.
func (*MockOpenFGADatastoreMockRecorder) ReadTypeDefinition ¶
func (mr *MockOpenFGADatastoreMockRecorder) ReadTypeDefinition(ctx, store, id, objectType interface{}) *gomock.Call
ReadTypeDefinition indicates an expected call of ReadTypeDefinition.
func (*MockOpenFGADatastoreMockRecorder) ReadUserTuple ¶
func (mr *MockOpenFGADatastoreMockRecorder) ReadUserTuple(ctx, store, tk interface{}) *gomock.Call
ReadUserTuple indicates an expected call of ReadUserTuple.
func (*MockOpenFGADatastoreMockRecorder) ReadUsersetTuples ¶
func (mr *MockOpenFGADatastoreMockRecorder) ReadUsersetTuples(ctx, store, filter interface{}) *gomock.Call
ReadUsersetTuples indicates an expected call of ReadUsersetTuples.
func (*MockOpenFGADatastoreMockRecorder) Write ¶
func (mr *MockOpenFGADatastoreMockRecorder) Write(ctx, store, d, w interface{}) *gomock.Call
Write indicates an expected call of Write.
func (*MockOpenFGADatastoreMockRecorder) WriteAssertions ¶
func (mr *MockOpenFGADatastoreMockRecorder) WriteAssertions(ctx, store, modelID, assertions interface{}) *gomock.Call
WriteAssertions indicates an expected call of WriteAssertions.
func (*MockOpenFGADatastoreMockRecorder) WriteAuthorizationModel ¶
func (mr *MockOpenFGADatastoreMockRecorder) WriteAuthorizationModel(ctx, store, model interface{}) *gomock.Call
WriteAuthorizationModel indicates an expected call of WriteAuthorizationModel.
type MockRelationshipTupleReader ¶
type MockRelationshipTupleReader struct {
// contains filtered or unexported fields
}
MockRelationshipTupleReader is a mock of RelationshipTupleReader interface.
func NewMockRelationshipTupleReader ¶
func NewMockRelationshipTupleReader(ctrl *gomock.Controller) *MockRelationshipTupleReader
NewMockRelationshipTupleReader creates a new mock instance.
func (*MockRelationshipTupleReader) EXPECT ¶
func (m *MockRelationshipTupleReader) EXPECT() *MockRelationshipTupleReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelationshipTupleReader) ListObjectsByType ¶ added in v0.4.3
func (m *MockRelationshipTupleReader) ListObjectsByType(ctx context.Context, store, objectType string) (storage.ObjectIterator, error)
ListObjectsByType mocks base method.
func (*MockRelationshipTupleReader) Read ¶
func (m *MockRelationshipTupleReader) Read(arg0 context.Context, arg1 string, arg2 *openfgav1.TupleKey) (storage.TupleIterator, error)
Read mocks base method.
func (*MockRelationshipTupleReader) ReadPage ¶
func (m *MockRelationshipTupleReader) ReadPage(ctx context.Context, store string, tk *openfgav1.TupleKey, opts storage.PaginationOptions) ([]*openfgav1.Tuple, []byte, error)
ReadPage mocks base method.
func (*MockRelationshipTupleReader) ReadStartingWithUser ¶
func (m *MockRelationshipTupleReader) ReadStartingWithUser(ctx context.Context, store string, filter storage.ReadStartingWithUserFilter) (storage.TupleIterator, error)
ReadStartingWithUser mocks base method.
func (*MockRelationshipTupleReader) ReadUserTuple ¶
func (m *MockRelationshipTupleReader) ReadUserTuple(ctx context.Context, store string, tk *openfgav1.TupleKey) (*openfgav1.Tuple, error)
ReadUserTuple mocks base method.
func (*MockRelationshipTupleReader) ReadUsersetTuples ¶
func (m *MockRelationshipTupleReader) ReadUsersetTuples(ctx context.Context, store string, filter storage.ReadUsersetTuplesFilter) (storage.TupleIterator, error)
ReadUsersetTuples mocks base method.
type MockRelationshipTupleReaderMockRecorder ¶
type MockRelationshipTupleReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockRelationshipTupleReaderMockRecorder is the mock recorder for MockRelationshipTupleReader.
func (*MockRelationshipTupleReaderMockRecorder) ListObjectsByType ¶ added in v0.4.3
func (mr *MockRelationshipTupleReaderMockRecorder) ListObjectsByType(ctx, store, objectType interface{}) *gomock.Call
ListObjectsByType indicates an expected call of ListObjectsByType.
func (*MockRelationshipTupleReaderMockRecorder) Read ¶
func (mr *MockRelationshipTupleReaderMockRecorder) Read(arg0, arg1, arg2 interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockRelationshipTupleReaderMockRecorder) ReadPage ¶
func (mr *MockRelationshipTupleReaderMockRecorder) ReadPage(ctx, store, tk, opts interface{}) *gomock.Call
ReadPage indicates an expected call of ReadPage.
func (*MockRelationshipTupleReaderMockRecorder) ReadStartingWithUser ¶
func (mr *MockRelationshipTupleReaderMockRecorder) ReadStartingWithUser(ctx, store, filter interface{}) *gomock.Call
ReadStartingWithUser indicates an expected call of ReadStartingWithUser.
func (*MockRelationshipTupleReaderMockRecorder) ReadUserTuple ¶
func (mr *MockRelationshipTupleReaderMockRecorder) ReadUserTuple(ctx, store, tk interface{}) *gomock.Call
ReadUserTuple indicates an expected call of ReadUserTuple.
func (*MockRelationshipTupleReaderMockRecorder) ReadUsersetTuples ¶
func (mr *MockRelationshipTupleReaderMockRecorder) ReadUsersetTuples(ctx, store, filter interface{}) *gomock.Call
ReadUsersetTuples indicates an expected call of ReadUsersetTuples.
type MockRelationshipTupleWriter ¶
type MockRelationshipTupleWriter struct {
// contains filtered or unexported fields
}
MockRelationshipTupleWriter is a mock of RelationshipTupleWriter interface.
func NewMockRelationshipTupleWriter ¶
func NewMockRelationshipTupleWriter(ctrl *gomock.Controller) *MockRelationshipTupleWriter
NewMockRelationshipTupleWriter creates a new mock instance.
func (*MockRelationshipTupleWriter) EXPECT ¶
func (m *MockRelationshipTupleWriter) EXPECT() *MockRelationshipTupleWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelationshipTupleWriter) MaxTuplesPerWrite ¶
func (m *MockRelationshipTupleWriter) MaxTuplesPerWrite() int
MaxTuplesPerWrite mocks base method.
type MockRelationshipTupleWriterMockRecorder ¶
type MockRelationshipTupleWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockRelationshipTupleWriterMockRecorder is the mock recorder for MockRelationshipTupleWriter.
func (*MockRelationshipTupleWriterMockRecorder) MaxTuplesPerWrite ¶
func (mr *MockRelationshipTupleWriterMockRecorder) MaxTuplesPerWrite() *gomock.Call
MaxTuplesPerWrite indicates an expected call of MaxTuplesPerWrite.
func (*MockRelationshipTupleWriterMockRecorder) Write ¶
func (mr *MockRelationshipTupleWriterMockRecorder) Write(ctx, store, d, w interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockStoresBackend ¶
type MockStoresBackend struct {
// contains filtered or unexported fields
}
MockStoresBackend is a mock of StoresBackend interface.
func NewMockStoresBackend ¶
func NewMockStoresBackend(ctrl *gomock.Controller) *MockStoresBackend
NewMockStoresBackend creates a new mock instance.
func (*MockStoresBackend) CreateStore ¶
func (m *MockStoresBackend) CreateStore(ctx context.Context, store *openfgav1.Store) (*openfgav1.Store, error)
CreateStore mocks base method.
func (*MockStoresBackend) DeleteStore ¶
func (m *MockStoresBackend) DeleteStore(ctx context.Context, id string) error
DeleteStore mocks base method.
func (*MockStoresBackend) EXPECT ¶
func (m *MockStoresBackend) EXPECT() *MockStoresBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStoresBackend) ListStores ¶
func (m *MockStoresBackend) ListStores(ctx context.Context, paginationOptions storage.PaginationOptions) ([]*openfgav1.Store, []byte, error)
ListStores mocks base method.
type MockStoresBackendMockRecorder ¶
type MockStoresBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockStoresBackendMockRecorder is the mock recorder for MockStoresBackend.
func (*MockStoresBackendMockRecorder) CreateStore ¶
func (mr *MockStoresBackendMockRecorder) CreateStore(ctx, store interface{}) *gomock.Call
CreateStore indicates an expected call of CreateStore.
func (*MockStoresBackendMockRecorder) DeleteStore ¶
func (mr *MockStoresBackendMockRecorder) DeleteStore(ctx, id interface{}) *gomock.Call
DeleteStore indicates an expected call of DeleteStore.
func (*MockStoresBackendMockRecorder) GetStore ¶
func (mr *MockStoresBackendMockRecorder) GetStore(ctx, id interface{}) *gomock.Call
GetStore indicates an expected call of GetStore.
func (*MockStoresBackendMockRecorder) ListStores ¶
func (mr *MockStoresBackendMockRecorder) ListStores(ctx, paginationOptions interface{}) *gomock.Call
ListStores indicates an expected call of ListStores.
type MockTupleBackend ¶
type MockTupleBackend struct {
// contains filtered or unexported fields
}
MockTupleBackend is a mock of TupleBackend interface.
func NewMockTupleBackend ¶
func NewMockTupleBackend(ctrl *gomock.Controller) *MockTupleBackend
NewMockTupleBackend creates a new mock instance.
func (*MockTupleBackend) EXPECT ¶
func (m *MockTupleBackend) EXPECT() *MockTupleBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTupleBackend) ListObjectsByType ¶
func (m *MockTupleBackend) ListObjectsByType(ctx context.Context, store, objectType string) (storage.ObjectIterator, error)
ListObjectsByType mocks base method.
func (*MockTupleBackend) MaxTuplesPerWrite ¶
func (m *MockTupleBackend) MaxTuplesPerWrite() int
MaxTuplesPerWrite mocks base method.
func (*MockTupleBackend) Read ¶
func (m *MockTupleBackend) Read(arg0 context.Context, arg1 string, arg2 *openfgav1.TupleKey) (storage.TupleIterator, error)
Read mocks base method.
func (*MockTupleBackend) ReadPage ¶
func (m *MockTupleBackend) ReadPage(ctx context.Context, store string, tk *openfgav1.TupleKey, opts storage.PaginationOptions) ([]*openfgav1.Tuple, []byte, error)
ReadPage mocks base method.
func (*MockTupleBackend) ReadStartingWithUser ¶
func (m *MockTupleBackend) ReadStartingWithUser(ctx context.Context, store string, filter storage.ReadStartingWithUserFilter) (storage.TupleIterator, error)
ReadStartingWithUser mocks base method.
func (*MockTupleBackend) ReadUserTuple ¶
func (m *MockTupleBackend) ReadUserTuple(ctx context.Context, store string, tk *openfgav1.TupleKey) (*openfgav1.Tuple, error)
ReadUserTuple mocks base method.
func (*MockTupleBackend) ReadUsersetTuples ¶
func (m *MockTupleBackend) ReadUsersetTuples(ctx context.Context, store string, filter storage.ReadUsersetTuplesFilter) (storage.TupleIterator, error)
ReadUsersetTuples mocks base method.
type MockTupleBackendMockRecorder ¶
type MockTupleBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockTupleBackendMockRecorder is the mock recorder for MockTupleBackend.
func (*MockTupleBackendMockRecorder) ListObjectsByType ¶
func (mr *MockTupleBackendMockRecorder) ListObjectsByType(ctx, store, objectType interface{}) *gomock.Call
ListObjectsByType indicates an expected call of ListObjectsByType.
func (*MockTupleBackendMockRecorder) MaxTuplesPerWrite ¶
func (mr *MockTupleBackendMockRecorder) MaxTuplesPerWrite() *gomock.Call
MaxTuplesPerWrite indicates an expected call of MaxTuplesPerWrite.
func (*MockTupleBackendMockRecorder) Read ¶
func (mr *MockTupleBackendMockRecorder) Read(arg0, arg1, arg2 interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockTupleBackendMockRecorder) ReadPage ¶
func (mr *MockTupleBackendMockRecorder) ReadPage(ctx, store, tk, opts interface{}) *gomock.Call
ReadPage indicates an expected call of ReadPage.
func (*MockTupleBackendMockRecorder) ReadStartingWithUser ¶
func (mr *MockTupleBackendMockRecorder) ReadStartingWithUser(ctx, store, filter interface{}) *gomock.Call
ReadStartingWithUser indicates an expected call of ReadStartingWithUser.
func (*MockTupleBackendMockRecorder) ReadUserTuple ¶
func (mr *MockTupleBackendMockRecorder) ReadUserTuple(ctx, store, tk interface{}) *gomock.Call
ReadUserTuple indicates an expected call of ReadUserTuple.
func (*MockTupleBackendMockRecorder) ReadUsersetTuples ¶
func (mr *MockTupleBackendMockRecorder) ReadUsersetTuples(ctx, store, filter interface{}) *gomock.Call
ReadUsersetTuples indicates an expected call of ReadUsersetTuples.
func (*MockTupleBackendMockRecorder) Write ¶
func (mr *MockTupleBackendMockRecorder) Write(ctx, store, d, w interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockTypeDefinitionReadBackend ¶
type MockTypeDefinitionReadBackend struct {
// contains filtered or unexported fields
}
MockTypeDefinitionReadBackend is a mock of TypeDefinitionReadBackend interface.
func NewMockTypeDefinitionReadBackend ¶
func NewMockTypeDefinitionReadBackend(ctrl *gomock.Controller) *MockTypeDefinitionReadBackend
NewMockTypeDefinitionReadBackend creates a new mock instance.
func (*MockTypeDefinitionReadBackend) EXPECT ¶
func (m *MockTypeDefinitionReadBackend) EXPECT() *MockTypeDefinitionReadBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTypeDefinitionReadBackend) ReadTypeDefinition ¶
func (m *MockTypeDefinitionReadBackend) ReadTypeDefinition(ctx context.Context, store, id, objectType string) (*openfgav1.TypeDefinition, error)
ReadTypeDefinition mocks base method.
type MockTypeDefinitionReadBackendMockRecorder ¶
type MockTypeDefinitionReadBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockTypeDefinitionReadBackendMockRecorder is the mock recorder for MockTypeDefinitionReadBackend.
func (*MockTypeDefinitionReadBackendMockRecorder) ReadTypeDefinition ¶
func (mr *MockTypeDefinitionReadBackendMockRecorder) ReadTypeDefinition(ctx, store, id, objectType interface{}) *gomock.Call
ReadTypeDefinition indicates an expected call of ReadTypeDefinition.
type MockTypeDefinitionWriteBackend ¶
type MockTypeDefinitionWriteBackend struct {
// contains filtered or unexported fields
}
MockTypeDefinitionWriteBackend is a mock of TypeDefinitionWriteBackend interface.
func NewMockTypeDefinitionWriteBackend ¶
func NewMockTypeDefinitionWriteBackend(ctrl *gomock.Controller) *MockTypeDefinitionWriteBackend
NewMockTypeDefinitionWriteBackend creates a new mock instance.
func (*MockTypeDefinitionWriteBackend) EXPECT ¶
func (m *MockTypeDefinitionWriteBackend) EXPECT() *MockTypeDefinitionWriteBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTypeDefinitionWriteBackend) MaxTypesPerAuthorizationModel ¶
func (m *MockTypeDefinitionWriteBackend) MaxTypesPerAuthorizationModel() int
MaxTypesPerAuthorizationModel mocks base method.
func (*MockTypeDefinitionWriteBackend) WriteAuthorizationModel ¶
func (m *MockTypeDefinitionWriteBackend) WriteAuthorizationModel(ctx context.Context, store string, model *openfgav1.AuthorizationModel) error
WriteAuthorizationModel mocks base method.
type MockTypeDefinitionWriteBackendMockRecorder ¶
type MockTypeDefinitionWriteBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockTypeDefinitionWriteBackendMockRecorder is the mock recorder for MockTypeDefinitionWriteBackend.
func (*MockTypeDefinitionWriteBackendMockRecorder) MaxTypesPerAuthorizationModel ¶
func (mr *MockTypeDefinitionWriteBackendMockRecorder) MaxTypesPerAuthorizationModel() *gomock.Call
MaxTypesPerAuthorizationModel indicates an expected call of MaxTypesPerAuthorizationModel.
func (*MockTypeDefinitionWriteBackendMockRecorder) WriteAuthorizationModel ¶
func (mr *MockTypeDefinitionWriteBackendMockRecorder) WriteAuthorizationModel(ctx, store, model interface{}) *gomock.Call
WriteAuthorizationModel indicates an expected call of WriteAuthorizationModel.