Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCredentials ¶
CreateCredentials generates a new account name for Cloud Run in the format `cr-<PROJECT_ID>-<LIFECYCLE>` and inserts it into the DB.
func CreateDeployment ¶
CreateDeployment generates and runs a `gcloud run deploy` command.
func DeleteCredentials ¶
DeleteCredentials deletes credentials from the DB by account name.
func GetCredentials ¶
GetCredentials gets credentials by account name.
func GetDeployment ¶
GetDeployment gets a deployment from the DB by a given deployment ID.
func ListCredentials ¶
ListCredentials lists all credentials. If the query param 'onlyForUser' is true, then grab the user from the `X-SPINNAKER-USER` header, get their groups, and filter accounts by read/write groups that are contained within the user's groups.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.