Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the khulnasoft-lab v1alpha1 API group +kubebuilder:object:generate=true +groupName=khulnasoft-lab.github.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "khulnasoft-lab.github.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type CVSS ¶
type CVSS struct { V2Vector string `json:"V2Vector,omitempty"` V3Vector string `json:"V3Vector,omitempty"` V2Score string `json:"V2Score,omitempty"` V3Score string `json:"V3Score,omitempty"` }
func (*CVSS) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CVSS.
func (*CVSS) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DetectedVulnerability ¶
type DetectedVulnerability struct { VulnerabilityID string `json:"VulnerabilityID,omitempty"` PkgName string `json:"PkgName,omitempty"` InstalledVersion string `json:"InstalledVersion,omitempty"` FixedVersion string `json:"FixedVersion,omitempty"` SeveritySource string `json:"SeveritySource,omitempty"` Title string `json:"Title,omitempty"` Description string `json:"Description,omitempty"` Severity string `json:"Severity,omitempty"` CweIDs []string `json:"CweIDs,omitempty"` CVSS VendorCVSS `json:"CVSS,omitempty"` References []string `json:"References,omitempty"` }
func (*DetectedVulnerability) DeepCopy ¶
func (in *DetectedVulnerability) DeepCopy() *DetectedVulnerability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DetectedVulnerability.
func (*DetectedVulnerability) DeepCopyInto ¶
func (in *DetectedVulnerability) DeepCopyInto(out *DetectedVulnerability)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageVulnerability ¶
type ImageVulnerability struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ImageVulnerabilitySpec `json:"spec,omitempty"` Status ImageVulnerabilityStatus `json:"status,omitempty"` }
ImageVulnerability is the Schema for the imagevulnerabilities API
func (*ImageVulnerability) DeepCopy ¶
func (in *ImageVulnerability) DeepCopy() *ImageVulnerability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVulnerability.
func (*ImageVulnerability) DeepCopyInto ¶
func (in *ImageVulnerability) DeepCopyInto(out *ImageVulnerability)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageVulnerability) DeepCopyObject ¶
func (in *ImageVulnerability) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageVulnerabilityList ¶
type ImageVulnerabilityList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ImageVulnerability `json:"items"` }
ImageVulnerabilityList contains a list of ImageVulnerability
func (*ImageVulnerabilityList) DeepCopy ¶
func (in *ImageVulnerabilityList) DeepCopy() *ImageVulnerabilityList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVulnerabilityList.
func (*ImageVulnerabilityList) DeepCopyInto ¶
func (in *ImageVulnerabilityList) DeepCopyInto(out *ImageVulnerabilityList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageVulnerabilityList) DeepCopyObject ¶
func (in *ImageVulnerabilityList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageVulnerabilitySpec ¶
type ImageVulnerabilitySpec struct {
Image string `json:"image,omitempty"`
}
ImageVulnerabilitySpec defines the desired state of ImageVulnerability
func (*ImageVulnerabilitySpec) DeepCopy ¶
func (in *ImageVulnerabilitySpec) DeepCopy() *ImageVulnerabilitySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVulnerabilitySpec.
func (*ImageVulnerabilitySpec) DeepCopyInto ¶
func (in *ImageVulnerabilitySpec) DeepCopyInto(out *ImageVulnerabilitySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageVulnerabilityStatus ¶
type ImageVulnerabilityStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Vulnerabilities []DetectedVulnerability `json:"vulnerabilities,omitempty"` }
ImageVulnerabilityStatus defines the observed state of ImageVulnerability
func (*ImageVulnerabilityStatus) DeepCopy ¶
func (in *ImageVulnerabilityStatus) DeepCopy() *ImageVulnerabilityStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVulnerabilityStatus.
func (*ImageVulnerabilityStatus) DeepCopyInto ¶
func (in *ImageVulnerabilityStatus) DeepCopyInto(out *ImageVulnerabilityStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VendorCVSS ¶
func (VendorCVSS) DeepCopy ¶
func (in VendorCVSS) DeepCopy() VendorCVSS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VendorCVSS.
func (VendorCVSS) DeepCopyInto ¶
func (in VendorCVSS) DeepCopyInto(out *VendorCVSS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.