Documentation ¶
Overview ¶
Package format implements various formatters.
Index ¶
- func AllocStatus(alloc *api.AllocationStatus) string
- func AllocSummary(alloc *api.AllocationStatus) string
- func DeploymentAllocSummary(d *api.DeploymentStatus) string
- func DeploymentSummary(d *api.DeploymentStatus) string
- func HealthChecksSummary(allocs ...*api.AllocationStatus) string
- func RelativeTime(t time.Time) string
- func Time(t time.Time) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllocStatus ¶
func AllocStatus(alloc *api.AllocationStatus) string
func AllocSummary ¶
func AllocSummary(alloc *api.AllocationStatus) string
func DeploymentAllocSummary ¶
func DeploymentAllocSummary(d *api.DeploymentStatus) string
func DeploymentSummary ¶
func DeploymentSummary(d *api.DeploymentStatus) string
func HealthChecksSummary ¶
func HealthChecksSummary(allocs ...*api.AllocationStatus) string
func RelativeTime ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.