Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAuthFromKeyring ¶
func DeleteAuthFromKeyring() error
func GetHeaders ¶
func StoreAuthInKeyring ¶
Types ¶
type Auth ¶
type Auth struct { APIKey string `json:"apiKey,omitempty"` BearerToken string `json:"bearerToken,omitempty"` OrgName string `json:"orgName"` ExpiresAt *time.Time `json:"expiresAt,omitempty"` }
func GetAuthFromKeyring ¶
type AuthSource ¶
type AuthSource string
const ( ConfigAuthSource AuthSource = "config" KeyringAuthSource AuthSource = "keyring" )
type ResolvedAuth ¶
type ResolvedAuth struct { Auth Source AuthSource `json:"source"` }
func ResolveAuth ¶
func ResolveAuth() (*ResolvedAuth, error)
Click to show internal directories.
Click to hide internal directories.