Documentation ¶
Index ¶
Constants ¶
View Source
const ( AwsElasticacheRedisNode ResourceType = "AWS::Elasticache::RedisNode" AwsElasticacheMemcachedNode ResourceType = "AWS::Elasticache::MemcachedNode" AwsDynamoDbTable = "AWS::DynamoDB::Table" AwsDynamoDbGsi = "AWS::DynamoDB::GSI" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoDb ¶
func (*DynamoDb) GetAll ¶
func (ddb *DynamoDb) GetAll() ([]*ResourceSummary, error)
func (*DynamoDb) GetMetricTargets ¶
func (ddb *DynamoDb) GetMetricTargets(r *ResourceSummary) ResourceMetricTargets
type Elasticache ¶
type Elasticache struct {
Client *elasticache.Client
}
func (*Elasticache) GetAll ¶
func (ec *Elasticache) GetAll() ([]*ResourceSummary, error)
func (*Elasticache) GetMetricTargets ¶
func (ec *Elasticache) GetMetricTargets(r *ResourceSummary) ResourceMetricTargets
type MetricBlob ¶
type Resource ¶
type Resource interface { GetAll() ([]*ResourceSummary, error) GetMetricTargets(r *ResourceSummary) ResourceMetricTargets }
type ResourceMetricTargets ¶
type ResourceSummary ¶
type ResourceSummary struct { ID string `json:"id"` Type ResourceType `json:"type"` AdditionalData map[string]string `json:"additional_data"` Metrics []MetricBlob `json:"metrics"` Resource Resource }
type ResourceType ¶
type ResourceType string
Click to show internal directories.
Click to hide internal directories.