notifyclient

package
v2.2.14+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PRIORITY_IMPORTANT = "important"
	PRIORITY_CRITICAL  = "fatal"
	PRIORITY_NORMAL    = "normal"

	SERVER_CREATED       = "SERVER_CREATED"
	SERVER_CREATED_ADMIN = "SERVER_CREATED_ADMIN"
	SERVER_DELETED       = "SERVER_DELETED"
	SERVER_DELETED_ADMIN = "SERVER_DELETED_ADMIN"
	SERVER_REBUILD_ROOT  = "SERVER_REBUILD_ROOT"
	SERVER_CHANGE_FLAVOR = "SERVER_CHANGE_FLAVOR"
)

Variables

This section is empty.

Functions

func Notify

func Notify(to string, event string, priority string, data jsonutils.JSONObject) error

func NotifySystemError

func NotifySystemError(id string, name string, status string, reason string) error

func SetTemplateDir

func SetTemplateDir(dir string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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