Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { RetrieveTokenBearer() bool CheckTokenValidity() bool GetTokenBearer() string GetSessionID() string GetSession() common.SessionData }
Client - Our primary client interface
type Info ¶
type Info struct { TokenBearer string Session common.SessionData Environment string }
Info - Our auth properties
func (*Info) CheckTokenValidity ¶
CheckTokenValidity - Verify that the token is still good.
func (*Info) GetSession ¶
func (i *Info) GetSession() common.SessionData
GetSession - Return Session Info
func (*Info) GetSessionID ¶
GetSessionID - Return the SessionID
func (*Info) GetTokenBearer ¶
GetTokenBearer - Return the Token Bearer
func (*Info) RetrieveTokenBearer ¶
RetrieveTokenBearer - fetch the token from the K8s secret
Click to show internal directories.
Click to hide internal directories.