datamodel

package
Version: v0.0.0-...-5e3b9c6 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package datamodel is a generated protocol buffer package.

It is generated from these files:

proto/config.proto
proto/fdtask.proto

It has these top-level messages:

ClientInfo
FileDeliverTask
MessageAck
KeepAlive

Index

Constants

View Source
const Default_ClientInfo_CmdReqPort uint32 = 9000
View Source
const Default_ClientInfo_DataPullPort uint32 = 10000
View Source
const Default_ClientInfo_DataReqPort uint32 = 10100

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInfo

type ClientInfo struct {
	Type             *uint32 `protobuf:"varint,1,req,name=Type" json:"Type,omitempty"`
	CmdReqPort       *uint32 `protobuf:"varint,2,req,name=CmdReqPort,def=9000" json:"CmdReqPort,omitempty"`
	DataPullPort     *uint32 `protobuf:"varint,3,req,name=DataPullPort,def=10000" json:"DataPullPort,omitempty"`
	DataReqPort      *uint32 `protobuf:"varint,4,req,name=DataReqPort,def=10100" json:"DataReqPort,omitempty"`
	Ip               *string `protobuf:"bytes,5,req,name=Ip" json:"Ip,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ClientInfo) Descriptor

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

func (*ClientInfo) GetCmdReqPort

func (m *ClientInfo) GetCmdReqPort() uint32

func (*ClientInfo) GetDataPullPort

func (m *ClientInfo) GetDataPullPort() uint32

func (*ClientInfo) GetDataReqPort

func (m *ClientInfo) GetDataReqPort() uint32

func (*ClientInfo) GetIp

func (m *ClientInfo) GetIp() string

func (*ClientInfo) GetType

func (m *ClientInfo) GetType() uint32

func (*ClientInfo) ProtoMessage

func (*ClientInfo) ProtoMessage()

func (*ClientInfo) Reset

func (m *ClientInfo) Reset()

func (*ClientInfo) String

func (m *ClientInfo) String() string

type FileDeliverTask

type FileDeliverTask struct {
	TaskName         *string  `protobuf:"bytes,1,req,name=TaskName" json:"TaskName,omitempty"`
	Target           []string `protobuf:"bytes,2,rep,name=Target" json:"Target,omitempty"`
	ImageDescJson    []byte   `protobuf:"bytes,3,req,name=ImageDescJson" json:"ImageDescJson,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*FileDeliverTask) Descriptor

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

func (*FileDeliverTask) GetImageDescJson

func (m *FileDeliverTask) GetImageDescJson() []byte

func (*FileDeliverTask) GetTarget

func (m *FileDeliverTask) GetTarget() []string

func (*FileDeliverTask) GetTaskName

func (m *FileDeliverTask) GetTaskName() string

func (*FileDeliverTask) ProtoMessage

func (*FileDeliverTask) ProtoMessage()

func (*FileDeliverTask) Reset

func (m *FileDeliverTask) Reset()

func (*FileDeliverTask) String

func (m *FileDeliverTask) String() string

type KeepAlive

type KeepAlive struct {
	NodeType         *uint32 `protobuf:"varint,1,req,name=NodeType" json:"NodeType,omitempty"`
	NodeId           *string `protobuf:"bytes,2,req,name=NodeId" json:"NodeId,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*KeepAlive) Descriptor

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

func (*KeepAlive) GetNodeId

func (m *KeepAlive) GetNodeId() string

func (*KeepAlive) GetNodeType

func (m *KeepAlive) GetNodeType() uint32

func (*KeepAlive) ProtoMessage

func (*KeepAlive) ProtoMessage()

func (*KeepAlive) Reset

func (m *KeepAlive) Reset()

func (*KeepAlive) String

func (m *KeepAlive) String() string

type MessageAck

type MessageAck struct {
	IsSuccess        *bool   `protobuf:"varint,1,req,name=IsSuccess" json:"IsSuccess,omitempty"`
	ErrMsg           *string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*MessageAck) Descriptor

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

func (*MessageAck) GetErrMsg

func (m *MessageAck) GetErrMsg() string

func (*MessageAck) GetIsSuccess

func (m *MessageAck) GetIsSuccess() bool

func (*MessageAck) ProtoMessage

func (*MessageAck) ProtoMessage()

func (*MessageAck) Reset

func (m *MessageAck) Reset()

func (*MessageAck) String

func (m *MessageAck) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL