Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrProjectNotFound happens when a project.json is not found ErrProjectNotFound = errors.New("Project not found") // ErrProjectAlreadyExists happens when a Project ID already exists ErrProjectAlreadyExists = errors.New("Project already exists") // ErrInvalidProjectID happens when a Project ID is invalid ErrInvalidProjectID = errors.New("Invalid project ID") )
Functions ¶
func ValidateOrCreate ¶
ValidateOrCreate project
Types ¶
type Project ¶
type Project struct {
ID string `json:"id"`
Name string `json:"name"`
CustomDomain string `json:"custom_domain,omitempty"`
Health string `json:"health,omitempty"`
Description string `json:"description,omitempty"`
Containers containers.Containers `json:"containers,omitempty"`
}
Project structure
Click to show internal directories.
Click to hide internal directories.