Documentation
¶
Index ¶
- Constants
- func GetPluginUpdateReport(installationID string) map[string]VersionCheckReport
- func Install(plugin string) (*ociinstaller.SteampipeImage, error)
- func IsPluginExists(plugin string) (bool, error)
- func Remove(image string, pluginConnections map[string][]string) error
- type PluginListItem
- type PluginVersionChecker
- type VersionCheckReport
Constants ¶
View Source
const ( DefaultImageTag = "latest" DefaultImageRepoURL = "us-docker.pkg.dev/steampipe/plugin" DefaultImageOrg = "turbot" )
Variables ¶
This section is empty.
Functions ¶
func GetPluginUpdateReport ¶ added in v0.2.0
func GetPluginUpdateReport(installationID string) map[string]VersionCheckReport
GetPluginUpdateReport :: looks up and reports the updated version of plugins which are listed in versions.json
func Install ¶
func Install(plugin string) (*ociinstaller.SteampipeImage, error)
Install :: install plugin in the local file system
func IsPluginExists ¶ added in v0.2.0
IsPluginExists :: looks up the version file and reports whether a plugin is already installed
Types ¶
type PluginListItem ¶
PluginListItem :: an item in the list of plugins
type PluginVersionChecker ¶ added in v0.2.0
type PluginVersionChecker struct {
// contains filtered or unexported fields
}
PluginVersionChecker :: wrapper struct over the plugin version check utilities
type VersionCheckReport ¶ added in v0.2.0
type VersionCheckReport struct {
Plugin *versionfile.InstalledVersion
CheckResponse versionCheckPayload
CheckRequest versionCheckPayload
}
VersionCheckReport ::
Click to show internal directories.
Click to hide internal directories.