Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccountIDFromToken ¶ added in v1.1.0
GetAccountIDFromToken gets the account ID from the token Token format: pat.AccountID.Random.Random
Types ¶
type AuthConfig ¶
type AuthConfig struct {
BaseURL string `json:"base_url"`
Token string `json:"token"`
AccountID string `json:"account_id"`
OrgID string `json:"org_id,omitempty"`
ProjectID string `json:"project_id,omitempty"`
RegistryURL string `json:"registry_url,omitempty"`
}
AuthConfig represents authentication configuration for saving to disk
Click to show internal directories.
Click to hide internal directories.