Documentation ¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the policy v1alpha2 API group +k8s:deepcopy-gen=package +kubebuilder:object:generate=true +groupName=kyverno.io
Index ¶
- Constants
- Variables
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type AdmissionReport
- func (in *AdmissionReport) DeepCopy() *AdmissionReport
- func (in *AdmissionReport) DeepCopyInto(out *AdmissionReport)
- func (in *AdmissionReport) DeepCopyObject() runtime.Object
- func (r *AdmissionReport) GetResults() []policyreportv1alpha2.PolicyReportResult
- func (r *AdmissionReport) SetResults(results []policyreportv1alpha2.PolicyReportResult)
- func (r *AdmissionReport) SetSummary(summary policyreportv1alpha2.PolicyReportSummary)
- type AdmissionReportList
- type AdmissionReportSpec
- type BackgroundScanReport
- func (in *BackgroundScanReport) DeepCopy() *BackgroundScanReport
- func (in *BackgroundScanReport) DeepCopyInto(out *BackgroundScanReport)
- func (in *BackgroundScanReport) DeepCopyObject() runtime.Object
- func (r *BackgroundScanReport) GetResults() []policyreportv1alpha2.PolicyReportResult
- func (r *BackgroundScanReport) SetResults(results []policyreportv1alpha2.PolicyReportResult)
- func (r *BackgroundScanReport) SetSummary(summary policyreportv1alpha2.PolicyReportSummary)
- type BackgroundScanReportList
- type BackgroundScanReportSpec
- type ClusterAdmissionReport
- func (in *ClusterAdmissionReport) DeepCopy() *ClusterAdmissionReport
- func (in *ClusterAdmissionReport) DeepCopyInto(out *ClusterAdmissionReport)
- func (in *ClusterAdmissionReport) DeepCopyObject() runtime.Object
- func (r *ClusterAdmissionReport) GetResults() []policyreportv1alpha2.PolicyReportResult
- func (r *ClusterAdmissionReport) SetResults(results []policyreportv1alpha2.PolicyReportResult)
- func (r *ClusterAdmissionReport) SetSummary(summary policyreportv1alpha2.PolicyReportSummary)
- type ClusterAdmissionReportList
- type ClusterBackgroundScanReport
- func (in *ClusterBackgroundScanReport) DeepCopy() *ClusterBackgroundScanReport
- func (in *ClusterBackgroundScanReport) DeepCopyInto(out *ClusterBackgroundScanReport)
- func (in *ClusterBackgroundScanReport) DeepCopyObject() runtime.Object
- func (r *ClusterBackgroundScanReport) GetResults() []policyreportv1alpha2.PolicyReportResult
- func (r *ClusterBackgroundScanReport) SetResults(results []policyreportv1alpha2.PolicyReportResult)
- func (r *ClusterBackgroundScanReport) SetSummary(summary policyreportv1alpha2.PolicyReportSummary)
- type ClusterBackgroundScanReportList
- type ReportInterface
Constants ¶
const GroupName = "kyverno.io"
GroupName specifies the group name used to register the objects.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Depreciated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha2"}
GroupVersion specifies the group and the version used to register the objects.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha2"}
SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.
Functions ¶
func RegisterDefaults ¶ added in v1.10.5
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AdmissionReport ¶ added in v1.8.0
type AdmissionReport struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AdmissionReportSpec `json:"spec"` }
AdmissionReport is the Schema for the AdmissionReports API
func (*AdmissionReport) DeepCopy ¶ added in v1.8.0
func (in *AdmissionReport) DeepCopy() *AdmissionReport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReport.
func (*AdmissionReport) DeepCopyInto ¶ added in v1.8.0
func (in *AdmissionReport) DeepCopyInto(out *AdmissionReport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AdmissionReport) DeepCopyObject ¶ added in v1.8.0
func (in *AdmissionReport) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AdmissionReport) GetResults ¶ added in v1.8.0
func (r *AdmissionReport) GetResults() []policyreportv1alpha2.PolicyReportResult
func (*AdmissionReport) SetResults ¶ added in v1.8.0
func (r *AdmissionReport) SetResults(results []policyreportv1alpha2.PolicyReportResult)
func (*AdmissionReport) SetSummary ¶ added in v1.8.0
func (r *AdmissionReport) SetSummary(summary policyreportv1alpha2.PolicyReportSummary)
type AdmissionReportList ¶ added in v1.8.0
type AdmissionReportList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AdmissionReport `json:"items"` }
AdmissionReportList contains a list of AdmissionReport
func (*AdmissionReportList) DeepCopy ¶ added in v1.8.0
func (in *AdmissionReportList) DeepCopy() *AdmissionReportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReportList.
func (*AdmissionReportList) DeepCopyInto ¶ added in v1.8.0
func (in *AdmissionReportList) DeepCopyInto(out *AdmissionReportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AdmissionReportList) DeepCopyObject ¶ added in v1.8.0
func (in *AdmissionReportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AdmissionReportSpec ¶ added in v1.8.0
type AdmissionReportSpec struct { // Owner is a reference to the report owner (e.g. a Deployment, Namespace, or Node) Owner metav1.OwnerReference `json:"owner"` // PolicyReportSummary provides a summary of results // +optional Summary policyreportv1alpha2.PolicyReportSummary `json:"summary,omitempty"` // PolicyReportResult provides result details // +optional Results []policyreportv1alpha2.PolicyReportResult `json:"results,omitempty"` }
func (*AdmissionReportSpec) DeepCopy ¶ added in v1.8.0
func (in *AdmissionReportSpec) DeepCopy() *AdmissionReportSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReportSpec.
func (*AdmissionReportSpec) DeepCopyInto ¶ added in v1.8.0
func (in *AdmissionReportSpec) DeepCopyInto(out *AdmissionReportSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackgroundScanReport ¶ added in v1.8.0
type BackgroundScanReport struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackgroundScanReportSpec `json:"spec"` }
BackgroundScanReport is the Schema for the BackgroundScanReports API
func (*BackgroundScanReport) DeepCopy ¶ added in v1.8.0
func (in *BackgroundScanReport) DeepCopy() *BackgroundScanReport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackgroundScanReport.
func (*BackgroundScanReport) DeepCopyInto ¶ added in v1.8.0
func (in *BackgroundScanReport) DeepCopyInto(out *BackgroundScanReport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackgroundScanReport) DeepCopyObject ¶ added in v1.8.0
func (in *BackgroundScanReport) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackgroundScanReport) GetResults ¶ added in v1.8.0
func (r *BackgroundScanReport) GetResults() []policyreportv1alpha2.PolicyReportResult
func (*BackgroundScanReport) SetResults ¶ added in v1.8.0
func (r *BackgroundScanReport) SetResults(results []policyreportv1alpha2.PolicyReportResult)
func (*BackgroundScanReport) SetSummary ¶ added in v1.8.0
func (r *BackgroundScanReport) SetSummary(summary policyreportv1alpha2.PolicyReportSummary)
type BackgroundScanReportList ¶ added in v1.8.0
type BackgroundScanReportList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackgroundScanReport `json:"items"` }
BackgroundScanReportList contains a list of BackgroundScanReport
func (*BackgroundScanReportList) DeepCopy ¶ added in v1.8.0
func (in *BackgroundScanReportList) DeepCopy() *BackgroundScanReportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackgroundScanReportList.
func (*BackgroundScanReportList) DeepCopyInto ¶ added in v1.8.0
func (in *BackgroundScanReportList) DeepCopyInto(out *BackgroundScanReportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackgroundScanReportList) DeepCopyObject ¶ added in v1.8.0
func (in *BackgroundScanReportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackgroundScanReportSpec ¶ added in v1.8.0
type BackgroundScanReportSpec struct { // PolicyReportSummary provides a summary of results // +optional Summary policyreportv1alpha2.PolicyReportSummary `json:"summary,omitempty"` // PolicyReportResult provides result details // +optional Results []policyreportv1alpha2.PolicyReportResult `json:"results,omitempty"` }
func (*BackgroundScanReportSpec) DeepCopy ¶ added in v1.8.0
func (in *BackgroundScanReportSpec) DeepCopy() *BackgroundScanReportSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackgroundScanReportSpec.
func (*BackgroundScanReportSpec) DeepCopyInto ¶ added in v1.8.0
func (in *BackgroundScanReportSpec) DeepCopyInto(out *BackgroundScanReportSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterAdmissionReport ¶ added in v1.8.0
type ClusterAdmissionReport struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AdmissionReportSpec `json:"spec"` }
ClusterAdmissionReport is the Schema for the ClusterAdmissionReports API
func (*ClusterAdmissionReport) DeepCopy ¶ added in v1.8.0
func (in *ClusterAdmissionReport) DeepCopy() *ClusterAdmissionReport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAdmissionReport.
func (*ClusterAdmissionReport) DeepCopyInto ¶ added in v1.8.0
func (in *ClusterAdmissionReport) DeepCopyInto(out *ClusterAdmissionReport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterAdmissionReport) DeepCopyObject ¶ added in v1.8.0
func (in *ClusterAdmissionReport) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterAdmissionReport) GetResults ¶ added in v1.8.0
func (r *ClusterAdmissionReport) GetResults() []policyreportv1alpha2.PolicyReportResult
func (*ClusterAdmissionReport) SetResults ¶ added in v1.8.0
func (r *ClusterAdmissionReport) SetResults(results []policyreportv1alpha2.PolicyReportResult)
func (*ClusterAdmissionReport) SetSummary ¶ added in v1.8.0
func (r *ClusterAdmissionReport) SetSummary(summary policyreportv1alpha2.PolicyReportSummary)
type ClusterAdmissionReportList ¶ added in v1.8.0
type ClusterAdmissionReportList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterAdmissionReport `json:"items"` }
ClusterAdmissionReportList contains a list of ClusterAdmissionReport
func (*ClusterAdmissionReportList) DeepCopy ¶ added in v1.8.0
func (in *ClusterAdmissionReportList) DeepCopy() *ClusterAdmissionReportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAdmissionReportList.
func (*ClusterAdmissionReportList) DeepCopyInto ¶ added in v1.8.0
func (in *ClusterAdmissionReportList) DeepCopyInto(out *ClusterAdmissionReportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterAdmissionReportList) DeepCopyObject ¶ added in v1.8.0
func (in *ClusterAdmissionReportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterBackgroundScanReport ¶ added in v1.8.0
type ClusterBackgroundScanReport struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackgroundScanReportSpec `json:"spec"` }
ClusterBackgroundScanReport is the Schema for the ClusterBackgroundScanReports API
func (*ClusterBackgroundScanReport) DeepCopy ¶ added in v1.8.0
func (in *ClusterBackgroundScanReport) DeepCopy() *ClusterBackgroundScanReport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBackgroundScanReport.
func (*ClusterBackgroundScanReport) DeepCopyInto ¶ added in v1.8.0
func (in *ClusterBackgroundScanReport) DeepCopyInto(out *ClusterBackgroundScanReport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterBackgroundScanReport) DeepCopyObject ¶ added in v1.8.0
func (in *ClusterBackgroundScanReport) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterBackgroundScanReport) GetResults ¶ added in v1.8.0
func (r *ClusterBackgroundScanReport) GetResults() []policyreportv1alpha2.PolicyReportResult
func (*ClusterBackgroundScanReport) SetResults ¶ added in v1.8.0
func (r *ClusterBackgroundScanReport) SetResults(results []policyreportv1alpha2.PolicyReportResult)
func (*ClusterBackgroundScanReport) SetSummary ¶ added in v1.8.0
func (r *ClusterBackgroundScanReport) SetSummary(summary policyreportv1alpha2.PolicyReportSummary)
type ClusterBackgroundScanReportList ¶ added in v1.8.0
type ClusterBackgroundScanReportList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterBackgroundScanReport `json:"items"` }
ClusterBackgroundScanReportList contains a list of ClusterBackgroundScanReport
func (*ClusterBackgroundScanReportList) DeepCopy ¶ added in v1.8.0
func (in *ClusterBackgroundScanReportList) DeepCopy() *ClusterBackgroundScanReportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBackgroundScanReportList.
func (*ClusterBackgroundScanReportList) DeepCopyInto ¶ added in v1.8.0
func (in *ClusterBackgroundScanReportList) DeepCopyInto(out *ClusterBackgroundScanReportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterBackgroundScanReportList) DeepCopyObject ¶ added in v1.8.0
func (in *ClusterBackgroundScanReportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReportInterface ¶ added in v1.8.0
type ReportInterface interface { metav1.Object GetResults() []policyreportv1alpha2.PolicyReportResult SetResults([]policyreportv1alpha2.PolicyReportResult) SetSummary(policyreportv1alpha2.PolicyReportSummary) }
ReportInterface abstracts the concrete report change request type