Documentation ¶
Index ¶
- Constants
- type Storage
- func (sc Storage) CreateApplicationActivity(activity *v1beta1.ApplicationActivity, namespace string) error
- func (sc Storage) CreateApplicationProfile(profile *v1beta1.ApplicationProfile, namespace string) error
- func (sc Storage) CreateFilteredSBOM(SBOM *v1beta1.SBOMSyftFiltered) error
- func (sc Storage) CreateNetworkNeighborhood(neighborhood *v1beta1.NetworkNeighborhood, namespace string) error
- func (sc Storage) CreateNetworkNeighbors(networkNeighbors *v1beta1.NetworkNeighbors, namespace string) error
- func (sc Storage) DecrementImageUse(_ string)
- func (sc Storage) GetApplicationProfile(namespace, name string) (*v1beta1.ApplicationProfile, error)
- func (sc Storage) GetFilteredSBOM(name string) (*v1beta1.SBOMSyftFiltered, error)
- func (sc Storage) GetNetworkNeighborhood(namespace, name string) (*v1beta1.NetworkNeighborhood, error)
- func (sc Storage) GetNetworkNeighbors(namespace, name string) (*v1beta1.NetworkNeighbors, error)
- func (sc Storage) GetSBOM(name string) (*v1beta1.SBOMSyft, error)
- func (sc Storage) IncrementImageUse(_ string)
- func (sc Storage) PatchApplicationProfile(name, namespace string, operations []utils.PatchOperation, channel chan error) error
- func (sc Storage) PatchFilteredSBOM(name string, SBOM *v1beta1.SBOMSyftFiltered) error
- func (sc Storage) PatchNetworkNeighborhood(name, namespace string, operations []utils.PatchOperation, channel chan error) error
- func (sc Storage) PatchNetworkNeighborsIngressAndEgress(name, namespace string, networkNeighbors *v1beta1.NetworkNeighbors) error
- func (sc Storage) PatchNetworkNeighborsMatchLabels(_, namespace string, networkNeighbors *v1beta1.NetworkNeighbors) error
Constants ¶
View Source
const ( DefaultMaxApplicationProfileSize = 10000 DefaultMaxNetworkNeighborhoodSize = 1000 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 CreateStorage ¶
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) CreateFilteredSBOM ¶
func (sc Storage) CreateFilteredSBOM(SBOM *v1beta1.SBOMSyftFiltered) 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) DecrementImageUse ¶
func (Storage) GetApplicationProfile ¶
func (sc Storage) GetApplicationProfile(namespace, name string) (*v1beta1.ApplicationProfile, error)
func (Storage) GetFilteredSBOM ¶
func (sc Storage) GetFilteredSBOM(name string) (*v1beta1.SBOMSyftFiltered, 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) IncrementImageUse ¶
func (Storage) PatchApplicationProfile ¶
func (Storage) PatchFilteredSBOM ¶
func (sc Storage) PatchFilteredSBOM(name string, SBOM *v1beta1.SBOMSyftFiltered) error
func (Storage) PatchNetworkNeighborhood ¶
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
Click to show internal directories.
Click to hide internal directories.