cli

package
v0.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2018 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConfig added in v0.9.0

func CheckConfig(args []string) error

func Execute

func Execute()

func GetAlertmanagerURL

func GetAlertmanagerURL(p string) url.URL

func TypeMatcher

func TypeMatcher(matcher labels.Matcher) (types.Matcher, error)

Only valid for when you are going to add a silence Doesn't allow negative operators

func TypeMatchers

func TypeMatchers(matchers []labels.Matcher) (types.Matchers, error)

Only valid for when you are going to add a silence

Types

type ByAlphabetical

type ByAlphabetical []labels.Matcher

func (ByAlphabetical) Len

func (s ByAlphabetical) Len() int

func (ByAlphabetical) Less

func (s ByAlphabetical) Less(i, j int) bool

func (ByAlphabetical) Swap

func (s ByAlphabetical) Swap(i, j int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL