Documentation ¶
Index ¶
- type LoadingIndex
- type Plugin
- type RuntimeIndex
- func (i *RuntimeIndex) ClosePlugin(plugin *Plugin) error
- func (i *RuntimeIndex) GetReaderAt(plugin *Plugin) (io.ReaderAt, error)
- func (i *RuntimeIndex) ListPlatforms() []string
- func (i *RuntimeIndex) ListPluginsForPlatform(platform string) []string
- func (i *RuntimeIndex) LookupPlugin(platform, filename string) *Plugin
- func (i *RuntimeIndex) OpenPlugin(plugin *Plugin) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadingIndex ¶
type LoadingIndex struct { CacheDir string KindToNameToPlugins map[string]map[string][]*Plugin Timestamp time.Time Refresh time.Duration Location string }
func DiscoverIndex ¶
func (*LoadingIndex) BuildRuntimeIndex ¶
func (i *LoadingIndex) BuildRuntimeIndex() *RuntimeIndex
func (*LoadingIndex) LoadExtension ¶
func (i *LoadingIndex) LoadExtension(path string) error
type Plugin ¶
type RuntimeIndex ¶
func (*RuntimeIndex) ClosePlugin ¶
func (i *RuntimeIndex) ClosePlugin(plugin *Plugin) error
func (*RuntimeIndex) GetReaderAt ¶
func (i *RuntimeIndex) GetReaderAt(plugin *Plugin) (io.ReaderAt, error)
func (*RuntimeIndex) ListPlatforms ¶
func (i *RuntimeIndex) ListPlatforms() []string
func (*RuntimeIndex) ListPluginsForPlatform ¶
func (i *RuntimeIndex) ListPluginsForPlatform(platform string) []string
func (*RuntimeIndex) LookupPlugin ¶
func (i *RuntimeIndex) LookupPlugin(platform, filename string) *Plugin
func (*RuntimeIndex) OpenPlugin ¶
func (i *RuntimeIndex) OpenPlugin(plugin *Plugin) error
Click to show internal directories.
Click to hide internal directories.