Documentation
¶
Index ¶
Constants ¶
View Source
const ( OK = "OK" FAILED = "FAILED" NoEndpoint = "No api endpoint set. Use 'cf autoscaling-api' to set an endpoint." APIEndpoint = "Autoscaler api endpoint: %s." SetAPIEndpoint = "Setting AutoScaler api endpoint to %s..." UnsetAPIEndpoint = "Unsetting AutoScaler api endpoint." InvalidAPIEndpoint = "Invalid AutoScaler API endpoint : %s." InvalidSSLCerts = "Invalid SSL Cert for %s \nTIP: Use --skip-ssl-validation to continue with an insecure API endpoint." LoginRequired = "You must be logged in %s first." FailToLoadPolicyFile = "Failed to read policy file %s." PolicyNotFound = "No policy defined for app %s." InvalidPolicy = "Invalid policy definition: %v." ShowPolicyHint = "Showing policy for app %s..." AttachPolicyHint = "Attaching policy for app %s..." DetachPolicyHint = "Detaching policy for app %s..." ShowMetricsHint = "Showing metrics for app %s..." ShowHistoryHint = "Showing history for app %s..." UnrecognizedTimeFormat = "" /* 153-byte string literal not displayed */ UnrecognizedMetricName = "Unrecognized metric name input: %s. \nSupported value: memoryused, memoryutil, responsetime, throughput." InvalidTimeRange = "Invalid time range. The start time %s is greater than the end time %s." MetricsNotFound = "No metrics found for app %s." HistoryNotFound = "No history found for app %s." )
Variables ¶
This section is empty.
Functions ¶
func SayMessage ¶
func SayMessage(message string, args ...interface{})
Types ¶
type PrintableTable ¶
type PrintableTable struct {
// contains filtered or unexported fields
}
func (*PrintableTable) Add ¶
func (t *PrintableTable) Add(row []string)
func (*PrintableTable) Print ¶
func (t *PrintableTable) Print()
Click to show internal directories.
Click to hide internal directories.