Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Anomaly ¶
type Anomaly struct { AccountID string `json:"accountId"` AnomalyDetailsLink string `json:"anomalyDetailsLink"` AnomalyEndDate time.Time `json:"anomalyEndDate"` AnomalyID string `json:"anomalyId"` AnomalyScore AnomalyScore `json:"anomalyScore"` AnomalyStartDate time.Time `json:"anomalyStartDate"` DimensionalValue string `json:"dimensionalValue"` Impact AnomalyImpact `json:"impact"` MonitorArn string `json:"monitorArn"` RootCauses []RootCause `json:"rootCauses"` SubscriptionID string `json:"subscriptionId"` SubscriptionName string `json:"subscriptionName"` }
type AnomalyImpact ¶
type AnomalyScore ¶
type CostGraph ¶ added in v0.4.0
type CostGraph struct {
// contains filtered or unexported fields
}
func NewCostGraph ¶ added in v0.4.0
func NewCostGraph() *CostGraph
func (*CostGraph) AddDataPoint ¶ added in v0.4.0
type DescribeAccountAPIClient ¶ added in v0.4.0
type DescribeAccountAPIClient interface {
DescribeAccount(ctx context.Context, input *organizations.DescribeAccountInput, optFns ...func(*organizations.Options)) (*organizations.DescribeAccountOutput, error)
}
type GraphGenerator ¶
type GraphGenerator struct {
// contains filtered or unexported fields
}
func NewGraphGenerator ¶
func NewGraphGenerator(client costexplorerx.GetCostAndUsageAPIClient, org DescribeAccountAPIClient) *GraphGenerator
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) ProvideFeedback ¶
type Option ¶
type Option func(*optionParams)
func WithAWSConfig ¶
func WithLogger ¶
func WithNoErrorReport ¶ added in v0.2.0
func WithNoErrorReport() Option
func WithSlackBotToken ¶
func WithSlackChannel ¶
func WithSlackSignalSecret ¶
func WithTemplate ¶
Click to show internal directories.
Click to hide internal directories.