Documentation ¶
Index ¶
Constants ¶
View Source
const ( AnnotationsPrefix = "synthetics.grafana.com/" EnabledAnnotation = AnnotationsPrefix + "enabled" NameAnnotation = AnnotationsPrefix + "name" FrequencyAnnotation = AnnotationsPrefix + "frequency" TimeoutAnnotation = AnnotationsPrefix + "timeout" ProbesAnnotation = AnnotationsPrefix + "probes" HostAnnotation = AnnotationsPrefix + "host" // TODO )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckOptions ¶
type Options ¶
type Options struct { // TODO: Config options for how the checks are built ClusterName string Labels []sm.Label // contains filtered or unexported fields }
func NewOptions ¶
func NewOptions() Options
func (*Options) NewCheckOptions ¶
func (opt *Options) NewCheckOptions(annotations map[string]string) (opts CheckOptions)
Click to show internal directories.
Click to hide internal directories.