Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the xca v1alpha1 API group +kubebuilder:object:generate=true +groupName=xca.kb.cx
Index ¶
- Variables
- type Xtls
- func (in *Xtls) DeepCopy() *Xtls
- func (in *Xtls) DeepCopyInto(out *Xtls)
- func (in *Xtls) DeepCopyObject() runtime.Object
- func (r *Xtls) Default()
- func (r *Xtls) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Xtls) ValidateCreate() error
- func (r *Xtls) ValidateDelete() error
- func (r *Xtls) ValidateUpdate(old runtime.Object) error
- type XtlsList
- type XtlsSpec
- type XtlsStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "xca.kb.cx", 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 Xtls ¶
type Xtls struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec XtlsSpec `json:"spec,omitempty"` Status XtlsStatus `json:"status,omitempty"` }
Xtls is the Schema for the xtls API
func (*Xtls) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Xtls.
func (*Xtls) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Xtls) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Xtls) Default ¶
func (r *Xtls) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Xtls) SetupWebhookWithManager ¶
func (*Xtls) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Xtls) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type XtlsList ¶
type XtlsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Xtls `json:"items"` }
XtlsList contains a list of Xtls
func (*XtlsList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XtlsList.
func (*XtlsList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*XtlsList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type XtlsSpec ¶
type XtlsSpec struct { // Foo is an example field of Xtls. Edit xtls_types.go to remove/update // Foo string `json:"foo,omitempty"` CN string `json:"cn"` Domains []string `json:"domains"` IPs []string `json:"ips,omitempty"` // +kubebuilder:validation:Max=10000 // +kubebuilder:validation:Min=1 Days int64 `json:"days,omitempty"` KeyBits int64 `json:"keyBits,omitempty"` }
XtlsSpec defines the desired state of Xtls
func (*XtlsSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XtlsSpec.
func (*XtlsSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type XtlsStatus ¶
type XtlsStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Active bool `json:"active,omitempty"` LastRequestTime *metav1.Time `json:"lastRequestTime,omitempty"` LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"` }
XtlsStatus defines the observed state of Xtls
func (*XtlsStatus) DeepCopy ¶
func (in *XtlsStatus) DeepCopy() *XtlsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XtlsStatus.
func (*XtlsStatus) DeepCopyInto ¶
func (in *XtlsStatus) DeepCopyInto(out *XtlsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.