Documentation ¶
Overview ¶
+k8s:openapi-gen=true +k8s:deepcopy-gen=package +kubebuilder:object:generate=true +groupName=reports.kyverno.io
Index ¶
- Constants
- Variables
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type ClusterEphemeralReport
- func (in *ClusterEphemeralReport) DeepCopy() *ClusterEphemeralReport
- func (in *ClusterEphemeralReport) DeepCopyInto(out *ClusterEphemeralReport)
- func (in *ClusterEphemeralReport) DeepCopyObject() runtime.Object
- func (r *ClusterEphemeralReport) GetResults() []policyreportv1alpha2.PolicyReportResult
- func (r *ClusterEphemeralReport) SetResults(results []policyreportv1alpha2.PolicyReportResult)
- func (r *ClusterEphemeralReport) SetSummary(summary policyreportv1alpha2.PolicyReportSummary)
- type ClusterEphemeralReportList
- type EphemeralReport
- func (in *EphemeralReport) DeepCopy() *EphemeralReport
- func (in *EphemeralReport) DeepCopyInto(out *EphemeralReport)
- func (in *EphemeralReport) DeepCopyObject() runtime.Object
- func (r *EphemeralReport) GetResults() []policyreportv1alpha2.PolicyReportResult
- func (r *EphemeralReport) SetResults(results []policyreportv1alpha2.PolicyReportResult)
- func (r *EphemeralReport) SetSummary(summary policyreportv1alpha2.PolicyReportSummary)
- type EphemeralReportList
- type EphemeralReportSpec
Constants ¶
const GroupName = "reports.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: "v1"}
GroupVersion specifies the group and the version used to register the objects.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.
Functions ¶
func RegisterDefaults ¶
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 ClusterEphemeralReport ¶
type ClusterEphemeralReport struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EphemeralReportSpec `json:"spec"` }
ClusterEphemeralReport is the Schema for the ClusterEphemeralReports API
func (*ClusterEphemeralReport) DeepCopy ¶
func (in *ClusterEphemeralReport) DeepCopy() *ClusterEphemeralReport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEphemeralReport.
func (*ClusterEphemeralReport) DeepCopyInto ¶
func (in *ClusterEphemeralReport) DeepCopyInto(out *ClusterEphemeralReport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterEphemeralReport) DeepCopyObject ¶
func (in *ClusterEphemeralReport) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterEphemeralReport) GetResults ¶
func (r *ClusterEphemeralReport) GetResults() []policyreportv1alpha2.PolicyReportResult
func (*ClusterEphemeralReport) SetResults ¶
func (r *ClusterEphemeralReport) SetResults(results []policyreportv1alpha2.PolicyReportResult)
func (*ClusterEphemeralReport) SetSummary ¶
func (r *ClusterEphemeralReport) SetSummary(summary policyreportv1alpha2.PolicyReportSummary)
type ClusterEphemeralReportList ¶
type ClusterEphemeralReportList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterEphemeralReport `json:"items"` }
ClusterEphemeralReportList contains a list of ClusterEphemeralReport
func (*ClusterEphemeralReportList) DeepCopy ¶
func (in *ClusterEphemeralReportList) DeepCopy() *ClusterEphemeralReportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEphemeralReportList.
func (*ClusterEphemeralReportList) DeepCopyInto ¶
func (in *ClusterEphemeralReportList) DeepCopyInto(out *ClusterEphemeralReportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterEphemeralReportList) DeepCopyObject ¶
func (in *ClusterEphemeralReportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EphemeralReport ¶
type EphemeralReport struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EphemeralReportSpec `json:"spec"` }
EphemeralReport is the Schema for the EphemeralReports API
func (*EphemeralReport) DeepCopy ¶
func (in *EphemeralReport) DeepCopy() *EphemeralReport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralReport.
func (*EphemeralReport) DeepCopyInto ¶
func (in *EphemeralReport) DeepCopyInto(out *EphemeralReport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EphemeralReport) DeepCopyObject ¶
func (in *EphemeralReport) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EphemeralReport) GetResults ¶
func (r *EphemeralReport) GetResults() []policyreportv1alpha2.PolicyReportResult
func (*EphemeralReport) SetResults ¶
func (r *EphemeralReport) SetResults(results []policyreportv1alpha2.PolicyReportResult)
func (*EphemeralReport) SetSummary ¶
func (r *EphemeralReport) SetSummary(summary policyreportv1alpha2.PolicyReportSummary)
type EphemeralReportList ¶
type EphemeralReportList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EphemeralReport `json:"items"` }
EphemeralReportList contains a list of EphemeralReport
func (*EphemeralReportList) DeepCopy ¶
func (in *EphemeralReportList) DeepCopy() *EphemeralReportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralReportList.
func (*EphemeralReportList) DeepCopyInto ¶
func (in *EphemeralReportList) DeepCopyInto(out *EphemeralReportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EphemeralReportList) DeepCopyObject ¶
func (in *EphemeralReportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EphemeralReportSpec ¶
type EphemeralReportSpec 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 (*EphemeralReportSpec) DeepCopy ¶
func (in *EphemeralReportSpec) DeepCopy() *EphemeralReportSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralReportSpec.
func (*EphemeralReportSpec) DeepCopyInto ¶
func (in *EphemeralReportSpec) DeepCopyInto(out *EphemeralReportSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.