Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the pia v1alpha1 API group. +kubebuilder:object:generate=true +groupName=pia.thecluster.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "pia.thecluster.io", 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 WireguardClientConfigValue ¶
type WireguardClientConfigValue struct {
Value string `json:"value,omitempty"`
ConfigMapKeyRef *corev1.ConfigMapKeySelector `json:"configMapKeyRef,omitempty"`
SecretKeyRef *corev1.SecretKeySelector `json:"secretKeyRef,omitempty"`
}
func (*WireguardClientConfigValue) DeepCopy ¶
func (in *WireguardClientConfigValue) DeepCopy() *WireguardClientConfigValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireguardClientConfigValue.
func (*WireguardClientConfigValue) DeepCopyInto ¶
func (in *WireguardClientConfigValue) DeepCopyInto(out *WireguardClientConfigValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WireguardConfig ¶
type WireguardConfig struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WireguardConfigSpec `json:"spec,omitempty"`
Status WireguardConfigStatus `json:"status,omitempty"`
}
WireguardConfig is the Schema for the wireguardconfigs API.
func (*WireguardConfig) DeepCopy ¶
func (in *WireguardConfig) DeepCopy() *WireguardConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireguardConfig.
func (*WireguardConfig) DeepCopyInto ¶
func (in *WireguardConfig) DeepCopyInto(out *WireguardConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WireguardConfig) DeepCopyObject ¶
func (in *WireguardConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WireguardConfigList ¶
type WireguardConfigList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WireguardConfig `json:"items"`
}
WireguardConfigList contains a list of WireguardConfig.
func (*WireguardConfigList) DeepCopy ¶
func (in *WireguardConfigList) DeepCopy() *WireguardConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireguardConfigList.
func (*WireguardConfigList) DeepCopyInto ¶
func (in *WireguardConfigList) DeepCopyInto(out *WireguardConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WireguardConfigList) DeepCopyObject ¶
func (in *WireguardConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WireguardConfigSpec ¶
type WireguardConfigSpec struct {
Username WireguardClientConfigValue `json:"username"`
Password WireguardClientConfigValue `json:"password"`
}
WireguardConfigSpec defines the desired state of WireguardConfig.
func (*WireguardConfigSpec) DeepCopy ¶
func (in *WireguardConfigSpec) DeepCopy() *WireguardConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireguardConfigSpec.
func (*WireguardConfigSpec) DeepCopyInto ¶
func (in *WireguardConfigSpec) DeepCopyInto(out *WireguardConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WireguardConfigStatus ¶
type WireguardConfigStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}
WireguardConfigStatus defines the observed state of WireguardConfig.
func (*WireguardConfigStatus) DeepCopy ¶
func (in *WireguardConfigStatus) DeepCopy() *WireguardConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WireguardConfigStatus.
func (*WireguardConfigStatus) DeepCopyInto ¶
func (in *WireguardConfigStatus) DeepCopyInto(out *WireguardConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.