Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
func (*Auth) GetEnvironment ¶ added in v0.3.0
type Credentials ¶
type Credentials struct { Audience string `json:"audience"` Source string `json:"source"` ClientId string `json:"clientId"` ExpiresAt string `json:"expiresAt"` Token string `json:"token"` }
func LoadCredentials ¶
func LoadCredentials(fileLocation string) (Credentials, error)
func NewCredentials ¶
func NewCredentials(audience, source, clientId, expiresAt, token string) *Credentials
func (*Credentials) GetEnvironment ¶ added in v0.3.0
func (c *Credentials) GetEnvironment() (string, error)
func (*Credentials) WriteCredentials ¶
func (c *Credentials) WriteCredentials(fileLocation string) error
Click to show internal directories.
Click to hide internal directories.