v1

package
v1.12.2-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package +kubebuilder:object:generate=true +groupName=reports.kyverno.io

Index

Constants

View Source
const GroupName = "reports.kyverno.io"

GroupName specifies the group name used to register the objects.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	// Depreciated: use Install instead
	AddToScheme = localSchemeBuilder.AddToScheme
	Install     = localSchemeBuilder.AddToScheme
)
View Source
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1"}

GroupVersion specifies the group and the version used to register the objects.

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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

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 (*ClusterEphemeralReport) SetResults

func (*ClusterEphemeralReport) SetSummary

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEphemeralReportList.

func (*ClusterEphemeralReportList) DeepCopyInto

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 (*EphemeralReport) SetResults

func (r *EphemeralReport) SetResults(results []policyreportv1alpha2.PolicyReportResult)

func (*EphemeralReport) SetSummary

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL