beater

package
v0.0.0-...-ebab5a3 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error)

Creates beater

Types

type Cloudstackbeat

type Cloudstackbeat struct {
	// contains filtered or unexported fields
}

func (*Cloudstackbeat) PushDomainLimits

func (bt *Cloudstackbeat) PushDomainLimits(beatname string)

func (*Cloudstackbeat) Run

func (bt *Cloudstackbeat) Run(b *beat.Beat) error

func (*Cloudstackbeat) Stop

func (bt *Cloudstackbeat) Stop()

type Config

type Config struct {
	Period    time.Duration `config:"period"`
	ApiKey    string        `config:"cloudstackkey"`
	ApiSecret string        `config:"cloudstacksecret"`
	ApiUrl    string        `config:"cloudstackurl"`
}

type ElasticDomain

type ElasticDomain struct {
	Cpuavailable              int64
	Cpulimit                  int64
	Cputotal                  int64
	Haschild                  bool
	Id                        string
	Ipavailable               int64
	Iplimit                   int64
	Iptotal                   int64
	Level                     int64
	Memoryavailable           int64
	Memorylimit               int64
	Memorytotal               int64
	Name                      string
	Networkavailable          int64
	Networkdomain             string
	Networklimit              int64
	Networktotal              int64
	Parentdomainid            string
	Parentdomainname          string
	Path                      string
	Primarystorageavailable   int64
	Primarystoragelimit       int64
	Primarystoragetotal       int64
	Projectavailable          int64
	Projectlimit              int64
	Projecttotal              int64
	Secondarystorageavailable int64
	Secondarystoragelimit     int64
	Secondarystoragetotal     int64
	Snapshotavailable         int64
	Snapshotlimit             int64
	Snapshottotal             int64
	State                     string
	Templateavailable         int64
	Templatelimit             int64
	Templatetotal             int64
	Vmavailable               int64
	Vmlimit                   int64
	Vmtotal                   int64
	Volumeavailable           int64
	Volumelimit               int64
	Volumetotal               int64
	Vpcavailable              int64
	Vpclimit                  int64
	Vpctotal                  int64
}

Jump to

Keyboard shortcuts

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