Documentation ¶
Overview ¶
Package v2 contains API Schema definitions for the webhook v2 API group +kubebuilder:object:generate=true +groupName=webhook.operators.coreos.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "webhook.operators.coreos.io", Version: "v2"} // 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 Conversion ¶
type Conversion struct { // Valid must be set to true or the validation webhook will reject the resource. Valid bool `json:"valid"` // Mutate is a field that will be set to true by the mutating webhook. // +optional Mutate bool `json:"mutate,omitempty"` }
func (*Conversion) DeepCopy ¶
func (in *Conversion) DeepCopy() *Conversion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conversion.
func (*Conversion) DeepCopyInto ¶
func (in *Conversion) DeepCopyInto(out *Conversion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookTest ¶
type WebhookTest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WebhookTestSpec `json:"spec,omitempty"` Status WebhookTestStatus `json:"status,omitempty"` }
WebhookTest is the Schema for the webhooktests API
func (*WebhookTest) ConvertFrom ¶
func (dst *WebhookTest) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the Hub version (v1) to this version.
func (*WebhookTest) ConvertTo ¶
func (src *WebhookTest) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this ConversionTest to the Hub version (v1).
func (*WebhookTest) DeepCopy ¶
func (in *WebhookTest) DeepCopy() *WebhookTest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookTest.
func (*WebhookTest) DeepCopyInto ¶
func (in *WebhookTest) DeepCopyInto(out *WebhookTest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebhookTest) DeepCopyObject ¶
func (in *WebhookTest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WebhookTestList ¶
type WebhookTestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []WebhookTest `json:"items"` }
WebhookTestList contains a list of WebhookTest
func (*WebhookTestList) DeepCopy ¶
func (in *WebhookTestList) DeepCopy() *WebhookTestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookTestList.
func (*WebhookTestList) DeepCopyInto ¶
func (in *WebhookTestList) DeepCopyInto(out *WebhookTestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebhookTestList) DeepCopyObject ¶
func (in *WebhookTestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WebhookTestSpec ¶
type WebhookTestSpec struct { // Conversion is an example field of WebhookTest. Edit WebhookTest_types.go to remove/update Conversion Conversion `json:"conversion"` }
WebhookTestSpec defines the desired state of WebhookTest
func (*WebhookTestSpec) DeepCopy ¶
func (in *WebhookTestSpec) DeepCopy() *WebhookTestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookTestSpec.
func (*WebhookTestSpec) DeepCopyInto ¶
func (in *WebhookTestSpec) DeepCopyInto(out *WebhookTestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookTestStatus ¶
type WebhookTestStatus struct { }
WebhookTestStatus defines the observed state of WebhookTest
func (*WebhookTestStatus) DeepCopy ¶
func (in *WebhookTestStatus) DeepCopy() *WebhookTestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookTestStatus.
func (*WebhookTestStatus) DeepCopyInto ¶
func (in *WebhookTestStatus) DeepCopyInto(out *WebhookTestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.