Documentation
¶
Index ¶
- func ConvertMathcersToModels(matchers []string) (models.Matchers, error)
- func FindCastFromMap(m map[string]interface{}, find string, cast interface{}) (bool, error)
- func TypeMatcher(matcher labels.Matcher) *models.Matcher
- type Client
- func (c *Client) ApiRequest(apiVersion, apiName, verb string, params map[string]interface{}) (string, error)
- func (c *Client) CreateSilences(apiPath string, params map[string]interface{}) (string, error)
- func (c *Client) DeleteSilence(apiPath string, params map[string]interface{}) (string, error)
- func (c *Client) GetSilence(apiPath string, params map[string]interface{}) (string, error)
- func (c *Client) GetSilences(apiPath string, params map[string]interface{}) (string, error)
- func (c *Client) UpdateSilence(apiPath string, params map[string]interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertMathcersToModels ¶
func FindCastFromMap ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ApiRequest ¶
func (*Client) CreateSilences ¶
func (*Client) DeleteSilence ¶
func (*Client) GetSilence ¶
func (*Client) GetSilences ¶
Click to show internal directories.
Click to hide internal directories.