Versions in this module Expand all Collapse all v0 v0.11.0 May 18, 2018 Changes in this version + var LicenseType_name = map[int32]string + var LicenseType_value = map[string]int32 + var MessageType_name = map[int32]string + var MessageType_value = map[string]int32 + var RepoType_name = map[int32]string + var RepoType_value = map[string]int32 + func RegisterQpmServer(s *grpc.Server, srv QpmServer) + type Dependency struct + Name string + Repository *Package_Repository + Version *Package_Version + func (*Dependency) Descriptor() ([]byte, []int) + func (*Dependency) ProtoMessage() + func (m *Dependency) GetRepository() *Package_Repository + func (m *Dependency) GetVersion() *Package_Version + func (m *Dependency) Reset() + func (m *Dependency) String() string + type DependencyMessage struct + Body string + Prompt bool + Title string + Type MessageType + func (*DependencyMessage) Descriptor() ([]byte, []int) + func (*DependencyMessage) ProtoMessage() + func (m *DependencyMessage) Reset() + func (m *DependencyMessage) String() string + type DependencyRequest struct + CompatLicense LicenseType + PackageNames []string + func (*DependencyRequest) Descriptor() ([]byte, []int) + func (*DependencyRequest) ProtoMessage() + func (m *DependencyRequest) Reset() + func (m *DependencyRequest) String() string + type DependencyResponse struct + Dependencies []*Dependency + Messages []*DependencyMessage + func (*DependencyResponse) Descriptor() ([]byte, []int) + func (*DependencyResponse) ProtoMessage() + func (m *DependencyResponse) GetDependencies() []*Dependency + func (m *DependencyResponse) GetMessages() []*DependencyMessage + func (m *DependencyResponse) Reset() + func (m *DependencyResponse) String() string + type InfoRequest struct + PackageName string + func (*InfoRequest) Descriptor() ([]byte, []int) + func (*InfoRequest) ProtoMessage() + func (m *InfoRequest) Reset() + func (m *InfoRequest) String() string + type InfoResponse struct + Dependencies []*Dependency + InstallStats *InstallStats + Package *Package + Versions []*VersionInfo + func (*InfoResponse) Descriptor() ([]byte, []int) + func (*InfoResponse) ProtoMessage() + func (m *InfoResponse) GetDependencies() []*Dependency + func (m *InfoResponse) GetInstallStats() *InstallStats + func (m *InfoResponse) GetPackage() *Package + func (m *InfoResponse) GetVersions() []*VersionInfo + func (m *InfoResponse) Reset() + func (m *InfoResponse) String() string + type InstallStats struct + Daily uint32 + Monthly uint32 + Total uint32 + Weekly uint32 + Yearly uint32 + func (*InstallStats) Descriptor() ([]byte, []int) + func (*InstallStats) ProtoMessage() + func (m *InstallStats) Reset() + func (m *InstallStats) String() string + type LicenseRequest struct + Package *Package + func (*LicenseRequest) Descriptor() ([]byte, []int) + func (*LicenseRequest) ProtoMessage() + func (m *LicenseRequest) GetPackage() *Package + func (m *LicenseRequest) Reset() + func (m *LicenseRequest) String() string + type LicenseResponse struct + Body string + func (*LicenseResponse) Descriptor() ([]byte, []int) + func (*LicenseResponse) ProtoMessage() + func (m *LicenseResponse) Reset() + func (m *LicenseResponse) String() string + type LicenseType int32 + const LicenseType_AGPL_3_0 + const LicenseType_APACHE_2_0 + const LicenseType_ARTISTIC_2_0 + const LicenseType_BSD_2_CLAUSE + const LicenseType_BSD_3_CLAUSE + const LicenseType_CC0_1_0 + const LicenseType_EPL_1_0 + const LicenseType_GPL_2_0 + const LicenseType_GPL_3_0 + const LicenseType_ISC + const LicenseType_LGPL_2_1 + const LicenseType_LGPL_3_0 + const LicenseType_MIT + const LicenseType_MPL_2_0 + const LicenseType_NONE + const LicenseType_UNLICENSE + func (LicenseType) EnumDescriptor() ([]byte, []int) + func (x LicenseType) String() string + type ListRequest struct + func (*ListRequest) Descriptor() ([]byte, []int) + func (*ListRequest) ProtoMessage() + func (m *ListRequest) Reset() + func (m *ListRequest) String() string + type ListResponse struct + Results []*SearchResult + func (*ListResponse) Descriptor() ([]byte, []int) + func (*ListResponse) ProtoMessage() + func (m *ListResponse) GetResults() []*SearchResult + func (m *ListResponse) Reset() + func (m *ListResponse) String() string + type LoginRequest struct + Create bool + Email string + Password string + func (*LoginRequest) Descriptor() ([]byte, []int) + func (*LoginRequest) ProtoMessage() + func (m *LoginRequest) Reset() + func (m *LoginRequest) String() string + type LoginResponse struct + Token string + func (*LoginResponse) Descriptor() ([]byte, []int) + func (*LoginResponse) ProtoMessage() + func (m *LoginResponse) Reset() + func (m *LoginResponse) String() string + type MessageType int32 + const MessageType_ERROR + const MessageType_INFO + const MessageType_WARNING + func (MessageType) EnumDescriptor() ([]byte, []int) + func (x MessageType) String() string + type Package struct + Author *Package_Author + Dependencies []string + Description string + License LicenseType + Name string + PriFilename string + Repository *Package_Repository + Version *Package_Version + Webpage string + func (*Package) Descriptor() ([]byte, []int) + func (*Package) ProtoMessage() + func (m *Package) GetAuthor() *Package_Author + func (m *Package) GetRepository() *Package_Repository + func (m *Package) GetVersion() *Package_Version + func (m *Package) Reset() + func (m *Package) String() string + type Package_Author struct + Email string + Name string + func (*Package_Author) Descriptor() ([]byte, []int) + func (*Package_Author) ProtoMessage() + func (m *Package_Author) Reset() + func (m *Package_Author) String() string + type Package_Repository struct + Type RepoType + Url string + func (*Package_Repository) Descriptor() ([]byte, []int) + func (*Package_Repository) ProtoMessage() + func (m *Package_Repository) Reset() + func (m *Package_Repository) String() string + type Package_Version struct + Fingerprint string + Label string + Revision string + func (*Package_Version) Descriptor() ([]byte, []int) + func (*Package_Version) ProtoMessage() + func (m *Package_Version) Reset() + func (m *Package_Version) String() string + type PingRequest struct + func (*PingRequest) Descriptor() ([]byte, []int) + func (*PingRequest) ProtoMessage() + func (m *PingRequest) Reset() + func (m *PingRequest) String() string + type PingResponse struct + func (*PingResponse) Descriptor() ([]byte, []int) + func (*PingResponse) ProtoMessage() + func (m *PingResponse) Reset() + func (m *PingResponse) String() string + type PublishRequest struct + PackageDescription *Package + Token string + func (*PublishRequest) Descriptor() ([]byte, []int) + func (*PublishRequest) ProtoMessage() + func (m *PublishRequest) GetPackageDescription() *Package + func (m *PublishRequest) Reset() + func (m *PublishRequest) String() string + type PublishResponse struct + func (*PublishResponse) Descriptor() ([]byte, []int) + func (*PublishResponse) ProtoMessage() + func (m *PublishResponse) Reset() + func (m *PublishResponse) String() string + type QpmClient interface + GetDependencies func(ctx context.Context, in *DependencyRequest, opts ...grpc.CallOption) (*DependencyResponse, error) + GetLicense func(ctx context.Context, in *LicenseRequest, opts ...grpc.CallOption) (*LicenseResponse, error) + Info func(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) + List func(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) + Login func(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) + Ping func(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) + Publish func(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error) + Search func(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error) + func NewQpmClient(cc *grpc.ClientConn) QpmClient + type QpmServer interface + GetDependencies func(context.Context, *DependencyRequest) (*DependencyResponse, error) + GetLicense func(context.Context, *LicenseRequest) (*LicenseResponse, error) + Info func(context.Context, *InfoRequest) (*InfoResponse, error) + List func(context.Context, *ListRequest) (*ListResponse, error) + Login func(context.Context, *LoginRequest) (*LoginResponse, error) + Ping func(context.Context, *PingRequest) (*PingResponse, error) + Publish func(context.Context, *PublishRequest) (*PublishResponse, error) + Search func(context.Context, *SearchRequest) (*SearchResponse, error) + type RepoType int32 + const RepoType_AUTO + const RepoType_GIT + const RepoType_GITHUB + const RepoType_MERCURIAL + func (RepoType) EnumDescriptor() ([]byte, []int) + func (x RepoType) String() string + type SearchRequest struct + PackageName string + func (*SearchRequest) Descriptor() ([]byte, []int) + func (*SearchRequest) ProtoMessage() + func (m *SearchRequest) Reset() + func (m *SearchRequest) String() string + type SearchResponse struct + Results []*SearchResult + func (*SearchResponse) Descriptor() ([]byte, []int) + func (*SearchResponse) ProtoMessage() + func (m *SearchResponse) GetResults() []*SearchResult + func (m *SearchResponse) Reset() + func (m *SearchResponse) String() string + type SearchResult struct + Author *Package_Author + Description string + License LicenseType + Name string + Version string + Webpage string + func (*SearchResult) Descriptor() ([]byte, []int) + func (*SearchResult) ProtoMessage() + func (m *SearchResult) GetAuthor() *Package_Author + func (m *SearchResult) Reset() + func (m *SearchResult) String() string + type VersionInfo struct + DatePublished string + Version *Package_Version + func (*VersionInfo) Descriptor() ([]byte, []int) + func (*VersionInfo) ProtoMessage() + func (m *VersionInfo) GetVersion() *Package_Version + func (m *VersionInfo) Reset() + func (m *VersionInfo) String() string