Documentation ¶
Index ¶
- Variables
- type Package
- func (*Package) Descriptor() ([]byte, []int)
- func (m *Package) GetAuthors() []*PackageAuthor
- func (m *Package) GetDescription() string
- func (m *Package) GetHomepage() string
- func (m *Package) GetKetchupVersion() string
- func (m *Package) GetName() string
- func (m *Package) GetReadmeUrl() string
- func (m *Package) GetScreenshotUrls() []string
- func (m *Package) GetTags() []string
- func (m *Package) GetType() PackageType
- func (m *Package) GetVcsUrl() string
- func (*Package) ProtoMessage()
- func (m *Package) Reset()
- func (m *Package) SetAuthors(v []*PackageAuthor)
- func (m *Package) SetDescription(v *string)
- func (m *Package) SetHomepage(v *string)
- func (m *Package) SetKetchupVersion(v *string)
- func (m *Package) SetName(v *string)
- func (m *Package) SetReadmeUrl(v *string)
- func (m *Package) SetScreenshotUrls(v []string)
- func (m *Package) SetTags(v []string)
- func (m *Package) SetType(v *PackageType)
- func (m *Package) SetVcsUrl(v *string)
- func (m *Package) String() string
- type PackageAuthor
- func (*PackageAuthor) Descriptor() ([]byte, []int)
- func (m *PackageAuthor) GetEmail() string
- func (m *PackageAuthor) GetGithub() string
- func (m *PackageAuthor) GetName() string
- func (*PackageAuthor) ProtoMessage()
- func (m *PackageAuthor) Reset()
- func (m *PackageAuthor) SetEmail(v *string)
- func (m *PackageAuthor) SetGithub(v *string)
- func (m *PackageAuthor) SetName(v *string)
- func (m *PackageAuthor) String() string
- type PackageType
- type Registry
- func (*Registry) Descriptor() ([]byte, []int)
- func (m *Registry) GetPackages() []*Package
- func (m *Registry) GetRegistryType() string
- func (m *Registry) GetRegistryVersion() string
- func (*Registry) ProtoMessage()
- func (m *Registry) Reset()
- func (m *Registry) SetPackages(v []*Package)
- func (m *Registry) SetRegistryType(v *string)
- func (m *Registry) SetRegistryVersion(v *string)
- func (m *Registry) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var PackageType_name = map[int32]string{
0: "unknown",
1: "theme",
2: "plugin",
}
View Source
var PackageType_value = map[string]int32{
"unknown": 0,
"theme": 1,
"plugin": 2,
}
Functions ¶
This section is empty.
Types ¶
type Package ¶
type Package struct { Type *PackageType `protobuf:"varint,1,opt,name=type,enum=ketchup.packages.PackageType" json:"type,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Authors []*PackageAuthor `protobuf:"bytes,3,rep,name=authors" json:"authors,omitempty"` Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` Homepage *string `protobuf:"bytes,5,opt,name=homepage" json:"homepage,omitempty"` Tags []string `protobuf:"bytes,6,rep,name=tags" json:"tags,omitempty"` ReadmeUrl *string `protobuf:"bytes,7,opt,name=readme_url,json=readmeUrl" json:"readme_url,omitempty"` VcsUrl *string `protobuf:"bytes,8,opt,name=vcs_url,json=vcsUrl" json:"vcs_url,omitempty"` ScreenshotUrls []string `protobuf:"bytes,9,rep,name=screenshot_urls,json=screenshotUrls" json:"screenshot_urls,omitempty"` KetchupVersion *string `protobuf:"bytes,10,opt,name=ketchup_version,json=ketchupVersion" json:"ketchup_version,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Package) Descriptor ¶
func (*Package) GetAuthors ¶ added in v0.2.0
func (m *Package) GetAuthors() []*PackageAuthor
func (*Package) GetDescription ¶
func (*Package) GetHomepage ¶ added in v0.2.0
func (*Package) GetKetchupVersion ¶ added in v0.2.0
func (*Package) GetReadmeUrl ¶ added in v0.2.0
func (*Package) GetScreenshotUrls ¶ added in v0.2.0
func (*Package) GetType ¶
func (m *Package) GetType() PackageType
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) SetAuthors ¶ added in v0.2.0
func (m *Package) SetAuthors(v []*PackageAuthor)
func (*Package) SetDescription ¶
func (*Package) SetHomepage ¶ added in v0.2.0
func (*Package) SetKetchupVersion ¶ added in v0.2.0
func (*Package) SetReadmeUrl ¶ added in v0.2.0
func (*Package) SetScreenshotUrls ¶ added in v0.2.0
func (*Package) SetType ¶
func (m *Package) SetType(v *PackageType)
type PackageAuthor ¶ added in v0.2.0
type PackageAuthor struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Email *string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"` Github *string `protobuf:"bytes,3,opt,name=github" json:"github,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PackageAuthor) Descriptor ¶ added in v0.2.0
func (*PackageAuthor) Descriptor() ([]byte, []int)
func (*PackageAuthor) GetEmail ¶ added in v0.2.0
func (m *PackageAuthor) GetEmail() string
func (*PackageAuthor) GetGithub ¶ added in v0.3.0
func (m *PackageAuthor) GetGithub() string
func (*PackageAuthor) GetName ¶ added in v0.2.0
func (m *PackageAuthor) GetName() string
func (*PackageAuthor) ProtoMessage ¶ added in v0.2.0
func (*PackageAuthor) ProtoMessage()
func (*PackageAuthor) Reset ¶ added in v0.2.0
func (m *PackageAuthor) Reset()
func (*PackageAuthor) SetEmail ¶ added in v0.2.0
func (m *PackageAuthor) SetEmail(v *string)
func (*PackageAuthor) SetGithub ¶ added in v0.3.0
func (m *PackageAuthor) SetGithub(v *string)
func (*PackageAuthor) SetName ¶ added in v0.2.0
func (m *PackageAuthor) SetName(v *string)
func (*PackageAuthor) String ¶ added in v0.2.0
func (m *PackageAuthor) String() string
type PackageType ¶ added in v0.2.0
type PackageType int32
const ( PackageType_unknown PackageType = 0 PackageType_theme PackageType = 1 PackageType_plugin PackageType = 2 )
func (PackageType) Enum ¶ added in v0.2.0
func (x PackageType) Enum() *PackageType
func (PackageType) EnumDescriptor ¶ added in v0.2.0
func (PackageType) EnumDescriptor() ([]byte, []int)
func (PackageType) String ¶ added in v0.2.0
func (x PackageType) String() string
func (*PackageType) UnmarshalJSON ¶ added in v0.2.0
func (x *PackageType) UnmarshalJSON(data []byte) error
type Registry ¶
type Registry struct { RegistryVersion *string `protobuf:"bytes,1,opt,name=registry_version,json=registryVersion" json:"registry_version,omitempty"` RegistryType *string `protobuf:"bytes,2,opt,name=registry_type,json=registryType" json:"registry_type,omitempty"` Packages []*Package `protobuf:"bytes,10,rep,name=packages" json:"packages,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Registry) Descriptor ¶
func (*Registry) GetPackages ¶
func (*Registry) GetRegistryType ¶ added in v0.2.0
func (*Registry) GetRegistryVersion ¶
func (*Registry) ProtoMessage ¶
func (*Registry) ProtoMessage()
func (*Registry) SetPackages ¶
func (*Registry) SetRegistryType ¶ added in v0.2.0
func (*Registry) SetRegistryVersion ¶
Click to show internal directories.
Click to hide internal directories.