transport

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: BSD-3-Clause Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_gosdn_transport_transport_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GnmiTransportOption

type GnmiTransportOption struct {
	Compression     string            `protobuf:"bytes,1,opt,name=compression,proto3" json:"compression,omitempty"`
	GrpcDialOptions map[string]string `` /* 171-byte string literal not displayed */
	Token           string            `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	Encoding        gnmi.Encoding     `protobuf:"varint,4,opt,name=encoding,proto3,enum=gnmi.Encoding" json:"encoding,omitempty"`
	// contains filtered or unexported fields
}

func (*GnmiTransportOption) Descriptor deprecated

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

Deprecated: Use GnmiTransportOption.ProtoReflect.Descriptor instead.

func (*GnmiTransportOption) GetCompression

func (x *GnmiTransportOption) GetCompression() string

func (*GnmiTransportOption) GetEncoding

func (x *GnmiTransportOption) GetEncoding() gnmi.Encoding

func (*GnmiTransportOption) GetGrpcDialOptions

func (x *GnmiTransportOption) GetGrpcDialOptions() map[string]string

func (*GnmiTransportOption) GetToken

func (x *GnmiTransportOption) GetToken() string

func (*GnmiTransportOption) ProtoMessage

func (*GnmiTransportOption) ProtoMessage()

func (*GnmiTransportOption) ProtoReflect

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

func (*GnmiTransportOption) Reset

func (x *GnmiTransportOption) Reset()

func (*GnmiTransportOption) String

func (x *GnmiTransportOption) String() string

type RestconfTransportOption

type RestconfTransportOption struct {
	// contains filtered or unexported fields
}

func (*RestconfTransportOption) Descriptor deprecated

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

Deprecated: Use RestconfTransportOption.ProtoReflect.Descriptor instead.

func (*RestconfTransportOption) ProtoMessage

func (*RestconfTransportOption) ProtoMessage()

func (*RestconfTransportOption) ProtoReflect

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

func (*RestconfTransportOption) Reset

func (x *RestconfTransportOption) Reset()

func (*RestconfTransportOption) String

func (x *RestconfTransportOption) String() string

type TransportOption

type TransportOption struct {
	Address  string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	Tls      bool   `protobuf:"varint,4,opt,name=tls,proto3" json:"tls,omitempty"`
	// Types that are assignable to TransportOption:
	//	*TransportOption_GnmiTransportOption
	//	*TransportOption_RestconfTransportOption
	TransportOption isTransportOption_TransportOption `protobuf_oneof:"transportOption"`
	Csbi            bool                              `protobuf:"varint,7,opt,name=csbi,proto3" json:"csbi,omitempty"`
	// contains filtered or unexported fields
}

func (*TransportOption) Descriptor deprecated

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

Deprecated: Use TransportOption.ProtoReflect.Descriptor instead.

func (*TransportOption) GetAddress

func (x *TransportOption) GetAddress() string

func (*TransportOption) GetCsbi

func (x *TransportOption) GetCsbi() bool

func (*TransportOption) GetGnmiTransportOption

func (x *TransportOption) GetGnmiTransportOption() *GnmiTransportOption

func (*TransportOption) GetPassword

func (x *TransportOption) GetPassword() string

func (*TransportOption) GetRestconfTransportOption

func (x *TransportOption) GetRestconfTransportOption() *RestconfTransportOption

func (*TransportOption) GetTls

func (x *TransportOption) GetTls() bool

func (*TransportOption) GetTransportOption

func (m *TransportOption) GetTransportOption() isTransportOption_TransportOption

func (*TransportOption) GetUsername

func (x *TransportOption) GetUsername() string

func (*TransportOption) ProtoMessage

func (*TransportOption) ProtoMessage()

func (*TransportOption) ProtoReflect

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

func (*TransportOption) Reset

func (x *TransportOption) Reset()

func (*TransportOption) String

func (x *TransportOption) String() string

type TransportOption_GnmiTransportOption

type TransportOption_GnmiTransportOption struct {
	GnmiTransportOption *GnmiTransportOption `protobuf:"bytes,5,opt,name=GnmiTransportOption,proto3,oneof"`
}

type TransportOption_RestconfTransportOption

type TransportOption_RestconfTransportOption struct {
	RestconfTransportOption *RestconfTransportOption `protobuf:"bytes,6,opt,name=RestconfTransportOption,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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