helpers

package
v0.82.3-alpha.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: 0

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