Documentation ¶
Index ¶
Constants ¶
View Source
const DicehubExtensionsMenu = "dicehub.extensions.menu"
View Source
const FilePath = "/app/extensions-init"
Variables ¶
View Source
var CategoryTypes = map[string][]string{
"action": {
"source_code_management",
"build_management",
"deploy_management",
"version_management",
"test_management",
"data_management",
"custom_task",
},
"addon": {
"database",
"distributed_cooperation",
"search",
"message",
"content_management",
"security",
"traffic_load",
"monitoring&logging",
"content",
"image_processing",
"document_processing",
"sound_processing",
"custom",
"general_ability",
"new_retail",
"srm",
"solution",
},
}
Functions ¶
func ToProtoValue ¶
Types ¶
type MenuMap ¶
type MenuMap []*SortMapNode
func (*MenuMap) MarshalJSON ¶
func (*MenuMap) ToSortedMapJson ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func LoadExtensions ¶
LoadExtensions loads all extensions from the repo (contains all versions below)
type SortMapNode ¶
type SortMapNode struct { Key string Val interface{} }
type Version ¶
type Version struct { Name string Dirname string Spec *apistructs.Spec // structure of spec.yml SpecContent []byte // content of spec.yml DiceContent []byte // content of dice.yml ReadmeContent []byte // content of readme.md SwaggerContent []byte // content of swagger.yml }
Version is a version of an Extension
func NewVersion ¶
Click to show internal directories.
Click to hide internal directories.