Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CostexplorerIface ¶
type CostexplorerIface interface { FetchRIUtilizationPercentage(service, startDay, endDay string) (string, error) FetchRICoveragePercentage(service, startDay, endDay string) ([]*costexplorer.ReservationCoverageGroup, error) }
CostexplorerIface : costexplorer interface
func NewCostexplorer ¶
func NewCostexplorer(client costexploreriface.CostExplorerAPI) CostexplorerIface
NewCostexplorer ... generate new costexplorer client
type CostexplorerInstance ¶
type CostexplorerInstance struct {
// contains filtered or unexported fields
}
CostexplorerInstance : costexplorer instance
func (*CostexplorerInstance) FetchRICoveragePercentage ¶
func (c *CostexplorerInstance) FetchRICoveragePercentage(service, startDay, endDay string) ([]*costexplorer.ReservationCoverageGroup, error)
FetchRICoveragePercentage ... fetch RI Coverage Percentage
func (*CostexplorerInstance) FetchRIUtilizationPercentage ¶
func (c *CostexplorerInstance) FetchRIUtilizationPercentage(service, startDay, endDay string) (riUtilPct string, err error)
FetchRIUtilizationPercentage ... fetch RI Utilization Percentage
type SSMInstance ¶
type SSMInstance struct {
// contains filtered or unexported fields
}
SSMInstance : ssm instance
func (*SSMInstance) GetSSMParameters ¶
func (d *SSMInstance) GetSSMParameters(keys []string) (map[string]string, error)
GetSSMParameters ... get values from ssm parameter store
Click to show internal directories.
Click to hide internal directories.