Documentation ¶
Index ¶
- Variables
- func NewAPS(sess *session.Session) *prometheusservice.PrometheusService
- func NewFailedEvent(err error) (handler.ProgressEvent, error)
- func ParseARN(value string) (*arn.ARN, string, error)
- func StringDiffers(current, previous *string) bool
- func StringMapDifference(current, previous map[string]*string) (toChange map[string]*string, toRemove []*string)
- type APSService
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidResourceType = errors.New("invalid resource type")
)
Functions ¶
func NewAPS ¶
func NewAPS(sess *session.Session) *prometheusservice.PrometheusService
func NewFailedEvent ¶
func NewFailedEvent(err error) (handler.ProgressEvent, error)
func StringDiffers ¶
Types ¶
type APSService ¶
type APSService interface { DescribeWorkspace(input *prometheusservice.DescribeWorkspaceInput) (*prometheusservice.DescribeWorkspaceOutput, error) DescribeAlertManagerDefinition(input *prometheusservice.DescribeAlertManagerDefinitionInput) (*prometheusservice.DescribeAlertManagerDefinitionOutput, error) CreateAlertManagerDefinition(input *prometheusservice.CreateAlertManagerDefinitionInput) (*prometheusservice.CreateAlertManagerDefinitionOutput, error) DeleteAlertManagerDefinition(input *prometheusservice.DeleteAlertManagerDefinitionInput) (*prometheusservice.DeleteAlertManagerDefinitionOutput, error) PutAlertManagerDefinition(input *prometheusservice.PutAlertManagerDefinitionInput) (*prometheusservice.PutAlertManagerDefinitionOutput, error) }
Click to show internal directories.
Click to hide internal directories.