v1alpha1

package
v0.0.0-...-1d0ce81 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the xca v1alpha1 API group +kubebuilder:object:generate=true +groupName=xca.kb.cx

Index

Constants

This section is empty.

Variables

View Source
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

func (in *Xtls) DeepCopy() *Xtls

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

func (*Xtls) DeepCopyInto

func (in *Xtls) DeepCopyInto(out *Xtls)

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

func (*Xtls) DeepCopyObject

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

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 (r *Xtls) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Xtls) ValidateCreate

func (r *Xtls) ValidateCreate() error

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

func (*Xtls) ValidateDelete

func (r *Xtls) ValidateDelete() error

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

func (*Xtls) ValidateUpdate

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

ValidateUpdate 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

func (in *XtlsList) DeepCopy() *XtlsList

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

func (*XtlsList) DeepCopyInto

func (in *XtlsList) DeepCopyInto(out *XtlsList)

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

func (*XtlsList) DeepCopyObject

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

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

func (in *XtlsSpec) DeepCopy() *XtlsSpec

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

func (*XtlsSpec) DeepCopyInto

func (in *XtlsSpec) DeepCopyInto(out *XtlsSpec)

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.

Jump to

Keyboard shortcuts

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