vpe_types

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package vpe_types is a generated VPP binary API for 'vpe_types' module.

It consists of:

1 enum
2 aliases
1 type

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "vpe_types"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0x3369988d
)

Variables

View Source
var LogLevel_name = map[uint32]string{
	0: "VPE_API_LOG_LEVEL_EMERG",
	1: "VPE_API_LOG_LEVEL_ALERT",
	2: "VPE_API_LOG_LEVEL_CRIT",
	3: "VPE_API_LOG_LEVEL_ERR",
	4: "VPE_API_LOG_LEVEL_WARNING",
	5: "VPE_API_LOG_LEVEL_NOTICE",
	6: "VPE_API_LOG_LEVEL_INFO",
	7: "VPE_API_LOG_LEVEL_DEBUG",
	8: "VPE_API_LOG_LEVEL_DISABLED",
}
View Source
var LogLevel_value = map[string]uint32{
	"VPE_API_LOG_LEVEL_EMERG":    0,
	"VPE_API_LOG_LEVEL_ALERT":    1,
	"VPE_API_LOG_LEVEL_CRIT":     2,
	"VPE_API_LOG_LEVEL_ERR":      3,
	"VPE_API_LOG_LEVEL_WARNING":  4,
	"VPE_API_LOG_LEVEL_NOTICE":   5,
	"VPE_API_LOG_LEVEL_INFO":     6,
	"VPE_API_LOG_LEVEL_DEBUG":    7,
	"VPE_API_LOG_LEVEL_DISABLED": 8,
}

Functions

This section is empty.

Types

type LogLevel

type LogLevel uint32

LogLevel represents VPP binary API enum 'log_level'.

const (
	VPE_API_LOG_LEVEL_EMERG    LogLevel = 0
	VPE_API_LOG_LEVEL_ALERT    LogLevel = 1
	VPE_API_LOG_LEVEL_CRIT     LogLevel = 2
	VPE_API_LOG_LEVEL_ERR      LogLevel = 3
	VPE_API_LOG_LEVEL_WARNING  LogLevel = 4
	VPE_API_LOG_LEVEL_NOTICE   LogLevel = 5
	VPE_API_LOG_LEVEL_INFO     LogLevel = 6
	VPE_API_LOG_LEVEL_DEBUG    LogLevel = 7
	VPE_API_LOG_LEVEL_DISABLED LogLevel = 8
)

func (LogLevel) String

func (x LogLevel) String() string

type Timedelta

type Timedelta float64

Timedelta represents VPP binary API alias 'timedelta'.

type Timestamp

type Timestamp float64

Timestamp represents VPP binary API alias 'timestamp'.

type Version

type Version struct {
	Major         uint32
	Minor         uint32
	Patch         uint32
	PreRelease    []byte `struc:"[17]byte"`
	BuildMetadata []byte `struc:"[17]byte"`
}

Version represents VPP binary API type 'version'.

func (*Version) GetTypeName

func (*Version) GetTypeName() string

Jump to

Keyboard shortcuts

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