southbound

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Type_name = map[int32]string{
		0: "OPENCONFIG",
		1: "CONTAINERISED",
	}
	Type_value = map[string]int32{
		"OPENCONFIG":    0,
		"CONTAINERISED": 1,
	}
)

Enum value maps for Type.

View Source
var File_gosdn_southbound_southbound_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SouthboundInterface

type SouthboundInterface struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type Type   `protobuf:"varint,2,opt,name=type,proto3,enum=gosdn.southbound.Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*SouthboundInterface) Descriptor deprecated

func (*SouthboundInterface) Descriptor() ([]byte, []int)

Deprecated: Use SouthboundInterface.ProtoReflect.Descriptor instead.

func (*SouthboundInterface) GetId

func (x *SouthboundInterface) GetId() string

func (*SouthboundInterface) GetType

func (x *SouthboundInterface) GetType() Type

func (*SouthboundInterface) ProtoMessage

func (*SouthboundInterface) ProtoMessage()

func (*SouthboundInterface) ProtoReflect

func (x *SouthboundInterface) ProtoReflect() protoreflect.Message

func (*SouthboundInterface) Reset

func (x *SouthboundInterface) Reset()

func (*SouthboundInterface) String

func (x *SouthboundInterface) String() string

type Type

type Type int32
const (
	Type_OPENCONFIG    Type = 0
	Type_CONTAINERISED Type = 1
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

func (Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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