Package uniffi.cedarling_uniffi
Class Cedarling
-
- All Implemented Interfaces:
-
java.lang.AutoCloseable,uniffi.cedarling_uniffi.CedarlingInterface,uniffi.cedarling_uniffi.Disposable
public class Cedarling implements Disposable, AutoCloseable, CedarlingInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCedarling.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static Cedarling.CompanionCompanion
-
Method Summary
Modifier and Type Method Description Unitdestroy()Unitclose()final PointeruniffiClonePointer()AuthorizeResultauthorize(Map<String, String> tokens, String action, EntityData resource, String context)AuthorizeResultauthorizeUnsigned(List<EntityData> principals, String action, EntityData resource, String context)StringgetLogById(String id)List<String>getLogIds()List<String>getLogsByRequestId(String requestId)Get logs by request_id. List<String>getLogsByRequestIdAndTag(String requestId, String tag)Get log by request_id and tag, like composite key request_id+log_kind.List<String>getLogsByTag(String tag)Get logs by tag, like log_kindorlog level.List<String>popLogs()UnitshutDown()Closes the connections to the Lock Server and pushes all available logs. -
-
Method Detail
-
uniffiClonePointer
final Pointer uniffiClonePointer()
-
authorize
AuthorizeResult authorize(Map<String, String> tokens, String action, EntityData resource, String context)
-
authorizeUnsigned
AuthorizeResult authorizeUnsigned(List<EntityData> principals, String action, EntityData resource, String context)
-
getLogById
String getLogById(String id)
-
getLogsByRequestId
List<String> getLogsByRequestId(String requestId)
Get logs by request_id. Return log entries that match the given request_id.
-
getLogsByRequestIdAndTag
List<String> getLogsByRequestIdAndTag(String requestId, String tag)
Get log by request_id and tag, like composite key
request_id+log_kind. Tag can belog_kind,log_level. Return log entries that match the given request_id and tag.
-
getLogsByTag
List<String> getLogsByTag(String tag)
Get logs by tag, like
log_kindorlog level. Tag can belog_kind,log_level.
-
-
-
-