Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct { Id string `json:"id"` App string `json:"app"` Logs string `json:"logs"` Manifest string `json:"manifest"` Release string `json:"release"` Status string `json:"status"` Reason string `json:"reason"` Description string `json:"description"` Started time.Time `json:"started"` Ended time.Time `json:"ended"` }
type Certificate ¶
type Certificates ¶
type Certificates []Certificate
func (Certificates) Len ¶
func (c Certificates) Len() int
func (Certificates) Less ¶
func (c Certificates) Less(i, j int) bool
func (Certificates) Swap ¶
func (c Certificates) Swap(i, j int)
type Event ¶
type Event struct { Action string `json:"action"` // app:create, release:create, release:promote, etc. Status string `json:"status"` // success or error Data map[string]string `json:"data"` // {"rack": "example-rack", "app": "example-app", "id": "R123456789", "message": "unable to load release"} Timestamp time.Time `json:"timestamp"` }
type Instance ¶
type Instance struct { Agent bool `json:"agent"` Cpu float64 `json:"cpu"` Id string `json:"id"` Memory float64 `json:"memory"` PrivateIp string `json:"private-ip"` Processes int `json:"processes"` PublicIp string `json:"public-ip"` Status string `json:"status"` Started time.Time `json:"started"` }
func (*Instance) DockerClient ¶
func (*Instance) DockerHost ¶
type InstanceResource ¶
type InstanceResource struct { Total int `json:"total"` Free int `json:"free"` Used int `json:"used"` }
func (InstanceResource) PercentUsed ¶
func (ir InstanceResource) PercentUsed() float64
type LogStreamOptions ¶
type Release ¶
type Release struct { Id string `json:"id"` App string `json:"app"` Build string `json:"build"` Env string `json:"env"` Manifest string `json:"manifest"` Created time.Time `json:"created"` }
func NewRelease ¶
type Service ¶
type Service struct { Name string `json:"name"` Status string `json:"status"` StatusReason string `json:"status-reason"` Type string `json:"type"` Apps Apps `json:"apps"` Exports map[string]string `json:"exports"` Outputs map[string]string `json:"-"` Parameters map[string]string `json:"-"` Tags map[string]string `json:"-"` }
Click to show internal directories.
Click to hide internal directories.