Documentation ¶
Index ¶
- func FetchData(url string) (string, error)
- func FiltercloudWatchLogs(clientAuth *model.Auth, startTime, endTime *time.Time, logGroupName string, ...) ([]*cloudwatchlogs.GetQueryResultsOutput, error)
- func GetCloudWatchAlarms(clientAuth *model.Auth, startTime, endTime *time.Time) ([]*cloudwatch.MetricAlarm, error)
- func GetCmdbData(cmd *cobra.Command) (string, error)
- func GetCmdbLogsData(cmd *cobra.Command) (string, error)
- func GetLogsData(clientAuth *model.Auth, startTime, endTime *time.Time, logGroupName string, ...) ([]*cloudwatchlogs.GetQueryResultsOutput, error)
- func GetMetricData(clientAuth *model.Auth, instanceID, elementType string, metricName string, ...) (*cloudwatch.GetMetricDataOutput, error)
- func InitAwsCmdFlags(cmd *cobra.Command)
- func ParseTimes(cmd *cobra.Command) (*time.Time, *time.Time, error)
- func ProcessQueryResult(results []*cloudwatchlogs.GetQueryResultsOutput) []*cloudwatchlogs.GetQueryResultsOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FiltercloudWatchLogs ¶
func FiltercloudWatchLogs(clientAuth *model.Auth, startTime, endTime *time.Time, logGroupName string, query string) ([]*cloudwatchlogs.GetQueryResultsOutput, error)
func GetCloudWatchAlarms ¶
func GetCloudWatchAlarms(clientAuth *model.Auth, startTime, endTime *time.Time) ([]*cloudwatch.MetricAlarm, error)
func GetLogsData ¶
func GetLogsData(clientAuth *model.Auth, startTime, endTime *time.Time, logGroupName string, query string, cloudWatchLogs *cloudwatchlogs.CloudWatchLogs) ([]*cloudwatchlogs.GetQueryResultsOutput, error)
func GetMetricData ¶
func GetMetricData(clientAuth *model.Auth, instanceID, elementType string, metricName string, startTime, endTime *time.Time, statistic string, dimensionsName string, cloudWatchClient *cloudwatch.CloudWatch) (*cloudwatch.GetMetricDataOutput, error)
func InitAwsCmdFlags ¶ added in v1.11.3
func ProcessQueryResult ¶
func ProcessQueryResult(results []*cloudwatchlogs.GetQueryResultsOutput) []*cloudwatchlogs.GetQueryResultsOutput
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.