notificationcommand

package
Version: v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2020 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ObjectInformation configobject.ObjectInformation
	Fields            = []string{
		"id",
		"environment_id",
		"name_checksum",
		"properties_checksum",
		"name",
		"name_ci",
		"zone_id",
		"command",
		"timeout",
	}
)

Functions

func NewNotificationCommand

func NewNotificationCommand() connection.Row

Types

type NotificationCommand

type NotificationCommand struct {
	Id                 string  `json:"id"`
	EnvId              string  `json:"environment_id"`
	NameChecksum       string  `json:"name_checksum"`
	PropertiesChecksum string  `json:"checksum"`
	Name               string  `json:"name"`
	NameCi             *string `json:"name_ci"`
	ZoneId             string  `json:"zone_id"`
	Command            string  `json:"command"`
	Timeout            float64 `json:"timeout"`
}

func (*NotificationCommand) GetFinalRows

func (c *NotificationCommand) GetFinalRows() ([]connection.Row, error)

func (*NotificationCommand) GetId

func (c *NotificationCommand) GetId() string

func (*NotificationCommand) InsertValues

func (c *NotificationCommand) InsertValues() []interface{}

func (*NotificationCommand) SetId

func (c *NotificationCommand) SetId(id string)

func (*NotificationCommand) UpdateValues

func (c *NotificationCommand) UpdateValues() []interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL