network

package
v0.0.0-...-3ca0d41 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FloatingIpMetricNamespace string = "acs_vpc_eip"
View Source
var FloatingIpSchemes = []utils.Scheme{
	utils.Scheme{
		Param:    "region",
		Required: true,
		Type:     utils.String,
	},
	utils.Scheme{
		Param:    "limit",
		Required: false,
		Type:     utils.Int,
		Default:  utils.DefaultLimit,
	},
	utils.Scheme{
		Param:    "marker",
		Required: false,
		Type:     utils.String,
		Default:  "1",
	},
}
View Source
var MetricMap = map[string]map[string]string{
	"net.rx": map[string]string{
		"Statistics":  "Average, Minimum, Maximum, Sum",
		"Unit":        "Byte",
		"EDimensions": "",
	},
	"net.rxPkgs": map[string]string{
		"Statistics":  "Average, Minimum, Maximum, Sum",
		"Unit":        "Count",
		"EDimensions": "",
	},
	"net.tx": map[string]string{
		"Statistics":  "Average, Minimum, Maximum, Sum",
		"Unit":        "Byte",
		"EDimensions": "",
	},
	"net.txPkgs": map[string]string{
		"Statistics":  "Average, Minimum, Maximum, Sum",
		"Unit":        "Count",
		"EDimensions": "",
	},
	"net_rx.rate": map[string]string{
		"Statistics":  "Value",
		"Unit":        "bit/s",
		"EDimensions": "",
	},
	"net_rxPkgs.rate": map[string]string{
		"Statistics":  "Value",
		"Unit":        "Packets/Second",
		"EDimensions": "",
	},
	"net_tx.rate": map[string]string{
		"Statistics":  "Value",
		"Unit":        "bit/s",
		"EDimensions": "",
	},
	"net_txPkgs.rate": map[string]string{
		"Statistics":  "Value",
		"Unit":        "Packets/Second",
		"EDimensions": "",
	},
	"out_ratelimit_drop_speed": map[string]string{
		"Statistics":  "Average",
		"Unit":        "Packets/Second",
		"EDimensions": "",
	},
	"net_in.rate_percentage": map[string]string{
		"Statistics":  "Average, Minimum, Maximum",
		"Unit":        "%",
		"EDimensions": "",
	},
	"net_out.rate_percentage": map[string]string{
		"Statistics":  "Average, Minimum, Maximum",
		"Unit":        "%",
		"EDimensions": "",
	},
}
View Source
var NetworkSchemes = []utils.Scheme{
	utils.Scheme{
		Param:    "region",
		Required: true,
		Type:     utils.String,
	},
	utils.Scheme{
		Param:    "limit",
		Required: false,
		Type:     utils.Int,
		Default:  utils.DefaultLimit,
	},
	utils.Scheme{
		Param:    "marker",
		Required: false,
		Type:     utils.String,
		Default:  "1",
	},
}
View Source
var NicSchemes = []utils.Scheme{
	utils.Scheme{
		Param:    "region",
		Required: true,
		Type:     utils.String,
	},
	utils.Scheme{
		Param:    "subnet",
		Required: false,
		Type:     utils.String,
	},
	utils.Scheme{
		Param:    "limit",
		Required: false,
		Type:     utils.Int,
		Default:  utils.DefaultLimit,
	},
	utils.Scheme{
		Param:    "marker",
		Required: false,
		Type:     utils.String,
		Default:  "1",
	},
}
View Source
var SecurityGroupSchemes = []utils.Scheme{
	utils.Scheme{
		Param:    "region",
		Required: true,
		Type:     utils.String,
	},
	utils.Scheme{
		Param:    "limit",
		Required: false,
		Type:     utils.Int,
		Default:  utils.DefaultLimit,
	},
	utils.Scheme{
		Param:    "marker",
		Required: false,
		Type:     utils.String,
		Default:  "1",
	},
}
View Source
var ServerMetricSchemes = []utils.Scheme{
	utils.Scheme{
		Param:    "region",
		Required: true,
		Type:     utils.String,
	},
	utils.Scheme{
		Param:    "metric_names",
		Required: true,
		Type:     utils.Slice,
	},
	utils.Scheme{
		Param:    "period",
		Required: false,
		Type:     utils.Int,
		Default:  60,
	},
}
View Source
var SubnetSchemes = []utils.Scheme{
	utils.Scheme{
		Param:    "region",
		Required: true,
		Type:     utils.String,
	},
	utils.Scheme{
		Param:    "network",
		Required: false,
		Type:     utils.String,
	},
	utils.Scheme{
		Param:    "limit",
		Required: false,
		Type:     utils.Int,
		Default:  utils.DefaultLimit,
	},
	utils.Scheme{
		Param:    "marker",
		Required: false,
		Type:     utils.String,
		Default:  "1",
	},
}

Functions

This section is empty.

Types

type FloatingIp

type FloatingIp struct {
	input.Resource
	// contains filtered or unexported fields
}

func (FloatingIp) Call

func (FloatingIp) Call(params input.Params, replay *input.Replay) error

type FloatingIpMetric

type FloatingIpMetric struct {
	input.Resource
	// contains filtered or unexported fields
}

func (FloatingIpMetric) Call

func (FloatingIpMetric) Call(params input.Params, replay *input.Replay) (err error)

type Network

type Network struct {
	input.Resource
	// contains filtered or unexported fields
}

func (Network) Call

func (Network) Call(params input.Params, replay *input.Replay) error

type Nic

type Nic struct {
	input.Resource
	// contains filtered or unexported fields
}

func (Nic) Call

func (Nic) Call(params input.Params, replay *input.Replay) error

type SecurityGroup

type SecurityGroup struct {
	input.Resource
	// contains filtered or unexported fields
}

func (SecurityGroup) Call

func (SecurityGroup) Call(params input.Params, replay *input.Replay) error

type Subnet

type Subnet struct {
	input.Resource
	// contains filtered or unexported fields
}

func (Subnet) Call

func (Subnet) Call(params input.Params, replay *input.Replay) error

Jump to

Keyboard shortcuts

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