Documentation ¶
Overview ¶
Package usersessions holds model related to the user sessions resolver
Package usersessions holds model related to the user sessions resolver
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareK8SUserSessionContext ¶
func PrepareK8SUserSessionContext(userInfo *authenticationv1.UserInfo, cwsUserSessionDataMaxSize int) ([]byte, error)
PrepareK8SUserSessionContext prepares the input parameters forwarded to cws-instrumentation
Types ¶
type Resolver ¶
Resolver is used to resolve the user sessions context
func NewResolver ¶
NewResolver returns a new instance of Resolver
func (*Resolver) ResolveUserSession ¶
func (r *Resolver) ResolveUserSession(id uint64) *model.UserSessionContext
ResolveUserSession returns the user session associated to the provided ID
type UserSessionData ¶
type UserSessionData struct { SessionType usersession.Type RawData string }
UserSessionData stores user session context data retrieved from the kernel
func (*UserSessionData) UnmarshalBinary ¶
func (e *UserSessionData) UnmarshalBinary(data []byte) error
UnmarshalBinary unmarshalls a binary representation of itself
type UserSessionKey ¶
UserSessionKey describes the key to a user session
Click to show internal directories.
Click to hide internal directories.