Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the zaproxy v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=zaproxy.owasp.org
Package v1alpha1 contains API Schema definitions for the zaproxy v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=zaproxy.owasp.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "zaproxy.owasp.org", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
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 +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=zaproxies,scope=Namespaced
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.
type ZaproxyList ¶
type ZaproxyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Zaproxy `json:"items"` }
ZaproxyList contains a list of Zaproxy
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 { AttackType string `json:"attackType"` TargetNamespace string `json:"tragetNamespace"` TargetIngress string `json:"tragetIngress"` }
ZaproxySpec defines the desired state of Zaproxy +k8s:openapi-gen=true
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 {
AttackStatus string `json:"attackStatus"`
}
ZaproxyStatus defines the observed state of Zaproxy +k8s:openapi-gen=true
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.