Documentation
¶
Index ¶
Constants ¶
View Source
const ( OK = "OK" FAILED = "FAILED" NOCFAPIEndpoint = "No Cloud Foundry api endpoint set. Use 'cf api' to set Cloud Foundry endpoint first." NoEndpoint = "No AutoScaler 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." InconsistentDomain = "Failed to set AutoScaler domain to %s since it is inconsitent with the domain of CF API %s." 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 = "Retrieving policy for app %s..." AttachPolicyHint = "Attaching policy for app %s..." DetachPolicyHint = "Detaching policy for app %s..." ShowAggregatedMetricsHint = "Retrieving aggregated %s metrics for app %s..." ShowHistoryHint = "Retrieving scaling event history for app %s..." SavePolicyHint = "Saving policy for app %s to %s... " SaveAggregatedMetricHint = "Saving aggregated metrics for app %s to %s... " SaveHistoryHint = "Saving scaling event history for app %s to %s... " InvalidRecordNumber = "Invalid record number: %s. A positive integer is expected." UnrecognizedTimeFormat = "" /* 154-byte string literal not displayed */ UnrecognizedMetricName = "Unrecognized metric name: %s. \nSupported value: memoryused, memoryutil, responsetime, throughput, cpu." InvalidTimeRange = "Invalid time range. The start time %s is greater than the end time %s." AggregatedMetricsNotFound = "No aggregated %s metrics were found for app %s." HistoryNotFound = "No event history were 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.