openpolicyagent

package
v2.0.0-...-656b533 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRD

type CRD struct {
	Spec CRDSpec `json:"spec,omitempty"`
}

func (*CRD) DeepCopy

func (in *CRD) DeepCopy() *CRD

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

func (*CRD) DeepCopyInto

func (in *CRD) DeepCopyInto(out *CRD)

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

type CRDSpec

type CRDSpec struct {
	Names Names `json:"names,omitempty"`
	// +kubebuilder:default={legacySchema: false}
	Validation *Validation `json:"validation,omitempty"`
}

func (*CRDSpec) DeepCopy

func (in *CRDSpec) DeepCopy() *CRDSpec

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

func (*CRDSpec) DeepCopyInto

func (in *CRDSpec) DeepCopyInto(out *CRDSpec)

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

type Names

type Names struct {
	Kind       string   `json:"kind,omitempty"`
	ShortNames []string `json:"shortNames,omitempty"`
}

func (*Names) DeepCopy

func (in *Names) DeepCopy() *Names

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

func (*Names) DeepCopyInto

func (in *Names) DeepCopyInto(out *Names)

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

type Target

type Target struct {
	Target string   `json:"target,omitempty"`
	Rego   string   `json:"rego,omitempty"`
	Libs   []string `json:"libs,omitempty"`
}

func (*Target) DeepCopy

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto

func (in *Target) DeepCopyInto(out *Target)

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

type Validation

type Validation struct {
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:validation:Type=object
	// +kubebuilder:pruning:PreserveUnknownFields
	OpenAPIV3Schema *apiextensionsv1.JSONSchemaProps `json:"openAPIV3Schema,omitempty"`
	// +kubebuilder:default=false
	LegacySchema *bool `json:"legacySchema,omitempty"` // *bool allows for "unset" state which we need to apply appropriate defaults
}

func (*Validation) DeepCopy

func (in *Validation) DeepCopy() *Validation

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

func (*Validation) DeepCopyInto

func (in *Validation) DeepCopyInto(out *Validation)

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