v1alpha2

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

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

View Source
const GroupName = "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: "v1alpha2"}

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

View Source
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

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 AdmissionReport added in v1.8.0

type AdmissionReport kyvernov2.AdmissionReport

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 (*AdmissionReport) SetResults added in v1.8.0

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

func (*AdmissionReport) SetSummary added in v1.8.0

type AdmissionReportList added in v1.8.0

type AdmissionReportList kyvernov2.AdmissionReportList

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 BackgroundScanReport added in v1.8.0

type BackgroundScanReport kyvernov2.BackgroundScanReport

BackgroundScanReport is the Schema for the BackgroundScanReports API

func (*BackgroundScanReport) DeepCopy added in v1.8.0

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 (*BackgroundScanReport) SetResults added in v1.8.0

func (*BackgroundScanReport) SetSummary added in v1.8.0

type BackgroundScanReportList added in v1.8.0

type BackgroundScanReportList kyvernov2.BackgroundScanReportList

BackgroundScanReportList contains a list of BackgroundScanReport

func (*BackgroundScanReportList) DeepCopy added in v1.8.0

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 ClusterAdmissionReport added in v1.8.0

type ClusterAdmissionReport kyvernov2.ClusterAdmissionReport

ClusterAdmissionReport is the Schema for the ClusterAdmissionReports API

func (*ClusterAdmissionReport) DeepCopy added in v1.8.0

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 (*ClusterAdmissionReport) SetResults added in v1.8.0

func (*ClusterAdmissionReport) SetSummary added in v1.8.0

type ClusterAdmissionReportList added in v1.8.0

type ClusterAdmissionReportList kyvernov2.ClusterAdmissionReportList

ClusterAdmissionReportList contains a list of ClusterAdmissionReport

func (*ClusterAdmissionReportList) DeepCopy added in v1.8.0

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

func (*ClusterAdmissionReportList) DeepCopyInto added in v1.8.0

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 kyvernov2.ClusterBackgroundScanReport

ClusterBackgroundScanReport is the Schema for the ClusterBackgroundScanReports API

func (*ClusterBackgroundScanReport) DeepCopy added in v1.8.0

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

func (*ClusterBackgroundScanReport) DeepCopyInto added in v1.8.0

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 (*ClusterBackgroundScanReport) SetResults added in v1.8.0

func (*ClusterBackgroundScanReport) SetSummary added in v1.8.0

type ClusterBackgroundScanReportList added in v1.8.0

type ClusterBackgroundScanReportList kyvernov2.ClusterBackgroundScanReportList

ClusterBackgroundScanReportList contains a list of ClusterBackgroundScanReport

func (*ClusterBackgroundScanReportList) DeepCopy added in v1.8.0

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

func (*ClusterBackgroundScanReportList) DeepCopyInto added in v1.8.0

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

Jump to

Keyboard shortcuts

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