oci

package
v0.0.0-...-acd2641 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginNamespace    = "plugins/plugin"
	RulesfileNamespace = "plugins/ruleset"
	RegistryToken      = "REGISTRY_TOKEN"
	RegistryUser       = "REGISTRY_USER"
	RegistryOCI        = "REGISTRY"
	RepoGithub         = "REPO_GITHUB"
	FalcoAuthors       = "The Falco Authors"
)

Variables

View Source
var ErrDepNotFound = errors.New("dependencies not found")

ErrDepNotFound error when the dependencies are not found in the rulesfile.

View Source
var ErrReqNotFound = errors.New("requirements not found")

ErrReqNotFound error when the requirements are not found in the rulesfile.

Functions

func DoUpdateOCIRegistry

func DoUpdateOCIRegistry(ctx context.Context, registryFile, pluginsAMD4, pluginsARM64, rulesfiles, devTag string) ([]registry.ArtifactPushMetadata, error)

DoUpdateOCIRegistry publishes new plugins with related rules to be released. For each plugin in the registry index, it looks for new versions, since the latest version fetched from the remote OCI repository, as tags on the local Git repository. For each new version, it downloads the related plugin and rule set from the Falco distribution and updates the OCI repository accordingly.

func PrintUpdateStatus

func PrintUpdateStatus(newArtifacts registry.ArtifactsPushStatus, output io.Writer) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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