Documentation
¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the zora v1alpha2 API group +kubebuilder:object:generate=true +groupName=zora.undistro.io
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type CustomCheck
- func (in *CustomCheck) DeepCopy() *CustomCheck
- func (in *CustomCheck) DeepCopyInto(out *CustomCheck)
- func (in *CustomCheck) DeepCopyObject() runtime.Object
- func (r *CustomCheck) FileName() string
- func (r *CustomCheck) GetParams() map[string]interface{}
- func (r *CustomCheck) SetReadyStatus(ready bool, reason, msg string)
- func (r *CustomCheck) ToMarvin() *marvin.Check
- type CustomCheckList
- type CustomCheckSpec
- type CustomCheckStatus
- type Variable
- type Vulnerability
- type VulnerabilityReport
- func (dst *VulnerabilityReport) ConvertFrom(srcRaw conversion.Hub) error
- func (src *VulnerabilityReport) ConvertTo(dstRaw conversion.Hub) error
- func (in *VulnerabilityReport) DeepCopy() *VulnerabilityReport
- func (in *VulnerabilityReport) DeepCopyInto(out *VulnerabilityReport)
- func (in *VulnerabilityReport) DeepCopyObject() runtime.Object
- func (in *VulnerabilityReport) SaaSStatusIsTrue() bool
- func (in *VulnerabilityReport) SetSaaSStatus(status metav1.ConditionStatus, reason, msg string)
- type VulnerabilityReportList
- type VulnerabilityReportSpec
- type VulnerabilityReportStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "zora.undistro.io", Version: "v1alpha2"} // SchemeGroupVersion is a copy of GroupVersion, used by client-gen SchemeGroupVersion = GroupVersion // 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 ¶
func Resource ¶ added in v0.9.0
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CustomCheck ¶
type CustomCheck struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CustomCheckSpec `json:"spec,omitempty"` Status CustomCheckStatus `json:"status,omitempty"` }
CustomCheck is the Schema for the customchecks API +genclient
func (*CustomCheck) DeepCopy ¶
func (in *CustomCheck) DeepCopy() *CustomCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomCheck.
func (*CustomCheck) DeepCopyInto ¶
func (in *CustomCheck) DeepCopyInto(out *CustomCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomCheck) DeepCopyObject ¶
func (in *CustomCheck) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CustomCheck) FileName ¶
func (r *CustomCheck) FileName() string
func (*CustomCheck) GetParams ¶
func (r *CustomCheck) GetParams() map[string]interface{}
func (*CustomCheck) SetReadyStatus ¶
func (r *CustomCheck) SetReadyStatus(ready bool, reason, msg string)
func (*CustomCheck) ToMarvin ¶
func (r *CustomCheck) ToMarvin() *marvin.Check
type CustomCheckList ¶
type CustomCheckList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CustomCheck `json:"items"` }
CustomCheckList contains a list of CustomCheck
func (*CustomCheckList) DeepCopy ¶
func (in *CustomCheckList) DeepCopy() *CustomCheckList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomCheckList.
func (*CustomCheckList) DeepCopyInto ¶
func (in *CustomCheckList) DeepCopyInto(out *CustomCheckList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomCheckList) DeepCopyObject ¶
func (in *CustomCheckList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CustomCheckSpec ¶
type CustomCheckSpec struct { v1alpha1.CustomCheckSpec `json:",inline"` Variables []Variable `json:"variables,omitempty"` }
CustomCheckSpec defines the desired state of CustomCheck
func (*CustomCheckSpec) DeepCopy ¶
func (in *CustomCheckSpec) DeepCopy() *CustomCheckSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomCheckSpec.
func (*CustomCheckSpec) DeepCopyInto ¶
func (in *CustomCheckSpec) DeepCopyInto(out *CustomCheckSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomCheckStatus ¶
CustomCheckStatus defines the observed state of CustomCheck
func (*CustomCheckStatus) DeepCopy ¶
func (in *CustomCheckStatus) DeepCopy() *CustomCheckStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomCheckStatus.
func (*CustomCheckStatus) DeepCopyInto ¶
func (in *CustomCheckStatus) DeepCopyInto(out *CustomCheckStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Variable ¶
func (*Variable) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable.
func (*Variable) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Vulnerability ¶ added in v0.9.0
type Vulnerability struct { v1alpha1.VulnerabilityCommon `json:",inline"` Packages []v1alpha1.Package `json:"packages"` }
func (*Vulnerability) DeepCopy ¶ added in v0.9.0
func (in *Vulnerability) DeepCopy() *Vulnerability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vulnerability.
func (*Vulnerability) DeepCopyInto ¶ added in v0.9.0
func (in *Vulnerability) DeepCopyInto(out *Vulnerability)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VulnerabilityReport ¶ added in v0.9.0
type VulnerabilityReport struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VulnerabilityReportSpec `json:"spec,omitempty"` Status VulnerabilityReportStatus `json:"status,omitempty"` }
VulnerabilityReport is the Schema for the vulnerabilityreports API +genclient
func (*VulnerabilityReport) ConvertFrom ¶ added in v0.9.0
func (dst *VulnerabilityReport) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the Hub version (v1alpha1) to this VulnerabilityReport (v1alpha2)
func (*VulnerabilityReport) ConvertTo ¶ added in v0.9.0
func (src *VulnerabilityReport) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this VulnerabilityReport (v1alpha2) to the Hub version (v1alpha1)
func (*VulnerabilityReport) DeepCopy ¶ added in v0.9.0
func (in *VulnerabilityReport) DeepCopy() *VulnerabilityReport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityReport.
func (*VulnerabilityReport) DeepCopyInto ¶ added in v0.9.0
func (in *VulnerabilityReport) DeepCopyInto(out *VulnerabilityReport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VulnerabilityReport) DeepCopyObject ¶ added in v0.9.0
func (in *VulnerabilityReport) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VulnerabilityReport) SaaSStatusIsTrue ¶ added in v0.9.0
func (in *VulnerabilityReport) SaaSStatusIsTrue() bool
func (*VulnerabilityReport) SetSaaSStatus ¶ added in v0.9.0
func (in *VulnerabilityReport) SetSaaSStatus(status metav1.ConditionStatus, reason, msg string)
type VulnerabilityReportList ¶ added in v0.9.0
type VulnerabilityReportList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VulnerabilityReport `json:"items"` }
VulnerabilityReportList contains a list of VulnerabilityReport
func (*VulnerabilityReportList) DeepCopy ¶ added in v0.9.0
func (in *VulnerabilityReportList) DeepCopy() *VulnerabilityReportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityReportList.
func (*VulnerabilityReportList) DeepCopyInto ¶ added in v0.9.0
func (in *VulnerabilityReportList) DeepCopyInto(out *VulnerabilityReportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VulnerabilityReportList) DeepCopyObject ¶ added in v0.9.0
func (in *VulnerabilityReportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VulnerabilityReportSpec ¶ added in v0.9.0
type VulnerabilityReportSpec struct { v1alpha1.VulnerabilityReportCommon `json:",inline"` // TotalPackages represents the total number of affected packages in this image. // A package affected by two vulnerabilities is counted twice. TotalPackages int `json:"totalPackages"` // TotalUniquePackages represents the total number of unique affected packages in this image. // A package affected by multiple vulnerabilities is counted only once. TotalUniquePackages int `json:"totalUniquePackages"` Vulnerabilities []Vulnerability `json:"vulnerabilities"` }
VulnerabilityReportSpec defines the desired state of VulnerabilityReport
func (*VulnerabilityReportSpec) DeepCopy ¶ added in v0.9.0
func (in *VulnerabilityReportSpec) DeepCopy() *VulnerabilityReportSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityReportSpec.
func (*VulnerabilityReportSpec) DeepCopyInto ¶ added in v0.9.0
func (in *VulnerabilityReportSpec) DeepCopyInto(out *VulnerabilityReportSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VulnerabilityReportSpec) Summarize ¶ added in v0.9.0
func (in *VulnerabilityReportSpec) Summarize()
type VulnerabilityReportStatus ¶ added in v0.9.0
VulnerabilityReportStatus defines the observed state of VulnerabilityReport
func (*VulnerabilityReportStatus) DeepCopy ¶ added in v0.9.0
func (in *VulnerabilityReportStatus) DeepCopy() *VulnerabilityReportStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityReportStatus.
func (*VulnerabilityReportStatus) DeepCopyInto ¶ added in v0.9.0
func (in *VulnerabilityReportStatus) DeepCopyInto(out *VulnerabilityReportStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.