agentsbomk8s

package
v0.0.0-...-25be970 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package agentsbomk8s generates SBOMs for Kubernetes workloads and publishes information about generated SBOMs to NATS

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgent

func NewAgent(opts Opts) (agent.Agent, error)

NewAgent creates a K8s SBOM agent.

Types

type Opts

type Opts struct {
	SBOMSubject            string
	SBOMMessagingRepo      messagingrepository.Messaging[cisinapi.Sbom, *cisinapi.Sbom]
	ContainerDaemonRepo    containerdaemonrepository.ContainerDaemon
	SBOMService            service.SBOMService
	SBOMGenerationInterval time.Duration
}

Opts contains options.

Jump to

Keyboard shortcuts

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