Versions in this module Expand all Collapse all v1 v1.4.1 Jun 11, 2018 v1.4.0 May 24, 2018 Changes in this version + const IfErrorPrefix + const IfStatePrefix + const InterfacePrefix + var InterfaceNotification_NotifType_name = map[int32]string + var InterfaceNotification_NotifType_value = map[string]int32 + var InterfaceType_name = map[int32]string + var InterfaceType_value = map[string]int32 + var InterfacesState_Interface_Duplex_name = map[int32]string + var InterfacesState_Interface_Duplex_value = map[string]int32 + var InterfacesState_Interface_Status_name = map[int32]string + var InterfacesState_Interface_Status_value = map[string]int32 + var Interfaces_Interface_Memif_MemifMode_name = map[int32]string + var Interfaces_Interface_Memif_MemifMode_value = map[string]int32 + var RxModeType_name = map[int32]string + var RxModeType_value = map[string]int32 + func InterfaceErrorKey(ifaceLabel string) string + func InterfaceErrorPrefix() string + func InterfaceKey(ifaceLabel string) string + func InterfaceKeyPrefix() string + func InterfaceStateKey(ifaceLabel string) string + func InterfaceStateKeyPrefix() string + func ParseNameFromKey(key string) (name string, err error) + type InterfaceErrors struct + Interfaces []*InterfaceErrors_Interface + func (*InterfaceErrors) Descriptor() ([]byte, []int) + func (*InterfaceErrors) ProtoMessage() + func (m *InterfaceErrors) GetInterfaces() []*InterfaceErrors_Interface + func (m *InterfaceErrors) Reset() + func (m *InterfaceErrors) String() string + type InterfaceErrors_Interface struct + ErrorData []*InterfaceErrors_Interface_ErrorData + InterfaceName string + func (*InterfaceErrors_Interface) Descriptor() ([]byte, []int) + func (*InterfaceErrors_Interface) ProtoMessage() + func (m *InterfaceErrors_Interface) GetErrorData() []*InterfaceErrors_Interface_ErrorData + func (m *InterfaceErrors_Interface) GetInterfaceName() string + func (m *InterfaceErrors_Interface) Reset() + func (m *InterfaceErrors_Interface) String() string + type InterfaceErrors_Interface_ErrorData struct + ChangeType string + ErrorMessage string + LastChange int64 + func (*InterfaceErrors_Interface_ErrorData) Descriptor() ([]byte, []int) + func (*InterfaceErrors_Interface_ErrorData) ProtoMessage() + func (m *InterfaceErrors_Interface_ErrorData) GetChangeType() string + func (m *InterfaceErrors_Interface_ErrorData) GetErrorMessage() string + func (m *InterfaceErrors_Interface_ErrorData) GetLastChange() int64 + func (m *InterfaceErrors_Interface_ErrorData) Reset() + func (m *InterfaceErrors_Interface_ErrorData) String() string + type InterfaceNotification struct + State *InterfacesState_Interface + Type InterfaceNotification_NotifType + func (*InterfaceNotification) Descriptor() ([]byte, []int) + func (*InterfaceNotification) ProtoMessage() + func (m *InterfaceNotification) GetState() *InterfacesState_Interface + func (m *InterfaceNotification) GetType() InterfaceNotification_NotifType + func (m *InterfaceNotification) Reset() + func (m *InterfaceNotification) String() string + type InterfaceNotification_NotifType int32 + const InterfaceNotification_COUNTERS + const InterfaceNotification_UNKNOWN + const InterfaceNotification_UPDOWN + func (InterfaceNotification_NotifType) EnumDescriptor() ([]byte, []int) + func (x InterfaceNotification_NotifType) String() string + type InterfaceType int32 + const InterfaceType_AF_PACKET_INTERFACE + const InterfaceType_ETHERNET_CSMACD + const InterfaceType_MEMORY_INTERFACE + const InterfaceType_SOFTWARE_LOOPBACK + const InterfaceType_TAP_INTERFACE + const InterfaceType_VXLAN_TUNNEL + func (InterfaceType) EnumDescriptor() ([]byte, []int) + func (x InterfaceType) String() string + type Interfaces struct + Interfaces []*Interfaces_Interface + func (*Interfaces) Descriptor() ([]byte, []int) + func (*Interfaces) ProtoMessage() + func (m *Interfaces) GetInterfaces() []*Interfaces_Interface + func (m *Interfaces) Reset() + func (m *Interfaces) String() string + type InterfacesState struct + Interfaces []*InterfacesState_Interface + func (*InterfacesState) Descriptor() ([]byte, []int) + func (*InterfacesState) ProtoMessage() + func (m *InterfacesState) GetInterfaces() []*InterfacesState_Interface + func (m *InterfacesState) Reset() + func (m *InterfacesState) String() string + type InterfacesState_Interface struct + AdminStatus InterfacesState_Interface_Status + Duplex InterfacesState_Interface_Duplex + IfIndex uint32 + InternalName string + LastChange int64 + Mtu uint32 + Name string + OperStatus InterfacesState_Interface_Status + PhysAddress string + Speed uint64 + Statistics *InterfacesState_Interface_Statistics + Type InterfaceType + func (*InterfacesState_Interface) Descriptor() ([]byte, []int) + func (*InterfacesState_Interface) ProtoMessage() + func (m *InterfacesState_Interface) GetAdminStatus() InterfacesState_Interface_Status + func (m *InterfacesState_Interface) GetDuplex() InterfacesState_Interface_Duplex + func (m *InterfacesState_Interface) GetIfIndex() uint32 + func (m *InterfacesState_Interface) GetInternalName() string + func (m *InterfacesState_Interface) GetLastChange() int64 + func (m *InterfacesState_Interface) GetMtu() uint32 + func (m *InterfacesState_Interface) GetName() string + func (m *InterfacesState_Interface) GetOperStatus() InterfacesState_Interface_Status + func (m *InterfacesState_Interface) GetPhysAddress() string + func (m *InterfacesState_Interface) GetSpeed() uint64 + func (m *InterfacesState_Interface) GetStatistics() *InterfacesState_Interface_Statistics + func (m *InterfacesState_Interface) GetType() InterfaceType + func (m *InterfacesState_Interface) Reset() + func (m *InterfacesState_Interface) String() string + type InterfacesState_Interface_Duplex int32 + const InterfacesState_Interface_FULL + const InterfacesState_Interface_HALF + const InterfacesState_Interface_UNKNOWN_DUPLEX + func (InterfacesState_Interface_Duplex) EnumDescriptor() ([]byte, []int) + func (x InterfacesState_Interface_Duplex) String() string + type InterfacesState_Interface_Statistics struct + DropPackets uint64 + InBytes uint64 + InErrorPackets uint64 + InMissPackets uint64 + InNobufPackets uint64 + InPackets uint64 + Ipv4Packets uint64 + Ipv6Packets uint64 + OutBytes uint64 + OutErrorPackets uint64 + OutPackets uint64 + PuntPackets uint64 + func (*InterfacesState_Interface_Statistics) Descriptor() ([]byte, []int) + func (*InterfacesState_Interface_Statistics) ProtoMessage() + func (m *InterfacesState_Interface_Statistics) GetDropPackets() uint64 + func (m *InterfacesState_Interface_Statistics) GetInBytes() uint64 + func (m *InterfacesState_Interface_Statistics) GetInErrorPackets() uint64 + func (m *InterfacesState_Interface_Statistics) GetInMissPackets() uint64 + func (m *InterfacesState_Interface_Statistics) GetInNobufPackets() uint64 + func (m *InterfacesState_Interface_Statistics) GetInPackets() uint64 + func (m *InterfacesState_Interface_Statistics) GetIpv4Packets() uint64 + func (m *InterfacesState_Interface_Statistics) GetIpv6Packets() uint64 + func (m *InterfacesState_Interface_Statistics) GetOutBytes() uint64 + func (m *InterfacesState_Interface_Statistics) GetOutErrorPackets() uint64 + func (m *InterfacesState_Interface_Statistics) GetOutPackets() uint64 + func (m *InterfacesState_Interface_Statistics) GetPuntPackets() uint64 + func (m *InterfacesState_Interface_Statistics) Reset() + func (m *InterfacesState_Interface_Statistics) String() string + type InterfacesState_Interface_Status int32 + const InterfacesState_Interface_DELETED + const InterfacesState_Interface_DOWN + const InterfacesState_Interface_UNKNOWN_STATUS + const InterfacesState_Interface_UP + func (InterfacesState_Interface_Status) EnumDescriptor() ([]byte, []int) + func (x InterfacesState_Interface_Status) String() string + type Interfaces_Interface struct + Afpacket *Interfaces_Interface_Afpacket + ContainerIpAddress string + Description string + Enabled bool + IpAddresses []string + Memif *Interfaces_Interface_Memif + Mtu uint32 + Name string + PhysAddress string + RxModeSettings *Interfaces_Interface_RxModeSettings + SetDhcpClient bool + Tap *Interfaces_Interface_Tap + Type InterfaceType + Unnumbered *Interfaces_Interface_Unnumbered + Vrf uint32 + Vxlan *Interfaces_Interface_Vxlan + func (*Interfaces_Interface) Descriptor() ([]byte, []int) + func (*Interfaces_Interface) ProtoMessage() + func (m *Interfaces_Interface) GetAfpacket() *Interfaces_Interface_Afpacket + func (m *Interfaces_Interface) GetContainerIpAddress() string + func (m *Interfaces_Interface) GetDescription() string + func (m *Interfaces_Interface) GetEnabled() bool + func (m *Interfaces_Interface) GetIpAddresses() []string + func (m *Interfaces_Interface) GetMemif() *Interfaces_Interface_Memif + func (m *Interfaces_Interface) GetMtu() uint32 + func (m *Interfaces_Interface) GetName() string + func (m *Interfaces_Interface) GetPhysAddress() string + func (m *Interfaces_Interface) GetRxModeSettings() *Interfaces_Interface_RxModeSettings + func (m *Interfaces_Interface) GetSetDhcpClient() bool + func (m *Interfaces_Interface) GetTap() *Interfaces_Interface_Tap + func (m *Interfaces_Interface) GetType() InterfaceType + func (m *Interfaces_Interface) GetUnnumbered() *Interfaces_Interface_Unnumbered + func (m *Interfaces_Interface) GetVrf() uint32 + func (m *Interfaces_Interface) GetVxlan() *Interfaces_Interface_Vxlan + func (m *Interfaces_Interface) Reset() + func (m *Interfaces_Interface) String() string + type Interfaces_Interface_Afpacket struct + HostIfName string + func (*Interfaces_Interface_Afpacket) Descriptor() ([]byte, []int) + func (*Interfaces_Interface_Afpacket) ProtoMessage() + func (m *Interfaces_Interface_Afpacket) GetHostIfName() string + func (m *Interfaces_Interface_Afpacket) Reset() + func (m *Interfaces_Interface_Afpacket) String() string + type Interfaces_Interface_Memif struct + BufferSize uint32 + Id uint32 + Master bool + Mode Interfaces_Interface_Memif_MemifMode + RingSize uint32 + RxQueues uint32 + Secret string + SocketFilename string + TxQueues uint32 + func (*Interfaces_Interface_Memif) Descriptor() ([]byte, []int) + func (*Interfaces_Interface_Memif) ProtoMessage() + func (m *Interfaces_Interface_Memif) GetBufferSize() uint32 + func (m *Interfaces_Interface_Memif) GetId() uint32 + func (m *Interfaces_Interface_Memif) GetMaster() bool + func (m *Interfaces_Interface_Memif) GetMode() Interfaces_Interface_Memif_MemifMode + func (m *Interfaces_Interface_Memif) GetRingSize() uint32 + func (m *Interfaces_Interface_Memif) GetRxQueues() uint32 + func (m *Interfaces_Interface_Memif) GetSecret() string + func (m *Interfaces_Interface_Memif) GetSocketFilename() string + func (m *Interfaces_Interface_Memif) GetTxQueues() uint32 + func (m *Interfaces_Interface_Memif) Reset() + func (m *Interfaces_Interface_Memif) String() string + type Interfaces_Interface_Memif_MemifMode int32 + const Interfaces_Interface_Memif_ETHERNET + const Interfaces_Interface_Memif_IP + const Interfaces_Interface_Memif_PUNT_INJECT + func (Interfaces_Interface_Memif_MemifMode) EnumDescriptor() ([]byte, []int) + func (x Interfaces_Interface_Memif_MemifMode) String() string + type Interfaces_Interface_RxModeSettings struct + QueueId uint32 + QueueIdValid uint32 + RxMode RxModeType + func (*Interfaces_Interface_RxModeSettings) Descriptor() ([]byte, []int) + func (*Interfaces_Interface_RxModeSettings) ProtoMessage() + func (m *Interfaces_Interface_RxModeSettings) GetQueueId() uint32 + func (m *Interfaces_Interface_RxModeSettings) GetQueueIdValid() uint32 + func (m *Interfaces_Interface_RxModeSettings) GetRxMode() RxModeType + func (m *Interfaces_Interface_RxModeSettings) Reset() + func (m *Interfaces_Interface_RxModeSettings) String() string + type Interfaces_Interface_Tap struct + HostIfName string + Namespace string + RxRingSize uint32 + TxRingSize uint32 + Version uint32 + func (*Interfaces_Interface_Tap) Descriptor() ([]byte, []int) + func (*Interfaces_Interface_Tap) ProtoMessage() + func (m *Interfaces_Interface_Tap) GetHostIfName() string + func (m *Interfaces_Interface_Tap) GetNamespace() string + func (m *Interfaces_Interface_Tap) GetRxRingSize() uint32 + func (m *Interfaces_Interface_Tap) GetTxRingSize() uint32 + func (m *Interfaces_Interface_Tap) GetVersion() uint32 + func (m *Interfaces_Interface_Tap) Reset() + func (m *Interfaces_Interface_Tap) String() string + type Interfaces_Interface_Unnumbered struct + InterfaceWithIp string + IsUnnumbered bool + func (*Interfaces_Interface_Unnumbered) Descriptor() ([]byte, []int) + func (*Interfaces_Interface_Unnumbered) ProtoMessage() + func (m *Interfaces_Interface_Unnumbered) GetInterfaceWithIp() string + func (m *Interfaces_Interface_Unnumbered) GetIsUnnumbered() bool + func (m *Interfaces_Interface_Unnumbered) Reset() + func (m *Interfaces_Interface_Unnumbered) String() string + type Interfaces_Interface_Vxlan struct + DstAddress string + SrcAddress string + Vni uint32 + func (*Interfaces_Interface_Vxlan) Descriptor() ([]byte, []int) + func (*Interfaces_Interface_Vxlan) ProtoMessage() + func (m *Interfaces_Interface_Vxlan) GetDstAddress() string + func (m *Interfaces_Interface_Vxlan) GetSrcAddress() string + func (m *Interfaces_Interface_Vxlan) GetVni() uint32 + func (m *Interfaces_Interface_Vxlan) Reset() + func (m *Interfaces_Interface_Vxlan) String() string + type RxModeType int32 + const RxModeType_ADAPTIVE + const RxModeType_DEFAULT + const RxModeType_INTERRUPT + const RxModeType_POLLING + const RxModeType_UNKNOWN + func (RxModeType) EnumDescriptor() ([]byte, []int) + func (x RxModeType) String() string