Documentation
¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type AgentInstallProgressRequest
- func (*AgentInstallProgressRequest) Descriptor() ([]byte, []int)
- func (m *AgentInstallProgressRequest) GetIp() string
- func (m *AgentInstallProgressRequest) GetPassword() string
- func (m *AgentInstallProgressRequest) GetPort() int32
- func (m *AgentInstallProgressRequest) GetUsername() string
- func (*AgentInstallProgressRequest) ProtoMessage()
- func (m *AgentInstallProgressRequest) Reset()
- func (m *AgentInstallProgressRequest) String() string
- func (this *AgentInstallProgressRequest) Validate() error
- func (m *AgentInstallProgressRequest) XXX_DiscardUnknown()
- func (m *AgentInstallProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AgentInstallProgressRequest) XXX_Merge(src proto.Message)
- func (m *AgentInstallProgressRequest) XXX_Size() int
- func (m *AgentInstallProgressRequest) XXX_Unmarshal(b []byte) error
- type AgentInstallProgressResponse
- func (*AgentInstallProgressResponse) Descriptor() ([]byte, []int)
- func (m *AgentInstallProgressResponse) GetDetail() string
- func (m *AgentInstallProgressResponse) GetRetCode() int32
- func (m *AgentInstallProgressResponse) GetStatus() string
- func (*AgentInstallProgressResponse) ProtoMessage()
- func (m *AgentInstallProgressResponse) Reset()
- func (m *AgentInstallProgressResponse) String() string
- func (this *AgentInstallProgressResponse) Validate() error
- func (m *AgentInstallProgressResponse) XXX_DiscardUnknown()
- func (m *AgentInstallProgressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AgentInstallProgressResponse) XXX_Merge(src proto.Message)
- func (m *AgentInstallProgressResponse) XXX_Size() int
- func (m *AgentInstallProgressResponse) XXX_Unmarshal(b []byte) error
- type AgentInstallProgressResponseWrapper
- func (*AgentInstallProgressResponseWrapper) Descriptor() ([]byte, []int)
- func (m *AgentInstallProgressResponseWrapper) GetCode() int32
- func (m *AgentInstallProgressResponseWrapper) GetCodeExplain() string
- func (m *AgentInstallProgressResponseWrapper) GetData() *AgentInstallProgressResponse
- func (m *AgentInstallProgressResponseWrapper) GetError() string
- func (*AgentInstallProgressResponseWrapper) ProtoMessage()
- func (m *AgentInstallProgressResponseWrapper) Reset()
- func (m *AgentInstallProgressResponseWrapper) String() string
- func (this *AgentInstallProgressResponseWrapper) Validate() error
- func (m *AgentInstallProgressResponseWrapper) XXX_DiscardUnknown()
- func (m *AgentInstallProgressResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AgentInstallProgressResponseWrapper) XXX_Merge(src proto.Message)
- func (m *AgentInstallProgressResponseWrapper) XXX_Size() int
- func (m *AgentInstallProgressResponseWrapper) XXX_Unmarshal(b []byte) error
- type AgentInstallRequest
- func (*AgentInstallRequest) Descriptor() ([]byte, []int)
- func (m *AgentInstallRequest) GetAsync() bool
- func (m *AgentInstallRequest) GetIp() string
- func (m *AgentInstallRequest) GetPassword() string
- func (m *AgentInstallRequest) GetPort() int32
- func (m *AgentInstallRequest) GetUsername() string
- func (*AgentInstallRequest) ProtoMessage()
- func (m *AgentInstallRequest) Reset()
- func (m *AgentInstallRequest) String() string
- func (this *AgentInstallRequest) Validate() error
- func (m *AgentInstallRequest) XXX_DiscardUnknown()
- func (m *AgentInstallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AgentInstallRequest) XXX_Merge(src proto.Message)
- func (m *AgentInstallRequest) XXX_Size() int
- func (m *AgentInstallRequest) XXX_Unmarshal(b []byte) error
- type AgentInstallResponse
- func (*AgentInstallResponse) Descriptor() ([]byte, []int)
- func (m *AgentInstallResponse) GetCode() int32
- func (m *AgentInstallResponse) GetData() int32
- func (m *AgentInstallResponse) GetError() string
- func (m *AgentInstallResponse) GetMessage() string
- func (*AgentInstallResponse) ProtoMessage()
- func (m *AgentInstallResponse) Reset()
- func (m *AgentInstallResponse) String() string
- func (this *AgentInstallResponse) Validate() error
- func (m *AgentInstallResponse) XXX_DiscardUnknown()
- func (m *AgentInstallResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AgentInstallResponse) XXX_Merge(src proto.Message)
- func (m *AgentInstallResponse) XXX_Size() int
- func (m *AgentInstallResponse) XXX_Unmarshal(b []byte) error
- type AgentInstallResponseWrapper
- func (*AgentInstallResponseWrapper) Descriptor() ([]byte, []int)
- func (m *AgentInstallResponseWrapper) GetCode() int32
- func (m *AgentInstallResponseWrapper) GetCodeExplain() string
- func (m *AgentInstallResponseWrapper) GetData() *AgentInstallResponse
- func (m *AgentInstallResponseWrapper) GetError() string
- func (*AgentInstallResponseWrapper) ProtoMessage()
- func (m *AgentInstallResponseWrapper) Reset()
- func (m *AgentInstallResponseWrapper) String() string
- func (this *AgentInstallResponseWrapper) Validate() error
- func (m *AgentInstallResponseWrapper) XXX_DiscardUnknown()
- func (m *AgentInstallResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AgentInstallResponseWrapper) XXX_Merge(src proto.Message)
- func (m *AgentInstallResponseWrapper) XXX_Size() int
- func (m *AgentInstallResponseWrapper) XXX_Unmarshal(b []byte) error
- type Client
- type GetInstallKeyResponse
- func (*GetInstallKeyResponse) Descriptor() ([]byte, []int)
- func (m *GetInstallKeyResponse) GetCode() int32
- func (m *GetInstallKeyResponse) GetData() string
- func (m *GetInstallKeyResponse) GetError() string
- func (m *GetInstallKeyResponse) GetMessage() string
- func (*GetInstallKeyResponse) ProtoMessage()
- func (m *GetInstallKeyResponse) Reset()
- func (m *GetInstallKeyResponse) String() string
- func (this *GetInstallKeyResponse) Validate() error
- func (m *GetInstallKeyResponse) XXX_DiscardUnknown()
- func (m *GetInstallKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetInstallKeyResponse) XXX_Merge(src proto.Message)
- func (m *GetInstallKeyResponse) XXX_Size() int
- func (m *GetInstallKeyResponse) XXX_Unmarshal(b []byte) error
- type GetInstallKeyResponseWrapper
- func (*GetInstallKeyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetInstallKeyResponseWrapper) GetCode() int32
- func (m *GetInstallKeyResponseWrapper) GetCodeExplain() string
- func (m *GetInstallKeyResponseWrapper) GetData() *GetInstallKeyResponse
- func (m *GetInstallKeyResponseWrapper) GetError() string
- func (*GetInstallKeyResponseWrapper) ProtoMessage()
- func (m *GetInstallKeyResponseWrapper) Reset()
- func (m *GetInstallKeyResponseWrapper) String() string
- func (this *GetInstallKeyResponseWrapper) Validate() error
- func (m *GetInstallKeyResponseWrapper) XXX_DiscardUnknown()
- func (m *GetInstallKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetInstallKeyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetInstallKeyResponseWrapper) XXX_Size() int
- func (m *GetInstallKeyResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
func RegisterService(s giraffe_micro.Server, srv Service)
Types ¶
type AgentInstallProgressRequest ¶
type AgentInstallProgressRequest struct { // //安装agent的目标ip Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip" form:"ip"` // //安装agent的目标端口 Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port" form:"port"` // //机器用户名 Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username" form:"username"` // //机器密码 Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password" form:"password"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AgentInstallProgress请求
func (*AgentInstallProgressRequest) Descriptor ¶
func (*AgentInstallProgressRequest) Descriptor() ([]byte, []int)
func (*AgentInstallProgressRequest) GetIp ¶
func (m *AgentInstallProgressRequest) GetIp() string
func (*AgentInstallProgressRequest) GetPassword ¶
func (m *AgentInstallProgressRequest) GetPassword() string
func (*AgentInstallProgressRequest) GetPort ¶
func (m *AgentInstallProgressRequest) GetPort() int32
func (*AgentInstallProgressRequest) GetUsername ¶
func (m *AgentInstallProgressRequest) GetUsername() string
func (*AgentInstallProgressRequest) ProtoMessage ¶
func (*AgentInstallProgressRequest) ProtoMessage()
func (*AgentInstallProgressRequest) Reset ¶
func (m *AgentInstallProgressRequest) Reset()
func (*AgentInstallProgressRequest) String ¶
func (m *AgentInstallProgressRequest) String() string
func (*AgentInstallProgressRequest) Validate ¶
func (this *AgentInstallProgressRequest) Validate() error
func (*AgentInstallProgressRequest) XXX_DiscardUnknown ¶
func (m *AgentInstallProgressRequest) XXX_DiscardUnknown()
func (*AgentInstallProgressRequest) XXX_Marshal ¶
func (m *AgentInstallProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AgentInstallProgressRequest) XXX_Merge ¶
func (m *AgentInstallProgressRequest) XXX_Merge(src proto.Message)
func (*AgentInstallProgressRequest) XXX_Size ¶
func (m *AgentInstallProgressRequest) XXX_Size() int
func (*AgentInstallProgressRequest) XXX_Unmarshal ¶
func (m *AgentInstallProgressRequest) XXX_Unmarshal(b []byte) error
type AgentInstallProgressResponse ¶
type AgentInstallProgressResponse struct { // //状态 Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status" form:"status"` // //状态码 RetCode int32 `protobuf:"varint,2,opt,name=retCode,proto3" json:"retCode" form:"retCode"` // //详细信息 Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail" form:"detail"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AgentInstallProgress返回
func (*AgentInstallProgressResponse) Descriptor ¶
func (*AgentInstallProgressResponse) Descriptor() ([]byte, []int)
func (*AgentInstallProgressResponse) GetDetail ¶
func (m *AgentInstallProgressResponse) GetDetail() string
func (*AgentInstallProgressResponse) GetRetCode ¶
func (m *AgentInstallProgressResponse) GetRetCode() int32
func (*AgentInstallProgressResponse) GetStatus ¶
func (m *AgentInstallProgressResponse) GetStatus() string
func (*AgentInstallProgressResponse) ProtoMessage ¶
func (*AgentInstallProgressResponse) ProtoMessage()
func (*AgentInstallProgressResponse) Reset ¶
func (m *AgentInstallProgressResponse) Reset()
func (*AgentInstallProgressResponse) String ¶
func (m *AgentInstallProgressResponse) String() string
func (*AgentInstallProgressResponse) Validate ¶
func (this *AgentInstallProgressResponse) Validate() error
func (*AgentInstallProgressResponse) XXX_DiscardUnknown ¶
func (m *AgentInstallProgressResponse) XXX_DiscardUnknown()
func (*AgentInstallProgressResponse) XXX_Marshal ¶
func (m *AgentInstallProgressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AgentInstallProgressResponse) XXX_Merge ¶
func (m *AgentInstallProgressResponse) XXX_Merge(src proto.Message)
func (*AgentInstallProgressResponse) XXX_Size ¶
func (m *AgentInstallProgressResponse) XXX_Size() int
func (*AgentInstallProgressResponse) XXX_Unmarshal ¶
func (m *AgentInstallProgressResponse) XXX_Unmarshal(b []byte) error
type AgentInstallProgressResponseWrapper ¶
type AgentInstallProgressResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *AgentInstallProgressResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AgentInstallProgressApi返回
func (*AgentInstallProgressResponseWrapper) Descriptor ¶
func (*AgentInstallProgressResponseWrapper) Descriptor() ([]byte, []int)
func (*AgentInstallProgressResponseWrapper) GetCode ¶
func (m *AgentInstallProgressResponseWrapper) GetCode() int32
func (*AgentInstallProgressResponseWrapper) GetCodeExplain ¶
func (m *AgentInstallProgressResponseWrapper) GetCodeExplain() string
func (*AgentInstallProgressResponseWrapper) GetData ¶
func (m *AgentInstallProgressResponseWrapper) GetData() *AgentInstallProgressResponse
func (*AgentInstallProgressResponseWrapper) GetError ¶
func (m *AgentInstallProgressResponseWrapper) GetError() string
func (*AgentInstallProgressResponseWrapper) ProtoMessage ¶
func (*AgentInstallProgressResponseWrapper) ProtoMessage()
func (*AgentInstallProgressResponseWrapper) Reset ¶
func (m *AgentInstallProgressResponseWrapper) Reset()
func (*AgentInstallProgressResponseWrapper) String ¶
func (m *AgentInstallProgressResponseWrapper) String() string
func (*AgentInstallProgressResponseWrapper) Validate ¶
func (this *AgentInstallProgressResponseWrapper) Validate() error
func (*AgentInstallProgressResponseWrapper) XXX_DiscardUnknown ¶
func (m *AgentInstallProgressResponseWrapper) XXX_DiscardUnknown()
func (*AgentInstallProgressResponseWrapper) XXX_Marshal ¶
func (m *AgentInstallProgressResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AgentInstallProgressResponseWrapper) XXX_Merge ¶
func (m *AgentInstallProgressResponseWrapper) XXX_Merge(src proto.Message)
func (*AgentInstallProgressResponseWrapper) XXX_Size ¶
func (m *AgentInstallProgressResponseWrapper) XXX_Size() int
func (*AgentInstallProgressResponseWrapper) XXX_Unmarshal ¶
func (m *AgentInstallProgressResponseWrapper) XXX_Unmarshal(b []byte) error
type AgentInstallRequest ¶
type AgentInstallRequest struct { // //安装agent的目标ip Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip" form:"ip"` // //安装agent的目标端口 Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port" form:"port"` // //机器用户名 Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username" form:"username"` // //机器密码 Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password" form:"password"` // //是否异步安装 Async bool `protobuf:"varint,5,opt,name=async,proto3" json:"async" form:"async"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AgentInstall请求
func (*AgentInstallRequest) Descriptor ¶
func (*AgentInstallRequest) Descriptor() ([]byte, []int)
func (*AgentInstallRequest) GetAsync ¶
func (m *AgentInstallRequest) GetAsync() bool
func (*AgentInstallRequest) GetIp ¶
func (m *AgentInstallRequest) GetIp() string
func (*AgentInstallRequest) GetPassword ¶
func (m *AgentInstallRequest) GetPassword() string
func (*AgentInstallRequest) GetPort ¶
func (m *AgentInstallRequest) GetPort() int32
func (*AgentInstallRequest) GetUsername ¶
func (m *AgentInstallRequest) GetUsername() string
func (*AgentInstallRequest) ProtoMessage ¶
func (*AgentInstallRequest) ProtoMessage()
func (*AgentInstallRequest) Reset ¶
func (m *AgentInstallRequest) Reset()
func (*AgentInstallRequest) String ¶
func (m *AgentInstallRequest) String() string
func (*AgentInstallRequest) Validate ¶
func (this *AgentInstallRequest) Validate() error
func (*AgentInstallRequest) XXX_DiscardUnknown ¶
func (m *AgentInstallRequest) XXX_DiscardUnknown()
func (*AgentInstallRequest) XXX_Marshal ¶
func (m *AgentInstallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AgentInstallRequest) XXX_Merge ¶
func (m *AgentInstallRequest) XXX_Merge(src proto.Message)
func (*AgentInstallRequest) XXX_Size ¶
func (m *AgentInstallRequest) XXX_Size() int
func (*AgentInstallRequest) XXX_Unmarshal ¶
func (m *AgentInstallRequest) XXX_Unmarshal(b []byte) error
type AgentInstallResponse ¶
type AgentInstallResponse struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //错误信息 Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error" form:"error"` // //返回消息 Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message" form:"message"` // //错误码 Data int32 `protobuf:"varint,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AgentInstall返回
func (*AgentInstallResponse) Descriptor ¶
func (*AgentInstallResponse) Descriptor() ([]byte, []int)
func (*AgentInstallResponse) GetCode ¶
func (m *AgentInstallResponse) GetCode() int32
func (*AgentInstallResponse) GetData ¶
func (m *AgentInstallResponse) GetData() int32
func (*AgentInstallResponse) GetError ¶
func (m *AgentInstallResponse) GetError() string
func (*AgentInstallResponse) GetMessage ¶
func (m *AgentInstallResponse) GetMessage() string
func (*AgentInstallResponse) ProtoMessage ¶
func (*AgentInstallResponse) ProtoMessage()
func (*AgentInstallResponse) Reset ¶
func (m *AgentInstallResponse) Reset()
func (*AgentInstallResponse) String ¶
func (m *AgentInstallResponse) String() string
func (*AgentInstallResponse) Validate ¶
func (this *AgentInstallResponse) Validate() error
func (*AgentInstallResponse) XXX_DiscardUnknown ¶
func (m *AgentInstallResponse) XXX_DiscardUnknown()
func (*AgentInstallResponse) XXX_Marshal ¶
func (m *AgentInstallResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AgentInstallResponse) XXX_Merge ¶
func (m *AgentInstallResponse) XXX_Merge(src proto.Message)
func (*AgentInstallResponse) XXX_Size ¶
func (m *AgentInstallResponse) XXX_Size() int
func (*AgentInstallResponse) XXX_Unmarshal ¶
func (m *AgentInstallResponse) XXX_Unmarshal(b []byte) error
type AgentInstallResponseWrapper ¶
type AgentInstallResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *AgentInstallResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AgentInstallApi返回
func (*AgentInstallResponseWrapper) Descriptor ¶
func (*AgentInstallResponseWrapper) Descriptor() ([]byte, []int)
func (*AgentInstallResponseWrapper) GetCode ¶
func (m *AgentInstallResponseWrapper) GetCode() int32
func (*AgentInstallResponseWrapper) GetCodeExplain ¶
func (m *AgentInstallResponseWrapper) GetCodeExplain() string
func (*AgentInstallResponseWrapper) GetData ¶
func (m *AgentInstallResponseWrapper) GetData() *AgentInstallResponse
func (*AgentInstallResponseWrapper) GetError ¶
func (m *AgentInstallResponseWrapper) GetError() string
func (*AgentInstallResponseWrapper) ProtoMessage ¶
func (*AgentInstallResponseWrapper) ProtoMessage()
func (*AgentInstallResponseWrapper) Reset ¶
func (m *AgentInstallResponseWrapper) Reset()
func (*AgentInstallResponseWrapper) String ¶
func (m *AgentInstallResponseWrapper) String() string
func (*AgentInstallResponseWrapper) Validate ¶
func (this *AgentInstallResponseWrapper) Validate() error
func (*AgentInstallResponseWrapper) XXX_DiscardUnknown ¶
func (m *AgentInstallResponseWrapper) XXX_DiscardUnknown()
func (*AgentInstallResponseWrapper) XXX_Marshal ¶
func (m *AgentInstallResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AgentInstallResponseWrapper) XXX_Merge ¶
func (m *AgentInstallResponseWrapper) XXX_Merge(src proto.Message)
func (*AgentInstallResponseWrapper) XXX_Size ¶
func (m *AgentInstallResponseWrapper) XXX_Size() int
func (*AgentInstallResponseWrapper) XXX_Unmarshal ¶
func (m *AgentInstallResponseWrapper) XXX_Unmarshal(b []byte) error
type Client ¶
type Client interface { AgentInstall(ctx context.Context, in *AgentInstallRequest) (*AgentInstallResponse, error) AgentInstallProgress(ctx context.Context, in *AgentInstallProgressRequest) (*AgentInstallProgressResponse, error) GetInstallKey(ctx context.Context, in *types.Empty) (*GetInstallKeyResponse, error) }
Client is the client API for agent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClient ¶
func NewClient(c giraffe_micro.Client) Client
type GetInstallKeyResponse ¶
type GetInstallKeyResponse struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回信息 Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error" form:"error"` // //返回信息 Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message" form:"message"` // //密钥数据 Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetInstallKey返回
func (*GetInstallKeyResponse) Descriptor ¶
func (*GetInstallKeyResponse) Descriptor() ([]byte, []int)
func (*GetInstallKeyResponse) GetCode ¶
func (m *GetInstallKeyResponse) GetCode() int32
func (*GetInstallKeyResponse) GetData ¶
func (m *GetInstallKeyResponse) GetData() string
func (*GetInstallKeyResponse) GetError ¶
func (m *GetInstallKeyResponse) GetError() string
func (*GetInstallKeyResponse) GetMessage ¶
func (m *GetInstallKeyResponse) GetMessage() string
func (*GetInstallKeyResponse) ProtoMessage ¶
func (*GetInstallKeyResponse) ProtoMessage()
func (*GetInstallKeyResponse) Reset ¶
func (m *GetInstallKeyResponse) Reset()
func (*GetInstallKeyResponse) String ¶
func (m *GetInstallKeyResponse) String() string
func (*GetInstallKeyResponse) Validate ¶
func (this *GetInstallKeyResponse) Validate() error
func (*GetInstallKeyResponse) XXX_DiscardUnknown ¶
func (m *GetInstallKeyResponse) XXX_DiscardUnknown()
func (*GetInstallKeyResponse) XXX_Marshal ¶
func (m *GetInstallKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetInstallKeyResponse) XXX_Merge ¶
func (m *GetInstallKeyResponse) XXX_Merge(src proto.Message)
func (*GetInstallKeyResponse) XXX_Size ¶
func (m *GetInstallKeyResponse) XXX_Size() int
func (*GetInstallKeyResponse) XXX_Unmarshal ¶
func (m *GetInstallKeyResponse) XXX_Unmarshal(b []byte) error
type GetInstallKeyResponseWrapper ¶
type GetInstallKeyResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *GetInstallKeyResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetInstallKeyApi返回
func (*GetInstallKeyResponseWrapper) Descriptor ¶
func (*GetInstallKeyResponseWrapper) Descriptor() ([]byte, []int)
func (*GetInstallKeyResponseWrapper) GetCode ¶
func (m *GetInstallKeyResponseWrapper) GetCode() int32
func (*GetInstallKeyResponseWrapper) GetCodeExplain ¶
func (m *GetInstallKeyResponseWrapper) GetCodeExplain() string
func (*GetInstallKeyResponseWrapper) GetData ¶
func (m *GetInstallKeyResponseWrapper) GetData() *GetInstallKeyResponse
func (*GetInstallKeyResponseWrapper) GetError ¶
func (m *GetInstallKeyResponseWrapper) GetError() string
func (*GetInstallKeyResponseWrapper) ProtoMessage ¶
func (*GetInstallKeyResponseWrapper) ProtoMessage()
func (*GetInstallKeyResponseWrapper) Reset ¶
func (m *GetInstallKeyResponseWrapper) Reset()
func (*GetInstallKeyResponseWrapper) String ¶
func (m *GetInstallKeyResponseWrapper) String() string
func (*GetInstallKeyResponseWrapper) Validate ¶
func (this *GetInstallKeyResponseWrapper) Validate() error
func (*GetInstallKeyResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetInstallKeyResponseWrapper) XXX_DiscardUnknown()
func (*GetInstallKeyResponseWrapper) XXX_Marshal ¶
func (m *GetInstallKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetInstallKeyResponseWrapper) XXX_Merge ¶
func (m *GetInstallKeyResponseWrapper) XXX_Merge(src proto.Message)
func (*GetInstallKeyResponseWrapper) XXX_Size ¶
func (m *GetInstallKeyResponseWrapper) XXX_Size() int
func (*GetInstallKeyResponseWrapper) XXX_Unmarshal ¶
func (m *GetInstallKeyResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { AgentInstall(context.Context, *AgentInstallRequest) (*AgentInstallResponse, error) AgentInstallProgress(context.Context, *AgentInstallProgressRequest) (*AgentInstallProgressResponse, error) GetInstallKey(context.Context, *types.Empty) (*GetInstallKeyResponse, error) }
Service is the server API for agent service.
Click to show internal directories.
Click to hide internal directories.