ips

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetNotifications

type GetNotifications struct {
	ServerName string `json:"-" URIParam:"yes" valid:"required"`
}

type Install

type Install struct {
	ServerName   string `json:"hostName" valid:"required"`
	AccountAlias string `argument:"ignore" json:"accountAlias"`
}

func (*Install) GetNames

func (i *Install) GetNames(cn base.Connection, property string) ([]string, error)

func (*Install) InferID

func (i *Install) InferID(cn base.Connection) error

type Notification

type Notification struct {
	EmailAddress   string
	IntervalCod    string
	SysLogSettings SysLogSettings
	TypeCode       string
	Url            string
}

type NotificationDestination

type NotificationDestination struct {
	Url            string         `json:"url"`
	TypeCode       string         `json:"typeCode"`
	EmailAddress   string         `json:"emailAddress"`
	SysLogSettings SysLogSettings `json:"sysLogSettings"`
}

type SetNotifications

type SetNotifications struct {
	ServerName               string `json:"-" URIParam:"yes" valid:"required"`
	NotificationDestinations []NotificationDestination
}

func (*SetNotifications) MarshalJSON

func (s *SetNotifications) MarshalJSON() ([]byte, error)

func (*SetNotifications) Validate

func (s *SetNotifications) Validate() error

type SysLogSettings

type SysLogSettings struct {
	IpAddress string `json:"ipAddress"`
	UdpPort   int64  `json:"udpPort"`
	Facility  int64  `json:"facility"`
}

Jump to

Keyboard shortcuts

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