notifier

package
v0.0.0-...-b1c395d Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByReplicationControllerNotifier

type ByReplicationControllerNotifier []ReplicationControllerNotifier

func (ByReplicationControllerNotifier) Len

func (ByReplicationControllerNotifier) Less

func (ByReplicationControllerNotifier) Swap

func (b ByReplicationControllerNotifier) Swap(i, j int)

type DeleteController

type DeleteController struct {
	beego.Controller
}

func (*DeleteController) Get

func (c *DeleteController) Get()

type EditController

type EditController struct {
	beego.Controller
}

func (*EditController) Get

func (c *EditController) Get()

func (*EditController) Post

func (c *EditController) Post()

type EmailServerSMTP

type EmailServerSMTP struct {
	Name     string
	Account  string
	Password string
	Host     string
	Port     int
	Selected string
}

type Indicator

type Indicator struct {
	Type                  string
	AboveAllOrOne         bool
	AbovePercentageOfData float64
	AboveThreshold        int64
	BelowAllOrOne         bool
	BelowPercentageOfData float64
	BelowThreshold        int64
}

type ListController

type ListController struct {
	beego.Controller
}

func (*ListController) Get

func (c *ListController) Get()

type Notifier

type Notifier struct {
	Kind string
	Data string
}

type NotifierEmail

type NotifierEmail struct {
	Destination          string
	ReceiverAccountSlice []string
}

type NotifierSMSNexmo

type NotifierSMSNexmo struct {
	Destination         string
	Sender              string
	ReceiverNumberSlice []string
}

type ReplicationControllerNotifier

type ReplicationControllerNotifier struct {
	Check                                  bool
	CoolDownDuration                       time.Duration
	RemainingCoolDown                      time.Duration
	KubeApiServerEndPoint                  string
	KubeApiServerToken                     string
	Namespace                              string
	Kind                                   string
	Name                                   string
	NotifierSlice                          []Notifier
	IndicatorSlice                         []Indicator
	HiddenTagGuiNotificationNotifierEdit   string
	HiddenTagGuiNotificationNotifierDelete string
}

type SMSNexmo

type SMSNexmo struct {
	Name      string
	Url       string
	APIKey    string
	APISecret string
	Selected  string
}

Jump to

Keyboard shortcuts

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