helpers

package
v0.89.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2023 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package helpers implements helper function for builder plugin

Index

Constants

View Source
const (
	PluginInventoryDBImageName = "plugin-inventory"
)

Variables

This section is empty.

Functions

func GetDigest

func GetDigest(filePath string) (string, error)

GetDigest computes the sha256 digest of the specified file

func GetPluginArchiveRelativePath

func GetPluginArchiveRelativePath(plugin cli.Plugin, osArch cli.Arch, version string) string

GetPluginArchiveRelativePath creates plugin archive relative path from metadata

func ReadPluginGroupManifest added in v0.0.11

func ReadPluginGroupManifest(pluginGroupManifestFile string) (*cli.PluginGroupManifest, error)

ReadPluginGroupManifest reads the PluginGroupManifest file and returns PluginGroupManifest object

func ReadPluginManifest

func ReadPluginManifest(pluginManifestFile string) (*cli.Manifest, error)

ReadPluginManifest reads the PluginManifest file and returns Manifest object

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL