assignment

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*AgentInfo) GetCreated

func (m *AgentInfo) GetCreated() int64

func (*AgentInfo) GetCreator

func (m *AgentInfo) GetCreator() string

func (*AgentInfo) GetEntity

func (m *AgentInfo) GetEntity() string

func (*AgentInfo) GetId

func (m *AgentInfo) GetId() uint64

func (*AgentInfo) GetName

func (m *AgentInfo) GetName() string

func (*AgentInfo) GetOperator

func (m *AgentInfo) GetOperator() string

func (*AgentInfo) GetRemark

func (m *AgentInfo) GetRemark() string

func (*AgentInfo) GetTags

func (m *AgentInfo) GetTags() []string

func (*AgentInfo) GetUid

func (m *AgentInfo) GetUid() string

func (*AgentInfo) GetUpdated

func (m *AgentInfo) GetUpdated() int64

func (*AgentInfo) GetUser

func (m *AgentInfo) GetUser() string

func (*AgentInfo) ProtoMessage

func (*AgentInfo) ProtoMessage()

func (*AgentInfo) Reset

func (m *AgentInfo) Reset()

func (*AgentInfo) String

func (m *AgentInfo) String() string

func (*AgentInfo) XXX_DiscardUnknown

func (m *AgentInfo) XXX_DiscardUnknown()

func (*AgentInfo) XXX_Marshal

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

func (*AgentInfo) XXX_Merge

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

func (*AgentInfo) XXX_Size

func (m *AgentInfo) XXX_Size() int

func (*AgentInfo) XXX_Unmarshal

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

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 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) Descriptor() ([]byte, []int)

func (*DateInfo) GetBegin

func (m *DateInfo) GetBegin() string

func (*DateInfo) GetEnd

func (m *DateInfo) GetEnd() string

func (*DateInfo) ProtoMessage

func (*DateInfo) ProtoMessage()

func (*DateInfo) Reset

func (m *DateInfo) Reset()

func (*DateInfo) String

func (m *DateInfo) String() string

func (*DateInfo) XXX_DiscardUnknown

func (m *DateInfo) XXX_DiscardUnknown()

func (*DateInfo) XXX_Marshal

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

func (*DateInfo) XXX_Merge

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

func (*DateInfo) XXX_Size

func (m *DateInfo) XXX_Size() int

func (*DateInfo) XXX_Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*ReplyInfo) GetStatus

func (m *ReplyInfo) GetStatus() *ReplyStatus

func (*ReplyInfo) GetUid

func (m *ReplyInfo) GetUid() string

func (*ReplyInfo) ProtoMessage

func (*ReplyInfo) ProtoMessage()

func (*ReplyInfo) Reset

func (m *ReplyInfo) Reset()

func (*ReplyInfo) String

func (m *ReplyInfo) String() string

func (*ReplyInfo) XXX_DiscardUnknown

func (m *ReplyInfo) XXX_DiscardUnknown()

func (*ReplyInfo) XXX_Marshal

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

func (*ReplyInfo) XXX_Merge

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

func (*ReplyInfo) XXX_Size

func (m *ReplyInfo) XXX_Size() int

func (*ReplyInfo) XXX_Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*ReplyList) GetList

func (m *ReplyList) GetList() []string

func (*ReplyList) GetStatus

func (m *ReplyList) GetStatus() *ReplyStatus

func (*ReplyList) GetUid

func (m *ReplyList) GetUid() string

func (*ReplyList) ProtoMessage

func (*ReplyList) ProtoMessage()

func (*ReplyList) Reset

func (m *ReplyList) Reset()

func (*ReplyList) String

func (m *ReplyList) String() string

func (*ReplyList) XXX_DiscardUnknown

func (m *ReplyList) XXX_DiscardUnknown()

func (*ReplyList) XXX_Marshal

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

func (*ReplyList) XXX_Merge

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

func (*ReplyList) XXX_Size

func (m *ReplyList) XXX_Size() int

func (*ReplyList) XXX_Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*TaskInfo) GetAgent

func (m *TaskInfo) GetAgent() string

func (*TaskInfo) GetAssets

func (m *TaskInfo) GetAssets() []string

func (*TaskInfo) GetClient

func (m *TaskInfo) GetClient() string

func (*TaskInfo) GetCreated

func (m *TaskInfo) GetCreated() int64

func (*TaskInfo) GetCreator

func (m *TaskInfo) GetCreator() string

func (*TaskInfo) GetDuration

func (m *TaskInfo) GetDuration() *DateInfo

func (*TaskInfo) GetId

func (m *TaskInfo) GetId() uint64

func (*TaskInfo) GetName

func (m *TaskInfo) GetName() string

func (*TaskInfo) GetOperator

func (m *TaskInfo) GetOperator() string

func (*TaskInfo) GetOwner

func (m *TaskInfo) GetOwner() string

func (*TaskInfo) GetPretask

func (m *TaskInfo) GetPretask() string

func (*TaskInfo) GetRecords

func (m *TaskInfo) GetRecords() []*RecordInfo

func (*TaskInfo) GetRemark

func (m *TaskInfo) GetRemark() string

func (*TaskInfo) GetStatus

func (m *TaskInfo) GetStatus() uint32

func (*TaskInfo) GetTags

func (m *TaskInfo) GetTags() []string

func (*TaskInfo) GetType

func (m *TaskInfo) GetType() uint32

func (*TaskInfo) GetUid

func (m *TaskInfo) GetUid() string

func (*TaskInfo) GetUpdated

func (m *TaskInfo) GetUpdated() int64

func (*TaskInfo) ProtoMessage

func (*TaskInfo) ProtoMessage()

func (*TaskInfo) Reset

func (m *TaskInfo) Reset()

func (*TaskInfo) String

func (m *TaskInfo) String() string

func (*TaskInfo) XXX_DiscardUnknown

func (m *TaskInfo) XXX_DiscardUnknown()

func (*TaskInfo) XXX_Marshal

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

func (*TaskInfo) XXX_Merge

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

func (*TaskInfo) XXX_Size

func (m *TaskInfo) XXX_Size() int

func (*TaskInfo) XXX_Unmarshal

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

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 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) Descriptor() ([]byte, []int)

func (*TeamInfo) GetAssistants

func (m *TeamInfo) GetAssistants() []string

func (*TeamInfo) GetCreated

func (m *TeamInfo) GetCreated() int64

func (*TeamInfo) GetCreator

func (m *TeamInfo) GetCreator() string

func (*TeamInfo) GetId

func (m *TeamInfo) GetId() uint64

func (*TeamInfo) GetMaster

func (m *TeamInfo) GetMaster() string

func (*TeamInfo) GetMembers

func (m *TeamInfo) GetMembers() []string

func (*TeamInfo) GetName

func (m *TeamInfo) GetName() string

func (*TeamInfo) GetOperator

func (m *TeamInfo) GetOperator() string

func (*TeamInfo) GetOwner

func (m *TeamInfo) GetOwner() string

func (*TeamInfo) GetRemark

func (m *TeamInfo) GetRemark() string

func (*TeamInfo) GetTags

func (m *TeamInfo) GetTags() []string

func (*TeamInfo) GetUid

func (m *TeamInfo) GetUid() string

func (*TeamInfo) GetUpdated

func (m *TeamInfo) GetUpdated() int64

func (*TeamInfo) ProtoMessage

func (*TeamInfo) ProtoMessage()

func (*TeamInfo) Reset

func (m *TeamInfo) Reset()

func (*TeamInfo) String

func (m *TeamInfo) String() string

func (*TeamInfo) XXX_DiscardUnknown

func (m *TeamInfo) XXX_DiscardUnknown()

func (*TeamInfo) XXX_Marshal

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

func (*TeamInfo) XXX_Merge

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

func (*TeamInfo) XXX_Size

func (m *TeamInfo) XXX_Size() int

func (*TeamInfo) XXX_Unmarshal

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

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

Jump to

Keyboard shortcuts

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