Documentation ¶
Index ¶
- Constants
- func LogRequest(log *logger.Logger, operation string, req Request, target Target, status bool)
- func LogRequestWithKey(log *logger.Logger, operation string, key []byte, target Target, status bool)
- type ModelType
- type Request
- type Target
- func TargetFromChainID(chainTargetType, chainTargetName string, chainID []byte) Target
- func TargetFromContainerIDObjectID(containerID *refs.ContainerID, objectID *refs.ObjectID) Target
- func TargetFromRef[T any](ref *T, model ModelType[T]) Target
- func TargetFromRefs[T any](refs []*T, model ModelType[T]) Target
- func TargetFromString(s string) Target
Constants ¶
View Source
const ( InvalidValue = "invalid_value" NotDefined = "not_defined" Empty = "empty" )
Variables ¶
This section is empty.
Functions ¶
func LogRequest ¶
Types ¶
type Request ¶
type Request interface {
GetVerificationHeader() *session.RequestVerificationHeader
}
type Target ¶
type Target interface {
String() string
}
func TargetFromChainID ¶
func TargetFromContainerIDObjectID ¶
func TargetFromContainerIDObjectID(containerID *refs.ContainerID, objectID *refs.ObjectID) Target
func TargetFromRef ¶
func TargetFromRefs ¶
func TargetFromString ¶
Click to show internal directories.
Click to hide internal directories.