telemetrymodel

package
v2.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: Apache-2.0 Imports: 1 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BdID2NameMapping

type BdID2NameMapping map[uint32]string

BdID2NameMapping defines the mapping of BD ifIndices to interface Names

func (BdID2NameMapping) DeepCopy

func (in BdID2NameMapping) DeepCopy() BdID2NameMapping

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BdID2NameMapping.

func (BdID2NameMapping) DeepCopyInto

func (in BdID2NameMapping) DeepCopyInto(out *BdID2NameMapping)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BdInterface

type BdInterface struct {
	Name            string `json:"name"`
	BVI             bool   `json:"bridged_virtual_interface,omitempty"`
	SplitHorizonGrp uint32 `json:"split_horizon_group"`
}

BdInterface defines the BD Interface data

func (*BdInterface) DeepCopy

func (in *BdInterface) DeepCopy() *BdInterface

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BdInterface.

func (*BdInterface) DeepCopyInto

func (in *BdInterface) DeepCopyInto(out *BdInterface)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BridgeDomain

type BridgeDomain struct {
	Interfaces []BdInterface `json:"interfaces"`
	Name       string        `json:"name"`
	Forward    bool          `json:"forward"`
}

BridgeDomain defines the Bridge Domain main data set

func (*BridgeDomain) DeepCopy

func (in *BridgeDomain) DeepCopy() *BridgeDomain

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BridgeDomain.

func (*BridgeDomain) DeepCopyInto

func (in *BridgeDomain) DeepCopyInto(out *BridgeDomain)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BridgeDomainMeta

type BridgeDomainMeta struct {
	BdID      uint32           `json:"bridge_domain_id"`
	BdID2Name BdID2NameMapping `json:"bridge_domain_id_to_name"`
}

BridgeDomainMeta defines the Bridge Domain VPP internal metadata

func (*BridgeDomainMeta) DeepCopy

func (in *BridgeDomainMeta) DeepCopy() *BridgeDomainMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BridgeDomainMeta.

func (*BridgeDomainMeta) DeepCopyInto

func (in *BridgeDomainMeta) DeepCopyInto(out *BridgeDomainMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IPArpEntry

type IPArpEntry struct {
	Interface   string `json:"interface"`
	IPAddress   string `json:"ip_address"`
	PhysAddress string `json:"phys_address"`
	Static      bool   `json:"static,omitempty"`
}

IPArpEntry defines the IP ARP Entry entry data set

func (*IPArpEntry) DeepCopy

func (in *IPArpEntry) DeepCopy() *IPArpEntry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPArpEntry.

func (*IPArpEntry) DeepCopyInto

func (in *IPArpEntry) DeepCopyInto(out *IPArpEntry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IPArpEntryMeta

type IPArpEntryMeta struct {
	IfIndex uint32 `json:"SwIfIndex"`
}

IPArpEntryMeta defines the IP ARP Entry VPP internal metadata

func (*IPArpEntryMeta) DeepCopy

func (in *IPArpEntryMeta) DeepCopy() *IPArpEntryMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPArpEntryMeta.

func (*IPArpEntryMeta) DeepCopyInto

func (in *IPArpEntryMeta) DeepCopyInto(out *IPArpEntryMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IPRoute

type IPRoute struct {
	Type        uint32 `json:"type"`
	VrfID       uint32 `json:"vrf_id"`
	DstAddr     string `json:"dst_ip_addr"`
	NextHopAddr string `json:"next_hop_addr"`
	OutIface    string `json:"outgoing_interface"`
	Weight      uint32 `json:"weight"`
	ViaVRFID    uint32 `json:"via_vrf_id"`
}

IPRoute defines the IP Route entry data set

func (*IPRoute) DeepCopy

func (in *IPRoute) DeepCopy() *IPRoute

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRoute.

func (*IPRoute) DeepCopyInto

func (in *IPRoute) DeepCopyInto(out *IPRoute)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IPRouteMeta

type IPRouteMeta struct {
	TableName         string `json:"TableName"`
	OutgoingIfIdx     uint32 `json:"OutgoingIfIdx"`
	Afi               uint32 `json:"Afi"`
	IsLocal           bool   `json:"IsLocal,omitempty"`
	IsUDPEncap        bool   `json:"IsUDPEncap,omitempty"`
	IsUnreach         bool   `json:"IsUnreach,omitempty"`
	IsProhibit        bool   `json:"IsProhibit,omitempty"`
	IsResolveHost     bool   `json:"IsResolveHost,omitempty"`
	IsResolveAttached bool   `json:"IsResolveAttached,omitempty"`
	IsDvr             bool   `json:"IsDvr,omitempty"`
	IsSourceLookup    bool   `json:"IsSourceLookup,omitempty"`
	NextHopID         uint32 `json:"NextHopID"`
	RpfID             uint32 `json:"RpfID"`
}

IPRouteMeta defines the IP Route VPP internal metadata

func (*IPRouteMeta) DeepCopy

func (in *IPRouteMeta) DeepCopy() *IPRouteMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRouteMeta.

func (*IPRouteMeta) DeepCopyInto

func (in *IPRouteMeta) DeepCopyInto(out *IPRouteMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IPamEntry

type IPamEntry struct {
	NodeID         uint32 `json:"nodeId"`
	NodeName       string `json:"nodeName"`
	NodeIP         string `json:"nodeIP"`
	PodNetwork     string `json:"podNetwork"`
	VppHostNetwork string `json:"vppHostNetwork"`
	Config         config `json:"config"`
}

IPamEntry holds unmarchalled ipam JSON data

func (*IPamEntry) DeepCopy

func (in *IPamEntry) DeepCopy() *IPamEntry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPamEntry.

func (*IPamEntry) DeepCopyInto

func (in *IPamEntry) DeepCopyInto(out *IPamEntry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Interface

type Interface struct {
	Name        string                   `json:"name"`
	IfType      interfaces.InterfaceType `json:"type,omitempty"`
	Enabled     bool                     `json:"enabled,omitempty"`
	PhysAddress string                   `json:"phys_address,omitempty"`
	Mtu         uint32                   `json:"mtu,omitempty"`
	Vrf         uint32                   `json:"vrf,omitempty"`
	IPAddresses []string                 `json:"ip_addresses,omitempty"`
	Vxlan       Vxlan                    `json:"vxlan,omitempty"`
	Tap         Tap                      `json:"tap,omitempty"`
}

Interface contains interface parameter data

func (*Interface) DeepCopy

func (in *Interface) DeepCopy() *Interface

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Interface.

func (*Interface) DeepCopyInto

func (in *Interface) DeepCopyInto(out *Interface)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InterfaceMeta

type InterfaceMeta struct {
	SwIfIndex       uint32 `json:"sw_if_index"`
	Tag             string `json:"tag"`
	VppInternalName string `json:"internal_name"`
}

InterfaceMeta defines the interface VPP internal metadata

func (*InterfaceMeta) DeepCopy

func (in *InterfaceMeta) DeepCopy() *InterfaceMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceMeta.

func (*InterfaceMeta) DeepCopyInto

func (in *InterfaceMeta) DeepCopyInto(out *InterfaceMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type L2FibEntry

type L2FibEntry struct {
	BridgeDomainName        string `json:"bridge_domain"`
	OutgoingIfName          string `json:"outgoing_interface"`
	PhysAddress             string `json:"phys_address"`
	StaticConfig            bool   `json:"static_config,omitempty"`
	BridgedVirtualInterface bool   `json:"bridged_virtual_interface,omitempty"`
}

L2FibEntry defines the L2 FIB entry data set

func (*L2FibEntry) DeepCopy

func (in *L2FibEntry) DeepCopy() *L2FibEntry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L2FibEntry.

func (*L2FibEntry) DeepCopyInto

func (in *L2FibEntry) DeepCopyInto(out *L2FibEntry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type L2FibEntryMeta

type L2FibEntryMeta struct {
	BridgeDomainID  uint32 `json:"bridge_domain_id"`
	OutgoingIfIndex uint32 `json:"outgoing_interface_sw_if_idx"`
}

L2FibEntryMeta defines the L2FIB entry VPP internal metadata

func (*L2FibEntryMeta) DeepCopy

func (in *L2FibEntryMeta) DeepCopy() *L2FibEntryMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L2FibEntryMeta.

func (*L2FibEntryMeta) DeepCopyInto

func (in *L2FibEntryMeta) DeepCopyInto(out *L2FibEntryMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinuxIf added in v1.5.1

type LinuxIf struct {
	Name        string   `json:"name"`
	IPAddresses []string `json:"ip_addresses"`
	HostIfName  string   `json:"host_if_name"`
}

LinuxIf defines the data structure for Linux interface data

func (*LinuxIf) DeepCopy added in v1.5.1

func (in *LinuxIf) DeepCopy() *LinuxIf

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxIf.

func (*LinuxIf) DeepCopyInto added in v1.5.1

func (in *LinuxIf) DeepCopyInto(out *LinuxIf)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinuxIfMeta added in v1.5.1

type LinuxIfMeta struct {
	Index     uint32 `json:"index"`
	Name      string `json:"name"`
	Alias     string `json:"alias"`
	OperState string `json:"oper_state"`
	Flags     string `json:"flags"`
	MacAddr   string `json:"mac_addr"`
	Mtu       uint32 `json:"mtu"`
	Type      string `json:"type"`
}

LinuxIfMeta defines the data structure for Linux interface metadata

func (*LinuxIfMeta) DeepCopy added in v1.5.1

func (in *LinuxIfMeta) DeepCopy() *LinuxIfMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxIfMeta.

func (*LinuxIfMeta) DeepCopyInto added in v1.5.1

func (in *LinuxIfMeta) DeepCopyInto(out *LinuxIfMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinuxInterface added in v1.5.1

type LinuxInterface struct {
	If     LinuxIf     `json:"linux_interface"`
	IfMeta LinuxIfMeta `json:"linux_interface_meta"`
}

LinuxInterface contains data for linux interfaces on a node

func (*LinuxInterface) DeepCopy added in v1.5.1

func (in *LinuxInterface) DeepCopy() *LinuxInterface

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxInterface.

func (*LinuxInterface) DeepCopyInto added in v1.5.1

func (in *LinuxInterface) DeepCopyInto(out *LinuxInterface)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinuxInterfaces added in v1.5.1

type LinuxInterfaces []LinuxInterface

LinuxInterfaces defines an array of LinuxInterfaces

func (LinuxInterfaces) DeepCopy added in v1.5.1

func (in LinuxInterfaces) DeepCopy() LinuxInterfaces

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxInterfaces.

func (LinuxInterfaces) DeepCopyInto added in v1.5.1

func (in LinuxInterfaces) DeepCopyInto(out *LinuxInterfaces)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Node

type Node struct {
	*NodeInfo
	NodeLiveness      *NodeLiveness
	NodeInterfaces    map[int]NodeInterface
	NodeBridgeDomains map[int]NodeBridgeDomain
	NodeL2Fibs        map[string]NodeL2FibEntry
	NodeTelemetry     map[string]NodeTelemetry
	NodeIPArp         []NodeIPArpEntry
	NodeStaticRoutes  []NodeIPRoute
	NodeIPam          *IPamEntry
	LinuxInterfaces   []LinuxInterface
	PodMap            map[string]*Pod
}

Node is a struct to hold all relevant information of a kubernetes node. It is populated with various information such as the interfaces and L2Fibs as well as the name and IP Addresses.

func (*Node) DeepCopy

func (in *Node) DeepCopy() *Node

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.

func (*Node) DeepCopyInto

func (in *Node) DeepCopyInto(out *Node)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeBridgeDomain

type NodeBridgeDomain struct {
	Bd     BridgeDomain     `json:"bridge_domain"`
	BdMeta BridgeDomainMeta `json:"bridge_domain_meta"`
}

NodeBridgeDomain holds the unmarshalled bridge domain data.

func (*NodeBridgeDomain) DeepCopy

func (in *NodeBridgeDomain) DeepCopy() *NodeBridgeDomain

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeBridgeDomain.

func (*NodeBridgeDomain) DeepCopyInto

func (in *NodeBridgeDomain) DeepCopyInto(out *NodeBridgeDomain)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeBridgeDomains

type NodeBridgeDomains map[int]NodeBridgeDomain

NodeBridgeDomains defines a map of NodeBridgeDomain

func (NodeBridgeDomains) DeepCopy

func (in NodeBridgeDomains) DeepCopy() NodeBridgeDomains

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeBridgeDomains.

func (NodeBridgeDomains) DeepCopyInto

func (in NodeBridgeDomains) DeepCopyInto(out *NodeBridgeDomains)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeIPArpEntry

type NodeIPArpEntry struct {
	Ae     IPArpEntry     `json:"Arp"`
	AeMeta IPArpEntryMeta `json:"Meta"`
}

NodeIPArpEntry holds unmarshalled IP ARP data

func (*NodeIPArpEntry) DeepCopy

func (in *NodeIPArpEntry) DeepCopy() *NodeIPArpEntry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeIPArpEntry.

func (*NodeIPArpEntry) DeepCopyInto

func (in *NodeIPArpEntry) DeepCopyInto(out *NodeIPArpEntry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeIPArpTable

type NodeIPArpTable []NodeIPArpEntry

NodeIPArpTable defines an array of NodeIPArpEntries

func (NodeIPArpTable) DeepCopy

func (in NodeIPArpTable) DeepCopy() NodeIPArpTable

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeIPArpTable.

func (NodeIPArpTable) DeepCopyInto

func (in NodeIPArpTable) DeepCopyInto(out *NodeIPArpTable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeIPRoute

type NodeIPRoute struct {
	Ipr     IPRoute     `json:"Route"`
	IprMeta IPRouteMeta `json:"Meta"`
}

NodeIPRoute holds the unmarshalled node static route JSON data.

func (*NodeIPRoute) DeepCopy

func (in *NodeIPRoute) DeepCopy() *NodeIPRoute

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeIPRoute.

func (*NodeIPRoute) DeepCopyInto

func (in *NodeIPRoute) DeepCopyInto(out *NodeIPRoute)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeInfo

type NodeInfo struct {
	ID        uint32
	IPAddr    string
	ManIPAddr string
	Name      string
}

NodeInfo is struct to hold some basic information of a kubernetes node.

func (*NodeInfo) DeepCopy

func (in *NodeInfo) DeepCopy() *NodeInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfo.

func (*NodeInfo) DeepCopyInto

func (in *NodeInfo) DeepCopyInto(out *NodeInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeInterface

type NodeInterface struct {
	If     Interface     `json:"interface"`
	IfMeta InterfaceMeta `json:"interface_meta"`
}

NodeInterface holds unmarshalled Interface JSON data

func (*NodeInterface) DeepCopy

func (in *NodeInterface) DeepCopy() *NodeInterface

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInterface.

func (*NodeInterface) DeepCopyInto

func (in *NodeInterface) DeepCopyInto(out *NodeInterface)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeInterfaces

type NodeInterfaces map[int]NodeInterface

NodeInterfaces defines a map of NodeInterface

func (NodeInterfaces) DeepCopy

func (in NodeInterfaces) DeepCopy() NodeInterfaces

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInterfaces.

func (NodeInterfaces) DeepCopyInto

func (in NodeInterfaces) DeepCopyInto(out *NodeInterfaces)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeL2FibEntry

type NodeL2FibEntry struct {
	Fe     L2FibEntry     `json:"fib"`
	FeMeta L2FibEntryMeta `json:"fib_meta"`
}

NodeL2FibEntry holds unmarshalled L2Fib JSON data

func (*NodeL2FibEntry) DeepCopy

func (in *NodeL2FibEntry) DeepCopy() *NodeL2FibEntry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeL2FibEntry.

func (*NodeL2FibEntry) DeepCopyInto

func (in *NodeL2FibEntry) DeepCopyInto(out *NodeL2FibEntry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeL2FibTable

type NodeL2FibTable map[string]NodeL2FibEntry

NodeL2FibTable defines a map of NodeL2FibEntry

func (NodeL2FibTable) DeepCopy

func (in NodeL2FibTable) DeepCopy() NodeL2FibTable

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeL2FibTable.

func (NodeL2FibTable) DeepCopyInto

func (in NodeL2FibTable) DeepCopyInto(out *NodeL2FibTable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeLiveness

type NodeLiveness struct {
	BuildVersion string `json:"build_version"`
	BuildDate    string `json:"build_date"`
	State        uint32 `json:"state"`
	StartTime    uint32 `json:"start_time"`
	LastChange   uint32 `json:"last_change"`
	LastUpdate   uint32 `json:"last_update"`
	CommitHash   string `json:"commit_hash"`
}

NodeLiveness holds the unmarshalled node liveness JSON data

func (*NodeLiveness) DeepCopy

func (in *NodeLiveness) DeepCopy() *NodeLiveness

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeLiveness.

func (*NodeLiveness) DeepCopyInto

func (in *NodeLiveness) DeepCopyInto(out *NodeLiveness)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeStaticRoutes

type NodeStaticRoutes []NodeIPRoute

NodeStaticRoutes defines an array of NodeIPRoute object

func (NodeStaticRoutes) DeepCopy

func (in NodeStaticRoutes) DeepCopy() NodeStaticRoutes

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStaticRoutes.

func (NodeStaticRoutes) DeepCopyInto

func (in NodeStaticRoutes) DeepCopyInto(out *NodeStaticRoutes)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeTelemetries

type NodeTelemetries map[string]NodeTelemetry

NodeTelemetries defines a map of NodeTelemetry

func (NodeTelemetries) DeepCopy

func (in NodeTelemetries) DeepCopy() NodeTelemetries

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTelemetries.

func (NodeTelemetries) DeepCopyInto

func (in NodeTelemetries) DeepCopyInto(out *NodeTelemetries)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeTelemetry

type NodeTelemetry struct {
	Command string   `json:"command"`
	Output  []Output `json:"output"`
}

NodeTelemetry holds the unmarshalled node telemetry JSON data

func (*NodeTelemetry) DeepCopy

func (in *NodeTelemetry) DeepCopy() *NodeTelemetry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTelemetry.

func (*NodeTelemetry) DeepCopyInto

func (in *NodeTelemetry) DeepCopyInto(out *NodeTelemetry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Output

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

Output holds the unmarshalled node telemetry output

func (*Output) DeepCopy

func (in *Output) DeepCopy() *Output

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Output.

func (*Output) DeepCopyInto

func (in *Output) DeepCopyInto(out *Output)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OutputEntry

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

OutputEntry holds the unmarshalled node output telemetry data

func (*OutputEntry) DeepCopy

func (in *OutputEntry) DeepCopy() *OutputEntry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputEntry.

func (*OutputEntry) DeepCopyInto

func (in *OutputEntry) DeepCopyInto(out *OutputEntry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Pod

type Pod struct {
	// Name of the pod unique within the namespace.
	// Cannot be updated.
	Name string `json:"name,omitempty"`
	// Namespace the pod is inserted into.
	// An empty namespace is equivalent to the "default" namespace, but "default"
	// is the canonical representation.
	// Cannot be updated.
	Namespace string `json:"namespace,omitempty"`
	// A list of labels attached to this pod.
	// +optional
	Label []*PodLabel `json:"label,omitempty"`
	// IP address allocated to the pod. Routable at least within the cluster.
	// Empty if not yet allocated.
	// +optional
	IPAddress string `json:"ip_address,omitempty"`
	// IP address of the host to which the pod is assigned.
	// Empty if not yet scheduled.
	// +optional
	HostIPAddress string `json:"host_ip_address,omitempty"`
	// Name of the interface on VPP through which the pod is connected
	// to VPP. Will be empty for host-network pods.
	VppIfName string `json:"vpp_if_name,omitempty"`
	// Internal name of the interface on VPP through which the pod is connected
	// to VPP. Will be empty for host-network pods.
	VppIfInternalName string `json:"vpp_if_internal_name,omitempty"`
	// IP address of the interface on VPP through which the pod is
	// connected to VPP. Will be empty for host-network pods.
	VppIfIPAddr string `json:"vpp_if_ip_addr,omitempty"`
	// Software IfIndex of the interface on VPP through which the pod is
	// connected to VPP. Will be empty for host-network pods.
	VppSwIfIdx uint32 `json:"vpp_sw_if_idx,omitempty"`
}

Pod contains pod parameter data

func (*Pod) DeepCopy

func (in *Pod) DeepCopy() *Pod

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod.

func (*Pod) DeepCopyInto

func (in *Pod) DeepCopyInto(out *Pod)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodLabel

type PodLabel struct {
	Key   string `json:"key,omitempty"`
	Value string `json:"value,omitempty"`
}

PodLabel contains key/value pair info

func (*PodLabel) DeepCopy

func (in *PodLabel) DeepCopy() *PodLabel

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLabel.

func (*PodLabel) DeepCopyInto

func (in *PodLabel) DeepCopyInto(out *PodLabel)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Reports

type Reports map[string][]string

Reports is the per node array of report lines generated from validate()

func (Reports) DeepCopy

func (in Reports) DeepCopy() Reports

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Reports.

func (Reports) DeepCopyInto

func (in Reports) DeepCopyInto(out *Reports)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Tap

type Tap struct {
	Version    uint32 `json:"version"`
	HostIfName string `json:"host_if_name"`
}

Tap contains tap parameter data

func (*Tap) DeepCopy

func (in *Tap) DeepCopy() *Tap

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tap.

func (*Tap) DeepCopyInto

func (in *Tap) DeepCopyInto(out *Tap)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Vxlan

type Vxlan struct {
	SrcAddress string `json:"src_address"`
	DstAddress string `json:"dst_address"`
	Vni        uint32 `json:"vni"`
}

Vxlan contains vxlan parameter data

func (*Vxlan) DeepCopy

func (in *Vxlan) DeepCopy() *Vxlan

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vxlan.

func (*Vxlan) DeepCopyInto

func (in *Vxlan) DeepCopyInto(out *Vxlan)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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