Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=zaproxy.org
Index ¶
- Variables
- type Automation
- type ZAProxy
- func (in *ZAProxy) DeepCopy() *ZAProxy
- func (in *ZAProxy) DeepCopyInto(out *ZAProxy)
- func (in *ZAProxy) DeepCopyObject() runtime.Object
- func (r *ZAProxy) Default()
- func (r *ZAProxy) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ZAProxy) ValidateCreate() error
- func (r *ZAProxy) ValidateDelete() error
- func (r *ZAProxy) ValidateUpdate(old runtime.Object) error
- type ZAProxyList
- type ZAProxySpec
- type ZAProxyStatus
Constants ¶
This section is empty.
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZAProxy.
func (*ZAProxy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ZAProxy) DeepCopyObject ¶
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 (*ZAProxy) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ZAProxy) ValidateDelete ¶
ValidateDelete 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.