storage

package
v0.2.219 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: Apache-2.0 Imports: 22 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 {
	StorageClient spdxv1beta1.SpdxV1beta1Interface
	// contains filtered or unexported fields
}

func CreateFakeStorage

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

func CreateStorage

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

func (Storage) CreateApplicationActivity

func (sc Storage) CreateApplicationActivity(activity *v1beta1.ApplicationActivity, namespace string) error

func (Storage) CreateApplicationProfile

func (sc Storage) CreateApplicationProfile(profile *v1beta1.ApplicationProfile, namespace string) error

func (Storage) CreateNetworkNeighborhood

func (sc Storage) CreateNetworkNeighborhood(neighborhood *v1beta1.NetworkNeighborhood, namespace string) error

func (Storage) CreateNetworkNeighbors

func (sc Storage) CreateNetworkNeighbors(networkNeighbors *v1beta1.NetworkNeighbors, namespace string) error

func (Storage) CreateSBOM added in v0.2.197

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

func (Storage) DecrementImageUse

func (sc Storage) DecrementImageUse(_ string)

func (Storage) GetApplicationActivity

func (sc Storage) GetApplicationActivity(namespace, name string) (*v1beta1.ApplicationActivity, 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) GetNetworkNeighbors

func (sc Storage) GetNetworkNeighbors(namespace, name string) (*v1beta1.NetworkNeighbors, error)

func (Storage) GetSBOM

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

func (Storage) GetSBOMMeta added in v0.2.197

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

func (Storage) IncrementImageUse

func (sc Storage) IncrementImageUse(_ string)

func (Storage) PatchApplicationProfile

func (sc Storage) PatchApplicationProfile(name, namespace string, operations []utils.PatchOperation, channel chan error) error

func (Storage) PatchNetworkNeighborhood

func (sc Storage) PatchNetworkNeighborhood(name, namespace string, operations []utils.PatchOperation, channel chan error) error

func (Storage) PatchNetworkNeighborsIngressAndEgress

func (sc Storage) PatchNetworkNeighborsIngressAndEgress(name, namespace string, networkNeighbors *v1beta1.NetworkNeighbors) error

func (Storage) PatchNetworkNeighborsMatchLabels

func (sc Storage) PatchNetworkNeighborsMatchLabels(_, namespace string, networkNeighbors *v1beta1.NetworkNeighbors) 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