Documentation ¶
Index ¶
- Variables
- type LigatoOptions
- func (*LigatoOptions) Descriptor() ([]byte, []int)deprecated
- func (x *LigatoOptions) GetIntRange() *LigatoOptions_IntRange
- func (x *LigatoOptions) GetType() LigatoOptions_Type
- func (*LigatoOptions) ProtoMessage()
- func (x *LigatoOptions) ProtoReflect() protoreflect.Message
- func (x *LigatoOptions) Reset()
- func (x *LigatoOptions) String() string
- type LigatoOptions_IntRange
- func (*LigatoOptions_IntRange) Descriptor() ([]byte, []int)deprecated
- func (x *LigatoOptions_IntRange) GetMaximum() uint64
- func (x *LigatoOptions_IntRange) GetMinimum() int64
- func (*LigatoOptions_IntRange) ProtoMessage()
- func (x *LigatoOptions_IntRange) ProtoReflect() protoreflect.Message
- func (x *LigatoOptions_IntRange) Reset()
- func (x *LigatoOptions_IntRange) String() string
- type LigatoOptions_Type
- func (LigatoOptions_Type) Descriptor() protoreflect.EnumDescriptor
- func (x LigatoOptions_Type) Enum() *LigatoOptions_Type
- func (LigatoOptions_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x LigatoOptions_Type) Number() protoreflect.EnumNumber
- func (x LigatoOptions_Type) String() string
- func (LigatoOptions_Type) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LigatoOptions_Type_name = map[int32]string{ 0: "UNSPECIFIED", 1: "IP", 2: "IPV4", 3: "IPV6", 4: "IP_WITH_MASK", 5: "IPV4_WITH_MASK", 6: "IPV6_WITH_MASK", 7: "IP_OPTIONAL_MASK", 8: "IPV4_OPTIONAL_MASK", 9: "IPV6_OPTIONAL_MASK", } LigatoOptions_Type_value = map[string]int32{ "UNSPECIFIED": 0, "IP": 1, "IPV4": 2, "IPV6": 3, "IP_WITH_MASK": 4, "IPV4_WITH_MASK": 5, "IPV6_WITH_MASK": 6, "IP_OPTIONAL_MASK": 7, "IPV4_OPTIONAL_MASK": 8, "IPV6_OPTIONAL_MASK": 9, } )
Enum value maps for LigatoOptions_Type.
View Source
var ( // NOTE: used option field index(2000) is in extension index range of descriptor.proto, but is not registered // in protobuf global extension registry (https://github.com/protocolbuffers/protobuf/blob/master/docs/options.md) // // optional ligato.LigatoOptions ligato_options = 2000; E_LigatoOptions = &file_ligato_annotations_proto_extTypes[0] )
Extension fields to descriptorpb.FieldOptions.
View Source
var File_ligato_annotations_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type LigatoOptions ¶
type LigatoOptions struct { Type LigatoOptions_Type `protobuf:"varint,1,opt,name=type,proto3,enum=ligato.LigatoOptions_Type" json:"type,omitempty"` IntRange *LigatoOptions_IntRange `protobuf:"bytes,2,opt,name=int_range,json=intRange,proto3" json:"int_range,omitempty"` // contains filtered or unexported fields }
func (*LigatoOptions) Descriptor
deprecated
func (*LigatoOptions) Descriptor() ([]byte, []int)
Deprecated: Use LigatoOptions.ProtoReflect.Descriptor instead.
func (*LigatoOptions) GetIntRange ¶
func (x *LigatoOptions) GetIntRange() *LigatoOptions_IntRange
func (*LigatoOptions) GetType ¶
func (x *LigatoOptions) GetType() LigatoOptions_Type
func (*LigatoOptions) ProtoMessage ¶
func (*LigatoOptions) ProtoMessage()
func (*LigatoOptions) ProtoReflect ¶
func (x *LigatoOptions) ProtoReflect() protoreflect.Message
func (*LigatoOptions) Reset ¶
func (x *LigatoOptions) Reset()
func (*LigatoOptions) String ¶
func (x *LigatoOptions) String() string
type LigatoOptions_IntRange ¶
type LigatoOptions_IntRange struct { Minimum int64 `protobuf:"varint,1,opt,name=minimum,proto3" json:"minimum,omitempty"` Maximum uint64 `protobuf:"varint,2,opt,name=maximum,proto3" json:"maximum,omitempty"` // contains filtered or unexported fields }
func (*LigatoOptions_IntRange) Descriptor
deprecated
func (*LigatoOptions_IntRange) Descriptor() ([]byte, []int)
Deprecated: Use LigatoOptions_IntRange.ProtoReflect.Descriptor instead.
func (*LigatoOptions_IntRange) GetMaximum ¶
func (x *LigatoOptions_IntRange) GetMaximum() uint64
func (*LigatoOptions_IntRange) GetMinimum ¶
func (x *LigatoOptions_IntRange) GetMinimum() int64
func (*LigatoOptions_IntRange) ProtoMessage ¶
func (*LigatoOptions_IntRange) ProtoMessage()
func (*LigatoOptions_IntRange) ProtoReflect ¶
func (x *LigatoOptions_IntRange) ProtoReflect() protoreflect.Message
func (*LigatoOptions_IntRange) Reset ¶
func (x *LigatoOptions_IntRange) Reset()
func (*LigatoOptions_IntRange) String ¶
func (x *LigatoOptions_IntRange) String() string
type LigatoOptions_Type ¶
type LigatoOptions_Type int32
const ( LigatoOptions_UNSPECIFIED LigatoOptions_Type = 0 LigatoOptions_IP LigatoOptions_Type = 1 LigatoOptions_IPV4 LigatoOptions_Type = 2 LigatoOptions_IPV6 LigatoOptions_Type = 3 LigatoOptions_IP_WITH_MASK LigatoOptions_Type = 4 LigatoOptions_IPV4_WITH_MASK LigatoOptions_Type = 5 LigatoOptions_IPV6_WITH_MASK LigatoOptions_Type = 6 LigatoOptions_IP_OPTIONAL_MASK LigatoOptions_Type = 7 LigatoOptions_IPV4_OPTIONAL_MASK LigatoOptions_Type = 8 LigatoOptions_IPV6_OPTIONAL_MASK LigatoOptions_Type = 9 )
func (LigatoOptions_Type) Descriptor ¶
func (LigatoOptions_Type) Descriptor() protoreflect.EnumDescriptor
func (LigatoOptions_Type) Enum ¶
func (x LigatoOptions_Type) Enum() *LigatoOptions_Type
func (LigatoOptions_Type) EnumDescriptor
deprecated
func (LigatoOptions_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use LigatoOptions_Type.Descriptor instead.
func (LigatoOptions_Type) Number ¶
func (x LigatoOptions_Type) Number() protoreflect.EnumNumber
func (LigatoOptions_Type) String ¶
func (x LigatoOptions_Type) String() string
func (LigatoOptions_Type) Type ¶
func (LigatoOptions_Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.