discovery

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Discovery_Type_name = map[int32]string{
	0: "CONNECT",
	1: "SUCCESS",
	2: "FAILED",
}
View Source
var Discovery_Type_value = map[string]int32{
	"CONNECT": 0,
	"SUCCESS": 1,
	"FAILED":  2,
}

Functions

This section is empty.

Types

type Discovery

type Discovery struct {
	Type                 *Discovery_Type `protobuf:"varint,1,opt,name=type,enum=discovery.Discovery_Type" json:"type,omitempty"`
	Protocol             *string         `protobuf:"bytes,2,opt,name=pb" json:"pb,omitempty"`
	NodeName             *string         `protobuf:"bytes,3,opt,name=node_name,json=nodeName" json:"node_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*Discovery) Descriptor

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

func (*Discovery) GetNodeName

func (m *Discovery) GetNodeName() string

func (*Discovery) GetProtocol

func (m *Discovery) GetProtocol() string

func (*Discovery) GetType

func (m *Discovery) GetType() Discovery_Type

func (*Discovery) ProtoMessage

func (*Discovery) ProtoMessage()

func (*Discovery) Reset

func (m *Discovery) Reset()

func (*Discovery) String

func (m *Discovery) String() string

func (*Discovery) XXX_DiscardUnknown

func (m *Discovery) XXX_DiscardUnknown()

func (*Discovery) XXX_Marshal

func (m *Discovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Discovery) XXX_Merge

func (m *Discovery) XXX_Merge(src proto.Message)

func (*Discovery) XXX_Size

func (m *Discovery) XXX_Size() int

func (*Discovery) XXX_Unmarshal

func (m *Discovery) XXX_Unmarshal(b []byte) error

type Discovery_Type

type Discovery_Type int32
const (
	Discovery_CONNECT Discovery_Type = 0
	Discovery_SUCCESS Discovery_Type = 1
	Discovery_FAILED  Discovery_Type = 2
)

func (Discovery_Type) Enum

func (x Discovery_Type) Enum() *Discovery_Type

func (Discovery_Type) EnumDescriptor

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

func (Discovery_Type) String

func (x Discovery_Type) String() string

func (*Discovery_Type) UnmarshalJSON

func (x *Discovery_Type) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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