Documentation ¶
Index ¶
- func Key(id string) string
- func KeyPrefix() string
- type Persisted
- func (*Persisted) Descriptor() ([]byte, []int)
- func (m *Persisted) GetAppNamespaceID() string
- func (m *Persisted) GetID() string
- func (m *Persisted) GetLoopbackName() string
- func (m *Persisted) GetPodARPEntryName() string
- func (m *Persisted) GetPodDefaultRouteName() string
- func (m *Persisted) GetPodLinkRouteName() string
- func (m *Persisted) GetPodName() string
- func (m *Persisted) GetPodNamespace() string
- func (m *Persisted) GetPodTapName() string
- func (m *Persisted) GetStnRuleName() string
- func (m *Persisted) GetVeth1Name() string
- func (m *Persisted) GetVeth2Name() string
- func (m *Persisted) GetVppARPEntryIP() string
- func (m *Persisted) GetVppARPEntryInterface() string
- func (m *Persisted) GetVppIfName() string
- func (m *Persisted) GetVppRouteDest() string
- func (m *Persisted) GetVppRouteNextHop() string
- func (m *Persisted) GetVppRouteVrf() uint32
- func (*Persisted) ProtoMessage()
- func (m *Persisted) Reset()
- func (m *Persisted) String() string
- func (m *Persisted) XXX_DiscardUnknown()
- func (m *Persisted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Persisted) XXX_Merge(src proto.Message)
- func (m *Persisted) XXX_Size() int
- func (m *Persisted) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Persisted ¶
type Persisted struct { // id is identifier of pod ID string `protobuf:"bytes,1,opt,name=ID,json=iD,proto3" json:"ID,omitempty"` // podName PodName string `protobuf:"bytes,2,opt,name=podName,proto3" json:"podName,omitempty"` PodNamespace string `protobuf:"bytes,3,opt,name=podNamespace,proto3" json:"podNamespace,omitempty"` // Veth1 is name of one end end of veth pair that is in the given container namespace. // Nil if TAPs are used instead. Veth1Name string `protobuf:"bytes,4,opt,name=Veth1Name,json=veth1Name,proto3" json:"Veth1Name,omitempty"` // Veth2 is name the other end of veth pair in the default namespace // Nil if TAPs are used instead. Veth2Name string `protobuf:"bytes,5,opt,name=Veth2Name,json=veth2Name,proto3" json:"Veth2Name,omitempty"` // VppIf is name AF_PACKET/TAP interface connecting pod to VPP VppIfName string `protobuf:"bytes,6,opt,name=VppIfName,json=vppIfName,proto3" json:"VppIfName,omitempty"` // PodTap is name ofthe host end of the tap connecting pod to VPP // Nil if TAPs are not used PodTapName string `protobuf:"bytes,7,opt,name=PodTapName,json=podTapName,proto3" json:"PodTapName,omitempty"` // Loopback is interface name associated with the pod. // Nil if VPP TCP stack is disabled. LoopbackName string `protobuf:"bytes,8,opt,name=LoopbackName,json=loopbackName,proto3" json:"LoopbackName,omitempty"` // StnRule is name of STN rule used to "punt" any traffic via VETHs/TAPs with no match in VPP TCP stack. // Nil if VPP TCP stack is disabled. StnRuleName string `protobuf:"bytes,9,opt,name=StnRuleName,json=stnRuleName,proto3" json:"StnRuleName,omitempty"` // AppNamespace is id of the application namespace associated with the pod. // Nil if VPP TCP stack is disabled. AppNamespaceID string `protobuf:"bytes,10,opt,name=AppNamespaceID,json=appNamespaceID,proto3" json:"AppNamespaceID,omitempty"` // VppARPEntryInterface is name of the Interface associated ARP entry configured in VPP to route traffic from VPP to pod. VppARPEntryInterface string `protobuf:"bytes,11,opt,name=VppARPEntryInterface,json=vppARPEntryInterface,proto3" json:"VppARPEntryInterface,omitempty"` // VppARPEntryIP is IP associated ARP entry configured in VPP to route traffic from VPP to pod. VppARPEntryIP string `protobuf:"bytes,12,opt,name=VppARPEntryIP,json=vppARPEntryIP,proto3" json:"VppARPEntryIP,omitempty"` // PodARPEntry is name of ARP entry configured in the pod to route traffic from pod to VPP. PodARPEntryName string `protobuf:"bytes,13,opt,name=PodARPEntryName,json=podARPEntryName,proto3" json:"PodARPEntryName,omitempty"` // VppRouteVrf is vrf of the route from VPP to the container VppRouteVrf uint32 `protobuf:"varint,15,opt,name=VppRouteVrf,json=vppRouteVrf,proto3" json:"VppRouteVrf,omitempty"` // VppRouteDest is destination of the route from VPP to the container VppRouteDest string `protobuf:"bytes,16,opt,name=VppRouteDest,json=vppRouteDest,proto3" json:"VppRouteDest,omitempty"` // VppRouteNextHop is next hop of the route from VPP to the container VppRouteNextHop string `protobuf:"bytes,17,opt,name=VppRouteNextHop,json=vppRouteNextHop,proto3" json:"VppRouteNextHop,omitempty"` // PodLinkRoute is name of the route from pod to the default gateway. PodLinkRouteName string `protobuf:"bytes,18,opt,name=PodLinkRouteName,json=podLinkRouteName,proto3" json:"PodLinkRouteName,omitempty"` // PodDefaultRoute is name of the default gateway for the pod. PodDefaultRouteName string `protobuf:"bytes,19,opt,name=PodDefaultRouteName,json=podDefaultRouteName,proto3" json:"PodDefaultRouteName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Persisted represents configured items for a pod that are persisted.
func (*Persisted) Descriptor ¶
func (*Persisted) GetAppNamespaceID ¶
func (*Persisted) GetLoopbackName ¶
func (*Persisted) GetPodARPEntryName ¶
func (*Persisted) GetPodDefaultRouteName ¶
func (*Persisted) GetPodLinkRouteName ¶
func (*Persisted) GetPodName ¶
func (*Persisted) GetPodNamespace ¶
func (*Persisted) GetPodTapName ¶
func (*Persisted) GetStnRuleName ¶
func (*Persisted) GetVeth1Name ¶
func (*Persisted) GetVeth2Name ¶
func (*Persisted) GetVppARPEntryIP ¶
func (*Persisted) GetVppARPEntryInterface ¶
func (*Persisted) GetVppIfName ¶
func (*Persisted) GetVppRouteDest ¶
func (*Persisted) GetVppRouteNextHop ¶
func (*Persisted) GetVppRouteVrf ¶
func (*Persisted) ProtoMessage ¶
func (*Persisted) ProtoMessage()
func (*Persisted) XXX_DiscardUnknown ¶ added in v1.4.0
func (m *Persisted) XXX_DiscardUnknown()
func (*Persisted) XXX_Marshal ¶ added in v1.4.0
func (*Persisted) XXX_Unmarshal ¶ added in v1.4.0
Click to show internal directories.
Click to hide internal directories.