stn

package
v1.5.2 Latest Latest
Warning

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

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

Documentation

Overview

Package stn is a generated protocol buffer package.

It is generated from these files:

stn.proto

It has these top-level messages:

STN

Index

Constants

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

StnRulesPrefix 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.

func KeyPrefix

func KeyPrefix() string

KeyPrefix returns the prefix used in ETCD to store vpp STN config

Types

type STN

type STN struct {
	Rules []*STN_Rule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
}

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

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"`
}

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

Jump to

Keyboard shortcuts

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