stn

package
v1.8.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Prefix = "vpp/config/v1/stn/rules/"

Prefix stn key/

Variables

This section is empty.

Functions

func Key

func Key(ruleName string) string

Key returns the prefix used in ETCD to store vpp STN config of a particular rule in selected vpp instance.

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) Descriptor() ([]byte, []int)

func (*STN) GetRules

func (m *STN) GetRules() []*STN_Rule

func (*STN) ProtoMessage

func (*STN) ProtoMessage()

func (*STN) Reset

func (m *STN) Reset()

func (*STN) String

func (m *STN) String() string

func (*STN) XXX_DiscardUnknown added in v1.8.1

func (m *STN) XXX_DiscardUnknown()

func (*STN) XXX_Marshal added in v1.8.1

func (m *STN) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*STN) XXX_Merge added in v1.8.1

func (dst *STN) XXX_Merge(src proto.Message)

func (*STN) XXX_Size added in v1.8.1

func (m *STN) XXX_Size() int

func (*STN) XXX_Unmarshal added in v1.8.1

func (m *STN) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*STN_Rule) GetInterface

func (m *STN_Rule) GetInterface() string

func (*STN_Rule) GetIpAddress

func (m *STN_Rule) GetIpAddress() string

func (*STN_Rule) GetRuleName

func (m *STN_Rule) GetRuleName() string

func (*STN_Rule) ProtoMessage

func (*STN_Rule) ProtoMessage()

func (*STN_Rule) Reset

func (m *STN_Rule) Reset()

func (*STN_Rule) String

func (m *STN_Rule) String() string

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 (m *STN_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*STN_Rule) XXX_Merge added in v1.8.1

func (dst *STN_Rule) XXX_Merge(src proto.Message)

func (*STN_Rule) XXX_Size added in v1.8.1

func (m *STN_Rule) XXX_Size() int

func (*STN_Rule) XXX_Unmarshal added in v1.8.1

func (m *STN_Rule) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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