Documentation ¶
Index ¶
- type ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) GetName() *string
- func (b *ContainerImageScanApplyConfiguration) WithAPIVersion(value string) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithAnnotations(entries map[string]string) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithFinalizers(values ...string) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithGenerateName(value string) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithGeneration(value int64) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithKind(value string) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithLabels(entries map[string]string) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithName(value string) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithNamespace(value string) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithResourceVersion(value string) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithSpec(value *ContainerImageScanSpecApplyConfiguration) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithStatus(value *ContainerImageScanStatusApplyConfiguration) *ContainerImageScanApplyConfiguration
- func (b *ContainerImageScanApplyConfiguration) WithUID(value types.UID) *ContainerImageScanApplyConfiguration
- type ContainerImageScanSpecApplyConfiguration
- func (b *ContainerImageScanSpecApplyConfiguration) WithDigest(value godigest.Digest) *ContainerImageScanSpecApplyConfiguration
- func (b *ContainerImageScanSpecApplyConfiguration) WithIgnoreUnfixed(value bool) *ContainerImageScanSpecApplyConfiguration
- func (b *ContainerImageScanSpecApplyConfiguration) WithMinSeverity(value stasv1alpha1.Severity) *ContainerImageScanSpecApplyConfiguration
- func (b *ContainerImageScanSpecApplyConfiguration) WithName(value string) *ContainerImageScanSpecApplyConfiguration
- func (b *ContainerImageScanSpecApplyConfiguration) WithTag(value string) *ContainerImageScanSpecApplyConfiguration
- func (b *ContainerImageScanSpecApplyConfiguration) WithWorkload(value *WorkloadApplyConfiguration) *ContainerImageScanSpecApplyConfiguration
- type ContainerImageScanStatusApplyConfiguration
- func (b *ContainerImageScanStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *ContainerImageScanStatusApplyConfiguration
- func (b *ContainerImageScanStatusApplyConfiguration) WithLastScanJobUID(value types.UID) *ContainerImageScanStatusApplyConfiguration
- func (b *ContainerImageScanStatusApplyConfiguration) WithLastScanTime(value v1.Time) *ContainerImageScanStatusApplyConfiguration
- func (b *ContainerImageScanStatusApplyConfiguration) WithLastSuccessfulScanTime(value v1.Time) *ContainerImageScanStatusApplyConfiguration
- func (b *ContainerImageScanStatusApplyConfiguration) WithObservedGeneration(value int64) *ContainerImageScanStatusApplyConfiguration
- func (b *ContainerImageScanStatusApplyConfiguration) WithVulnerabilities(values ...*VulnerabilityApplyConfiguration) *ContainerImageScanStatusApplyConfiguration
- func (b *ContainerImageScanStatusApplyConfiguration) WithVulnerabilitySummary(value *VulnerabilitySummaryApplyConfiguration) *ContainerImageScanStatusApplyConfiguration
- type ImageApplyConfiguration
- type ImageScanSpecApplyConfiguration
- func (b *ImageScanSpecApplyConfiguration) WithDigest(value godigest.Digest) *ImageScanSpecApplyConfiguration
- func (b *ImageScanSpecApplyConfiguration) WithIgnoreUnfixed(value bool) *ImageScanSpecApplyConfiguration
- func (b *ImageScanSpecApplyConfiguration) WithMinSeverity(value stasv1alpha1.Severity) *ImageScanSpecApplyConfiguration
- func (b *ImageScanSpecApplyConfiguration) WithName(value string) *ImageScanSpecApplyConfiguration
- type ScanConfigApplyConfiguration
- type VulnerabilityApplyConfiguration
- func (b *VulnerabilityApplyConfiguration) WithFixedVersion(value string) *VulnerabilityApplyConfiguration
- func (b *VulnerabilityApplyConfiguration) WithInstalledVersion(value string) *VulnerabilityApplyConfiguration
- func (b *VulnerabilityApplyConfiguration) WithPkgName(value string) *VulnerabilityApplyConfiguration
- func (b *VulnerabilityApplyConfiguration) WithPkgPath(value string) *VulnerabilityApplyConfiguration
- func (b *VulnerabilityApplyConfiguration) WithPrimaryURL(value string) *VulnerabilityApplyConfiguration
- func (b *VulnerabilityApplyConfiguration) WithSeverity(value v1alpha1.Severity) *VulnerabilityApplyConfiguration
- func (b *VulnerabilityApplyConfiguration) WithTitle(value string) *VulnerabilityApplyConfiguration
- func (b *VulnerabilityApplyConfiguration) WithVulnerabilityID(value string) *VulnerabilityApplyConfiguration
- type VulnerabilitySummaryApplyConfiguration
- func (b *VulnerabilitySummaryApplyConfiguration) WithFixedCount(value int32) *VulnerabilitySummaryApplyConfiguration
- func (b *VulnerabilitySummaryApplyConfiguration) WithSeverityCount(entries map[string]int32) *VulnerabilitySummaryApplyConfiguration
- func (b *VulnerabilitySummaryApplyConfiguration) WithUnfixedCount(value int32) *VulnerabilitySummaryApplyConfiguration
- type WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithContainerName(value string) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithGroup(value string) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithKind(value string) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithName(value string) *WorkloadApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerImageScanApplyConfiguration ¶
type ContainerImageScanApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ContainerImageScanSpecApplyConfiguration `json:"spec,omitempty"` Status *ContainerImageScanStatusApplyConfiguration `json:"status,omitempty"` }
ContainerImageScanApplyConfiguration represents a declarative configuration of the ContainerImageScan type for use with apply.
func ContainerImageScan ¶
func ContainerImageScan(name, namespace string) *ContainerImageScanApplyConfiguration
ContainerImageScan constructs a declarative configuration of the ContainerImageScan type for use with apply.
func (*ContainerImageScanApplyConfiguration) GetName ¶ added in v0.8.18
func (b *ContainerImageScanApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ContainerImageScanApplyConfiguration) WithAPIVersion ¶
func (b *ContainerImageScanApplyConfiguration) WithAPIVersion(value string) *ContainerImageScanApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*ContainerImageScanApplyConfiguration) WithAnnotations ¶
func (b *ContainerImageScanApplyConfiguration) WithAnnotations(entries map[string]string) *ContainerImageScanApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ContainerImageScanApplyConfiguration) WithCreationTimestamp ¶
func (b *ContainerImageScanApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ContainerImageScanApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*ContainerImageScanApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ContainerImageScanApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ContainerImageScanApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ContainerImageScanApplyConfiguration) WithDeletionTimestamp ¶
func (b *ContainerImageScanApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ContainerImageScanApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*ContainerImageScanApplyConfiguration) WithFinalizers ¶
func (b *ContainerImageScanApplyConfiguration) WithFinalizers(values ...string) *ContainerImageScanApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*ContainerImageScanApplyConfiguration) WithGenerateName ¶
func (b *ContainerImageScanApplyConfiguration) WithGenerateName(value string) *ContainerImageScanApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*ContainerImageScanApplyConfiguration) WithGeneration ¶
func (b *ContainerImageScanApplyConfiguration) WithGeneration(value int64) *ContainerImageScanApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*ContainerImageScanApplyConfiguration) WithKind ¶
func (b *ContainerImageScanApplyConfiguration) WithKind(value string) *ContainerImageScanApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*ContainerImageScanApplyConfiguration) WithLabels ¶
func (b *ContainerImageScanApplyConfiguration) WithLabels(entries map[string]string) *ContainerImageScanApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ContainerImageScanApplyConfiguration) WithName ¶
func (b *ContainerImageScanApplyConfiguration) WithName(value string) *ContainerImageScanApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ContainerImageScanApplyConfiguration) WithNamespace ¶
func (b *ContainerImageScanApplyConfiguration) WithNamespace(value string) *ContainerImageScanApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*ContainerImageScanApplyConfiguration) WithOwnerReferences ¶
func (b *ContainerImageScanApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ContainerImageScanApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*ContainerImageScanApplyConfiguration) WithResourceVersion ¶
func (b *ContainerImageScanApplyConfiguration) WithResourceVersion(value string) *ContainerImageScanApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*ContainerImageScanApplyConfiguration) WithSpec ¶
func (b *ContainerImageScanApplyConfiguration) WithSpec(value *ContainerImageScanSpecApplyConfiguration) *ContainerImageScanApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*ContainerImageScanApplyConfiguration) WithStatus ¶
func (b *ContainerImageScanApplyConfiguration) WithStatus(value *ContainerImageScanStatusApplyConfiguration) *ContainerImageScanApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*ContainerImageScanApplyConfiguration) WithUID ¶
func (b *ContainerImageScanApplyConfiguration) WithUID(value types.UID) *ContainerImageScanApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type ContainerImageScanSpecApplyConfiguration ¶
type ContainerImageScanSpecApplyConfiguration struct { ImageScanSpecApplyConfiguration `json:",inline"` Tag *string `json:"tag,omitempty"` Workload *WorkloadApplyConfiguration `json:"workload,omitempty"` }
ContainerImageScanSpecApplyConfiguration represents a declarative configuration of the ContainerImageScanSpec type for use with apply.
func ContainerImageScanSpec ¶
func ContainerImageScanSpec() *ContainerImageScanSpecApplyConfiguration
ContainerImageScanSpecApplyConfiguration constructs a declarative configuration of the ContainerImageScanSpec type for use with apply.
func (*ContainerImageScanSpecApplyConfiguration) WithDigest ¶
func (b *ContainerImageScanSpecApplyConfiguration) WithDigest(value godigest.Digest) *ContainerImageScanSpecApplyConfiguration
WithDigest sets the Digest field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Digest field is set to the value of the last call.
func (*ContainerImageScanSpecApplyConfiguration) WithIgnoreUnfixed ¶
func (b *ContainerImageScanSpecApplyConfiguration) WithIgnoreUnfixed(value bool) *ContainerImageScanSpecApplyConfiguration
WithIgnoreUnfixed sets the IgnoreUnfixed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IgnoreUnfixed field is set to the value of the last call.
func (*ContainerImageScanSpecApplyConfiguration) WithMinSeverity ¶
func (b *ContainerImageScanSpecApplyConfiguration) WithMinSeverity(value stasv1alpha1.Severity) *ContainerImageScanSpecApplyConfiguration
WithMinSeverity sets the MinSeverity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinSeverity field is set to the value of the last call.
func (*ContainerImageScanSpecApplyConfiguration) WithName ¶
func (b *ContainerImageScanSpecApplyConfiguration) WithName(value string) *ContainerImageScanSpecApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ContainerImageScanSpecApplyConfiguration) WithTag ¶
func (b *ContainerImageScanSpecApplyConfiguration) WithTag(value string) *ContainerImageScanSpecApplyConfiguration
WithTag sets the Tag field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Tag field is set to the value of the last call.
func (*ContainerImageScanSpecApplyConfiguration) WithWorkload ¶
func (b *ContainerImageScanSpecApplyConfiguration) WithWorkload(value *WorkloadApplyConfiguration) *ContainerImageScanSpecApplyConfiguration
WithWorkload sets the Workload field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Workload field is set to the value of the last call.
type ContainerImageScanStatusApplyConfiguration ¶
type ContainerImageScanStatusApplyConfiguration struct { ObservedGeneration *int64 `json:"observedGeneration,omitempty"` LastScanJobUID *types.UID `json:"lastScanJobUID,omitempty"` LastScanTime *v1.Time `json:"lastScanTime,omitempty"` LastSuccessfulScanTime *v1.Time `json:"lastSuccessfulScanTime,omitempty"` Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"` Vulnerabilities []VulnerabilityApplyConfiguration `json:"vulnerabilities,omitempty"` VulnerabilitySummary *VulnerabilitySummaryApplyConfiguration `json:"vulnerabilitySummary,omitempty"` }
ContainerImageScanStatusApplyConfiguration represents a declarative configuration of the ContainerImageScanStatus type for use with apply.
func ContainerImageScanStatus ¶
func ContainerImageScanStatus() *ContainerImageScanStatusApplyConfiguration
ContainerImageScanStatusApplyConfiguration constructs a declarative configuration of the ContainerImageScanStatus type for use with apply.
func (*ContainerImageScanStatusApplyConfiguration) WithConditions ¶
func (b *ContainerImageScanStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *ContainerImageScanStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*ContainerImageScanStatusApplyConfiguration) WithLastScanJobUID ¶
func (b *ContainerImageScanStatusApplyConfiguration) WithLastScanJobUID(value types.UID) *ContainerImageScanStatusApplyConfiguration
WithLastScanJobUID sets the LastScanJobUID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastScanJobUID field is set to the value of the last call.
func (*ContainerImageScanStatusApplyConfiguration) WithLastScanTime ¶
func (b *ContainerImageScanStatusApplyConfiguration) WithLastScanTime(value v1.Time) *ContainerImageScanStatusApplyConfiguration
WithLastScanTime sets the LastScanTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastScanTime field is set to the value of the last call.
func (*ContainerImageScanStatusApplyConfiguration) WithLastSuccessfulScanTime ¶
func (b *ContainerImageScanStatusApplyConfiguration) WithLastSuccessfulScanTime(value v1.Time) *ContainerImageScanStatusApplyConfiguration
WithLastSuccessfulScanTime sets the LastSuccessfulScanTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSuccessfulScanTime field is set to the value of the last call.
func (*ContainerImageScanStatusApplyConfiguration) WithObservedGeneration ¶
func (b *ContainerImageScanStatusApplyConfiguration) WithObservedGeneration(value int64) *ContainerImageScanStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*ContainerImageScanStatusApplyConfiguration) WithVulnerabilities ¶
func (b *ContainerImageScanStatusApplyConfiguration) WithVulnerabilities(values ...*VulnerabilityApplyConfiguration) *ContainerImageScanStatusApplyConfiguration
WithVulnerabilities adds the given value to the Vulnerabilities field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Vulnerabilities field.
func (*ContainerImageScanStatusApplyConfiguration) WithVulnerabilitySummary ¶
func (b *ContainerImageScanStatusApplyConfiguration) WithVulnerabilitySummary(value *VulnerabilitySummaryApplyConfiguration) *ContainerImageScanStatusApplyConfiguration
WithVulnerabilitySummary sets the VulnerabilitySummary field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VulnerabilitySummary field is set to the value of the last call.
type ImageApplyConfiguration ¶
type ImageApplyConfiguration struct { Name *string `json:"name,omitempty"` Digest *godigest.Digest `json:"digest,omitempty"` }
ImageApplyConfiguration represents a declarative configuration of the Image type for use with apply.
func Image ¶
func Image() *ImageApplyConfiguration
ImageApplyConfiguration constructs a declarative configuration of the Image type for use with apply.
func (*ImageApplyConfiguration) WithDigest ¶
func (b *ImageApplyConfiguration) WithDigest(value godigest.Digest) *ImageApplyConfiguration
WithDigest sets the Digest field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Digest field is set to the value of the last call.
func (*ImageApplyConfiguration) WithName ¶
func (b *ImageApplyConfiguration) WithName(value string) *ImageApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type ImageScanSpecApplyConfiguration ¶
type ImageScanSpecApplyConfiguration struct { ImageApplyConfiguration `json:",inline"` ScanConfigApplyConfiguration `json:",inline"` }
ImageScanSpecApplyConfiguration represents a declarative configuration of the ImageScanSpec type for use with apply.
func ImageScanSpec ¶
func ImageScanSpec() *ImageScanSpecApplyConfiguration
ImageScanSpecApplyConfiguration constructs a declarative configuration of the ImageScanSpec type for use with apply.
func (*ImageScanSpecApplyConfiguration) WithDigest ¶
func (b *ImageScanSpecApplyConfiguration) WithDigest(value godigest.Digest) *ImageScanSpecApplyConfiguration
WithDigest sets the Digest field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Digest field is set to the value of the last call.
func (*ImageScanSpecApplyConfiguration) WithIgnoreUnfixed ¶
func (b *ImageScanSpecApplyConfiguration) WithIgnoreUnfixed(value bool) *ImageScanSpecApplyConfiguration
WithIgnoreUnfixed sets the IgnoreUnfixed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IgnoreUnfixed field is set to the value of the last call.
func (*ImageScanSpecApplyConfiguration) WithMinSeverity ¶
func (b *ImageScanSpecApplyConfiguration) WithMinSeverity(value stasv1alpha1.Severity) *ImageScanSpecApplyConfiguration
WithMinSeverity sets the MinSeverity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinSeverity field is set to the value of the last call.
func (*ImageScanSpecApplyConfiguration) WithName ¶
func (b *ImageScanSpecApplyConfiguration) WithName(value string) *ImageScanSpecApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type ScanConfigApplyConfiguration ¶
type ScanConfigApplyConfiguration struct { MinSeverity *v1alpha1.Severity `json:"minSeverity,omitempty"` IgnoreUnfixed *bool `json:"ignoreUnfixed,omitempty"` }
ScanConfigApplyConfiguration represents a declarative configuration of the ScanConfig type for use with apply.
func ScanConfig ¶
func ScanConfig() *ScanConfigApplyConfiguration
ScanConfigApplyConfiguration constructs a declarative configuration of the ScanConfig type for use with apply.
func (*ScanConfigApplyConfiguration) WithIgnoreUnfixed ¶
func (b *ScanConfigApplyConfiguration) WithIgnoreUnfixed(value bool) *ScanConfigApplyConfiguration
WithIgnoreUnfixed sets the IgnoreUnfixed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IgnoreUnfixed field is set to the value of the last call.
func (*ScanConfigApplyConfiguration) WithMinSeverity ¶
func (b *ScanConfigApplyConfiguration) WithMinSeverity(value v1alpha1.Severity) *ScanConfigApplyConfiguration
WithMinSeverity sets the MinSeverity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinSeverity field is set to the value of the last call.
type VulnerabilityApplyConfiguration ¶
type VulnerabilityApplyConfiguration struct { VulnerabilityID *string `json:"vulnerabilityID,omitempty"` PkgName *string `json:"pkgName,omitempty"` InstalledVersion *string `json:"installedVersion,omitempty"` Severity *v1alpha1.Severity `json:"severity,omitempty"` PkgPath *string `json:"pkgPath,omitempty"` FixedVersion *string `json:"fixedVersion,omitempty"` Title *string `json:"title,omitempty"` PrimaryURL *string `json:"primaryURL,omitempty"` }
VulnerabilityApplyConfiguration represents a declarative configuration of the Vulnerability type for use with apply.
func Vulnerability ¶
func Vulnerability() *VulnerabilityApplyConfiguration
VulnerabilityApplyConfiguration constructs a declarative configuration of the Vulnerability type for use with apply.
func (*VulnerabilityApplyConfiguration) WithFixedVersion ¶
func (b *VulnerabilityApplyConfiguration) WithFixedVersion(value string) *VulnerabilityApplyConfiguration
WithFixedVersion sets the FixedVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FixedVersion field is set to the value of the last call.
func (*VulnerabilityApplyConfiguration) WithInstalledVersion ¶
func (b *VulnerabilityApplyConfiguration) WithInstalledVersion(value string) *VulnerabilityApplyConfiguration
WithInstalledVersion sets the InstalledVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InstalledVersion field is set to the value of the last call.
func (*VulnerabilityApplyConfiguration) WithPkgName ¶
func (b *VulnerabilityApplyConfiguration) WithPkgName(value string) *VulnerabilityApplyConfiguration
WithPkgName sets the PkgName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PkgName field is set to the value of the last call.
func (*VulnerabilityApplyConfiguration) WithPkgPath ¶
func (b *VulnerabilityApplyConfiguration) WithPkgPath(value string) *VulnerabilityApplyConfiguration
WithPkgPath sets the PkgPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PkgPath field is set to the value of the last call.
func (*VulnerabilityApplyConfiguration) WithPrimaryURL ¶
func (b *VulnerabilityApplyConfiguration) WithPrimaryURL(value string) *VulnerabilityApplyConfiguration
WithPrimaryURL sets the PrimaryURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PrimaryURL field is set to the value of the last call.
func (*VulnerabilityApplyConfiguration) WithSeverity ¶
func (b *VulnerabilityApplyConfiguration) WithSeverity(value v1alpha1.Severity) *VulnerabilityApplyConfiguration
WithSeverity sets the Severity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Severity field is set to the value of the last call.
func (*VulnerabilityApplyConfiguration) WithTitle ¶
func (b *VulnerabilityApplyConfiguration) WithTitle(value string) *VulnerabilityApplyConfiguration
WithTitle sets the Title field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Title field is set to the value of the last call.
func (*VulnerabilityApplyConfiguration) WithVulnerabilityID ¶
func (b *VulnerabilityApplyConfiguration) WithVulnerabilityID(value string) *VulnerabilityApplyConfiguration
WithVulnerabilityID sets the VulnerabilityID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VulnerabilityID field is set to the value of the last call.
type VulnerabilitySummaryApplyConfiguration ¶
type VulnerabilitySummaryApplyConfiguration struct { SeverityCount map[string]int32 `json:"severityCount,omitempty"` FixedCount *int32 `json:"fixedCount,omitempty"` UnfixedCount *int32 `json:"unfixedCount,omitempty"` }
VulnerabilitySummaryApplyConfiguration represents a declarative configuration of the VulnerabilitySummary type for use with apply.
func VulnerabilitySummary ¶
func VulnerabilitySummary() *VulnerabilitySummaryApplyConfiguration
VulnerabilitySummaryApplyConfiguration constructs a declarative configuration of the VulnerabilitySummary type for use with apply.
func (*VulnerabilitySummaryApplyConfiguration) WithFixedCount ¶
func (b *VulnerabilitySummaryApplyConfiguration) WithFixedCount(value int32) *VulnerabilitySummaryApplyConfiguration
WithFixedCount sets the FixedCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FixedCount field is set to the value of the last call.
func (*VulnerabilitySummaryApplyConfiguration) WithSeverityCount ¶
func (b *VulnerabilitySummaryApplyConfiguration) WithSeverityCount(entries map[string]int32) *VulnerabilitySummaryApplyConfiguration
WithSeverityCount puts the entries into the SeverityCount field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the SeverityCount field, overwriting an existing map entries in SeverityCount field with the same key.
func (*VulnerabilitySummaryApplyConfiguration) WithUnfixedCount ¶
func (b *VulnerabilitySummaryApplyConfiguration) WithUnfixedCount(value int32) *VulnerabilitySummaryApplyConfiguration
WithUnfixedCount sets the UnfixedCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnfixedCount field is set to the value of the last call.
type WorkloadApplyConfiguration ¶
type WorkloadApplyConfiguration struct { Group *string `json:"group,omitempty"` Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` ContainerName *string `json:"containerName,omitempty"` }
WorkloadApplyConfiguration represents a declarative configuration of the Workload type for use with apply.
func Workload ¶
func Workload() *WorkloadApplyConfiguration
WorkloadApplyConfiguration constructs a declarative configuration of the Workload type for use with apply.
func (*WorkloadApplyConfiguration) WithContainerName ¶
func (b *WorkloadApplyConfiguration) WithContainerName(value string) *WorkloadApplyConfiguration
WithContainerName sets the ContainerName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ContainerName field is set to the value of the last call.
func (*WorkloadApplyConfiguration) WithGroup ¶
func (b *WorkloadApplyConfiguration) WithGroup(value string) *WorkloadApplyConfiguration
WithGroup sets the Group field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Group field is set to the value of the last call.
func (*WorkloadApplyConfiguration) WithKind ¶
func (b *WorkloadApplyConfiguration) WithKind(value string) *WorkloadApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*WorkloadApplyConfiguration) WithName ¶
func (b *WorkloadApplyConfiguration) WithName(value string) *WorkloadApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.