Documentation ¶
Index ¶
- type Actions
- type Consequences
- func (c *Consequences) Given() *Context
- func (c *Consequences) Services(block func(services *notification.ServiceList, err error)) *Consequences
- func (c *Consequences) Templates(block func(services *notification.TemplateList, err error)) *Consequences
- func (c *Consequences) Triggers(block func(services *notification.TriggerList, err error)) *Consequences
- func (c *Consequences) When() *Actions
- type Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actions ¶
type Actions struct {
// contains filtered or unexported fields
}
this implements the "when" part of given/when/then
none of the func implement error checks, and that is complete intended, you should check for errors using the Then()
func (*Actions) SetParamInNotificationConfigMap ¶
func (*Actions) Then ¶
func (a *Actions) Then() *Consequences
type Consequences ¶
type Consequences struct {
// contains filtered or unexported fields
}
this implements the "then" part of given/when/then
func (*Consequences) Given ¶
func (c *Consequences) Given() *Context
func (*Consequences) Services ¶
func (c *Consequences) Services(block func(services *notification.ServiceList, err error)) *Consequences
func (*Consequences) Templates ¶
func (c *Consequences) Templates(block func(services *notification.TemplateList, err error)) *Consequences
func (*Consequences) Triggers ¶
func (c *Consequences) Triggers(block func(services *notification.TriggerList, err error)) *Consequences
func (*Consequences) When ¶
func (c *Consequences) When() *Actions
Click to show internal directories.
Click to hide internal directories.