Skip to content

Release v0.0.74

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Mar 16:02
· 209 commits to main since this release
d4a5e23

User description

This partly reverts commit 7461b46.


Type

enhancement


Description

  • Implements storage logic for ConfigurationScanSummary and VulnerabilitySummary with custom business logic.
  • Adds unit tests for new storage implementations.
  • Generates clientset, conversion, and deepcopy methods for VulnerabilityManifestSummary and related types.
  • Enhances informers with interfaces for VulnerabilityManifestSummary and VulnerabilitySummary.

Changes walkthrough

Relevant files
Tests
2 files
configurationscansummarystorage_test.go
Add Unit Tests for ConfigurationScanSummaryStorage             

pkg/registry/file/configurationscansummarystorage_test.go

  • Adds unit tests for ConfigurationScanSummaryStorage methods.
  • Tests cover Create, Delete, Watch, GuaranteedUpdate, Count, Get, and
    GetList methods.
  • Validates expected errors for unsupported operations.
  • Checks correct behavior for Get and GetList operations.
  • +735/-0 
    vulnerabilitysummarystorage_test.go
    Add Unit Tests for VulnerabilitySummaryStorage                     

    pkg/registry/file/vulnerabilitysummarystorage_test.go

  • Adds unit tests for VulnerabilitySummaryStorage methods.
  • Tests cover Create, Delete, Watch, GuaranteedUpdate, Count, Get, and
    GetList methods.
  • Validates expected errors for unsupported operations.
  • Checks correct behavior for Get and GetList operations.
  • +453/-0 
    Enhancement
    7 files
    zz_generated.conversion.go
    Generate Conversion Functions for VulnerabilityManifestSummary

    pkg/apis/softwarecomposition/v1beta1/zz_generated.conversion.go

  • Adds generated conversion functions for VulnerabilityManifestSummary
    and related types.
  • Supports conversion between internal and v1beta1 versions of
    VulnerabilityManifestSummary.
  • +252/-0 
    vulnerabilitymanifestsummary.go
    Add Clientset for VulnerabilityManifestSummary Resources 

    pkg/generated/clientset/versioned/typed/softwarecomposition/v1beta1/vulnerabilitymanifestsummary.go

  • Adds clientset methods for VulnerabilityManifestSummary resources.
  • Supports operations like Create, Update, Delete, Get, List, and Watch.

  • +195/-0 
    vulnerabilitysummary.go
    Add Clientset for VulnerabilitySummary Resources                 

    pkg/generated/clientset/versioned/typed/softwarecomposition/v1beta1/vulnerabilitysummary.go

  • Adds clientset methods for VulnerabilitySummary resources.
  • Supports operations like Create, Update, Delete, Get, List, and Watch.

  • +195/-0 
    configurationscansummarystorage.go
    Implement ConfigurationScanSummaryStorage with Custom Logic

    pkg/registry/file/configurationscansummarystorage.go

  • Implements ConfigurationScanSummaryStorage with custom business logic.
  • Provides methods for unsupported operations returning errors.
  • Implements Get and GetList methods to generate summaries on the fly.
  • +215/-0 
    vulnerabilitysummarystorage.go
    Implement VulnerabilitySummaryStorage with Custom Logic   

    pkg/registry/file/vulnerabilitysummarystorage.go

  • Implements VulnerabilitySummaryStorage with custom business logic.
  • Provides methods for unsupported operations returning errors.
  • Implements Get and GetList methods to generate summaries on the fly.
  • +200/-0 
    zz_generated.deepcopy.go
    Generate DeepCopy Methods for VulnerabilityManifestSummary Types

    pkg/apis/softwarecomposition/v1beta1/zz_generated.deepcopy.go

  • Adds deep copy methods for VulnerabilityManifestSummary and related
    types.
  • Supports deep copying of VulnerabilityManifestSummary,
    VulnerabilityManifestSummaryList, and
    VulnerabilityManifestSummarySpec.
  • +178/-0 
    interface.go
    Add Informer Interfaces for New Vulnerability Summary Types

    pkg/generated/informers/externalversions/softwarecomposition/v1beta1/interface.go

  • Adds informer interfaces for VulnerabilityManifestSummary and
    VulnerabilitySummary.
  • Enables watching and listing of these resources in informers.
  • +14/-0   

    PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions