package
0.0.0-20201026040048-c0ffb5f765ec
Repository: https://github.com/platformercloud/platformer-cli.git
Documentation: pkg.go.dev

# Functions

FetchPermanentToken fetches a Permanent token from the Auth API using the provided access token.
GetOrganizationIDFromName returns the *Organization from a given name.
GetProjectIDFromName returns the *Project from a given name and an Organization ID.
IsLoggedIn checks if the user is logged in with the CLI and if the saved permanent token is valid.
LoadOrganizationList fetches a list of organizations for the logged in user and also reads the currently selected org from the local config (and validates if the currently selected org is still valid).
LoadProjectList loads a list of Projects for the given organization.
LoadProjectsFromDefaultOrFlag loads the projects for either the provided orgFlag or the default organization.

# Structs

Organization models a Platformer Organization.
Project models a Platformer Project.

# Type aliases

OrganizationList is a map of organizations by Name.
ProjectList is a map of Projects by name.