Documentation
¶
Index ¶
Constants ¶
View Source
const ( KindNop = "nop" KindIguazio = "iguazio" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Kind Kind
Iguazio *IguazioConfig
}
type IguazioConfig ¶
type IguazioSession ¶
type IguazioSession struct {
Username string
SessionKey string
UserID string
GroupIDs []string
// contains filtered or unexported fields
}
func (*IguazioSession) CompileAuthorizationBasic ¶
func (a *IguazioSession) CompileAuthorizationBasic() string
func (*IguazioSession) GetGroupIDs ¶
func (a *IguazioSession) GetGroupIDs() []string
func (*IguazioSession) GetPassword ¶
func (a *IguazioSession) GetPassword() string
func (*IguazioSession) GetUserID ¶
func (a *IguazioSession) GetUserID() string
func (*IguazioSession) GetUsername ¶
func (a *IguazioSession) GetUsername() string
type NopSession ¶
type NopSession struct {
// contains filtered or unexported fields
}
func (NopSession) CompileAuthorizationBasic ¶
func (a NopSession) CompileAuthorizationBasic() string
func (NopSession) GetGroupIDs ¶
func (a NopSession) GetGroupIDs() []string
func (NopSession) GetPassword ¶
func (a NopSession) GetPassword() string
func (NopSession) GetUsername ¶
func (a NopSession) GetUsername() string
type SessionContextKey ¶
type SessionContextKey string
const ( IguazioContextKey SessionContextKey = "IguazioSession" NopContextKey SessionContextKey = "NopSession" AuthSessionContextKey SessionContextKey = "AuthSession" )
func ContextKeyByKind ¶
func ContextKeyByKind(kind Kind) SessionContextKey
Click to show internal directories.
Click to hide internal directories.