traffic

package
v1.64.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OsTypeEnums = struct {
	OsTypeAix     OsTypeEnum
	OsTypeDarwin  OsTypeEnum
	OsTypeHpux    OsTypeEnum
	OsTypeLinux   OsTypeEnum
	OsTypeSolaris OsTypeEnum
	OsTypeUnknown OsTypeEnum
	OsTypeWindows OsTypeEnum
	OsTypeZos     OsTypeEnum
}{
	"OS_TYPE_AIX",
	"OS_TYPE_DARWIN",
	"OS_TYPE_HPUX",
	"OS_TYPE_LINUX",
	"OS_TYPE_SOLARIS",
	"OS_TYPE_UNKNOWN",
	"OS_TYPE_WINDOWS",
	"OS_TYPE_ZOS",
}

Functions

This section is empty.

Types

type IpAddressForm

type IpAddressForm struct {
	IpAddress string `json:"ipAddress"` // IP address
}

func (*IpAddressForm) MarshalHCL

func (me *IpAddressForm) MarshalHCL(properties hcl.Properties) error

func (*IpAddressForm) Schema

func (me *IpAddressForm) Schema() map[string]*schema.Schema

func (*IpAddressForm) UnmarshalHCL

func (me *IpAddressForm) UnmarshalHCL(decoder hcl.Decoder) error

type IpAddressForms

type IpAddressForms []*IpAddressForm

func (IpAddressForms) MarshalHCL

func (me IpAddressForms) MarshalHCL(properties hcl.Properties) error

func (*IpAddressForms) Schema

func (me *IpAddressForms) Schema() map[string]*schema.Schema

func (*IpAddressForms) UnmarshalHCL

func (me *IpAddressForms) UnmarshalHCL(decoder hcl.Decoder) error

type NicForm

type NicForm struct {
	Interface string     `json:"interface"` // Network interface
	Os        OsTypeEnum `json:"os"`        // Possible Values: `OS_TYPE_AIX`, `OS_TYPE_DARWIN`, `OS_TYPE_HPUX`, `OS_TYPE_LINUX`, `OS_TYPE_SOLARIS`, `OS_TYPE_UNKNOWN`, `OS_TYPE_WINDOWS`, `OS_TYPE_ZOS`
}

func (*NicForm) MarshalHCL

func (me *NicForm) MarshalHCL(properties hcl.Properties) error

func (*NicForm) Schema

func (me *NicForm) Schema() map[string]*schema.Schema

func (*NicForm) UnmarshalHCL

func (me *NicForm) UnmarshalHCL(decoder hcl.Decoder) error

type NicForms

type NicForms []*NicForm

func (NicForms) MarshalHCL

func (me NicForms) MarshalHCL(properties hcl.Properties) error

func (*NicForms) Schema

func (me *NicForms) Schema() map[string]*schema.Schema

func (*NicForms) UnmarshalHCL

func (me *NicForms) UnmarshalHCL(decoder hcl.Decoder) error

type OsTypeEnum

type OsTypeEnum string

type Settings

type Settings struct {
	ExcludeIp  IpAddressForms `json:"excludeIp,omitempty"`  // Providing a host IP address, you will exclude network traffic only in calculating connectivity (other metrics will still be calculated).
	ExcludeNic NicForms       `json:"excludeNic,omitempty"` // Selecting a network interface, you will exclude all network traffic on that interface from being monitored. You can select from the list below what to not monitor, or input it manually using the \"other one\" option.
	HostID     string         `json:"-" scope:"hostId"`     // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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