Discover Packages
github.com/APIParkLab/APIPark
module
dynamic-module
dto
package
Version:
v1.1.0-beta
Opens a new window with list of versions in this module.
Published: Sep 2, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type ClusterInput struct {
Clusters []string `json:"clusters" aocheck:"cluster"`
}
type CreateDynamicModule struct {
Id string `json:"id"`
Name string `json:"title"`
Driver string `json:"driver"`
Description string `json:"description"`
Config map[string ]interface{} `json:"config"`
}
type DynamicModule struct {
Id string `json:"id"`
Name string `json:"title"`
Driver string `json:"driver"`
Description string `json:"description"`
Config map[string ]interface{} `json:"config"`
}
type EditDynamicModule struct {
Name *string `json:"title"`
Description *string `json:"description"`
Config *map[string ]interface{} `json:"config"`
}
type Field struct {
Name string `json:"name"`
Title string `json:"title"`
Attr string `json:"attr,omitempty"`
Enum []string `json:"enum,omitempty"`
}
type ModuleDriver struct {
Name string `json:"name"`
Title string `json:"title"`
Path string `json:"path"`
}
type OnlineInfo struct {
Id string `json:"id"`
Name string `json:"name"`
Title string `json:"title"`
Description string `json:"description"`
Partitions []*PartitionInfo `json:"partitions"`
}
type PartitionInfo struct {
Name string `json:"name"`
Title string `json:"title"`
Status string `json:"status"`
Updater auto .Label `json:"updater" aolabel:"user"`
UpdateTime auto .TimeLabel `json:"update_time"`
}
type PluginBasic struct {
Id string `json:"id"`
Name string `json:"name"`
Title string `json:"title"`
}
type PluginInfo struct {
*PluginBasic
Drivers []*Field `json:"drivers"`
Fields []*Field `json:"fields"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.