Documentation ¶
Index ¶
- Variables
- func Option(key string, dval any, desc string, ro bool, vfunc options.ValueValidator) options.Spec
- type Addon
- type Config
- type Info
- type Manager
- func (m *Manager) Add(addon *Addon) error
- func (m *Manager) Commands() []*command.Command
- func (m *Manager) Events() []events.Event
- func (m *Manager) ExtendOptions(opts *options.Options) error
- func (m *Manager) ExtendSettings(sb *settings.Blueprint) error
- func (m *Manager) GetAPIs() map[string]custom.API
- func (m *Manager) Register(sess session.Register) error
- func (m *Manager) Services() []*services.Service
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidAddonName = fmt.Errorf("%s: invalid addon name", Error)
)
View Source
var (
Error = errors.New("addon")
)
Functions ¶
Types ¶
type Addon ¶
type Addon struct {
// contains filtered or unexported fields
}
func (*Addon) OnRegister ¶
func (*Addon) ProvideAPI ¶
func (*Addon) ProvideCommand ¶
func (*Addon) ProvideService ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager() *Manager
Click to show internal directories.
Click to hide internal directories.