Documentation
¶
Index ¶
- Variables
- func RegisterAgentServiceHandler(s server.Server, hdlr AgentServiceHandler, opts ...server.HandlerOption) error
- func RegisterTaskServiceHandler(s server.Server, hdlr TaskServiceHandler, opts ...server.HandlerOption) error
- func RegisterTeamServiceHandler(s server.Server, hdlr TeamServiceHandler, opts ...server.HandlerOption) error
- type AddressInfo
- func (*AddressInfo) Descriptor() ([]byte, []int)
- func (m *AddressInfo) GetCity() string
- func (m *AddressInfo) GetCountry() string
- func (m *AddressInfo) GetLocation() string
- func (m *AddressInfo) GetProvince() string
- func (m *AddressInfo) GetZone() string
- func (*AddressInfo) ProtoMessage()
- func (m *AddressInfo) Reset()
- func (m *AddressInfo) String() string
- func (m *AddressInfo) XXX_DiscardUnknown()
- func (m *AddressInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddressInfo) XXX_Merge(src proto.Message)
- func (m *AddressInfo) XXX_Size() int
- func (m *AddressInfo) XXX_Unmarshal(b []byte) error
- type AgentInfo
- func (*AgentInfo) Descriptor() ([]byte, []int)
- func (m *AgentInfo) GetCreated() int64
- func (m *AgentInfo) GetCreator() string
- func (m *AgentInfo) GetEntity() string
- func (m *AgentInfo) GetId() uint64
- func (m *AgentInfo) GetName() string
- func (m *AgentInfo) GetOperator() string
- func (m *AgentInfo) GetRemark() string
- func (m *AgentInfo) GetTags() []string
- func (m *AgentInfo) GetUid() string
- func (m *AgentInfo) GetUpdated() int64
- func (m *AgentInfo) GetUser() string
- func (*AgentInfo) ProtoMessage()
- func (m *AgentInfo) Reset()
- func (m *AgentInfo) String() string
- func (m *AgentInfo) XXX_DiscardUnknown()
- func (m *AgentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AgentInfo) XXX_Merge(src proto.Message)
- func (m *AgentInfo) XXX_Size() int
- func (m *AgentInfo) XXX_Unmarshal(b []byte) error
- type AgentService
- type AgentServiceHandler
- type DateInfo
- func (*DateInfo) Descriptor() ([]byte, []int)
- func (m *DateInfo) GetBegin() string
- func (m *DateInfo) GetEnd() string
- func (*DateInfo) ProtoMessage()
- func (m *DateInfo) Reset()
- func (m *DateInfo) String() string
- func (m *DateInfo) XXX_DiscardUnknown()
- func (m *DateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DateInfo) XXX_Merge(src proto.Message)
- func (m *DateInfo) XXX_Size() int
- func (m *DateInfo) XXX_Unmarshal(b []byte) error
- type RecordInfo
- func (*RecordInfo) Descriptor() ([]byte, []int)
- func (m *RecordInfo) GetAgent() string
- func (m *RecordInfo) GetAssets() []string
- func (m *RecordInfo) GetCreated() int64
- func (m *RecordInfo) GetCreator() string
- func (m *RecordInfo) GetName() string
- func (m *RecordInfo) GetOperator() string
- func (m *RecordInfo) GetRemark() string
- func (m *RecordInfo) GetStatus() uint32
- func (m *RecordInfo) GetTags() []string
- func (m *RecordInfo) GetUid() string
- func (m *RecordInfo) GetUpdated() int64
- func (*RecordInfo) ProtoMessage()
- func (m *RecordInfo) Reset()
- func (m *RecordInfo) String() string
- func (m *RecordInfo) XXX_DiscardUnknown()
- func (m *RecordInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecordInfo) XXX_Merge(src proto.Message)
- func (m *RecordInfo) XXX_Size() int
- func (m *RecordInfo) XXX_Unmarshal(b []byte) error
- type ReplyAgentList
- func (*ReplyAgentList) Descriptor() ([]byte, []int)
- func (m *ReplyAgentList) GetList() []*AgentInfo
- func (m *ReplyAgentList) GetPageMax() uint32
- func (m *ReplyAgentList) GetPageNow() uint32
- func (m *ReplyAgentList) GetStatus() *ReplyStatus
- func (m *ReplyAgentList) GetTotal() uint32
- func (*ReplyAgentList) ProtoMessage()
- func (m *ReplyAgentList) Reset()
- func (m *ReplyAgentList) String() string
- func (m *ReplyAgentList) XXX_DiscardUnknown()
- func (m *ReplyAgentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyAgentList) XXX_Merge(src proto.Message)
- func (m *ReplyAgentList) XXX_Size() int
- func (m *ReplyAgentList) XXX_Unmarshal(b []byte) error
- type ReplyAgentOne
- func (*ReplyAgentOne) Descriptor() ([]byte, []int)
- func (m *ReplyAgentOne) GetInfo() *AgentInfo
- func (m *ReplyAgentOne) GetStatus() *ReplyStatus
- func (*ReplyAgentOne) ProtoMessage()
- func (m *ReplyAgentOne) Reset()
- func (m *ReplyAgentOne) String() string
- func (m *ReplyAgentOne) XXX_DiscardUnknown()
- func (m *ReplyAgentOne) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyAgentOne) XXX_Merge(src proto.Message)
- func (m *ReplyAgentOne) XXX_Size() int
- func (m *ReplyAgentOne) XXX_Unmarshal(b []byte) error
- type ReplyInfo
- func (*ReplyInfo) Descriptor() ([]byte, []int)
- func (m *ReplyInfo) GetStatus() *ReplyStatus
- func (m *ReplyInfo) GetUid() string
- func (*ReplyInfo) ProtoMessage()
- func (m *ReplyInfo) Reset()
- func (m *ReplyInfo) String() string
- func (m *ReplyInfo) XXX_DiscardUnknown()
- func (m *ReplyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyInfo) XXX_Merge(src proto.Message)
- func (m *ReplyInfo) XXX_Size() int
- func (m *ReplyInfo) XXX_Unmarshal(b []byte) error
- type ReplyList
- func (*ReplyList) Descriptor() ([]byte, []int)
- func (m *ReplyList) GetList() []string
- func (m *ReplyList) GetStatus() *ReplyStatus
- func (m *ReplyList) GetUid() string
- func (*ReplyList) ProtoMessage()
- func (m *ReplyList) Reset()
- func (m *ReplyList) String() string
- func (m *ReplyList) XXX_DiscardUnknown()
- func (m *ReplyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyList) XXX_Merge(src proto.Message)
- func (m *ReplyList) XXX_Size() int
- func (m *ReplyList) XXX_Unmarshal(b []byte) error
- type ReplyStatistic
- func (*ReplyStatistic) Descriptor() ([]byte, []int)
- func (m *ReplyStatistic) GetCount() uint32
- func (m *ReplyStatistic) GetKey() string
- func (m *ReplyStatistic) GetOwner() string
- func (m *ReplyStatistic) GetStatus() *ReplyStatus
- func (*ReplyStatistic) ProtoMessage()
- func (m *ReplyStatistic) Reset()
- func (m *ReplyStatistic) String() string
- func (m *ReplyStatistic) XXX_DiscardUnknown()
- func (m *ReplyStatistic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyStatistic) XXX_Merge(src proto.Message)
- func (m *ReplyStatistic) XXX_Size() int
- func (m *ReplyStatistic) XXX_Unmarshal(b []byte) error
- type ReplyStatus
- func (*ReplyStatus) Descriptor() ([]byte, []int)
- func (m *ReplyStatus) GetCode() uint32
- func (m *ReplyStatus) GetError() string
- func (*ReplyStatus) ProtoMessage()
- func (m *ReplyStatus) Reset()
- func (m *ReplyStatus) String() string
- func (m *ReplyStatus) XXX_DiscardUnknown()
- func (m *ReplyStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyStatus) XXX_Merge(src proto.Message)
- func (m *ReplyStatus) XXX_Size() int
- func (m *ReplyStatus) XXX_Unmarshal(b []byte) error
- type ReplyTaskList
- func (*ReplyTaskList) Descriptor() ([]byte, []int)
- func (m *ReplyTaskList) GetList() []*TaskInfo
- func (m *ReplyTaskList) GetPageMax() uint32
- func (m *ReplyTaskList) GetPageNow() uint32
- func (m *ReplyTaskList) GetStatus() *ReplyStatus
- func (m *ReplyTaskList) GetTotal() uint32
- func (*ReplyTaskList) ProtoMessage()
- func (m *ReplyTaskList) Reset()
- func (m *ReplyTaskList) String() string
- func (m *ReplyTaskList) XXX_DiscardUnknown()
- func (m *ReplyTaskList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyTaskList) XXX_Merge(src proto.Message)
- func (m *ReplyTaskList) XXX_Size() int
- func (m *ReplyTaskList) XXX_Unmarshal(b []byte) error
- type ReplyTaskOne
- func (*ReplyTaskOne) Descriptor() ([]byte, []int)
- func (m *ReplyTaskOne) GetInfo() *TaskInfo
- func (m *ReplyTaskOne) GetStatus() *ReplyStatus
- func (*ReplyTaskOne) ProtoMessage()
- func (m *ReplyTaskOne) Reset()
- func (m *ReplyTaskOne) String() string
- func (m *ReplyTaskOne) XXX_DiscardUnknown()
- func (m *ReplyTaskOne) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyTaskOne) XXX_Merge(src proto.Message)
- func (m *ReplyTaskOne) XXX_Size() int
- func (m *ReplyTaskOne) XXX_Unmarshal(b []byte) error
- type ReplyTeamInfo
- func (*ReplyTeamInfo) Descriptor() ([]byte, []int)
- func (m *ReplyTeamInfo) GetInfo() *TeamInfo
- func (m *ReplyTeamInfo) GetStatus() *ReplyStatus
- func (*ReplyTeamInfo) ProtoMessage()
- func (m *ReplyTeamInfo) Reset()
- func (m *ReplyTeamInfo) String() string
- func (m *ReplyTeamInfo) XXX_DiscardUnknown()
- func (m *ReplyTeamInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyTeamInfo) XXX_Merge(src proto.Message)
- func (m *ReplyTeamInfo) XXX_Size() int
- func (m *ReplyTeamInfo) XXX_Unmarshal(b []byte) error
- type ReplyTeamList
- func (*ReplyTeamList) Descriptor() ([]byte, []int)
- func (m *ReplyTeamList) GetList() []*TeamInfo
- func (m *ReplyTeamList) GetStatus() *ReplyStatus
- func (*ReplyTeamList) ProtoMessage()
- func (m *ReplyTeamList) Reset()
- func (m *ReplyTeamList) String() string
- func (m *ReplyTeamList) XXX_DiscardUnknown()
- func (m *ReplyTeamList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyTeamList) XXX_Merge(src proto.Message)
- func (m *ReplyTeamList) XXX_Size() int
- func (m *ReplyTeamList) XXX_Unmarshal(b []byte) error
- type ReqAgentAdd
- func (*ReqAgentAdd) Descriptor() ([]byte, []int)
- func (m *ReqAgentAdd) GetAddress() *AddressInfo
- func (m *ReqAgentAdd) GetContact() string
- func (m *ReqAgentAdd) GetCover() string
- func (m *ReqAgentAdd) GetLocation() string
- func (m *ReqAgentAdd) GetName() string
- func (m *ReqAgentAdd) GetOperator() string
- func (m *ReqAgentAdd) GetRemark() string
- func (m *ReqAgentAdd) GetScene() string
- func (*ReqAgentAdd) ProtoMessage()
- func (m *ReqAgentAdd) Reset()
- func (m *ReqAgentAdd) String() string
- func (m *ReqAgentAdd) XXX_DiscardUnknown()
- func (m *ReqAgentAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqAgentAdd) XXX_Merge(src proto.Message)
- func (m *ReqAgentAdd) XXX_Size() int
- func (m *ReqAgentAdd) XXX_Unmarshal(b []byte) error
- type ReqAgentUpdate
- func (*ReqAgentUpdate) Descriptor() ([]byte, []int)
- func (m *ReqAgentUpdate) GetCover() string
- func (m *ReqAgentUpdate) GetName() string
- func (m *ReqAgentUpdate) GetOperator() string
- func (m *ReqAgentUpdate) GetRemark() string
- func (m *ReqAgentUpdate) GetUid() string
- func (*ReqAgentUpdate) ProtoMessage()
- func (m *ReqAgentUpdate) Reset()
- func (m *ReqAgentUpdate) String() string
- func (m *ReqAgentUpdate) XXX_DiscardUnknown()
- func (m *ReqAgentUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqAgentUpdate) XXX_Merge(src proto.Message)
- func (m *ReqAgentUpdate) XXX_Size() int
- func (m *ReqAgentUpdate) XXX_Unmarshal(b []byte) error
- type ReqTaskAdd
- func (*ReqTaskAdd) Descriptor() ([]byte, []int)
- func (m *ReqTaskAdd) GetAssets() []string
- func (m *ReqTaskAdd) GetClient() string
- func (m *ReqTaskAdd) GetDuration() *DateInfo
- func (m *ReqTaskAdd) GetName() string
- func (m *ReqTaskAdd) GetOperator() string
- func (m *ReqTaskAdd) GetOwner() string
- func (m *ReqTaskAdd) GetPretask() string
- func (m *ReqTaskAdd) GetRemark() string
- func (m *ReqTaskAdd) GetShort() string
- func (m *ReqTaskAdd) GetType() int32
- func (*ReqTaskAdd) ProtoMessage()
- func (m *ReqTaskAdd) Reset()
- func (m *ReqTaskAdd) String() string
- func (m *ReqTaskAdd) XXX_DiscardUnknown()
- func (m *ReqTaskAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTaskAdd) XXX_Merge(src proto.Message)
- func (m *ReqTaskAdd) XXX_Size() int
- func (m *ReqTaskAdd) XXX_Unmarshal(b []byte) error
- type ReqTaskUpdate
- func (*ReqTaskUpdate) Descriptor() ([]byte, []int)
- func (m *ReqTaskUpdate) GetName() string
- func (m *ReqTaskUpdate) GetOperator() string
- func (m *ReqTaskUpdate) GetRemark() string
- func (m *ReqTaskUpdate) GetUid() string
- func (*ReqTaskUpdate) ProtoMessage()
- func (m *ReqTaskUpdate) Reset()
- func (m *ReqTaskUpdate) String() string
- func (m *ReqTaskUpdate) XXX_DiscardUnknown()
- func (m *ReqTaskUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTaskUpdate) XXX_Merge(src proto.Message)
- func (m *ReqTaskUpdate) XXX_Size() int
- func (m *ReqTaskUpdate) XXX_Unmarshal(b []byte) error
- type ReqTeamAdd
- func (*ReqTeamAdd) Descriptor() ([]byte, []int)
- func (m *ReqTeamAdd) GetName() string
- func (m *ReqTeamAdd) GetOperator() string
- func (m *ReqTeamAdd) GetOwner() string
- func (m *ReqTeamAdd) GetRemark() string
- func (*ReqTeamAdd) ProtoMessage()
- func (m *ReqTeamAdd) Reset()
- func (m *ReqTeamAdd) String() string
- func (m *ReqTeamAdd) XXX_DiscardUnknown()
- func (m *ReqTeamAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTeamAdd) XXX_Merge(src proto.Message)
- func (m *ReqTeamAdd) XXX_Size() int
- func (m *ReqTeamAdd) XXX_Unmarshal(b []byte) error
- type ReqTeamDevice
- func (*ReqTeamDevice) Descriptor() ([]byte, []int)
- func (m *ReqTeamDevice) GetDevice() string
- func (m *ReqTeamDevice) GetOperator() string
- func (m *ReqTeamDevice) GetRemark() string
- func (m *ReqTeamDevice) GetType() uint32
- func (m *ReqTeamDevice) GetUid() string
- func (*ReqTeamDevice) ProtoMessage()
- func (m *ReqTeamDevice) Reset()
- func (m *ReqTeamDevice) String() string
- func (m *ReqTeamDevice) XXX_DiscardUnknown()
- func (m *ReqTeamDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTeamDevice) XXX_Merge(src proto.Message)
- func (m *ReqTeamDevice) XXX_Size() int
- func (m *ReqTeamDevice) XXX_Unmarshal(b []byte) error
- type ReqTeamUpdate
- func (*ReqTeamUpdate) Descriptor() ([]byte, []int)
- func (m *ReqTeamUpdate) GetName() string
- func (m *ReqTeamUpdate) GetOperator() string
- func (m *ReqTeamUpdate) GetRemark() string
- func (m *ReqTeamUpdate) GetUid() string
- func (*ReqTeamUpdate) ProtoMessage()
- func (m *ReqTeamUpdate) Reset()
- func (m *ReqTeamUpdate) String() string
- func (m *ReqTeamUpdate) XXX_DiscardUnknown()
- func (m *ReqTeamUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTeamUpdate) XXX_Merge(src proto.Message)
- func (m *ReqTeamUpdate) XXX_Size() int
- func (m *ReqTeamUpdate) XXX_Unmarshal(b []byte) error
- type RequestAddress
- func (*RequestAddress) Descriptor() ([]byte, []int)
- func (m *RequestAddress) GetCity() string
- func (m *RequestAddress) GetCountry() string
- func (m *RequestAddress) GetLocation() string
- func (m *RequestAddress) GetOperator() string
- func (m *RequestAddress) GetProvince() string
- func (m *RequestAddress) GetUid() string
- func (m *RequestAddress) GetZone() string
- func (*RequestAddress) ProtoMessage()
- func (m *RequestAddress) Reset()
- func (m *RequestAddress) String() string
- func (m *RequestAddress) XXX_DiscardUnknown()
- func (m *RequestAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestAddress) XXX_Merge(src proto.Message)
- func (m *RequestAddress) XXX_Size() int
- func (m *RequestAddress) XXX_Unmarshal(b []byte) error
- type RequestFilter
- func (*RequestFilter) Descriptor() ([]byte, []int)
- func (m *RequestFilter) GetKey() string
- func (m *RequestFilter) GetNumber() uint32
- func (m *RequestFilter) GetOwner() string
- func (m *RequestFilter) GetPage() uint32
- func (m *RequestFilter) GetValue() string
- func (m *RequestFilter) GetValues() []string
- func (*RequestFilter) ProtoMessage()
- func (m *RequestFilter) Reset()
- func (m *RequestFilter) String() string
- func (m *RequestFilter) XXX_DiscardUnknown()
- func (m *RequestFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestFilter) XXX_Merge(src proto.Message)
- func (m *RequestFilter) XXX_Size() int
- func (m *RequestFilter) XXX_Unmarshal(b []byte) error
- type RequestFlag
- func (*RequestFlag) Descriptor() ([]byte, []int)
- func (m *RequestFlag) GetFlag() string
- func (m *RequestFlag) GetOperator() string
- func (m *RequestFlag) GetUid() string
- func (*RequestFlag) ProtoMessage()
- func (m *RequestFlag) Reset()
- func (m *RequestFlag) String() string
- func (m *RequestFlag) XXX_DiscardUnknown()
- func (m *RequestFlag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestFlag) XXX_Merge(src proto.Message)
- func (m *RequestFlag) XXX_Size() int
- func (m *RequestFlag) XXX_Unmarshal(b []byte) error
- type RequestInfo
- func (*RequestInfo) Descriptor() ([]byte, []int)
- func (m *RequestInfo) GetOperator() string
- func (m *RequestInfo) GetOwner() string
- func (m *RequestInfo) GetUid() string
- func (*RequestInfo) ProtoMessage()
- func (m *RequestInfo) Reset()
- func (m *RequestInfo) String() string
- func (m *RequestInfo) XXX_DiscardUnknown()
- func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestInfo) XXX_Merge(src proto.Message)
- func (m *RequestInfo) XXX_Size() int
- func (m *RequestInfo) XXX_Unmarshal(b []byte) error
- type RequestIntFlag
- func (*RequestIntFlag) Descriptor() ([]byte, []int)
- func (m *RequestIntFlag) GetFlag() int32
- func (m *RequestIntFlag) GetOperator() string
- func (m *RequestIntFlag) GetUid() string
- func (*RequestIntFlag) ProtoMessage()
- func (m *RequestIntFlag) Reset()
- func (m *RequestIntFlag) String() string
- func (m *RequestIntFlag) XXX_DiscardUnknown()
- func (m *RequestIntFlag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestIntFlag) XXX_Merge(src proto.Message)
- func (m *RequestIntFlag) XXX_Size() int
- func (m *RequestIntFlag) XXX_Unmarshal(b []byte) error
- type RequestList
- func (*RequestList) Descriptor() ([]byte, []int)
- func (m *RequestList) GetList() []string
- func (m *RequestList) GetOperator() string
- func (m *RequestList) GetUid() string
- func (*RequestList) ProtoMessage()
- func (m *RequestList) Reset()
- func (m *RequestList) String() string
- func (m *RequestList) XXX_DiscardUnknown()
- func (m *RequestList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestList) XXX_Merge(src proto.Message)
- func (m *RequestList) XXX_Size() int
- func (m *RequestList) XXX_Unmarshal(b []byte) error
- type RequestUpdate
- func (*RequestUpdate) Descriptor() ([]byte, []int)
- func (m *RequestUpdate) GetKey() string
- func (m *RequestUpdate) GetOperator() string
- func (m *RequestUpdate) GetOwner() string
- func (m *RequestUpdate) GetUid() string
- func (m *RequestUpdate) GetValue() string
- func (m *RequestUpdate) GetValues() []string
- func (*RequestUpdate) ProtoMessage()
- func (m *RequestUpdate) Reset()
- func (m *RequestUpdate) String() string
- func (m *RequestUpdate) XXX_DiscardUnknown()
- func (m *RequestUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestUpdate) XXX_Merge(src proto.Message)
- func (m *RequestUpdate) XXX_Size() int
- func (m *RequestUpdate) XXX_Unmarshal(b []byte) error
- type ResultStatus
- type TaskInfo
- func (*TaskInfo) Descriptor() ([]byte, []int)
- func (m *TaskInfo) GetAgent() string
- func (m *TaskInfo) GetAssets() []string
- func (m *TaskInfo) GetClient() string
- func (m *TaskInfo) GetCreated() int64
- func (m *TaskInfo) GetCreator() string
- func (m *TaskInfo) GetDuration() *DateInfo
- func (m *TaskInfo) GetId() uint64
- func (m *TaskInfo) GetName() string
- func (m *TaskInfo) GetOperator() string
- func (m *TaskInfo) GetOwner() string
- func (m *TaskInfo) GetPretask() string
- func (m *TaskInfo) GetRecords() []*RecordInfo
- func (m *TaskInfo) GetRemark() string
- func (m *TaskInfo) GetStatus() uint32
- func (m *TaskInfo) GetTags() []string
- func (m *TaskInfo) GetType() uint32
- func (m *TaskInfo) GetUid() string
- func (m *TaskInfo) GetUpdated() int64
- func (*TaskInfo) ProtoMessage()
- func (m *TaskInfo) Reset()
- func (m *TaskInfo) String() string
- func (m *TaskInfo) XXX_DiscardUnknown()
- func (m *TaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TaskInfo) XXX_Merge(src proto.Message)
- func (m *TaskInfo) XXX_Size() int
- func (m *TaskInfo) XXX_Unmarshal(b []byte) error
- type TaskService
- type TaskServiceHandler
- type TeamInfo
- func (*TeamInfo) Descriptor() ([]byte, []int)
- func (m *TeamInfo) GetAssistants() []string
- func (m *TeamInfo) GetCreated() int64
- func (m *TeamInfo) GetCreator() string
- func (m *TeamInfo) GetId() uint64
- func (m *TeamInfo) GetMaster() string
- func (m *TeamInfo) GetMembers() []string
- func (m *TeamInfo) GetName() string
- func (m *TeamInfo) GetOperator() string
- func (m *TeamInfo) GetOwner() string
- func (m *TeamInfo) GetRemark() string
- func (m *TeamInfo) GetTags() []string
- func (m *TeamInfo) GetUid() string
- func (m *TeamInfo) GetUpdated() int64
- func (*TeamInfo) ProtoMessage()
- func (m *TeamInfo) Reset()
- func (m *TeamInfo) String() string
- func (m *TeamInfo) XXX_DiscardUnknown()
- func (m *TeamInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TeamInfo) XXX_Merge(src proto.Message)
- func (m *TeamInfo) XXX_Size() int
- func (m *TeamInfo) XXX_Unmarshal(b []byte) error
- type TeamService
- type TeamServiceHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var ResultStatus_name = map[int32]string{
0: "Success",
1: "MaxLimit",
2: "Repeated",
3: "NotExisted",
4: "DBException",
5: "Empty",
}
View Source
var ResultStatus_value = map[string]int32{
"Success": 0,
"MaxLimit": 1,
"Repeated": 2,
"NotExisted": 3,
"DBException": 4,
"Empty": 5,
}
Functions ¶
func RegisterAgentServiceHandler ¶
func RegisterAgentServiceHandler(s server.Server, hdlr AgentServiceHandler, opts ...server.HandlerOption) error
func RegisterTaskServiceHandler ¶
func RegisterTaskServiceHandler(s server.Server, hdlr TaskServiceHandler, opts ...server.HandlerOption) error
func RegisterTeamServiceHandler ¶
func RegisterTeamServiceHandler(s server.Server, hdlr TeamServiceHandler, opts ...server.HandlerOption) error
Types ¶
type AddressInfo ¶
type AddressInfo struct {
Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"`
Province string `protobuf:"bytes,2,opt,name=province,proto3" json:"province,omitempty"`
City string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"`
Zone string `protobuf:"bytes,4,opt,name=zone,proto3" json:"zone,omitempty"`
Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AddressInfo) Descriptor ¶
func (*AddressInfo) Descriptor() ([]byte, []int)
func (*AddressInfo) GetCity ¶
func (m *AddressInfo) GetCity() string
func (*AddressInfo) GetCountry ¶
func (m *AddressInfo) GetCountry() string
func (*AddressInfo) GetLocation ¶
func (m *AddressInfo) GetLocation() string
func (*AddressInfo) GetProvince ¶
func (m *AddressInfo) GetProvince() string
func (*AddressInfo) GetZone ¶
func (m *AddressInfo) GetZone() string
func (*AddressInfo) ProtoMessage ¶
func (*AddressInfo) ProtoMessage()
func (*AddressInfo) Reset ¶
func (m *AddressInfo) Reset()
func (*AddressInfo) String ¶
func (m *AddressInfo) String() string
func (*AddressInfo) XXX_DiscardUnknown ¶
func (m *AddressInfo) XXX_DiscardUnknown()
func (*AddressInfo) XXX_Marshal ¶
func (m *AddressInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddressInfo) XXX_Merge ¶
func (m *AddressInfo) XXX_Merge(src proto.Message)
func (*AddressInfo) XXX_Size ¶
func (m *AddressInfo) XXX_Size() int
func (*AddressInfo) XXX_Unmarshal ¶
func (m *AddressInfo) XXX_Unmarshal(b []byte) error
type AgentInfo ¶
type AgentInfo struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
Created int64 `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"`
Updated int64 `protobuf:"varint,4,opt,name=updated,proto3" json:"updated,omitempty"`
Creator string `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"`
Operator string `protobuf:"bytes,6,opt,name=operator,proto3" json:"operator,omitempty"`
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"`
User string `protobuf:"bytes,9,opt,name=user,proto3" json:"user,omitempty"`
Entity string `protobuf:"bytes,10,opt,name=entity,proto3" json:"entity,omitempty"`
Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AgentInfo) Descriptor ¶
func (*AgentInfo) GetCreated ¶
func (*AgentInfo) GetCreator ¶
func (*AgentInfo) GetOperator ¶
func (*AgentInfo) GetUpdated ¶
func (*AgentInfo) ProtoMessage ¶
func (*AgentInfo) ProtoMessage()
func (*AgentInfo) XXX_DiscardUnknown ¶
func (m *AgentInfo) XXX_DiscardUnknown()
func (*AgentInfo) XXX_Marshal ¶
func (*AgentInfo) XXX_Unmarshal ¶
type AgentService ¶
type AgentService interface {
AddOne(ctx context.Context, in *ReqAgentAdd, opts ...client.CallOption) (*ReplyAgentOne, error)
GetOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyAgentOne, error)
RemoveOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyInfo, error)
GetListByFilter(ctx context.Context, in *RequestFilter, opts ...client.CallOption) (*ReplyAgentList, error)
GetStatistic(ctx context.Context, in *RequestFilter, opts ...client.CallOption) (*ReplyStatistic, error)
UpdateBase(ctx context.Context, in *ReqAgentUpdate, opts ...client.CallOption) (*ReplyInfo, error)
UpdateByFilter(ctx context.Context, in *RequestUpdate, opts ...client.CallOption) (*ReplyInfo, error)
}
func NewAgentService ¶
func NewAgentService(name string, c client.Client) AgentService
type AgentServiceHandler ¶
type AgentServiceHandler interface {
AddOne(context.Context, *ReqAgentAdd, *ReplyAgentOne) error
GetOne(context.Context, *RequestInfo, *ReplyAgentOne) error
RemoveOne(context.Context, *RequestInfo, *ReplyInfo) error
GetListByFilter(context.Context, *RequestFilter, *ReplyAgentList) error
GetStatistic(context.Context, *RequestFilter, *ReplyStatistic) error
UpdateBase(context.Context, *ReqAgentUpdate, *ReplyInfo) error
UpdateByFilter(context.Context, *RequestUpdate, *ReplyInfo) error
}
type DateInfo ¶
type DateInfo struct {
Begin string `protobuf:"bytes,1,opt,name=begin,proto3" json:"begin,omitempty"`
End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DateInfo) Descriptor ¶
func (*DateInfo) ProtoMessage ¶
func (*DateInfo) ProtoMessage()
func (*DateInfo) XXX_DiscardUnknown ¶
func (m *DateInfo) XXX_DiscardUnknown()
func (*DateInfo) XXX_Marshal ¶
func (*DateInfo) XXX_Unmarshal ¶
type RecordInfo ¶
type RecordInfo struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Created int64 `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
Updated int64 `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"`
Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
Operator string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"`
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
Status uint32 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"`
Agent string `protobuf:"bytes,9,opt,name=agent,proto3" json:"agent,omitempty"`
Tags []string `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"`
Assets []string `protobuf:"bytes,11,rep,name=assets,proto3" json:"assets,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RecordInfo) Descriptor ¶
func (*RecordInfo) Descriptor() ([]byte, []int)
func (*RecordInfo) GetAgent ¶
func (m *RecordInfo) GetAgent() string
func (*RecordInfo) GetAssets ¶
func (m *RecordInfo) GetAssets() []string
func (*RecordInfo) GetCreated ¶
func (m *RecordInfo) GetCreated() int64
func (*RecordInfo) GetCreator ¶
func (m *RecordInfo) GetCreator() string
func (*RecordInfo) GetName ¶
func (m *RecordInfo) GetName() string
func (*RecordInfo) GetOperator ¶
func (m *RecordInfo) GetOperator() string
func (*RecordInfo) GetRemark ¶
func (m *RecordInfo) GetRemark() string
func (*RecordInfo) GetStatus ¶
func (m *RecordInfo) GetStatus() uint32
func (*RecordInfo) GetTags ¶
func (m *RecordInfo) GetTags() []string
func (*RecordInfo) GetUid ¶
func (m *RecordInfo) GetUid() string
func (*RecordInfo) GetUpdated ¶
func (m *RecordInfo) GetUpdated() int64
func (*RecordInfo) ProtoMessage ¶
func (*RecordInfo) ProtoMessage()
func (*RecordInfo) Reset ¶
func (m *RecordInfo) Reset()
func (*RecordInfo) String ¶
func (m *RecordInfo) String() string
func (*RecordInfo) XXX_DiscardUnknown ¶
func (m *RecordInfo) XXX_DiscardUnknown()
func (*RecordInfo) XXX_Marshal ¶
func (m *RecordInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecordInfo) XXX_Merge ¶
func (m *RecordInfo) XXX_Merge(src proto.Message)
func (*RecordInfo) XXX_Size ¶
func (m *RecordInfo) XXX_Size() int
func (*RecordInfo) XXX_Unmarshal ¶
func (m *RecordInfo) XXX_Unmarshal(b []byte) error
type ReplyAgentList ¶
type ReplyAgentList struct {
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
PageMax uint32 `protobuf:"varint,2,opt,name=pageMax,proto3" json:"pageMax,omitempty"`
PageNow uint32 `protobuf:"varint,3,opt,name=pageNow,proto3" json:"pageNow,omitempty"`
List []*AgentInfo `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
Status *ReplyStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyAgentList) Descriptor ¶
func (*ReplyAgentList) Descriptor() ([]byte, []int)
func (*ReplyAgentList) GetList ¶
func (m *ReplyAgentList) GetList() []*AgentInfo
func (*ReplyAgentList) GetPageMax ¶
func (m *ReplyAgentList) GetPageMax() uint32
func (*ReplyAgentList) GetPageNow ¶
func (m *ReplyAgentList) GetPageNow() uint32
func (*ReplyAgentList) GetStatus ¶
func (m *ReplyAgentList) GetStatus() *ReplyStatus
func (*ReplyAgentList) GetTotal ¶
func (m *ReplyAgentList) GetTotal() uint32
func (*ReplyAgentList) ProtoMessage ¶
func (*ReplyAgentList) ProtoMessage()
func (*ReplyAgentList) Reset ¶
func (m *ReplyAgentList) Reset()
func (*ReplyAgentList) String ¶
func (m *ReplyAgentList) String() string
func (*ReplyAgentList) XXX_DiscardUnknown ¶
func (m *ReplyAgentList) XXX_DiscardUnknown()
func (*ReplyAgentList) XXX_Marshal ¶
func (m *ReplyAgentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyAgentList) XXX_Merge ¶
func (m *ReplyAgentList) XXX_Merge(src proto.Message)
func (*ReplyAgentList) XXX_Size ¶
func (m *ReplyAgentList) XXX_Size() int
func (*ReplyAgentList) XXX_Unmarshal ¶
func (m *ReplyAgentList) XXX_Unmarshal(b []byte) error
type ReplyAgentOne ¶
type ReplyAgentOne struct {
Info *AgentInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
Status *ReplyStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyAgentOne) Descriptor ¶
func (*ReplyAgentOne) Descriptor() ([]byte, []int)
func (*ReplyAgentOne) GetInfo ¶
func (m *ReplyAgentOne) GetInfo() *AgentInfo
func (*ReplyAgentOne) GetStatus ¶
func (m *ReplyAgentOne) GetStatus() *ReplyStatus
func (*ReplyAgentOne) ProtoMessage ¶
func (*ReplyAgentOne) ProtoMessage()
func (*ReplyAgentOne) Reset ¶
func (m *ReplyAgentOne) Reset()
func (*ReplyAgentOne) String ¶
func (m *ReplyAgentOne) String() string
func (*ReplyAgentOne) XXX_DiscardUnknown ¶
func (m *ReplyAgentOne) XXX_DiscardUnknown()
func (*ReplyAgentOne) XXX_Marshal ¶
func (m *ReplyAgentOne) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyAgentOne) XXX_Merge ¶
func (m *ReplyAgentOne) XXX_Merge(src proto.Message)
func (*ReplyAgentOne) XXX_Size ¶
func (m *ReplyAgentOne) XXX_Size() int
func (*ReplyAgentOne) XXX_Unmarshal ¶
func (m *ReplyAgentOne) XXX_Unmarshal(b []byte) error
type ReplyInfo ¶
type ReplyInfo struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Status *ReplyStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyInfo) Descriptor ¶
func (*ReplyInfo) GetStatus ¶
func (m *ReplyInfo) GetStatus() *ReplyStatus
func (*ReplyInfo) ProtoMessage ¶
func (*ReplyInfo) ProtoMessage()
func (*ReplyInfo) XXX_DiscardUnknown ¶
func (m *ReplyInfo) XXX_DiscardUnknown()
func (*ReplyInfo) XXX_Marshal ¶
func (*ReplyInfo) XXX_Unmarshal ¶
type ReplyList ¶
type ReplyList struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
List []string `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
Status *ReplyStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyList) Descriptor ¶
func (*ReplyList) GetStatus ¶
func (m *ReplyList) GetStatus() *ReplyStatus
func (*ReplyList) ProtoMessage ¶
func (*ReplyList) ProtoMessage()
func (*ReplyList) XXX_DiscardUnknown ¶
func (m *ReplyList) XXX_DiscardUnknown()
func (*ReplyList) XXX_Marshal ¶
func (*ReplyList) XXX_Unmarshal ¶
type ReplyStatistic ¶
type ReplyStatistic struct {
Status *ReplyStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyStatistic) Descriptor ¶
func (*ReplyStatistic) Descriptor() ([]byte, []int)
func (*ReplyStatistic) GetCount ¶
func (m *ReplyStatistic) GetCount() uint32
func (*ReplyStatistic) GetKey ¶
func (m *ReplyStatistic) GetKey() string
func (*ReplyStatistic) GetOwner ¶
func (m *ReplyStatistic) GetOwner() string
func (*ReplyStatistic) GetStatus ¶
func (m *ReplyStatistic) GetStatus() *ReplyStatus
func (*ReplyStatistic) ProtoMessage ¶
func (*ReplyStatistic) ProtoMessage()
func (*ReplyStatistic) Reset ¶
func (m *ReplyStatistic) Reset()
func (*ReplyStatistic) String ¶
func (m *ReplyStatistic) String() string
func (*ReplyStatistic) XXX_DiscardUnknown ¶
func (m *ReplyStatistic) XXX_DiscardUnknown()
func (*ReplyStatistic) XXX_Marshal ¶
func (m *ReplyStatistic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyStatistic) XXX_Merge ¶
func (m *ReplyStatistic) XXX_Merge(src proto.Message)
func (*ReplyStatistic) XXX_Size ¶
func (m *ReplyStatistic) XXX_Size() int
func (*ReplyStatistic) XXX_Unmarshal ¶
func (m *ReplyStatistic) XXX_Unmarshal(b []byte) error
type ReplyStatus ¶
type ReplyStatus struct {
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyStatus) Descriptor ¶
func (*ReplyStatus) Descriptor() ([]byte, []int)
func (*ReplyStatus) GetCode ¶
func (m *ReplyStatus) GetCode() uint32
func (*ReplyStatus) GetError ¶
func (m *ReplyStatus) GetError() string
func (*ReplyStatus) ProtoMessage ¶
func (*ReplyStatus) ProtoMessage()
func (*ReplyStatus) Reset ¶
func (m *ReplyStatus) Reset()
func (*ReplyStatus) String ¶
func (m *ReplyStatus) String() string
func (*ReplyStatus) XXX_DiscardUnknown ¶
func (m *ReplyStatus) XXX_DiscardUnknown()
func (*ReplyStatus) XXX_Marshal ¶
func (m *ReplyStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyStatus) XXX_Merge ¶
func (m *ReplyStatus) XXX_Merge(src proto.Message)
func (*ReplyStatus) XXX_Size ¶
func (m *ReplyStatus) XXX_Size() int
func (*ReplyStatus) XXX_Unmarshal ¶
func (m *ReplyStatus) XXX_Unmarshal(b []byte) error
type ReplyTaskList ¶
type ReplyTaskList struct {
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
PageMax uint32 `protobuf:"varint,2,opt,name=pageMax,proto3" json:"pageMax,omitempty"`
PageNow uint32 `protobuf:"varint,3,opt,name=pageNow,proto3" json:"pageNow,omitempty"`
List []*TaskInfo `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
Status *ReplyStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyTaskList) Descriptor ¶
func (*ReplyTaskList) Descriptor() ([]byte, []int)
func (*ReplyTaskList) GetList ¶
func (m *ReplyTaskList) GetList() []*TaskInfo
func (*ReplyTaskList) GetPageMax ¶
func (m *ReplyTaskList) GetPageMax() uint32
func (*ReplyTaskList) GetPageNow ¶
func (m *ReplyTaskList) GetPageNow() uint32
func (*ReplyTaskList) GetStatus ¶
func (m *ReplyTaskList) GetStatus() *ReplyStatus
func (*ReplyTaskList) GetTotal ¶
func (m *ReplyTaskList) GetTotal() uint32
func (*ReplyTaskList) ProtoMessage ¶
func (*ReplyTaskList) ProtoMessage()
func (*ReplyTaskList) Reset ¶
func (m *ReplyTaskList) Reset()
func (*ReplyTaskList) String ¶
func (m *ReplyTaskList) String() string
func (*ReplyTaskList) XXX_DiscardUnknown ¶
func (m *ReplyTaskList) XXX_DiscardUnknown()
func (*ReplyTaskList) XXX_Marshal ¶
func (m *ReplyTaskList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyTaskList) XXX_Merge ¶
func (m *ReplyTaskList) XXX_Merge(src proto.Message)
func (*ReplyTaskList) XXX_Size ¶
func (m *ReplyTaskList) XXX_Size() int
func (*ReplyTaskList) XXX_Unmarshal ¶
func (m *ReplyTaskList) XXX_Unmarshal(b []byte) error
type ReplyTaskOne ¶
type ReplyTaskOne struct {
Info *TaskInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
Status *ReplyStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyTaskOne) Descriptor ¶
func (*ReplyTaskOne) Descriptor() ([]byte, []int)
func (*ReplyTaskOne) GetInfo ¶
func (m *ReplyTaskOne) GetInfo() *TaskInfo
func (*ReplyTaskOne) GetStatus ¶
func (m *ReplyTaskOne) GetStatus() *ReplyStatus
func (*ReplyTaskOne) ProtoMessage ¶
func (*ReplyTaskOne) ProtoMessage()
func (*ReplyTaskOne) Reset ¶
func (m *ReplyTaskOne) Reset()
func (*ReplyTaskOne) String ¶
func (m *ReplyTaskOne) String() string
func (*ReplyTaskOne) XXX_DiscardUnknown ¶
func (m *ReplyTaskOne) XXX_DiscardUnknown()
func (*ReplyTaskOne) XXX_Marshal ¶
func (m *ReplyTaskOne) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyTaskOne) XXX_Merge ¶
func (m *ReplyTaskOne) XXX_Merge(src proto.Message)
func (*ReplyTaskOne) XXX_Size ¶
func (m *ReplyTaskOne) XXX_Size() int
func (*ReplyTaskOne) XXX_Unmarshal ¶
func (m *ReplyTaskOne) XXX_Unmarshal(b []byte) error
type ReplyTeamInfo ¶
type ReplyTeamInfo struct {
Status *ReplyStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Info *TeamInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyTeamInfo) Descriptor ¶
func (*ReplyTeamInfo) Descriptor() ([]byte, []int)
func (*ReplyTeamInfo) GetInfo ¶
func (m *ReplyTeamInfo) GetInfo() *TeamInfo
func (*ReplyTeamInfo) GetStatus ¶
func (m *ReplyTeamInfo) GetStatus() *ReplyStatus
func (*ReplyTeamInfo) ProtoMessage ¶
func (*ReplyTeamInfo) ProtoMessage()
func (*ReplyTeamInfo) Reset ¶
func (m *ReplyTeamInfo) Reset()
func (*ReplyTeamInfo) String ¶
func (m *ReplyTeamInfo) String() string
func (*ReplyTeamInfo) XXX_DiscardUnknown ¶
func (m *ReplyTeamInfo) XXX_DiscardUnknown()
func (*ReplyTeamInfo) XXX_Marshal ¶
func (m *ReplyTeamInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyTeamInfo) XXX_Merge ¶
func (m *ReplyTeamInfo) XXX_Merge(src proto.Message)
func (*ReplyTeamInfo) XXX_Size ¶
func (m *ReplyTeamInfo) XXX_Size() int
func (*ReplyTeamInfo) XXX_Unmarshal ¶
func (m *ReplyTeamInfo) XXX_Unmarshal(b []byte) error
type ReplyTeamList ¶
type ReplyTeamList struct {
Status *ReplyStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
List []*TeamInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyTeamList) Descriptor ¶
func (*ReplyTeamList) Descriptor() ([]byte, []int)
func (*ReplyTeamList) GetList ¶
func (m *ReplyTeamList) GetList() []*TeamInfo
func (*ReplyTeamList) GetStatus ¶
func (m *ReplyTeamList) GetStatus() *ReplyStatus
func (*ReplyTeamList) ProtoMessage ¶
func (*ReplyTeamList) ProtoMessage()
func (*ReplyTeamList) Reset ¶
func (m *ReplyTeamList) Reset()
func (*ReplyTeamList) String ¶
func (m *ReplyTeamList) String() string
func (*ReplyTeamList) XXX_DiscardUnknown ¶
func (m *ReplyTeamList) XXX_DiscardUnknown()
func (*ReplyTeamList) XXX_Marshal ¶
func (m *ReplyTeamList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyTeamList) XXX_Merge ¶
func (m *ReplyTeamList) XXX_Merge(src proto.Message)
func (*ReplyTeamList) XXX_Size ¶
func (m *ReplyTeamList) XXX_Size() int
func (*ReplyTeamList) XXX_Unmarshal ¶
func (m *ReplyTeamList) XXX_Unmarshal(b []byte) error
type ReqAgentAdd ¶
type ReqAgentAdd struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Scene string `protobuf:"bytes,2,opt,name=scene,proto3" json:"scene,omitempty"`
Cover string `protobuf:"bytes,3,opt,name=cover,proto3" json:"cover,omitempty"`
Remark string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"`
Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
Contact string `protobuf:"bytes,8,opt,name=contact,proto3" json:"contact,omitempty"`
Operator string `protobuf:"bytes,9,opt,name=operator,proto3" json:"operator,omitempty"`
Address *AddressInfo `protobuf:"bytes,10,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqAgentAdd) Descriptor ¶
func (*ReqAgentAdd) Descriptor() ([]byte, []int)
func (*ReqAgentAdd) GetAddress ¶
func (m *ReqAgentAdd) GetAddress() *AddressInfo
func (*ReqAgentAdd) GetContact ¶
func (m *ReqAgentAdd) GetContact() string
func (*ReqAgentAdd) GetCover ¶
func (m *ReqAgentAdd) GetCover() string
func (*ReqAgentAdd) GetLocation ¶
func (m *ReqAgentAdd) GetLocation() string
func (*ReqAgentAdd) GetName ¶
func (m *ReqAgentAdd) GetName() string
func (*ReqAgentAdd) GetOperator ¶
func (m *ReqAgentAdd) GetOperator() string
func (*ReqAgentAdd) GetRemark ¶
func (m *ReqAgentAdd) GetRemark() string
func (*ReqAgentAdd) GetScene ¶
func (m *ReqAgentAdd) GetScene() string
func (*ReqAgentAdd) ProtoMessage ¶
func (*ReqAgentAdd) ProtoMessage()
func (*ReqAgentAdd) Reset ¶
func (m *ReqAgentAdd) Reset()
func (*ReqAgentAdd) String ¶
func (m *ReqAgentAdd) String() string
func (*ReqAgentAdd) XXX_DiscardUnknown ¶
func (m *ReqAgentAdd) XXX_DiscardUnknown()
func (*ReqAgentAdd) XXX_Marshal ¶
func (m *ReqAgentAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqAgentAdd) XXX_Merge ¶
func (m *ReqAgentAdd) XXX_Merge(src proto.Message)
func (*ReqAgentAdd) XXX_Size ¶
func (m *ReqAgentAdd) XXX_Size() int
func (*ReqAgentAdd) XXX_Unmarshal ¶
func (m *ReqAgentAdd) XXX_Unmarshal(b []byte) error
type ReqAgentUpdate ¶
type ReqAgentUpdate struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Cover string `protobuf:"bytes,3,opt,name=cover,proto3" json:"cover,omitempty"`
Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark,omitempty"`
Operator string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqAgentUpdate) Descriptor ¶
func (*ReqAgentUpdate) Descriptor() ([]byte, []int)
func (*ReqAgentUpdate) GetCover ¶
func (m *ReqAgentUpdate) GetCover() string
func (*ReqAgentUpdate) GetName ¶
func (m *ReqAgentUpdate) GetName() string
func (*ReqAgentUpdate) GetOperator ¶
func (m *ReqAgentUpdate) GetOperator() string
func (*ReqAgentUpdate) GetRemark ¶
func (m *ReqAgentUpdate) GetRemark() string
func (*ReqAgentUpdate) GetUid ¶
func (m *ReqAgentUpdate) GetUid() string
func (*ReqAgentUpdate) ProtoMessage ¶
func (*ReqAgentUpdate) ProtoMessage()
func (*ReqAgentUpdate) Reset ¶
func (m *ReqAgentUpdate) Reset()
func (*ReqAgentUpdate) String ¶
func (m *ReqAgentUpdate) String() string
func (*ReqAgentUpdate) XXX_DiscardUnknown ¶
func (m *ReqAgentUpdate) XXX_DiscardUnknown()
func (*ReqAgentUpdate) XXX_Marshal ¶
func (m *ReqAgentUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqAgentUpdate) XXX_Merge ¶
func (m *ReqAgentUpdate) XXX_Merge(src proto.Message)
func (*ReqAgentUpdate) XXX_Size ¶
func (m *ReqAgentUpdate) XXX_Size() int
func (*ReqAgentUpdate) XXX_Unmarshal ¶
func (m *ReqAgentUpdate) XXX_Unmarshal(b []byte) error
type ReqTaskAdd ¶
type ReqTaskAdd struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"`
Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
Client string `protobuf:"bytes,5,opt,name=client,proto3" json:"client,omitempty"`
Pretask string `protobuf:"bytes,6,opt,name=pretask,proto3" json:"pretask,omitempty"`
Duration *DateInfo `protobuf:"bytes,7,opt,name=duration,proto3" json:"duration,omitempty"`
Operator string `protobuf:"bytes,8,opt,name=operator,proto3" json:"operator,omitempty"`
Short string `protobuf:"bytes,9,opt,name=short,proto3" json:"short,omitempty"`
Assets []string `protobuf:"bytes,10,rep,name=assets,proto3" json:"assets,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqTaskAdd) Descriptor ¶
func (*ReqTaskAdd) Descriptor() ([]byte, []int)
func (*ReqTaskAdd) GetAssets ¶
func (m *ReqTaskAdd) GetAssets() []string
func (*ReqTaskAdd) GetClient ¶
func (m *ReqTaskAdd) GetClient() string
func (*ReqTaskAdd) GetDuration ¶
func (m *ReqTaskAdd) GetDuration() *DateInfo
func (*ReqTaskAdd) GetName ¶
func (m *ReqTaskAdd) GetName() string
func (*ReqTaskAdd) GetOperator ¶
func (m *ReqTaskAdd) GetOperator() string
func (*ReqTaskAdd) GetOwner ¶
func (m *ReqTaskAdd) GetOwner() string
func (*ReqTaskAdd) GetPretask ¶
func (m *ReqTaskAdd) GetPretask() string
func (*ReqTaskAdd) GetRemark ¶
func (m *ReqTaskAdd) GetRemark() string
func (*ReqTaskAdd) GetShort ¶
func (m *ReqTaskAdd) GetShort() string
func (*ReqTaskAdd) GetType ¶
func (m *ReqTaskAdd) GetType() int32
func (*ReqTaskAdd) ProtoMessage ¶
func (*ReqTaskAdd) ProtoMessage()
func (*ReqTaskAdd) Reset ¶
func (m *ReqTaskAdd) Reset()
func (*ReqTaskAdd) String ¶
func (m *ReqTaskAdd) String() string
func (*ReqTaskAdd) XXX_DiscardUnknown ¶
func (m *ReqTaskAdd) XXX_DiscardUnknown()
func (*ReqTaskAdd) XXX_Marshal ¶
func (m *ReqTaskAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTaskAdd) XXX_Merge ¶
func (m *ReqTaskAdd) XXX_Merge(src proto.Message)
func (*ReqTaskAdd) XXX_Size ¶
func (m *ReqTaskAdd) XXX_Size() int
func (*ReqTaskAdd) XXX_Unmarshal ¶
func (m *ReqTaskAdd) XXX_Unmarshal(b []byte) error
type ReqTaskUpdate ¶
type ReqTaskUpdate struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"`
Operator string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqTaskUpdate) Descriptor ¶
func (*ReqTaskUpdate) Descriptor() ([]byte, []int)
func (*ReqTaskUpdate) GetName ¶
func (m *ReqTaskUpdate) GetName() string
func (*ReqTaskUpdate) GetOperator ¶
func (m *ReqTaskUpdate) GetOperator() string
func (*ReqTaskUpdate) GetRemark ¶
func (m *ReqTaskUpdate) GetRemark() string
func (*ReqTaskUpdate) GetUid ¶
func (m *ReqTaskUpdate) GetUid() string
func (*ReqTaskUpdate) ProtoMessage ¶
func (*ReqTaskUpdate) ProtoMessage()
func (*ReqTaskUpdate) Reset ¶
func (m *ReqTaskUpdate) Reset()
func (*ReqTaskUpdate) String ¶
func (m *ReqTaskUpdate) String() string
func (*ReqTaskUpdate) XXX_DiscardUnknown ¶
func (m *ReqTaskUpdate) XXX_DiscardUnknown()
func (*ReqTaskUpdate) XXX_Marshal ¶
func (m *ReqTaskUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTaskUpdate) XXX_Merge ¶
func (m *ReqTaskUpdate) XXX_Merge(src proto.Message)
func (*ReqTaskUpdate) XXX_Size ¶
func (m *ReqTaskUpdate) XXX_Size() int
func (*ReqTaskUpdate) XXX_Unmarshal ¶
func (m *ReqTaskUpdate) XXX_Unmarshal(b []byte) error
type ReqTeamAdd ¶
type ReqTeamAdd struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"`
Operator string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqTeamAdd) Descriptor ¶
func (*ReqTeamAdd) Descriptor() ([]byte, []int)
func (*ReqTeamAdd) GetName ¶
func (m *ReqTeamAdd) GetName() string
func (*ReqTeamAdd) GetOperator ¶
func (m *ReqTeamAdd) GetOperator() string
func (*ReqTeamAdd) GetOwner ¶
func (m *ReqTeamAdd) GetOwner() string
func (*ReqTeamAdd) GetRemark ¶
func (m *ReqTeamAdd) GetRemark() string
func (*ReqTeamAdd) ProtoMessage ¶
func (*ReqTeamAdd) ProtoMessage()
func (*ReqTeamAdd) Reset ¶
func (m *ReqTeamAdd) Reset()
func (*ReqTeamAdd) String ¶
func (m *ReqTeamAdd) String() string
func (*ReqTeamAdd) XXX_DiscardUnknown ¶
func (m *ReqTeamAdd) XXX_DiscardUnknown()
func (*ReqTeamAdd) XXX_Marshal ¶
func (m *ReqTeamAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTeamAdd) XXX_Merge ¶
func (m *ReqTeamAdd) XXX_Merge(src proto.Message)
func (*ReqTeamAdd) XXX_Size ¶
func (m *ReqTeamAdd) XXX_Size() int
func (*ReqTeamAdd) XXX_Unmarshal ¶
func (m *ReqTeamAdd) XXX_Unmarshal(b []byte) error
type ReqTeamDevice ¶
type ReqTeamDevice struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
Device string `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"`
Type uint32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
Remark string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqTeamDevice) Descriptor ¶
func (*ReqTeamDevice) Descriptor() ([]byte, []int)
func (*ReqTeamDevice) GetDevice ¶
func (m *ReqTeamDevice) GetDevice() string
func (*ReqTeamDevice) GetOperator ¶
func (m *ReqTeamDevice) GetOperator() string
func (*ReqTeamDevice) GetRemark ¶
func (m *ReqTeamDevice) GetRemark() string
func (*ReqTeamDevice) GetType ¶
func (m *ReqTeamDevice) GetType() uint32
func (*ReqTeamDevice) GetUid ¶
func (m *ReqTeamDevice) GetUid() string
func (*ReqTeamDevice) ProtoMessage ¶
func (*ReqTeamDevice) ProtoMessage()
func (*ReqTeamDevice) Reset ¶
func (m *ReqTeamDevice) Reset()
func (*ReqTeamDevice) String ¶
func (m *ReqTeamDevice) String() string
func (*ReqTeamDevice) XXX_DiscardUnknown ¶
func (m *ReqTeamDevice) XXX_DiscardUnknown()
func (*ReqTeamDevice) XXX_Marshal ¶
func (m *ReqTeamDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTeamDevice) XXX_Merge ¶
func (m *ReqTeamDevice) XXX_Merge(src proto.Message)
func (*ReqTeamDevice) XXX_Size ¶
func (m *ReqTeamDevice) XXX_Size() int
func (*ReqTeamDevice) XXX_Unmarshal ¶
func (m *ReqTeamDevice) XXX_Unmarshal(b []byte) error
type ReqTeamUpdate ¶
type ReqTeamUpdate struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"`
Operator string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqTeamUpdate) Descriptor ¶
func (*ReqTeamUpdate) Descriptor() ([]byte, []int)
func (*ReqTeamUpdate) GetName ¶
func (m *ReqTeamUpdate) GetName() string
func (*ReqTeamUpdate) GetOperator ¶
func (m *ReqTeamUpdate) GetOperator() string
func (*ReqTeamUpdate) GetRemark ¶
func (m *ReqTeamUpdate) GetRemark() string
func (*ReqTeamUpdate) GetUid ¶
func (m *ReqTeamUpdate) GetUid() string
func (*ReqTeamUpdate) ProtoMessage ¶
func (*ReqTeamUpdate) ProtoMessage()
func (*ReqTeamUpdate) Reset ¶
func (m *ReqTeamUpdate) Reset()
func (*ReqTeamUpdate) String ¶
func (m *ReqTeamUpdate) String() string
func (*ReqTeamUpdate) XXX_DiscardUnknown ¶
func (m *ReqTeamUpdate) XXX_DiscardUnknown()
func (*ReqTeamUpdate) XXX_Marshal ¶
func (m *ReqTeamUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTeamUpdate) XXX_Merge ¶
func (m *ReqTeamUpdate) XXX_Merge(src proto.Message)
func (*ReqTeamUpdate) XXX_Size ¶
func (m *ReqTeamUpdate) XXX_Size() int
func (*ReqTeamUpdate) XXX_Unmarshal ¶
func (m *ReqTeamUpdate) XXX_Unmarshal(b []byte) error
type RequestAddress ¶
type RequestAddress struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
Province string `protobuf:"bytes,3,opt,name=province,proto3" json:"province,omitempty"`
City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"`
Zone string `protobuf:"bytes,5,opt,name=zone,proto3" json:"zone,omitempty"`
Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RequestAddress) Descriptor ¶
func (*RequestAddress) Descriptor() ([]byte, []int)
func (*RequestAddress) GetCity ¶
func (m *RequestAddress) GetCity() string
func (*RequestAddress) GetCountry ¶
func (m *RequestAddress) GetCountry() string
func (*RequestAddress) GetLocation ¶
func (m *RequestAddress) GetLocation() string
func (*RequestAddress) GetOperator ¶
func (m *RequestAddress) GetOperator() string
func (*RequestAddress) GetProvince ¶
func (m *RequestAddress) GetProvince() string
func (*RequestAddress) GetUid ¶
func (m *RequestAddress) GetUid() string
func (*RequestAddress) GetZone ¶
func (m *RequestAddress) GetZone() string
func (*RequestAddress) ProtoMessage ¶
func (*RequestAddress) ProtoMessage()
func (*RequestAddress) Reset ¶
func (m *RequestAddress) Reset()
func (*RequestAddress) String ¶
func (m *RequestAddress) String() string
func (*RequestAddress) XXX_DiscardUnknown ¶
func (m *RequestAddress) XXX_DiscardUnknown()
func (*RequestAddress) XXX_Marshal ¶
func (m *RequestAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestAddress) XXX_Merge ¶
func (m *RequestAddress) XXX_Merge(src proto.Message)
func (*RequestAddress) XXX_Size ¶
func (m *RequestAddress) XXX_Size() int
func (*RequestAddress) XXX_Unmarshal ¶
func (m *RequestAddress) XXX_Unmarshal(b []byte) error
type RequestFilter ¶
type RequestFilter struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
Page uint32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
Number uint32 `protobuf:"varint,5,opt,name=number,proto3" json:"number,omitempty"`
Values []string `protobuf:"bytes,6,rep,name=values,proto3" json:"values,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RequestFilter) Descriptor ¶
func (*RequestFilter) Descriptor() ([]byte, []int)
func (*RequestFilter) GetKey ¶
func (m *RequestFilter) GetKey() string
func (*RequestFilter) GetNumber ¶
func (m *RequestFilter) GetNumber() uint32
func (*RequestFilter) GetOwner ¶
func (m *RequestFilter) GetOwner() string
func (*RequestFilter) GetPage ¶
func (m *RequestFilter) GetPage() uint32
func (*RequestFilter) GetValue ¶
func (m *RequestFilter) GetValue() string
func (*RequestFilter) GetValues ¶
func (m *RequestFilter) GetValues() []string
func (*RequestFilter) ProtoMessage ¶
func (*RequestFilter) ProtoMessage()
func (*RequestFilter) Reset ¶
func (m *RequestFilter) Reset()
func (*RequestFilter) String ¶
func (m *RequestFilter) String() string
func (*RequestFilter) XXX_DiscardUnknown ¶
func (m *RequestFilter) XXX_DiscardUnknown()
func (*RequestFilter) XXX_Marshal ¶
func (m *RequestFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestFilter) XXX_Merge ¶
func (m *RequestFilter) XXX_Merge(src proto.Message)
func (*RequestFilter) XXX_Size ¶
func (m *RequestFilter) XXX_Size() int
func (*RequestFilter) XXX_Unmarshal ¶
func (m *RequestFilter) XXX_Unmarshal(b []byte) error
type RequestFlag ¶
type RequestFlag struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Flag string `protobuf:"bytes,2,opt,name=flag,proto3" json:"flag,omitempty"`
Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RequestFlag) Descriptor ¶
func (*RequestFlag) Descriptor() ([]byte, []int)
func (*RequestFlag) GetFlag ¶
func (m *RequestFlag) GetFlag() string
func (*RequestFlag) GetOperator ¶
func (m *RequestFlag) GetOperator() string
func (*RequestFlag) GetUid ¶
func (m *RequestFlag) GetUid() string
func (*RequestFlag) ProtoMessage ¶
func (*RequestFlag) ProtoMessage()
func (*RequestFlag) Reset ¶
func (m *RequestFlag) Reset()
func (*RequestFlag) String ¶
func (m *RequestFlag) String() string
func (*RequestFlag) XXX_DiscardUnknown ¶
func (m *RequestFlag) XXX_DiscardUnknown()
func (*RequestFlag) XXX_Marshal ¶
func (m *RequestFlag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestFlag) XXX_Merge ¶
func (m *RequestFlag) XXX_Merge(src proto.Message)
func (*RequestFlag) XXX_Size ¶
func (m *RequestFlag) XXX_Size() int
func (*RequestFlag) XXX_Unmarshal ¶
func (m *RequestFlag) XXX_Unmarshal(b []byte) error
type RequestInfo ¶
type RequestInfo struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RequestInfo) Descriptor ¶
func (*RequestInfo) Descriptor() ([]byte, []int)
func (*RequestInfo) GetOperator ¶
func (m *RequestInfo) GetOperator() string
func (*RequestInfo) GetOwner ¶
func (m *RequestInfo) GetOwner() string
func (*RequestInfo) GetUid ¶
func (m *RequestInfo) GetUid() string
func (*RequestInfo) ProtoMessage ¶
func (*RequestInfo) ProtoMessage()
func (*RequestInfo) Reset ¶
func (m *RequestInfo) Reset()
func (*RequestInfo) String ¶
func (m *RequestInfo) String() string
func (*RequestInfo) XXX_DiscardUnknown ¶
func (m *RequestInfo) XXX_DiscardUnknown()
func (*RequestInfo) XXX_Marshal ¶
func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestInfo) XXX_Merge ¶
func (m *RequestInfo) XXX_Merge(src proto.Message)
func (*RequestInfo) XXX_Size ¶
func (m *RequestInfo) XXX_Size() int
func (*RequestInfo) XXX_Unmarshal ¶
func (m *RequestInfo) XXX_Unmarshal(b []byte) error
type RequestIntFlag ¶
type RequestIntFlag struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Flag int32 `protobuf:"varint,2,opt,name=flag,proto3" json:"flag,omitempty"`
Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RequestIntFlag) Descriptor ¶
func (*RequestIntFlag) Descriptor() ([]byte, []int)
func (*RequestIntFlag) GetFlag ¶
func (m *RequestIntFlag) GetFlag() int32
func (*RequestIntFlag) GetOperator ¶
func (m *RequestIntFlag) GetOperator() string
func (*RequestIntFlag) GetUid ¶
func (m *RequestIntFlag) GetUid() string
func (*RequestIntFlag) ProtoMessage ¶
func (*RequestIntFlag) ProtoMessage()
func (*RequestIntFlag) Reset ¶
func (m *RequestIntFlag) Reset()
func (*RequestIntFlag) String ¶
func (m *RequestIntFlag) String() string
func (*RequestIntFlag) XXX_DiscardUnknown ¶
func (m *RequestIntFlag) XXX_DiscardUnknown()
func (*RequestIntFlag) XXX_Marshal ¶
func (m *RequestIntFlag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestIntFlag) XXX_Merge ¶
func (m *RequestIntFlag) XXX_Merge(src proto.Message)
func (*RequestIntFlag) XXX_Size ¶
func (m *RequestIntFlag) XXX_Size() int
func (*RequestIntFlag) XXX_Unmarshal ¶
func (m *RequestIntFlag) XXX_Unmarshal(b []byte) error
type RequestList ¶
type RequestList struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
List []string `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RequestList) Descriptor ¶
func (*RequestList) Descriptor() ([]byte, []int)
func (*RequestList) GetList ¶
func (m *RequestList) GetList() []string
func (*RequestList) GetOperator ¶
func (m *RequestList) GetOperator() string
func (*RequestList) GetUid ¶
func (m *RequestList) GetUid() string
func (*RequestList) ProtoMessage ¶
func (*RequestList) ProtoMessage()
func (*RequestList) Reset ¶
func (m *RequestList) Reset()
func (*RequestList) String ¶
func (m *RequestList) String() string
func (*RequestList) XXX_DiscardUnknown ¶
func (m *RequestList) XXX_DiscardUnknown()
func (*RequestList) XXX_Marshal ¶
func (m *RequestList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestList) XXX_Merge ¶
func (m *RequestList) XXX_Merge(src proto.Message)
func (*RequestList) XXX_Size ¶
func (m *RequestList) XXX_Size() int
func (*RequestList) XXX_Unmarshal ¶
func (m *RequestList) XXX_Unmarshal(b []byte) error
type RequestUpdate ¶
type RequestUpdate struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
Operator string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"`
Values []string `protobuf:"bytes,6,rep,name=values,proto3" json:"values,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RequestUpdate) Descriptor ¶
func (*RequestUpdate) Descriptor() ([]byte, []int)
func (*RequestUpdate) GetKey ¶
func (m *RequestUpdate) GetKey() string
func (*RequestUpdate) GetOperator ¶
func (m *RequestUpdate) GetOperator() string
func (*RequestUpdate) GetOwner ¶
func (m *RequestUpdate) GetOwner() string
func (*RequestUpdate) GetUid ¶
func (m *RequestUpdate) GetUid() string
func (*RequestUpdate) GetValue ¶
func (m *RequestUpdate) GetValue() string
func (*RequestUpdate) GetValues ¶
func (m *RequestUpdate) GetValues() []string
func (*RequestUpdate) ProtoMessage ¶
func (*RequestUpdate) ProtoMessage()
func (*RequestUpdate) Reset ¶
func (m *RequestUpdate) Reset()
func (*RequestUpdate) String ¶
func (m *RequestUpdate) String() string
func (*RequestUpdate) XXX_DiscardUnknown ¶
func (m *RequestUpdate) XXX_DiscardUnknown()
func (*RequestUpdate) XXX_Marshal ¶
func (m *RequestUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestUpdate) XXX_Merge ¶
func (m *RequestUpdate) XXX_Merge(src proto.Message)
func (*RequestUpdate) XXX_Size ¶
func (m *RequestUpdate) XXX_Size() int
func (*RequestUpdate) XXX_Unmarshal ¶
func (m *RequestUpdate) XXX_Unmarshal(b []byte) error
type ResultStatus ¶
type ResultStatus int32
const ( ResultStatus_Success ResultStatus = 0 ResultStatus_MaxLimit ResultStatus = 1 ResultStatus_Repeated ResultStatus = 2 ResultStatus_NotExisted ResultStatus = 3 ResultStatus_DBException ResultStatus = 4 ResultStatus_Empty ResultStatus = 5 )
func (ResultStatus) EnumDescriptor ¶
func (ResultStatus) EnumDescriptor() ([]byte, []int)
func (ResultStatus) String ¶
func (x ResultStatus) String() string
type TaskInfo ¶
type TaskInfo struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
Created int64 `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"`
Updated int64 `protobuf:"varint,4,opt,name=updated,proto3" json:"updated,omitempty"`
Creator string `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"`
Operator string `protobuf:"bytes,6,opt,name=operator,proto3" json:"operator,omitempty"`
Client string `protobuf:"bytes,7,opt,name=client,proto3" json:"client,omitempty"`
Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
Remark string `protobuf:"bytes,9,opt,name=remark,proto3" json:"remark,omitempty"`
Type uint32 `protobuf:"varint,10,opt,name=type,proto3" json:"type,omitempty"`
Status uint32 `protobuf:"varint,11,opt,name=status,proto3" json:"status,omitempty"`
Agent string `protobuf:"bytes,12,opt,name=agent,proto3" json:"agent,omitempty"`
Owner string `protobuf:"bytes,13,opt,name=owner,proto3" json:"owner,omitempty"`
Pretask string `protobuf:"bytes,14,opt,name=pretask,proto3" json:"pretask,omitempty"`
Duration *DateInfo `protobuf:"bytes,15,opt,name=duration,proto3" json:"duration,omitempty"`
Tags []string `protobuf:"bytes,16,rep,name=tags,proto3" json:"tags,omitempty"`
Assets []string `protobuf:"bytes,21,rep,name=assets,proto3" json:"assets,omitempty"`
Records []*RecordInfo `protobuf:"bytes,22,rep,name=records,proto3" json:"records,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TaskInfo) Descriptor ¶
func (*TaskInfo) GetCreated ¶
func (*TaskInfo) GetCreator ¶
func (*TaskInfo) GetDuration ¶
func (*TaskInfo) GetOperator ¶
func (*TaskInfo) GetPretask ¶
func (*TaskInfo) GetRecords ¶
func (m *TaskInfo) GetRecords() []*RecordInfo
func (*TaskInfo) GetUpdated ¶
func (*TaskInfo) ProtoMessage ¶
func (*TaskInfo) ProtoMessage()
func (*TaskInfo) XXX_DiscardUnknown ¶
func (m *TaskInfo) XXX_DiscardUnknown()
func (*TaskInfo) XXX_Marshal ¶
func (*TaskInfo) XXX_Unmarshal ¶
type TaskService ¶
type TaskService interface {
AddOne(ctx context.Context, in *ReqTaskAdd, opts ...client.CallOption) (*ReplyTaskOne, error)
GetOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyTaskOne, error)
GetOneByFilter(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyTaskOne, error)
RemoveOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyInfo, error)
GetListByFilter(ctx context.Context, in *RequestFilter, opts ...client.CallOption) (*ReplyTaskList, error)
GetStatistic(ctx context.Context, in *RequestFilter, opts ...client.CallOption) (*ReplyStatistic, error)
UpdateByFilter(ctx context.Context, in *RequestUpdate, opts ...client.CallOption) (*ReplyInfo, error)
UpdateBase(ctx context.Context, in *ReqTaskUpdate, opts ...client.CallOption) (*ReplyInfo, error)
UpdateStatus(ctx context.Context, in *RequestIntFlag, opts ...client.CallOption) (*ReplyInfo, error)
UpdateAgent(ctx context.Context, in *RequestFlag, opts ...client.CallOption) (*ReplyInfo, error)
AppendRecord(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyList, error)
SubtractRecord(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyList, error)
}
func NewTaskService ¶
func NewTaskService(name string, c client.Client) TaskService
type TaskServiceHandler ¶
type TaskServiceHandler interface {
AddOne(context.Context, *ReqTaskAdd, *ReplyTaskOne) error
GetOne(context.Context, *RequestInfo, *ReplyTaskOne) error
GetOneByFilter(context.Context, *RequestInfo, *ReplyTaskOne) error
RemoveOne(context.Context, *RequestInfo, *ReplyInfo) error
GetListByFilter(context.Context, *RequestFilter, *ReplyTaskList) error
GetStatistic(context.Context, *RequestFilter, *ReplyStatistic) error
UpdateByFilter(context.Context, *RequestUpdate, *ReplyInfo) error
UpdateBase(context.Context, *ReqTaskUpdate, *ReplyInfo) error
UpdateStatus(context.Context, *RequestIntFlag, *ReplyInfo) error
UpdateAgent(context.Context, *RequestFlag, *ReplyInfo) error
AppendRecord(context.Context, *RequestInfo, *ReplyList) error
SubtractRecord(context.Context, *RequestInfo, *ReplyList) error
}
type TeamInfo ¶
type TeamInfo struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Created int64 `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"`
Updated int64 `protobuf:"varint,5,opt,name=updated,proto3" json:"updated,omitempty"`
Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"`
Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"`
Owner string `protobuf:"bytes,8,opt,name=owner,proto3" json:"owner,omitempty"`
Remark string `protobuf:"bytes,9,opt,name=remark,proto3" json:"remark,omitempty"`
Master string `protobuf:"bytes,10,opt,name=master,proto3" json:"master,omitempty"`
Assistants []string `protobuf:"bytes,11,rep,name=assistants,proto3" json:"assistants,omitempty"`
Tags []string `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"`
Members []string `protobuf:"bytes,13,rep,name=members,proto3" json:"members,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TeamInfo) Descriptor ¶
func (*TeamInfo) GetAssistants ¶
func (*TeamInfo) GetCreated ¶
func (*TeamInfo) GetCreator ¶
func (*TeamInfo) GetMembers ¶
func (*TeamInfo) GetOperator ¶
func (*TeamInfo) GetUpdated ¶
func (*TeamInfo) ProtoMessage ¶
func (*TeamInfo) ProtoMessage()
func (*TeamInfo) XXX_DiscardUnknown ¶
func (m *TeamInfo) XXX_DiscardUnknown()
func (*TeamInfo) XXX_Marshal ¶
func (*TeamInfo) XXX_Unmarshal ¶
type TeamService ¶
type TeamService interface {
AddOne(ctx context.Context, in *ReqTeamAdd, opts ...client.CallOption) (*ReplyTeamInfo, error)
UpdateBase(ctx context.Context, in *ReqTeamUpdate, opts ...client.CallOption) (*ReplyInfo, error)
RemoveOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyInfo, error)
GetOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyTeamInfo, error)
GetOneByFilter(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyTeamInfo, error)
GetListByFilter(ctx context.Context, in *RequestFilter, opts ...client.CallOption) (*ReplyTeamList, error)
GetStatistic(ctx context.Context, in *RequestFilter, opts ...client.CallOption) (*ReplyStatistic, error)
UpdateByFilter(ctx context.Context, in *RequestUpdate, opts ...client.CallOption) (*ReplyInfo, error)
AppendMember(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyList, error)
SubtractMember(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyList, error)
}
func NewTeamService ¶
func NewTeamService(name string, c client.Client) TeamService
type TeamServiceHandler ¶
type TeamServiceHandler interface {
AddOne(context.Context, *ReqTeamAdd, *ReplyTeamInfo) error
UpdateBase(context.Context, *ReqTeamUpdate, *ReplyInfo) error
RemoveOne(context.Context, *RequestInfo, *ReplyInfo) error
GetOne(context.Context, *RequestInfo, *ReplyTeamInfo) error
GetOneByFilter(context.Context, *RequestInfo, *ReplyTeamInfo) error
GetListByFilter(context.Context, *RequestFilter, *ReplyTeamList) error
GetStatistic(context.Context, *RequestFilter, *ReplyStatistic) error
UpdateByFilter(context.Context, *RequestUpdate, *ReplyInfo) error
AppendMember(context.Context, *RequestInfo, *ReplyList) error
SubtractMember(context.Context, *RequestInfo, *ReplyList) error
}
Click to show internal directories.
Click to hide internal directories.