v1alpha1

package
v0.0.0-...-c68ef92 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=zaproxy.org

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "zaproxy.org", Version: "v1alpha1"}

	// 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 Automation

type Automation struct {
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Plan runtime.RawExtension `json:"plan,omitempty"`
}

func (*Automation) DeepCopy

func (in *Automation) DeepCopy() *Automation

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

func (*Automation) DeepCopyInto

func (in *Automation) DeepCopyInto(out *Automation)

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

type ZAProxy

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

	Spec   ZAProxySpec   `json:"spec,omitempty"`
	Status ZAProxyStatus `json:"status,omitempty"`
}

ZAProxy is the Schema for the zaproxies API

func (*ZAProxy) DeepCopy

func (in *ZAProxy) DeepCopy() *ZAProxy

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

func (*ZAProxy) DeepCopyInto

func (in *ZAProxy) DeepCopyInto(out *ZAProxy)

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

func (*ZAProxy) DeepCopyObject

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

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

func (*ZAProxy) Default

func (r *ZAProxy) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*ZAProxy) SetupWebhookWithManager

func (r *ZAProxy) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ZAProxy) ValidateCreate

func (r *ZAProxy) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ZAProxy) ValidateDelete

func (r *ZAProxy) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ZAProxy) ValidateUpdate

func (r *ZAProxy) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ZAProxyList

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

ZAProxyList contains a list of ZAProxy +kubebuilder:subresource:status

func (*ZAProxyList) DeepCopy

func (in *ZAProxyList) DeepCopy() *ZAProxyList

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

func (*ZAProxyList) DeepCopyInto

func (in *ZAProxyList) DeepCopyInto(out *ZAProxyList)

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

func (*ZAProxyList) DeepCopyObject

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

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

type ZAProxySpec

type ZAProxySpec struct {

	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Automation Automation `json:"automation,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:type=spec
	StorageClassName string `json:"storageClassName,omitempty"`
}

ZAProxySpec defines the desired state of ZAProxy

func (*ZAProxySpec) DeepCopy

func (in *ZAProxySpec) DeepCopy() *ZAProxySpec

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

func (*ZAProxySpec) DeepCopyInto

func (in *ZAProxySpec) DeepCopyInto(out *ZAProxySpec)

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

type ZAProxyStatus

type ZAProxyStatus struct {

	// +operator-sdk:csv:customresourcedefinitions:type=status
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

ZAProxyStatus defines the observed state of ZAProxy

func (*ZAProxyStatus) DeepCopy

func (in *ZAProxyStatus) DeepCopy() *ZAProxyStatus

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

func (*ZAProxyStatus) DeepCopyInto

func (in *ZAProxyStatus) DeepCopyInto(out *ZAProxyStatus)

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

func (*ZAProxyStatus) HasNoStatus

func (r *ZAProxyStatus) HasNoStatus() bool

HasNoStatus checks if the Conditions slice in the ZAProxyStatus struct is nil or has zero length.

Jump to

Keyboard shortcuts

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