Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the v1 API group. +kubebuilder:object:generate=true +groupName=netbird.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "netbird.io", Version: "v1"} // 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 NBSetupKey ¶
type NBSetupKey struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec NBSetupKeySpec `json:"spec,omitempty"`
Status NBSetupKeyStatus `json:"status,omitempty"`
}
NBSetupKey is the Schema for the nbsetupkeys API.
func (*NBSetupKey) DeepCopy ¶
func (in *NBSetupKey) DeepCopy() *NBSetupKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NBSetupKey.
func (*NBSetupKey) DeepCopyInto ¶
func (in *NBSetupKey) DeepCopyInto(out *NBSetupKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NBSetupKey) DeepCopyObject ¶
func (in *NBSetupKey) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NBSetupKeyCondition ¶
type NBSetupKeyCondition struct {
// Type is the type of the condition.
Type NBSetupKeyConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=NBSetupKeyConditionType"`
// Status is the status of the condition.
// Can be True, False, Unknown.
Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"`
// Last time we probed the condition.
// +optional
LastProbeTime metav1.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"`
// Last time the condition transitioned from one status to another.
// +optional
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`
// Unique, one-word, CamelCase reason for the condition's last transition.
// +optional
Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
// Human-readable message indicating details about last transition.
// +optional
Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}
NBSetupKeyCondition defines a condition in NBSetupKey status.
func (*NBSetupKeyCondition) DeepCopy ¶
func (in *NBSetupKeyCondition) DeepCopy() *NBSetupKeyCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NBSetupKeyCondition.
func (*NBSetupKeyCondition) DeepCopyInto ¶
func (in *NBSetupKeyCondition) DeepCopyInto(out *NBSetupKeyCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NBSetupKeyConditionType ¶
type NBSetupKeyConditionType string
NBSetupKeyConditionType is a valid value for PodCondition.Type
const ( // Ready indicates whether NBSetupKey is valid and ready to use. Ready NBSetupKeyConditionType = "Ready" )
These are built-in conditions of pod. An application may use a custom condition not listed here.
type NBSetupKeyList ¶
type NBSetupKeyList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []NBSetupKey `json:"items"`
}
NBSetupKeyList contains a list of NBSetupKey.
func (*NBSetupKeyList) DeepCopy ¶
func (in *NBSetupKeyList) DeepCopy() *NBSetupKeyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NBSetupKeyList.
func (*NBSetupKeyList) DeepCopyInto ¶
func (in *NBSetupKeyList) DeepCopyInto(out *NBSetupKeyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NBSetupKeyList) DeepCopyObject ¶
func (in *NBSetupKeyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NBSetupKeySpec ¶
type NBSetupKeySpec struct {
// SecretKeyRef is a reference to the secret containing the setup key
SecretKeyRef corev1.SecretKeySelector `json:"secretKeyRef"`
// ManagementURL optional, override operator management URL
ManagementURL string `json:"managementURL,omitempty"`
}
NBSetupKeySpec defines the desired state of NBSetupKey.
func (*NBSetupKeySpec) DeepCopy ¶
func (in *NBSetupKeySpec) DeepCopy() *NBSetupKeySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NBSetupKeySpec.
func (*NBSetupKeySpec) DeepCopyInto ¶
func (in *NBSetupKeySpec) DeepCopyInto(out *NBSetupKeySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NBSetupKeyStatus ¶
type NBSetupKeyStatus struct {
Conditions []NBSetupKeyCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}
NBSetupKeyStatus defines the observed state of NBSetupKey.
func (*NBSetupKeyStatus) DeepCopy ¶
func (in *NBSetupKeyStatus) DeepCopy() *NBSetupKeyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NBSetupKeyStatus.
func (*NBSetupKeyStatus) DeepCopyInto ¶
func (in *NBSetupKeyStatus) DeepCopyInto(out *NBSetupKeyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.