Documentation ¶
Index ¶
- type AdminTask
- func (*AdminTask) Descriptor() ([]byte, []int)
- func (m *AdminTask) GetId() string
- func (m *AdminTask) GetMessage() string
- func (m *AdminTask) GetStatus() string
- func (m *AdminTask) GetTtl() int32
- func (m *AdminTask) GetType() string
- func (*AdminTask) ProtoMessage()
- func (m *AdminTask) Reset()
- func (m *AdminTask) String() string
- func (this *AdminTask) Validate() error
- func (m *AdminTask) XXX_DiscardUnknown()
- func (m *AdminTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AdminTask) XXX_Merge(src proto.Message)
- func (m *AdminTask) XXX_Size() int
- func (m *AdminTask) XXX_Unmarshal(b []byte) error
- type Agent
- func (*Agent) Descriptor() ([]byte, []int)
- func (m *Agent) GetAlive() bool
- func (m *Agent) GetHbAgentTime() int32
- func (m *Agent) GetHbServerTime() int32
- func (m *Agent) GetHostID() string
- func (m *Agent) GetId() string
- func (m *Agent) GetIp() string
- func (m *Agent) GetStartTime() int32
- func (m *Agent) GetStatus() string
- func (m *Agent) GetTimezone() int32
- func (m *Agent) GetUuid() string
- func (m *Agent) GetVersion() string
- func (*Agent) ProtoMessage()
- func (m *Agent) Reset()
- func (m *Agent) String() string
- func (this *Agent) Validate() error
- func (m *Agent) XXX_DiscardUnknown()
- func (m *Agent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Agent) XXX_Merge(src proto.Message)
- func (m *Agent) XXX_Size() int
- func (m *Agent) XXX_Unmarshal(b []byte) error
- type Plugin
- func (*Plugin) Descriptor() ([]byte, []int)
- func (m *Plugin) GetCreator() string
- func (m *Plugin) GetCtime() int32
- func (m *Plugin) GetDeployPath() []string
- func (m *Plugin) GetId() string
- func (m *Plugin) GetIsLocked() bool
- func (m *Plugin) GetMemo() string
- func (m *Plugin) GetMtime() int32
- func (m *Plugin) GetName() string
- func (m *Plugin) GetRepoPackageId() string
- func (*Plugin) ProtoMessage()
- func (m *Plugin) Reset()
- func (m *Plugin) String() string
- func (this *Plugin) Validate() error
- func (m *Plugin) XXX_DiscardUnknown()
- func (m *Plugin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Plugin) XXX_Merge(src proto.Message)
- func (m *Plugin) XXX_Size() int
- func (m *Plugin) XXX_Unmarshal(b []byte) error
- type PluginInstance
- func (*PluginInstance) Descriptor() ([]byte, []int)
- func (m *PluginInstance) GetAgentId() string
- func (m *PluginInstance) GetCtime() int32
- func (m *PluginInstance) GetDeployPath() string
- func (m *PluginInstance) GetId() string
- func (m *PluginInstance) GetMtime() int32
- func (m *PluginInstance) GetPluginId() string
- func (m *PluginInstance) GetPluginName() string
- func (m *PluginInstance) GetPluginVersionId() string
- func (m *PluginInstance) GetPluginVersionName() string
- func (*PluginInstance) ProtoMessage()
- func (m *PluginInstance) Reset()
- func (m *PluginInstance) String() string
- func (this *PluginInstance) Validate() error
- func (m *PluginInstance) XXX_DiscardUnknown()
- func (m *PluginInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PluginInstance) XXX_Merge(src proto.Message)
- func (m *PluginInstance) XXX_Size() int
- func (m *PluginInstance) XXX_Unmarshal(b []byte) error
- type PluginVersion
- func (*PluginVersion) Descriptor() ([]byte, []int)
- func (m *PluginVersion) GetCreator() string
- func (m *PluginVersion) GetCtime() int32
- func (m *PluginVersion) GetId() string
- func (m *PluginVersion) GetMemo() string
- func (m *PluginVersion) GetMtime() int32
- func (m *PluginVersion) GetName() string
- func (m *PluginVersion) GetPluginId() string
- func (m *PluginVersion) GetRepoVersionId() string
- func (*PluginVersion) ProtoMessage()
- func (m *PluginVersion) Reset()
- func (m *PluginVersion) String() string
- func (this *PluginVersion) Validate() error
- func (m *PluginVersion) XXX_DiscardUnknown()
- func (m *PluginVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PluginVersion) XXX_Merge(src proto.Message)
- func (m *PluginVersion) XXX_Size() int
- func (m *PluginVersion) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminTask ¶
type AdminTask struct { // //ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //类型 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"` // //状态 Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status" form:"status"` // //信息 Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message" form:"message"` // //信息存活时间 Ttl int32 `protobuf:"varint,5,opt,name=ttl,proto3" json:"ttl" form:"ttl"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
任务
func (*AdminTask) Descriptor ¶
func (*AdminTask) GetMessage ¶
func (*AdminTask) ProtoMessage ¶
func (*AdminTask) ProtoMessage()
func (*AdminTask) XXX_DiscardUnknown ¶
func (m *AdminTask) XXX_DiscardUnknown()
func (*AdminTask) XXX_Marshal ¶
func (*AdminTask) XXX_Unmarshal ¶
type Agent ¶
type Agent struct { // //实例唯一标识 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //状态 Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status" form:"status"` // //是否存活 Alive bool `protobuf:"varint,3,opt,name=alive,proto3" json:"alive" form:"alive"` // //版本 Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version" form:"version"` // //Agent唯一标识 Uuid string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid" form:"uuid"` // //时区 Timezone int32 `protobuf:"varint,6,opt,name=timezone,proto3" json:"timezone" form:"timezone"` // //Agent端心跳时间戳 HbAgentTime int32 `protobuf:"varint,7,opt,name=hbAgentTime,proto3" json:"hbAgentTime" form:"hbAgentTime"` // //Server端心跳时间戳 HbServerTime int32 `protobuf:"varint,8,opt,name=hbServerTime,proto3" json:"hbServerTime" form:"hbServerTime"` // //Agent启动时间戳 StartTime int32 `protobuf:"varint,9,opt,name=startTime,proto3" json:"startTime" form:"startTime"` // //Agent所属主机InstanceID HostID string `protobuf:"bytes,10,opt,name=hostID,proto3" json:"hostID" form:"hostID"` // //AgentIp Ip string `protobuf:"bytes,11,opt,name=ip,proto3" json:"ip" form:"ip"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Agent
func (*Agent) Descriptor ¶
func (*Agent) GetHbAgentTime ¶
func (*Agent) GetHbServerTime ¶
func (*Agent) GetStartTime ¶
func (*Agent) GetTimezone ¶
func (*Agent) GetVersion ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) XXX_DiscardUnknown ¶
func (m *Agent) XXX_DiscardUnknown()
func (*Agent) XXX_Marshal ¶
func (*Agent) XXX_Unmarshal ¶
type Plugin ¶
type Plugin struct { // //ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //部署路径 DeployPath []string `protobuf:"bytes,3,rep,name=deployPath,proto3" json:"deployPath" form:"deployPath"` // //备注 Memo string `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo" form:"memo"` // //仓库对应包ID RepoPackageId string `protobuf:"bytes,5,opt,name=repoPackageId,proto3" json:"repoPackageId" form:"repoPackageId"` // //创建者 Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator" form:"creator"` // //创建时间 Ctime int32 `protobuf:"varint,7,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //修改时间 Mtime int32 `protobuf:"varint,8,opt,name=mtime,proto3" json:"mtime" form:"mtime"` // //是否锁定 IsLocked bool `protobuf:"varint,9,opt,name=isLocked,proto3" json:"isLocked" form:"isLocked"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
插件
func (*Plugin) Descriptor ¶
func (*Plugin) GetCreator ¶
func (*Plugin) GetDeployPath ¶
func (*Plugin) GetIsLocked ¶
func (*Plugin) GetRepoPackageId ¶
func (*Plugin) ProtoMessage ¶
func (*Plugin) ProtoMessage()
func (*Plugin) XXX_DiscardUnknown ¶
func (m *Plugin) XXX_DiscardUnknown()
func (*Plugin) XXX_Marshal ¶
func (*Plugin) XXX_Unmarshal ¶
type PluginInstance ¶
type PluginInstance struct { // //实例Id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //AgentID AgentId string `protobuf:"bytes,2,opt,name=agentId,proto3" json:"agentId" form:"agentId"` // //插件ID PluginId string `protobuf:"bytes,3,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"` // //插件名称 PluginName string `protobuf:"bytes,4,opt,name=pluginName,proto3" json:"pluginName" form:"pluginName"` // //插件版本Id PluginVersionId string `protobuf:"bytes,5,opt,name=pluginVersionId,proto3" json:"pluginVersionId" form:"pluginVersionId"` // //插件版本名称 PluginVersionName string `protobuf:"bytes,6,opt,name=pluginVersionName,proto3" json:"pluginVersionName" form:"pluginVersionName"` // //真实安装路径 DeployPath string `protobuf:"bytes,7,opt,name=deployPath,proto3" json:"deployPath" form:"deployPath"` // //创建时间 Ctime int32 `protobuf:"varint,8,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //修改时间 Mtime int32 `protobuf:"varint,9,opt,name=mtime,proto3" json:"mtime" form:"mtime"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Agent插件关系
func (*PluginInstance) Descriptor ¶
func (*PluginInstance) Descriptor() ([]byte, []int)
func (*PluginInstance) GetAgentId ¶
func (m *PluginInstance) GetAgentId() string
func (*PluginInstance) GetCtime ¶
func (m *PluginInstance) GetCtime() int32
func (*PluginInstance) GetDeployPath ¶
func (m *PluginInstance) GetDeployPath() string
func (*PluginInstance) GetId ¶
func (m *PluginInstance) GetId() string
func (*PluginInstance) GetMtime ¶
func (m *PluginInstance) GetMtime() int32
func (*PluginInstance) GetPluginId ¶
func (m *PluginInstance) GetPluginId() string
func (*PluginInstance) GetPluginName ¶
func (m *PluginInstance) GetPluginName() string
func (*PluginInstance) GetPluginVersionId ¶
func (m *PluginInstance) GetPluginVersionId() string
func (*PluginInstance) GetPluginVersionName ¶
func (m *PluginInstance) GetPluginVersionName() string
func (*PluginInstance) ProtoMessage ¶
func (*PluginInstance) ProtoMessage()
func (*PluginInstance) Reset ¶
func (m *PluginInstance) Reset()
func (*PluginInstance) String ¶
func (m *PluginInstance) String() string
func (*PluginInstance) Validate ¶
func (this *PluginInstance) Validate() error
func (*PluginInstance) XXX_DiscardUnknown ¶
func (m *PluginInstance) XXX_DiscardUnknown()
func (*PluginInstance) XXX_Marshal ¶
func (m *PluginInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PluginInstance) XXX_Merge ¶
func (m *PluginInstance) XXX_Merge(src proto.Message)
func (*PluginInstance) XXX_Size ¶
func (m *PluginInstance) XXX_Size() int
func (*PluginInstance) XXX_Unmarshal ¶
func (m *PluginInstance) XXX_Unmarshal(b []byte) error
type PluginVersion ¶
type PluginVersion struct { // //ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //仓库版本ID RepoVersionId string `protobuf:"bytes,2,opt,name=repoVersionId,proto3" json:"repoVersionId" form:"repoVersionId"` // //版本名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"` // //备注 Memo string `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo" form:"memo"` // //所属插件ID PluginId string `protobuf:"bytes,5,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"` // //创建者 Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator" form:"creator"` // //创建时间 Ctime int32 `protobuf:"varint,7,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //修改时间 Mtime int32 `protobuf:"varint,8,opt,name=mtime,proto3" json:"mtime" form:"mtime"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
插件版本
func (*PluginVersion) Descriptor ¶
func (*PluginVersion) Descriptor() ([]byte, []int)
func (*PluginVersion) GetCreator ¶
func (m *PluginVersion) GetCreator() string
func (*PluginVersion) GetCtime ¶
func (m *PluginVersion) GetCtime() int32
func (*PluginVersion) GetId ¶
func (m *PluginVersion) GetId() string
func (*PluginVersion) GetMemo ¶
func (m *PluginVersion) GetMemo() string
func (*PluginVersion) GetMtime ¶
func (m *PluginVersion) GetMtime() int32
func (*PluginVersion) GetName ¶
func (m *PluginVersion) GetName() string
func (*PluginVersion) GetPluginId ¶
func (m *PluginVersion) GetPluginId() string
func (*PluginVersion) GetRepoVersionId ¶
func (m *PluginVersion) GetRepoVersionId() string
func (*PluginVersion) ProtoMessage ¶
func (*PluginVersion) ProtoMessage()
func (*PluginVersion) Reset ¶
func (m *PluginVersion) Reset()
func (*PluginVersion) String ¶
func (m *PluginVersion) String() string
func (*PluginVersion) Validate ¶
func (this *PluginVersion) Validate() error
func (*PluginVersion) XXX_DiscardUnknown ¶
func (m *PluginVersion) XXX_DiscardUnknown()
func (*PluginVersion) XXX_Marshal ¶
func (m *PluginVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PluginVersion) XXX_Merge ¶
func (m *PluginVersion) XXX_Merge(src proto.Message)
func (*PluginVersion) XXX_Size ¶
func (m *PluginVersion) XXX_Size() int
func (*PluginVersion) XXX_Unmarshal ¶
func (m *PluginVersion) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.