Documentation
¶
Index ¶
- type EntityServer
- func (e *EntityServer) Create(ctx context.Context, req *entityserver_v1alpha.EntityAccessCreate) error
- func (e *EntityServer) CreateSession(ctx context.Context, req *entityserver_v1alpha.EntityAccessCreateSession) error
- func (e *EntityServer) Delete(ctx context.Context, req *entityserver_v1alpha.EntityAccessDelete) error
- func (e *EntityServer) Ensure(ctx context.Context, req *entityserver_v1alpha.EntityAccessEnsure) error
- func (e *EntityServer) Format(ctx context.Context, req *entityserver_v1alpha.EntityAccessFormat) error
- func (e *EntityServer) Get(ctx context.Context, req *entityserver_v1alpha.EntityAccessGet) error
- func (e *EntityServer) GetAttributesByTag(ctx context.Context, req *entityserver_v1alpha.EntityAccessGetAttributesByTag) error
- func (e *EntityServer) List(ctx context.Context, req *entityserver_v1alpha.EntityAccessList) error
- func (e *EntityServer) LookupKind(ctx context.Context, req *entityserver_v1alpha.EntityAccessLookupKind) error
- func (e *EntityServer) MakeAttr(ctx context.Context, req *entityserver_v1alpha.EntityAccessMakeAttr) error
- func (e *EntityServer) Parse(ctx context.Context, req *entityserver_v1alpha.EntityAccessParse) error
- func (e *EntityServer) Patch(ctx context.Context, req *entityserver_v1alpha.EntityAccessPatch) error
- func (e *EntityServer) PingSession(ctx context.Context, req *entityserver_v1alpha.EntityAccessPingSession) error
- func (e *EntityServer) Put(ctx context.Context, req *entityserver_v1alpha.EntityAccessPut) error
- func (e *EntityServer) PutSession(ctx context.Context, req *entityserver_v1alpha.EntityAccessPutSession) error
- func (e *EntityServer) Reindex(ctx context.Context, req *entityserver_v1alpha.EntityAccessReindex) error
- func (e *EntityServer) Replace(ctx context.Context, req *entityserver_v1alpha.EntityAccessReplace) error
- func (e *EntityServer) RevokeSession(ctx context.Context, req *entityserver_v1alpha.EntityAccessRevokeSession) error
- func (e *EntityServer) WatchEntity(ctx context.Context, req *entityserver_v1alpha.EntityAccessWatchEntity) error
- func (e *EntityServer) WatchIndex(ctx context.Context, req *entityserver_v1alpha.EntityAccessWatchIndex) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityServer ¶
type EntityServer struct {
Log *slog.Logger
Store entity.Store
// contains filtered or unexported fields
}
func NewEntityServer ¶
func (*EntityServer) Create ¶
func (e *EntityServer) Create(ctx context.Context, req *entityserver_v1alpha.EntityAccessCreate) error
func (*EntityServer) CreateSession ¶
func (e *EntityServer) CreateSession(ctx context.Context, req *entityserver_v1alpha.EntityAccessCreateSession) error
func (*EntityServer) Delete ¶
func (e *EntityServer) Delete(ctx context.Context, req *entityserver_v1alpha.EntityAccessDelete) error
func (*EntityServer) Ensure ¶
func (e *EntityServer) Ensure(ctx context.Context, req *entityserver_v1alpha.EntityAccessEnsure) error
func (*EntityServer) Format ¶
func (e *EntityServer) Format(ctx context.Context, req *entityserver_v1alpha.EntityAccessFormat) error
func (*EntityServer) Get ¶
func (e *EntityServer) Get(ctx context.Context, req *entityserver_v1alpha.EntityAccessGet) error
func (*EntityServer) GetAttributesByTag ¶
func (e *EntityServer) GetAttributesByTag(ctx context.Context, req *entityserver_v1alpha.EntityAccessGetAttributesByTag) error
func (*EntityServer) List ¶
func (e *EntityServer) List(ctx context.Context, req *entityserver_v1alpha.EntityAccessList) error
func (*EntityServer) LookupKind ¶
func (e *EntityServer) LookupKind(ctx context.Context, req *entityserver_v1alpha.EntityAccessLookupKind) error
func (*EntityServer) MakeAttr ¶
func (e *EntityServer) MakeAttr(ctx context.Context, req *entityserver_v1alpha.EntityAccessMakeAttr) error
func (*EntityServer) Parse ¶
func (e *EntityServer) Parse(ctx context.Context, req *entityserver_v1alpha.EntityAccessParse) error
func (*EntityServer) Patch ¶
func (e *EntityServer) Patch(ctx context.Context, req *entityserver_v1alpha.EntityAccessPatch) error
func (*EntityServer) PingSession ¶
func (e *EntityServer) PingSession(ctx context.Context, req *entityserver_v1alpha.EntityAccessPingSession) error
AssertLease keeps the lease alive
func (*EntityServer) Put ¶
func (e *EntityServer) Put(ctx context.Context, req *entityserver_v1alpha.EntityAccessPut) error
func (*EntityServer) PutSession ¶
func (e *EntityServer) PutSession(ctx context.Context, req *entityserver_v1alpha.EntityAccessPutSession) error
func (*EntityServer) Reindex ¶
func (e *EntityServer) Reindex(ctx context.Context, req *entityserver_v1alpha.EntityAccessReindex) error
func (*EntityServer) Replace ¶
func (e *EntityServer) Replace(ctx context.Context, req *entityserver_v1alpha.EntityAccessReplace) error
func (*EntityServer) RevokeSession ¶
func (e *EntityServer) RevokeSession(ctx context.Context, req *entityserver_v1alpha.EntityAccessRevokeSession) error
RevokeLease
func (*EntityServer) WatchEntity ¶
func (e *EntityServer) WatchEntity(ctx context.Context, req *entityserver_v1alpha.EntityAccessWatchEntity) error
func (*EntityServer) WatchIndex ¶
func (e *EntityServer) WatchIndex(ctx context.Context, req *entityserver_v1alpha.EntityAccessWatchIndex) error
Click to show internal directories.
Click to hide internal directories.