report

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: 11 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 {
	ReportInstalledMicroAppResult(ctx context.Context, in *ReportInstalledMicroAppResultRequest) (*ReportInstalledMicroAppResultResponse, error)
}

Client is the client API for report 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 ReportInstalledMicroAppResultRequest

type ReportInstalledMicroAppResultRequest struct {
	//
	//已安装的小产品
	InstalledApps        []*ReportInstalledMicroAppResultRequest_InstalledApps `protobuf:"bytes,1,rep,name=installedApps,proto3" json:"installedApps" form:"installedApps"`
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

ReportInstalledMicroAppResult请求

func (*ReportInstalledMicroAppResultRequest) Descriptor

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

func (*ReportInstalledMicroAppResultRequest) GetInstalledApps

func (*ReportInstalledMicroAppResultRequest) ProtoMessage

func (*ReportInstalledMicroAppResultRequest) ProtoMessage()

func (*ReportInstalledMicroAppResultRequest) Reset

func (*ReportInstalledMicroAppResultRequest) String

func (*ReportInstalledMicroAppResultRequest) Validate

func (*ReportInstalledMicroAppResultRequest) XXX_DiscardUnknown

func (m *ReportInstalledMicroAppResultRequest) XXX_DiscardUnknown()

func (*ReportInstalledMicroAppResultRequest) XXX_Marshal

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

func (*ReportInstalledMicroAppResultRequest) XXX_Merge

func (*ReportInstalledMicroAppResultRequest) XXX_Size

func (*ReportInstalledMicroAppResultRequest) XXX_Unmarshal

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

type ReportInstalledMicroAppResultRequest_InstalledApps

type ReportInstalledMicroAppResultRequest_InstalledApps struct {
	//
	//已安装的小产品id
	MicroApp *micro_app.InstalledMicroApp `protobuf:"bytes,1,opt,name=microApp,proto3" json:"microApp" form:"microApp"`
	//
	//小产品关联的桌面Id
	ContainerId          string   `protobuf:"bytes,2,opt,name=containerId,proto3" json:"containerId" form:"containerId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReportInstalledMicroAppResultRequest_InstalledApps) Descriptor

func (*ReportInstalledMicroAppResultRequest_InstalledApps) GetContainerId

func (*ReportInstalledMicroAppResultRequest_InstalledApps) GetMicroApp

func (*ReportInstalledMicroAppResultRequest_InstalledApps) ProtoMessage

func (*ReportInstalledMicroAppResultRequest_InstalledApps) Reset

func (*ReportInstalledMicroAppResultRequest_InstalledApps) String

func (*ReportInstalledMicroAppResultRequest_InstalledApps) Validate

func (*ReportInstalledMicroAppResultRequest_InstalledApps) XXX_DiscardUnknown

func (*ReportInstalledMicroAppResultRequest_InstalledApps) XXX_Marshal

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

func (*ReportInstalledMicroAppResultRequest_InstalledApps) XXX_Merge

func (*ReportInstalledMicroAppResultRequest_InstalledApps) XXX_Size

func (*ReportInstalledMicroAppResultRequest_InstalledApps) XXX_Unmarshal

type ReportInstalledMicroAppResultResponse

type ReportInstalledMicroAppResultResponse struct {
	//
	//数据列表
	List                 []*ReportInstalledMicroAppResultResponse_List `protobuf:"bytes,1,rep,name=list,proto3" json:"list" form:"list"`
	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
	XXX_unrecognized     []byte                                        `json:"-"`
	XXX_sizecache        int32                                         `json:"-"`
}

ReportInstalledMicroAppResult返回

func (*ReportInstalledMicroAppResultResponse) Descriptor

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

func (*ReportInstalledMicroAppResultResponse) GetList

func (*ReportInstalledMicroAppResultResponse) ProtoMessage

func (*ReportInstalledMicroAppResultResponse) ProtoMessage()

func (*ReportInstalledMicroAppResultResponse) Reset

func (*ReportInstalledMicroAppResultResponse) String

func (*ReportInstalledMicroAppResultResponse) Validate

func (*ReportInstalledMicroAppResultResponse) XXX_DiscardUnknown

func (m *ReportInstalledMicroAppResultResponse) XXX_DiscardUnknown()

func (*ReportInstalledMicroAppResultResponse) XXX_Marshal

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

func (*ReportInstalledMicroAppResultResponse) XXX_Merge

func (*ReportInstalledMicroAppResultResponse) XXX_Size

func (*ReportInstalledMicroAppResultResponse) XXX_Unmarshal

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

type ReportInstalledMicroAppResultResponseWrapper

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

ReportInstalledMicroAppResultApi返回

func (*ReportInstalledMicroAppResultResponseWrapper) Descriptor

func (*ReportInstalledMicroAppResultResponseWrapper) GetCode

func (*ReportInstalledMicroAppResultResponseWrapper) GetCodeExplain

func (*ReportInstalledMicroAppResultResponseWrapper) GetData

func (*ReportInstalledMicroAppResultResponseWrapper) GetError

func (*ReportInstalledMicroAppResultResponseWrapper) ProtoMessage

func (*ReportInstalledMicroAppResultResponseWrapper) Reset

func (*ReportInstalledMicroAppResultResponseWrapper) String

func (*ReportInstalledMicroAppResultResponseWrapper) Validate

func (*ReportInstalledMicroAppResultResponseWrapper) XXX_DiscardUnknown

func (m *ReportInstalledMicroAppResultResponseWrapper) XXX_DiscardUnknown()

func (*ReportInstalledMicroAppResultResponseWrapper) XXX_Marshal

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

func (*ReportInstalledMicroAppResultResponseWrapper) XXX_Merge

func (*ReportInstalledMicroAppResultResponseWrapper) XXX_Size

func (*ReportInstalledMicroAppResultResponseWrapper) XXX_Unmarshal

type ReportInstalledMicroAppResultResponse_List

type ReportInstalledMicroAppResultResponse_List struct {
	//
	//cmdb唯一标识, 业务逻辑请使用appId作为唯一标识
	InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"`
	//
	//小产品名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"`
	//
	//小产品id
	AppId string `protobuf:"bytes,3,opt,name=appId,proto3" json:"appId" form:"appId"`
	//
	//图标url
	Icons *ReportInstalledMicroAppResultResponse_List_Icons `protobuf:"bytes,4,opt,name=icons,proto3" json:"icons" form:"icons"`
	//
	//小产品配置
	StoryboardJson string `protobuf:"bytes,5,opt,name=storyboardJson,proto3" json:"storyboardJson" form:"storyboardJson"`
	//
	//标签
	Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags" form:"tags"`
	//
	//NA程序包当前版本
	CurrentVersion string `protobuf:"bytes,7,opt,name=currentVersion,proto3" json:"currentVersion" form:"currentVersion"`
	//
	//小产品在应用商店的版本号
	AppVersion string `protobuf:"bytes,8,opt,name=appVersion,proto3" json:"appVersion" form:"appVersion"`
	//
	//安装状态, ok-成功, running-正在安装
	InstallStatus string `protobuf:"bytes,9,opt,name=installStatus,proto3" json:"installStatus" form:"installStatus"`
	//
	//小产品首页
	Homepage string `protobuf:"bytes,10,opt,name=homepage,proto3" json:"homepage" form:"homepage"`
	//
	//表示该应用是内部的,不出现在 launchpad 和 app store 中
	Internal string `protobuf:"bytes,11,opt,name=internal,proto3" json:"internal" form:"internal"`
	//
	//私有安装应用, true or false
	Private string `protobuf:"bytes,12,opt,name=private,proto3" json:"private" form:"private"`
	//
	//克隆对象
	ClonedFrom *ReportInstalledMicroAppResultResponse_List_ClonedFrom `protobuf:"bytes,13,opt,name=clonedFrom,proto3" json:"clonedFrom" form:"clonedFrom"`
	//
	//作者
	Owner string `protobuf:"bytes,14,opt,name=owner,proto3" json:"owner" form:"owner"`
	//
	//readme
	Readme string `protobuf:"bytes,15,opt,name=readme,proto3" json:"readme" form:"readme"`
	//
	//状态
	Status string `protobuf:"bytes,16,opt,name=status,proto3" json:"status" form:"status"`
	//
	//创建时间
	Ctime string `protobuf:"bytes,17,opt,name=ctime,proto3" json:"ctime" form:"ctime"`
	//
	//修改时间
	Mtime string `protobuf:"bytes,18,opt,name=mtime,proto3" json:"mtime" form:"mtime"`
	//
	//关联程序包名称
	PkgName string `protobuf:"bytes,19,opt,name=pkgName,proto3" json:"pkgName" form:"pkgName"`
	//
	//图标背景
	IconBackground string `protobuf:"bytes,20,opt,name=iconBackground,proto3" json:"iconBackground" form:"iconBackground"`
	//
	//菜单中显示的图标
	MenuIcon             *ReportInstalledMicroAppResultResponse_List_MenuIcon `protobuf:"bytes,21,opt,name=menuIcon,proto3" json:"menuIcon" form:"menuIcon"`
	XXX_NoUnkeyedLiteral struct{}                                             `json:"-"`
	XXX_unrecognized     []byte                                               `json:"-"`
	XXX_sizecache        int32                                                `json:"-"`
}

func (*ReportInstalledMicroAppResultResponse_List) Descriptor

func (*ReportInstalledMicroAppResultResponse_List) GetAppId

func (*ReportInstalledMicroAppResultResponse_List) GetAppVersion

func (*ReportInstalledMicroAppResultResponse_List) GetClonedFrom

func (*ReportInstalledMicroAppResultResponse_List) GetCtime

func (*ReportInstalledMicroAppResultResponse_List) GetCurrentVersion

func (m *ReportInstalledMicroAppResultResponse_List) GetCurrentVersion() string

func (*ReportInstalledMicroAppResultResponse_List) GetHomepage

func (*ReportInstalledMicroAppResultResponse_List) GetIconBackground

func (m *ReportInstalledMicroAppResultResponse_List) GetIconBackground() string

func (*ReportInstalledMicroAppResultResponse_List) GetIcons

func (*ReportInstalledMicroAppResultResponse_List) GetInstallStatus

func (m *ReportInstalledMicroAppResultResponse_List) GetInstallStatus() string

func (*ReportInstalledMicroAppResultResponse_List) GetInstanceId

func (*ReportInstalledMicroAppResultResponse_List) GetInternal

func (*ReportInstalledMicroAppResultResponse_List) GetMenuIcon

func (*ReportInstalledMicroAppResultResponse_List) GetMtime

func (*ReportInstalledMicroAppResultResponse_List) GetName

func (*ReportInstalledMicroAppResultResponse_List) GetOwner

func (*ReportInstalledMicroAppResultResponse_List) GetPkgName

func (*ReportInstalledMicroAppResultResponse_List) GetPrivate

func (*ReportInstalledMicroAppResultResponse_List) GetReadme

func (*ReportInstalledMicroAppResultResponse_List) GetStatus

func (*ReportInstalledMicroAppResultResponse_List) GetStoryboardJson

func (m *ReportInstalledMicroAppResultResponse_List) GetStoryboardJson() string

func (*ReportInstalledMicroAppResultResponse_List) GetTags

func (*ReportInstalledMicroAppResultResponse_List) ProtoMessage

func (*ReportInstalledMicroAppResultResponse_List) Reset

func (*ReportInstalledMicroAppResultResponse_List) String

func (*ReportInstalledMicroAppResultResponse_List) Validate

func (*ReportInstalledMicroAppResultResponse_List) XXX_DiscardUnknown

func (m *ReportInstalledMicroAppResultResponse_List) XXX_DiscardUnknown()

func (*ReportInstalledMicroAppResultResponse_List) XXX_Marshal

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

func (*ReportInstalledMicroAppResultResponse_List) XXX_Merge

func (*ReportInstalledMicroAppResultResponse_List) XXX_Size

func (*ReportInstalledMicroAppResultResponse_List) XXX_Unmarshal

type ReportInstalledMicroAppResultResponse_List_ClonedFrom

type ReportInstalledMicroAppResultResponse_List_ClonedFrom struct {
	//
	//克隆的appId
	AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId" form:"appId"`
	//
	//克隆的版本号
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version" form:"version"`
	//
	//克隆的app名称
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReportInstalledMicroAppResultResponse_List_ClonedFrom) Descriptor

func (*ReportInstalledMicroAppResultResponse_List_ClonedFrom) GetAppId

func (*ReportInstalledMicroAppResultResponse_List_ClonedFrom) GetName

func (*ReportInstalledMicroAppResultResponse_List_ClonedFrom) GetVersion

func (*ReportInstalledMicroAppResultResponse_List_ClonedFrom) ProtoMessage

func (*ReportInstalledMicroAppResultResponse_List_ClonedFrom) Reset

func (*ReportInstalledMicroAppResultResponse_List_ClonedFrom) String

func (*ReportInstalledMicroAppResultResponse_List_ClonedFrom) Validate

func (*ReportInstalledMicroAppResultResponse_List_ClonedFrom) XXX_DiscardUnknown

func (*ReportInstalledMicroAppResultResponse_List_ClonedFrom) XXX_Marshal

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

func (*ReportInstalledMicroAppResultResponse_List_ClonedFrom) XXX_Merge

func (*ReportInstalledMicroAppResultResponse_List_ClonedFrom) XXX_Size

func (*ReportInstalledMicroAppResultResponse_List_ClonedFrom) XXX_Unmarshal

type ReportInstalledMicroAppResultResponse_List_Icons

type ReportInstalledMicroAppResultResponse_List_Icons struct {
	//
	//图标url
	Large                string   `protobuf:"bytes,1,opt,name=large,proto3" json:"large" form:"large"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReportInstalledMicroAppResultResponse_List_Icons) Descriptor

func (*ReportInstalledMicroAppResultResponse_List_Icons) GetLarge

func (*ReportInstalledMicroAppResultResponse_List_Icons) ProtoMessage

func (*ReportInstalledMicroAppResultResponse_List_Icons) Reset

func (*ReportInstalledMicroAppResultResponse_List_Icons) String

func (*ReportInstalledMicroAppResultResponse_List_Icons) Validate

func (*ReportInstalledMicroAppResultResponse_List_Icons) XXX_DiscardUnknown

func (m *ReportInstalledMicroAppResultResponse_List_Icons) XXX_DiscardUnknown()

func (*ReportInstalledMicroAppResultResponse_List_Icons) XXX_Marshal

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

func (*ReportInstalledMicroAppResultResponse_List_Icons) XXX_Merge

func (*ReportInstalledMicroAppResultResponse_List_Icons) XXX_Size

func (*ReportInstalledMicroAppResultResponse_List_Icons) XXX_Unmarshal

type ReportInstalledMicroAppResultResponse_List_MenuIcon

type ReportInstalledMicroAppResultResponse_List_MenuIcon struct {
	//
	//图标库
	Lib string `protobuf:"bytes,1,opt,name=lib,proto3" json:"lib" form:"lib"`
	//
	//Antd 图标类型
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"`
	//
	//Antd 图标主题
	Theme string `protobuf:"bytes,3,opt,name=theme,proto3" json:"theme" form:"theme"`
	//
	//FA 或 EasyOps 图标
	Icon string `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon" form:"icon"`
	//
	//FA 图标前缀
	Prefix string `protobuf:"bytes,5,opt,name=prefix,proto3" json:"prefix" form:"prefix"`
	//
	//EasyOps 图标分类
	Category             string   `protobuf:"bytes,6,opt,name=category,proto3" json:"category" form:"category"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) Descriptor

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) GetCategory

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) GetIcon

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) GetLib

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) GetPrefix

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) GetTheme

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) GetType

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) ProtoMessage

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) Reset

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) String

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) Validate

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) XXX_DiscardUnknown

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) XXX_Marshal

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

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) XXX_Merge

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) XXX_Size

func (*ReportInstalledMicroAppResultResponse_List_MenuIcon) XXX_Unmarshal

type Service

type Service interface {
	ReportInstalledMicroAppResult(context.Context, *ReportInstalledMicroAppResultRequest) (*ReportInstalledMicroAppResultResponse, error)
}

Service is the server API for report service.

Jump to

Keyboard shortcuts

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