Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta +groupName=secscan.quay.redhat.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: secscan.GroupName, Version: "v1alpha1"}
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Feature ¶
type Feature struct { Name string `json:"name,omitempty"` VersionFormat string `json:"versionformat,omitempty"` NamespaceName string `json:"namespaceName,omitempty"` Version string `json:"version,omitempty"` Vulnerabilities []*Vulnerability `json:"vulnerabilities,omitempty"` }
func (*Feature) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Feature.
func (*Feature) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageManifestVuln ¶
type ImageManifestVuln struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` Spec ImageManifestVulnSpec `json:"spec,omitempty"` // +optional Status ImageManifestVulnStatus `json:"status,omitempty"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true
func (*ImageManifestVuln) DeepCopy ¶
func (in *ImageManifestVuln) DeepCopy() *ImageManifestVuln
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageManifestVuln.
func (*ImageManifestVuln) DeepCopyInto ¶
func (in *ImageManifestVuln) DeepCopyInto(out *ImageManifestVuln)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageManifestVuln) DeepCopyObject ¶
func (in *ImageManifestVuln) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageManifestVulnList ¶
type ImageManifestVulnList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []*ImageManifestVuln `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true
func (*ImageManifestVulnList) DeepCopy ¶
func (in *ImageManifestVulnList) DeepCopy() *ImageManifestVulnList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageManifestVulnList.
func (*ImageManifestVulnList) DeepCopyInto ¶
func (in *ImageManifestVulnList) DeepCopyInto(out *ImageManifestVulnList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageManifestVulnList) DeepCopyObject ¶
func (in *ImageManifestVulnList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageManifestVulnSpec ¶
type ImageManifestVulnSpec struct { Image string `json:"image,omitempty"` Manifest string `json:"manifest,omitempty"` NamespaceName string `json:"namespaceName,omitempty"` Features []*Feature `json:"features,omitempty"` }
func (*ImageManifestVulnSpec) DeepCopy ¶
func (in *ImageManifestVulnSpec) DeepCopy() *ImageManifestVulnSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageManifestVulnSpec.
func (*ImageManifestVulnSpec) DeepCopyInto ¶
func (in *ImageManifestVulnSpec) DeepCopyInto(out *ImageManifestVulnSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageManifestVulnStatus ¶
type ImageManifestVulnStatus struct { LastUpdate string `json:"lastUpdate,omitempty"` HighestSeverity string `json:"highestSeverity,omitempty"` UnknownCount int `json:"unknownCount,omitempty"` NegligibleCount int `json:"negligibleCount,omitempty"` LowCount int `json:"lowCount,omitempty"` MediumCount int `json:"mediumCount,omitempty"` HighCount int `json:"highCount,omitempty"` CriticalCount int `json:"criticalCount,omitempty"` Defcon1Count int `json:"defcon1Count,omitempty"` FixableCount int `json:"fixableCount,omitempty"` // Map from pod's path to container ids AffectedPods map[string][]string `json:"affectedPods,omitempty"` }
func (*ImageManifestVulnStatus) DeepCopy ¶
func (in *ImageManifestVulnStatus) DeepCopy() *ImageManifestVulnStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageManifestVulnStatus.
func (*ImageManifestVulnStatus) DeepCopyInto ¶
func (in *ImageManifestVulnStatus) DeepCopyInto(out *ImageManifestVulnStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Vulnerability ¶
type Vulnerability struct { Name string `json:"name,omitempty"` NamespaceName string `json:"namespaceName,omitempty"` Description string `json:"description,omitempty"` Link string `json:"link,omitempty"` FixedBy string `json:"fixedby,omitempty"` Severity string `json:"severity,omitempty"` Metadata string `json:"metadata,omitempty"` }
func (*Vulnerability) DeepCopy ¶
func (in *Vulnerability) DeepCopy() *Vulnerability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vulnerability.
func (*Vulnerability) DeepCopyInto ¶
func (in *Vulnerability) DeepCopyInto(out *Vulnerability)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.