improovements
This commit is contained in:
parent
fa7f791873
commit
4205922617
6 changed files with 65 additions and 29 deletions
|
|
@ -45,27 +45,29 @@ type User struct {
|
|||
}
|
||||
|
||||
type Project struct {
|
||||
ID int64 `json:"id"`
|
||||
UserID string `json:"-"`
|
||||
Name string `json:"name"`
|
||||
Slug string `json:"slug"`
|
||||
Description string `json:"description"`
|
||||
RepoURL string `json:"repo_url"`
|
||||
RepoPrivate bool `json:"repo_private"`
|
||||
ServiceName string `json:"service_name"`
|
||||
RouteHost string `json:"route_host"`
|
||||
AppURL string `json:"app_url"`
|
||||
WorkspaceID int64 `json:"workspace_id"`
|
||||
Workspace string `json:"workspace"`
|
||||
UnixUser string `json:"unix_user"`
|
||||
WebhookURL string `json:"webhook_url"`
|
||||
DeployToken string `json:"-"`
|
||||
ProvisionState string `json:"provision_state"`
|
||||
ProvisionError string `json:"provision_error,omitempty"`
|
||||
DBName string `json:"db_name,omitempty"`
|
||||
DBUser string `json:"db_user,omitempty"`
|
||||
DBPassword string `json:"-"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
ID int64 `json:"id"`
|
||||
UserID string `json:"-"`
|
||||
Name string `json:"name"`
|
||||
Slug string `json:"slug"`
|
||||
Description string `json:"description"`
|
||||
RepoURL string `json:"repo_url"`
|
||||
RepoPrivate bool `json:"repo_private"`
|
||||
ServiceName string `json:"service_name"`
|
||||
RouteHost string `json:"route_host"`
|
||||
AppURL string `json:"app_url"`
|
||||
WorkspaceID int64 `json:"workspace_id"`
|
||||
Workspace string `json:"workspace"`
|
||||
UnixUser string `json:"unix_user"`
|
||||
WebhookURL string `json:"webhook_url"`
|
||||
DeployToken string `json:"-"`
|
||||
ProvisionState string `json:"provision_state"`
|
||||
ProvisionError string `json:"provision_error,omitempty"`
|
||||
LastDeployedAt *time.Time `json:"last_deployed_at,omitempty"`
|
||||
LastDeployedCommit string `json:"last_deployed_commit,omitempty"`
|
||||
DBName string `json:"db_name,omitempty"`
|
||||
DBUser string `json:"db_user,omitempty"`
|
||||
DBPassword string `json:"-"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
type EnvVar struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue