Documentation ¶
Index ¶
- Constants
- func Key(ruleName string) string
- type STN
- func (*STN) Descriptor() ([]byte, []int)
- func (m *STN) GetRules() []*STN_Rule
- func (*STN) ProtoMessage()
- func (m *STN) Reset()
- func (m *STN) String() string
- func (m *STN) XXX_DiscardUnknown()
- func (m *STN) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *STN) XXX_Merge(src proto.Message)
- func (m *STN) XXX_Size() int
- func (m *STN) XXX_Unmarshal(b []byte) error
- type STN_Rule
- func (*STN_Rule) Descriptor() ([]byte, []int)
- func (m *STN_Rule) GetInterface() string
- func (m *STN_Rule) GetIpAddress() string
- func (m *STN_Rule) GetRuleName() string
- func (*STN_Rule) ProtoMessage()
- func (m *STN_Rule) Reset()
- func (m *STN_Rule) String() string
- func (m *STN_Rule) XXX_DiscardUnknown()
- func (m *STN_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *STN_Rule) XXX_Merge(src proto.Message)
- func (m *STN_Rule) XXX_Size() int
- func (m *STN_Rule) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const Prefix = "vpp/config/v1/stn/rules/"
Prefix stn key/
Variables ¶
This section is empty.
Functions ¶
Types ¶
type STN ¶
type STN struct { Rules []*STN_Rule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*STN) Descriptor ¶
func (*STN) ProtoMessage ¶
func (*STN) ProtoMessage()
func (*STN) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *STN) XXX_DiscardUnknown()
func (*STN) XXX_Marshal ¶ added in v1.8.1
func (*STN) XXX_Unmarshal ¶ added in v1.8.1
type STN_Rule ¶
type STN_Rule struct { RuleName string `protobuf:"bytes,3,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"` IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` Interface string `protobuf:"bytes,2,opt,name=interface,proto3" json:"interface,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*STN_Rule) Descriptor ¶
func (*STN_Rule) GetInterface ¶
func (*STN_Rule) GetIpAddress ¶
func (*STN_Rule) GetRuleName ¶
func (*STN_Rule) ProtoMessage ¶
func (*STN_Rule) ProtoMessage()
func (*STN_Rule) XXX_DiscardUnknown ¶ added in v1.8.1
func (m *STN_Rule) XXX_DiscardUnknown()
func (*STN_Rule) XXX_Marshal ¶ added in v1.8.1
func (*STN_Rule) XXX_Unmarshal ¶ added in v1.8.1
Click to show internal directories.
Click to hide internal directories.