v1

package
v0.0.0-...-0581d38 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the report v1 API group +kubebuilder:object:generate=true +groupName=report.arpan.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "report.arpan.io", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Audit

type Audit struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AuditSpec   `json:"spec,omitempty"`
	Status AuditStatus `json:"status,omitempty"`
}

Audit is the Schema for the audits API

func (*Audit) DeepCopy

func (in *Audit) DeepCopy() *Audit

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

func (*Audit) DeepCopyInto

func (in *Audit) DeepCopyInto(out *Audit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Audit) DeepCopyObject

func (in *Audit) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AuditList

type AuditList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Audit `json:"items"`
}

AuditList contains a list of Audit

func (*AuditList) DeepCopy

func (in *AuditList) DeepCopy() *AuditList

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

func (*AuditList) DeepCopyInto

func (in *AuditList) DeepCopyInto(out *AuditList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AuditList) DeepCopyObject

func (in *AuditList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AuditSpec

type AuditSpec struct {
	// +optional
	RetentionsPeriod    *int                  `json:"retentionsPeriod,omitempty"`
	Selector            map[string]string     `json:"selector"`
	ReportingComponents []reportingComponents `json:"reportingComponents"`
	Chunks              *int32                `json:"chunks,omitempty"`
	// +optional
	WebhookUrl *string `json:"webhookUrl,omitempty"`
}

AuditSpec defines the desired state of Audit

func (*AuditSpec) DeepCopy

func (in *AuditSpec) DeepCopy() *AuditSpec

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

func (*AuditSpec) DeepCopyInto

func (in *AuditSpec) DeepCopyInto(out *AuditSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AuditStatus

type AuditStatus struct {
}

AuditStatus defines the observed state of Audit

func (*AuditStatus) DeepCopy

func (in *AuditStatus) DeepCopy() *AuditStatus

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

func (*AuditStatus) DeepCopyInto

func (in *AuditStatus) DeepCopyInto(out *AuditStatus)

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