info

package
v0.0.0-...-b63aa1a Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(s giraffe_micro.Server, srv Service)

Types

type Client

type Client interface {
	CreateInspectionInfo(ctx context.Context, in *CreateInspectionInfoRequest) (*inspection.InspectionInfo, error)
	DeleteInspectionInfo(ctx context.Context, in *DeleteInspectionInfoRequest) (*types.Empty, error)
	GetInspectionInfo(ctx context.Context, in *GetInspectionInfoRequest) (*inspection.InspectionInfo, error)
	ListInspectionInfo(ctx context.Context, in *ListInspectionInfoRequest) (*ListInspectionInfoResponse, error)
	ListenOrgRegister(ctx context.Context, in *types.Empty) (*types.Empty, error)
	UpdateInspectionInfo(ctx context.Context, in *UpdateInspectionInfoRequest) (*inspection.InspectionInfo, error)
}

Client is the client API for info 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 CreateInspectionInfoRequest

type CreateInspectionInfoRequest 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"`
	//
	//备注
	Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo" form:"memo"`
	//
	//套件索引
	Index int32 `protobuf:"varint,4,opt,name=index,proto3" json:"index" form:"index"`
	//
	//CMDB模型ID
	ObjectId string `protobuf:"bytes,5,opt,name=objectId,proto3" json:"objectId" form:"objectId"`
	//
	//唯一键列表(CMDB模型的属性)
	Keys []string `protobuf:"bytes,6,rep,name=keys,proto3" json:"keys" form:"keys"`
	//
	//CMDB模型与主机的关系ID
	RelationIdWithHost string `protobuf:"bytes,7,opt,name=relationIdWithHost,proto3" json:"relationIdWithHost" form:"relationIdWithHost"`
	//
	//执行巡检的方式
	//agent: 通过agent执行
	//
	Method               string   `protobuf:"bytes,8,opt,name=method,proto3" json:"method" form:"method"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CreateInspectionInfo请求

func (*CreateInspectionInfoRequest) Descriptor

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

func (*CreateInspectionInfoRequest) GetId

func (*CreateInspectionInfoRequest) GetIndex

func (m *CreateInspectionInfoRequest) GetIndex() int32

func (*CreateInspectionInfoRequest) GetKeys

func (m *CreateInspectionInfoRequest) GetKeys() []string

func (*CreateInspectionInfoRequest) GetMemo

func (m *CreateInspectionInfoRequest) GetMemo() string

func (*CreateInspectionInfoRequest) GetMethod

func (m *CreateInspectionInfoRequest) GetMethod() string

func (*CreateInspectionInfoRequest) GetName

func (m *CreateInspectionInfoRequest) GetName() string

func (*CreateInspectionInfoRequest) GetObjectId

func (m *CreateInspectionInfoRequest) GetObjectId() string

func (*CreateInspectionInfoRequest) GetRelationIdWithHost

func (m *CreateInspectionInfoRequest) GetRelationIdWithHost() string

func (*CreateInspectionInfoRequest) ProtoMessage

func (*CreateInspectionInfoRequest) ProtoMessage()

func (*CreateInspectionInfoRequest) Reset

func (m *CreateInspectionInfoRequest) Reset()

func (*CreateInspectionInfoRequest) String

func (m *CreateInspectionInfoRequest) String() string

func (*CreateInspectionInfoRequest) Validate

func (this *CreateInspectionInfoRequest) Validate() error

func (*CreateInspectionInfoRequest) XXX_DiscardUnknown

func (m *CreateInspectionInfoRequest) XXX_DiscardUnknown()

func (*CreateInspectionInfoRequest) XXX_Marshal

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

func (*CreateInspectionInfoRequest) XXX_Merge

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

func (*CreateInspectionInfoRequest) XXX_Size

func (m *CreateInspectionInfoRequest) XXX_Size() int

func (*CreateInspectionInfoRequest) XXX_Unmarshal

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

type CreateInspectionInfoResponseWrapper

type CreateInspectionInfoResponseWrapper 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                 *inspection.InspectionInfo `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

CreateInspectionInfoApi返回

func (*CreateInspectionInfoResponseWrapper) Descriptor

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

func (*CreateInspectionInfoResponseWrapper) GetCode

func (*CreateInspectionInfoResponseWrapper) GetCodeExplain

func (m *CreateInspectionInfoResponseWrapper) GetCodeExplain() string

func (*CreateInspectionInfoResponseWrapper) GetData

func (*CreateInspectionInfoResponseWrapper) GetError

func (*CreateInspectionInfoResponseWrapper) ProtoMessage

func (*CreateInspectionInfoResponseWrapper) ProtoMessage()

func (*CreateInspectionInfoResponseWrapper) Reset

func (*CreateInspectionInfoResponseWrapper) String

func (*CreateInspectionInfoResponseWrapper) Validate

func (this *CreateInspectionInfoResponseWrapper) Validate() error

func (*CreateInspectionInfoResponseWrapper) XXX_DiscardUnknown

func (m *CreateInspectionInfoResponseWrapper) XXX_DiscardUnknown()

func (*CreateInspectionInfoResponseWrapper) XXX_Marshal

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

func (*CreateInspectionInfoResponseWrapper) XXX_Merge

func (*CreateInspectionInfoResponseWrapper) XXX_Size

func (*CreateInspectionInfoResponseWrapper) XXX_Unmarshal

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

type DeleteInspectionInfoRequest

type DeleteInspectionInfoRequest struct {
	//
	//套件id
	PluginId             string   `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeleteInspectionInfo请求

func (*DeleteInspectionInfoRequest) Descriptor

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

func (*DeleteInspectionInfoRequest) GetPluginId

func (m *DeleteInspectionInfoRequest) GetPluginId() string

func (*DeleteInspectionInfoRequest) ProtoMessage

func (*DeleteInspectionInfoRequest) ProtoMessage()

func (*DeleteInspectionInfoRequest) Reset

func (m *DeleteInspectionInfoRequest) Reset()

func (*DeleteInspectionInfoRequest) String

func (m *DeleteInspectionInfoRequest) String() string

func (*DeleteInspectionInfoRequest) Validate

func (this *DeleteInspectionInfoRequest) Validate() error

func (*DeleteInspectionInfoRequest) XXX_DiscardUnknown

func (m *DeleteInspectionInfoRequest) XXX_DiscardUnknown()

func (*DeleteInspectionInfoRequest) XXX_Marshal

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

func (*DeleteInspectionInfoRequest) XXX_Merge

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

func (*DeleteInspectionInfoRequest) XXX_Size

func (m *DeleteInspectionInfoRequest) XXX_Size() int

func (*DeleteInspectionInfoRequest) XXX_Unmarshal

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

type DeleteInspectionInfoResponseWrapper

type DeleteInspectionInfoResponseWrapper 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                 *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

DeleteInspectionInfoApi返回

func (*DeleteInspectionInfoResponseWrapper) Descriptor

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

func (*DeleteInspectionInfoResponseWrapper) GetCode

func (*DeleteInspectionInfoResponseWrapper) GetCodeExplain

func (m *DeleteInspectionInfoResponseWrapper) GetCodeExplain() string

func (*DeleteInspectionInfoResponseWrapper) GetData

func (*DeleteInspectionInfoResponseWrapper) GetError

func (*DeleteInspectionInfoResponseWrapper) ProtoMessage

func (*DeleteInspectionInfoResponseWrapper) ProtoMessage()

func (*DeleteInspectionInfoResponseWrapper) Reset

func (*DeleteInspectionInfoResponseWrapper) String

func (*DeleteInspectionInfoResponseWrapper) Validate

func (this *DeleteInspectionInfoResponseWrapper) Validate() error

func (*DeleteInspectionInfoResponseWrapper) XXX_DiscardUnknown

func (m *DeleteInspectionInfoResponseWrapper) XXX_DiscardUnknown()

func (*DeleteInspectionInfoResponseWrapper) XXX_Marshal

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

func (*DeleteInspectionInfoResponseWrapper) XXX_Merge

func (*DeleteInspectionInfoResponseWrapper) XXX_Size

func (*DeleteInspectionInfoResponseWrapper) XXX_Unmarshal

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

type ExportSuiteRequest

type ExportSuiteRequest struct {
	//
	//套件id
	PluginId             string   `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ExportSuite请求

func (*ExportSuiteRequest) Descriptor

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

func (*ExportSuiteRequest) GetPluginId

func (m *ExportSuiteRequest) GetPluginId() string

func (*ExportSuiteRequest) ProtoMessage

func (*ExportSuiteRequest) ProtoMessage()

func (*ExportSuiteRequest) Reset

func (m *ExportSuiteRequest) Reset()

func (*ExportSuiteRequest) String

func (m *ExportSuiteRequest) String() string

func (*ExportSuiteRequest) Validate

func (this *ExportSuiteRequest) Validate() error

func (*ExportSuiteRequest) XXX_DiscardUnknown

func (m *ExportSuiteRequest) XXX_DiscardUnknown()

func (*ExportSuiteRequest) XXX_Marshal

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

func (*ExportSuiteRequest) XXX_Merge

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

func (*ExportSuiteRequest) XXX_Size

func (m *ExportSuiteRequest) XXX_Size() int

func (*ExportSuiteRequest) XXX_Unmarshal

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

type GetInspectionInfoRequest

type GetInspectionInfoRequest struct {
	//
	//套件id
	PluginId             string   `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetInspectionInfo请求

func (*GetInspectionInfoRequest) Descriptor

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

func (*GetInspectionInfoRequest) GetPluginId

func (m *GetInspectionInfoRequest) GetPluginId() string

func (*GetInspectionInfoRequest) ProtoMessage

func (*GetInspectionInfoRequest) ProtoMessage()

func (*GetInspectionInfoRequest) Reset

func (m *GetInspectionInfoRequest) Reset()

func (*GetInspectionInfoRequest) String

func (m *GetInspectionInfoRequest) String() string

func (*GetInspectionInfoRequest) Validate

func (this *GetInspectionInfoRequest) Validate() error

func (*GetInspectionInfoRequest) XXX_DiscardUnknown

func (m *GetInspectionInfoRequest) XXX_DiscardUnknown()

func (*GetInspectionInfoRequest) XXX_Marshal

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

func (*GetInspectionInfoRequest) XXX_Merge

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

func (*GetInspectionInfoRequest) XXX_Size

func (m *GetInspectionInfoRequest) XXX_Size() int

func (*GetInspectionInfoRequest) XXX_Unmarshal

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

type GetInspectionInfoResponseWrapper

type GetInspectionInfoResponseWrapper 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                 *inspection.InspectionInfo `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

GetInspectionInfoApi返回

func (*GetInspectionInfoResponseWrapper) Descriptor

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

func (*GetInspectionInfoResponseWrapper) GetCode

func (*GetInspectionInfoResponseWrapper) GetCodeExplain

func (m *GetInspectionInfoResponseWrapper) GetCodeExplain() string

func (*GetInspectionInfoResponseWrapper) GetData

func (*GetInspectionInfoResponseWrapper) GetError

func (*GetInspectionInfoResponseWrapper) ProtoMessage

func (*GetInspectionInfoResponseWrapper) ProtoMessage()

func (*GetInspectionInfoResponseWrapper) Reset

func (*GetInspectionInfoResponseWrapper) String

func (*GetInspectionInfoResponseWrapper) Validate

func (this *GetInspectionInfoResponseWrapper) Validate() error

func (*GetInspectionInfoResponseWrapper) XXX_DiscardUnknown

func (m *GetInspectionInfoResponseWrapper) XXX_DiscardUnknown()

func (*GetInspectionInfoResponseWrapper) XXX_Marshal

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

func (*GetInspectionInfoResponseWrapper) XXX_Merge

func (*GetInspectionInfoResponseWrapper) XXX_Size

func (m *GetInspectionInfoResponseWrapper) XXX_Size() int

func (*GetInspectionInfoResponseWrapper) XXX_Unmarshal

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

type ListInspectionInfoRequest

type ListInspectionInfoRequest struct {
	//
	//页码
	Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"`
	//
	//每页大小
	PageSize             int32    `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize" form:"pageSize"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ListInspectionInfo请求

func (*ListInspectionInfoRequest) Descriptor

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

func (*ListInspectionInfoRequest) GetPage

func (m *ListInspectionInfoRequest) GetPage() int32

func (*ListInspectionInfoRequest) GetPageSize

func (m *ListInspectionInfoRequest) GetPageSize() int32

func (*ListInspectionInfoRequest) ProtoMessage

func (*ListInspectionInfoRequest) ProtoMessage()

func (*ListInspectionInfoRequest) Reset

func (m *ListInspectionInfoRequest) Reset()

func (*ListInspectionInfoRequest) String

func (m *ListInspectionInfoRequest) String() string

func (*ListInspectionInfoRequest) Validate

func (this *ListInspectionInfoRequest) Validate() error

func (*ListInspectionInfoRequest) XXX_DiscardUnknown

func (m *ListInspectionInfoRequest) XXX_DiscardUnknown()

func (*ListInspectionInfoRequest) XXX_Marshal

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

func (*ListInspectionInfoRequest) XXX_Merge

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

func (*ListInspectionInfoRequest) XXX_Size

func (m *ListInspectionInfoRequest) XXX_Size() int

func (*ListInspectionInfoRequest) XXX_Unmarshal

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

type ListInspectionInfoResponse

type ListInspectionInfoResponse struct {
	//
	//页数
	Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"`
	//
	//页大小
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"`
	//
	//总数
	Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"`
	//
	//数据列表
	List                 []*inspection.InspectionInfo `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

ListInspectionInfo返回

func (*ListInspectionInfoResponse) Descriptor

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

func (*ListInspectionInfoResponse) GetList

func (*ListInspectionInfoResponse) GetPage

func (m *ListInspectionInfoResponse) GetPage() int32

func (*ListInspectionInfoResponse) GetPageSize

func (m *ListInspectionInfoResponse) GetPageSize() int32

func (*ListInspectionInfoResponse) GetTotal

func (m *ListInspectionInfoResponse) GetTotal() int32

func (*ListInspectionInfoResponse) ProtoMessage

func (*ListInspectionInfoResponse) ProtoMessage()

func (*ListInspectionInfoResponse) Reset

func (m *ListInspectionInfoResponse) Reset()

func (*ListInspectionInfoResponse) String

func (m *ListInspectionInfoResponse) String() string

func (*ListInspectionInfoResponse) Validate

func (this *ListInspectionInfoResponse) Validate() error

func (*ListInspectionInfoResponse) XXX_DiscardUnknown

func (m *ListInspectionInfoResponse) XXX_DiscardUnknown()

func (*ListInspectionInfoResponse) XXX_Marshal

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

func (*ListInspectionInfoResponse) XXX_Merge

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

func (*ListInspectionInfoResponse) XXX_Size

func (m *ListInspectionInfoResponse) XXX_Size() int

func (*ListInspectionInfoResponse) XXX_Unmarshal

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

type ListInspectionInfoResponseWrapper

type ListInspectionInfoResponseWrapper 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                 *ListInspectionInfoResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

ListInspectionInfoApi返回

func (*ListInspectionInfoResponseWrapper) Descriptor

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

func (*ListInspectionInfoResponseWrapper) GetCode

func (*ListInspectionInfoResponseWrapper) GetCodeExplain

func (m *ListInspectionInfoResponseWrapper) GetCodeExplain() string

func (*ListInspectionInfoResponseWrapper) GetData

func (*ListInspectionInfoResponseWrapper) GetError

func (*ListInspectionInfoResponseWrapper) ProtoMessage

func (*ListInspectionInfoResponseWrapper) ProtoMessage()

func (*ListInspectionInfoResponseWrapper) Reset

func (*ListInspectionInfoResponseWrapper) String

func (*ListInspectionInfoResponseWrapper) Validate

func (this *ListInspectionInfoResponseWrapper) Validate() error

func (*ListInspectionInfoResponseWrapper) XXX_DiscardUnknown

func (m *ListInspectionInfoResponseWrapper) XXX_DiscardUnknown()

func (*ListInspectionInfoResponseWrapper) XXX_Marshal

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

func (*ListInspectionInfoResponseWrapper) XXX_Merge

func (*ListInspectionInfoResponseWrapper) XXX_Size

func (m *ListInspectionInfoResponseWrapper) XXX_Size() int

func (*ListInspectionInfoResponseWrapper) XXX_Unmarshal

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

type ListenOrgRegisterResponseWrapper

type ListenOrgRegisterResponseWrapper 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                 *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

ListenOrgRegisterApi返回

func (*ListenOrgRegisterResponseWrapper) Descriptor

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

func (*ListenOrgRegisterResponseWrapper) GetCode

func (*ListenOrgRegisterResponseWrapper) GetCodeExplain

func (m *ListenOrgRegisterResponseWrapper) GetCodeExplain() string

func (*ListenOrgRegisterResponseWrapper) GetData

func (*ListenOrgRegisterResponseWrapper) GetError

func (*ListenOrgRegisterResponseWrapper) ProtoMessage

func (*ListenOrgRegisterResponseWrapper) ProtoMessage()

func (*ListenOrgRegisterResponseWrapper) Reset

func (*ListenOrgRegisterResponseWrapper) String

func (*ListenOrgRegisterResponseWrapper) Validate

func (this *ListenOrgRegisterResponseWrapper) Validate() error

func (*ListenOrgRegisterResponseWrapper) XXX_DiscardUnknown

func (m *ListenOrgRegisterResponseWrapper) XXX_DiscardUnknown()

func (*ListenOrgRegisterResponseWrapper) XXX_Marshal

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

func (*ListenOrgRegisterResponseWrapper) XXX_Merge

func (*ListenOrgRegisterResponseWrapper) XXX_Size

func (m *ListenOrgRegisterResponseWrapper) XXX_Size() int

func (*ListenOrgRegisterResponseWrapper) XXX_Unmarshal

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

type Service

Service is the server API for info service.

type UpdateInspectionInfoRequest

type UpdateInspectionInfoRequest struct {
	//
	//套件id
	PluginId string `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"`
	//
	//套件名
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"`
	//
	//备注
	Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo" form:"memo"`
	//
	//套件索引
	Index                int32    `protobuf:"varint,4,opt,name=index,proto3" json:"index" form:"index"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UpdateInspectionInfo请求

func (*UpdateInspectionInfoRequest) Descriptor

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

func (*UpdateInspectionInfoRequest) GetIndex

func (m *UpdateInspectionInfoRequest) GetIndex() int32

func (*UpdateInspectionInfoRequest) GetMemo

func (m *UpdateInspectionInfoRequest) GetMemo() string

func (*UpdateInspectionInfoRequest) GetName

func (m *UpdateInspectionInfoRequest) GetName() string

func (*UpdateInspectionInfoRequest) GetPluginId

func (m *UpdateInspectionInfoRequest) GetPluginId() string

func (*UpdateInspectionInfoRequest) ProtoMessage

func (*UpdateInspectionInfoRequest) ProtoMessage()

func (*UpdateInspectionInfoRequest) Reset

func (m *UpdateInspectionInfoRequest) Reset()

func (*UpdateInspectionInfoRequest) String

func (m *UpdateInspectionInfoRequest) String() string

func (*UpdateInspectionInfoRequest) Validate

func (this *UpdateInspectionInfoRequest) Validate() error

func (*UpdateInspectionInfoRequest) XXX_DiscardUnknown

func (m *UpdateInspectionInfoRequest) XXX_DiscardUnknown()

func (*UpdateInspectionInfoRequest) XXX_Marshal

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

func (*UpdateInspectionInfoRequest) XXX_Merge

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

func (*UpdateInspectionInfoRequest) XXX_Size

func (m *UpdateInspectionInfoRequest) XXX_Size() int

func (*UpdateInspectionInfoRequest) XXX_Unmarshal

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

type UpdateInspectionInfoResponseWrapper

type UpdateInspectionInfoResponseWrapper 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                 *inspection.InspectionInfo `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

UpdateInspectionInfoApi返回

func (*UpdateInspectionInfoResponseWrapper) Descriptor

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

func (*UpdateInspectionInfoResponseWrapper) GetCode

func (*UpdateInspectionInfoResponseWrapper) GetCodeExplain

func (m *UpdateInspectionInfoResponseWrapper) GetCodeExplain() string

func (*UpdateInspectionInfoResponseWrapper) GetData

func (*UpdateInspectionInfoResponseWrapper) GetError

func (*UpdateInspectionInfoResponseWrapper) ProtoMessage

func (*UpdateInspectionInfoResponseWrapper) ProtoMessage()

func (*UpdateInspectionInfoResponseWrapper) Reset

func (*UpdateInspectionInfoResponseWrapper) String

func (*UpdateInspectionInfoResponseWrapper) Validate

func (this *UpdateInspectionInfoResponseWrapper) Validate() error

func (*UpdateInspectionInfoResponseWrapper) XXX_DiscardUnknown

func (m *UpdateInspectionInfoResponseWrapper) XXX_DiscardUnknown()

func (*UpdateInspectionInfoResponseWrapper) XXX_Marshal

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

func (*UpdateInspectionInfoResponseWrapper) XXX_Merge

func (*UpdateInspectionInfoResponseWrapper) XXX_Size

func (*UpdateInspectionInfoResponseWrapper) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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