Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct { Name string `json:"name"` Description string `json:"description"` Version string `json:"version"` Created time.Time `json:"created"` Updated time.Time `json:"updated"` Company string `json:"company"` Authors []Author `json:"authors"` Homepage string `json:"homepage"` Binaries []Binary `json:"binaries"` }
type PluginModel ¶
type PluginModel interface {
PopulateModel(interface{}) []Plugin
}
func NewPlugins ¶
func NewPlugins(logger io.Writer) PluginModel
type Plugins ¶
type Plugins struct {
// contains filtered or unexported fields
}
func (*Plugins) PopulateModel ¶
type PluginsJson ¶
type PluginsJson struct {
Plugins []Plugin `json:"plugins"`
}
func (PluginsJson) Len ¶
func (p PluginsJson) Len() int
func (PluginsJson) Less ¶
func (p PluginsJson) Less(i, j int) bool
func (PluginsJson) Swap ¶
func (p PluginsJson) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.