Documentation ¶
Index ¶
- Constants
- Variables
- type Extender
- type ExtenderData
- type ExtenderSetting
- func (i *ExtenderSetting) All() map[string]string
- func (i *ExtenderSetting) Del(group, project string)
- func (i *ExtenderSetting) DelByExtenderID(extenderID string)
- func (i *ExtenderSetting) DelByID(id string)
- func (i *ExtenderSetting) Get(group, project string) (string, bool)
- func (i *ExtenderSetting) GetPluginByID(id string) (*service.Plugin, bool)
- func (i *ExtenderSetting) GetPlugins() []*service.Plugin
- func (i *ExtenderSetting) GetPluginsByExtenderID(extenderID string) ([]*service.Plugin, bool)
- func (i *ExtenderSetting) Reset(m map[string]string)
- func (i *ExtenderSetting) Set(group, project, version string)
- func (i *ExtenderSetting) SetPluginByID(id string, plugin *service.Plugin)
- func (i *ExtenderSetting) SetPluginsByExtenderID(extenderID string, plugins []*service.Plugin)
- type IExtenders
- type ITypedExtenderData
- type ITypedExtenderSetting
- type ITypedPlugin
Constants ¶
View Source
const ( NamespaceExtenders = "extenders" CommandSet = "set" CommandDelete = "delete" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ExtenderData ¶
type ExtenderData struct {
// contains filtered or unexported fields
}
func (*ExtenderData) All ¶
func (ed *ExtenderData) All() []*Extender
func (*ExtenderData) Del ¶
func (ed *ExtenderData) Del(id string)
func (*ExtenderData) Reset ¶
func (ed *ExtenderData) Reset(extenders []*Extender)
func (*ExtenderData) Set ¶
func (ed *ExtenderData) Set(extender *Extender)
type ExtenderSetting ¶
type ExtenderSetting struct {
// contains filtered or unexported fields
}
func NewInstallData ¶
func NewInstallData() *ExtenderSetting
func (*ExtenderSetting) All ¶
func (i *ExtenderSetting) All() map[string]string
func (*ExtenderSetting) Del ¶
func (i *ExtenderSetting) Del(group, project string)
func (*ExtenderSetting) DelByExtenderID ¶ added in v0.3.3
func (i *ExtenderSetting) DelByExtenderID(extenderID string)
func (*ExtenderSetting) DelByID ¶ added in v0.3.3
func (i *ExtenderSetting) DelByID(id string)
func (*ExtenderSetting) GetPluginByID ¶ added in v0.3.3
func (i *ExtenderSetting) GetPluginByID(id string) (*service.Plugin, bool)
func (*ExtenderSetting) GetPlugins ¶
func (i *ExtenderSetting) GetPlugins() []*service.Plugin
func (*ExtenderSetting) GetPluginsByExtenderID ¶ added in v0.3.3
func (i *ExtenderSetting) GetPluginsByExtenderID(extenderID string) ([]*service.Plugin, bool)
func (*ExtenderSetting) Reset ¶
func (i *ExtenderSetting) Reset(m map[string]string)
func (*ExtenderSetting) Set ¶
func (i *ExtenderSetting) Set(group, project, version string)
func (*ExtenderSetting) SetPluginByID ¶ added in v0.3.3
func (i *ExtenderSetting) SetPluginByID(id string, plugin *service.Plugin)
func (*ExtenderSetting) SetPluginsByExtenderID ¶ added in v0.3.3
func (i *ExtenderSetting) SetPluginsByExtenderID(extenderID string, plugins []*service.Plugin)
type IExtenders ¶
type IExtenders interface { }
type ITypedExtenderData ¶
type ITypedExtenderSetting ¶
type ITypedPlugin ¶ added in v0.3.3
type ITypedPlugin interface { DelByExtenderID(extenderID string) DelByID(id string) GetPluginsByExtenderID(extenderID string) ([]*service.Plugin, bool) SetPluginsByExtenderID(extenderID string, plugins []*service.Plugin) GetPlugins() []*service.Plugin GetPluginByID(id string) (*service.Plugin, bool) SetPluginByID(id string, plugin *service.Plugin) }
Click to show internal directories.
Click to hide internal directories.