Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "vpp.stn"
ModuleName is the module name used for models.
Variables ¶
View Source
var File_ligato_vpp_stn_stn_proto protoreflect.FileDescriptor
View Source
var ( ModelRule = models.Register(&Rule{}, models.Spec{ Module: ModuleName, Type: "rule", Version: "v2", }, models.WithNameTemplate("{{.Interface}}/ip/{{.IpAddress}}")) )
Functions ¶
Types ¶
type Rule ¶
type Rule struct { 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"` // contains filtered or unexported fields }
func (*Rule) Descriptor
deprecated
func (*Rule) GetInterface ¶
func (*Rule) GetIpAddress ¶
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶ added in v3.2.0
func (x *Rule) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.