storage

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubeConfig = "KUBECONFIG"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

func CreateFakeStorage

func CreateFakeStorage(namespace string) (*Storage, error)

func CreateStorage

func CreateStorage(namespace string) (*Storage, error)

func (*Storage) CreateContainerProfileDirect added in v0.2.351

func (sc *Storage) CreateContainerProfileDirect(profile *v1beta1.ContainerProfile) error

CreateContainerProfileDirect directly creates the profile without queuing This implements the ProfileCreator interface

func (*Storage) CreateSBOM added in v0.2.197

func (sc *Storage) CreateSBOM(SBOM *v1beta1.SBOMSyft) (*v1beta1.SBOMSyft, error)

func (*Storage) GetApplicationProfile

func (sc *Storage) GetApplicationProfile(namespace, name string) (*v1beta1.ApplicationProfile, error)

func (*Storage) GetNetworkNeighborhood

func (sc *Storage) GetNetworkNeighborhood(namespace, name string) (*v1beta1.NetworkNeighborhood, error)

func (*Storage) GetSBOMMeta added in v0.2.197

func (sc *Storage) GetSBOMMeta(name string) (*v1beta1.SBOMSyft, error)

func (*Storage) GetStorageClient added in v0.3.3

func (sc *Storage) GetStorageClient() spdxv1beta1.SpdxV1beta1Interface

func (*Storage) ListApplicationProfiles added in v0.3.3

func (sc *Storage) ListApplicationProfiles(namespace string, limit int64, cont string) (*v1beta1.ApplicationProfileList, error)

func (*Storage) ListNetworkNeighborhoods added in v0.3.3

func (sc *Storage) ListNetworkNeighborhoods(namespace string, limit int64, cont string) (*v1beta1.NetworkNeighborhoodList, error)

func (*Storage) ReplaceSBOM added in v0.2.197

func (sc *Storage) ReplaceSBOM(SBOM *v1beta1.SBOMSyft) (*v1beta1.SBOMSyft, error)

Jump to

Keyboard shortcuts

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