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