Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenFGAClientServicer ¶
type OpenFGAClientServicer interface {
Check(ctx context.Context, object string, relation string, user string, tenantId string) (*openfgav1.CheckResponse, error)
Read(ctx context.Context, object *string, relation *string, user *string, tenantId string) (*openfgav1.ReadResponse, error)
Exists(ctx context.Context, tuple *openfgav1.TupleKeyWithoutCondition, tenantId string) (bool, error)
Writes(ctx context.Context, writes []*openfgav1.TupleKey, deletes []*openfgav1.TupleKeyWithoutCondition, tenantId string) (bool, error)
Write(ctx context.Context, object string, relation string, user string, tenantId string) (bool, error)
WriteIfNeeded(ctx context.Context, tuples []*openfgav1.TupleKeyWithoutCondition, tenantId string) error
DeleteIfNeeded(ctx context.Context, tuples []*openfgav1.TupleKeyWithoutCondition, tenantId string) error
Delete(ctx context.Context, object string, relation string, user string, tenantId string) (bool, error)
ModelId(ctx context.Context, tenantId string) (string, error)
StoreId(ctx context.Context, tenantId string) (string, error)
}
Directories
¶
| Path | Synopsis |
|---|---|
|
policy_services
|
|
|
Package util provides utility functions for converting API group and resource names into normalized type names suitable for use in authorization systems.
|
Package util provides utility functions for converting API group and resource names into normalized type names suitable for use in authorization systems. |
Click to show internal directories.
Click to hide internal directories.