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.
Click to show internal directories.
Click to hide internal directories.