sm

package
v0.0.0-...-3ea6822 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IpVersion_V4 = sm_protos.IpVersion_V4

	// TODO: Move somewhere else
	ManagedLabel = "managed_by"
	ManagedValue = "k8s-controller" // TODO: Mark this deployment
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	RawCheck

	Probes []string // Override probes as list of string
}

func (*Check) Equals

func (c *Check) Equals(o *Check) bool

func (*Check) IsManaged

func (c *Check) IsManaged() bool

func (*Check) MarkManaged

func (c *Check) MarkManaged()

func (*Check) ResolveProbeIDs

func (c *Check) ResolveProbeIDs(probes ProbeSet) error

type CheckSet

type CheckSet map[string]*Check

func NewCheckSet

func NewCheckSet(checks []*Check) (CheckSet, error)

func (CheckSet) Equals

func (s CheckSet) Equals(o CheckSet) bool

type Label

type Label = sm_protos.Label

type Probe

type Probe = sm_protos.Probe

type ProbeSet

type ProbeSet map[string]*Probe

type RawCheck

type RawCheck = sm_protos.Check

type TcpSettings

type TcpSettings = sm_protos.TcpSettings

Jump to

Keyboard shortcuts

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