Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the headscale v1alpha1 API group +kubebuilder:object:generate=true +groupName=headscale.barpilot.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "headscale.barpilot.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 Namespace ¶
type Namespace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NamespaceSpec `json:"spec,omitempty"` Status NamespaceStatus `json:"status,omitempty"` }
Namespace is the Schema for the namespaces API
func (*Namespace) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace.
func (*Namespace) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Namespace) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespaceList ¶
type NamespaceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Namespace `json:"items"` }
NamespaceList contains a list of Namespace
func (*NamespaceList) DeepCopy ¶
func (in *NamespaceList) DeepCopy() *NamespaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList.
func (*NamespaceList) DeepCopyInto ¶
func (in *NamespaceList) DeepCopyInto(out *NamespaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespaceList) DeepCopyObject ¶
func (in *NamespaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespaceSpec ¶
type NamespaceSpec struct {
Server string `json:"server"`
}
NamespaceSpec defines the desired state of Namespace
func (*NamespaceSpec) DeepCopy ¶
func (in *NamespaceSpec) DeepCopy() *NamespaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec.
func (*NamespaceSpec) DeepCopyInto ¶
func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespaceStatus ¶
type NamespaceStatus struct {
Created bool `json:"created"`
}
NamespaceStatus defines the observed state of Namespace
func (*NamespaceStatus) DeepCopy ¶
func (in *NamespaceStatus) DeepCopy() *NamespaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus.
func (*NamespaceStatus) DeepCopyInto ¶
func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PreAuthKey ¶
type PreAuthKey struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PreAuthKeySpec `json:"spec,omitempty"` Status PreAuthKeyStatus `json:"status,omitempty"` }
PreAuthKey is the Schema for the preauthkeys API
func (*PreAuthKey) DeepCopy ¶
func (in *PreAuthKey) DeepCopy() *PreAuthKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreAuthKey.
func (*PreAuthKey) DeepCopyInto ¶
func (in *PreAuthKey) DeepCopyInto(out *PreAuthKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PreAuthKey) DeepCopyObject ¶
func (in *PreAuthKey) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PreAuthKeyList ¶
type PreAuthKeyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PreAuthKey `json:"items"` }
PreAuthKeyList contains a list of PreAuthKey
func (*PreAuthKeyList) DeepCopy ¶
func (in *PreAuthKeyList) DeepCopy() *PreAuthKeyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreAuthKeyList.
func (*PreAuthKeyList) DeepCopyInto ¶
func (in *PreAuthKeyList) DeepCopyInto(out *PreAuthKeyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PreAuthKeyList) DeepCopyObject ¶
func (in *PreAuthKeyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PreAuthKeySpec ¶
type PreAuthKeySpec struct { Namespace string `json:"namespace"` Reusable bool `json:"reusable"` Ephemeral bool `json:"ephemeral"` Duration string `json:"duration"` }
PreAuthKeySpec defines the desired state of PreAuthKey
func (*PreAuthKeySpec) DeepCopy ¶
func (in *PreAuthKeySpec) DeepCopy() *PreAuthKeySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreAuthKeySpec.
func (*PreAuthKeySpec) DeepCopyInto ¶
func (in *PreAuthKeySpec) DeepCopyInto(out *PreAuthKeySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PreAuthKeyStatus ¶
type PreAuthKeyStatus struct { Used bool `json:"used"` ID string `json:"id"` Expiration string `json:"expiration"` CreatedAt string `json:"createdAt"` Key string `json:"key"` }
PreAuthKeyStatus defines the observed state of PreAuthKey
func (*PreAuthKeyStatus) DeepCopy ¶
func (in *PreAuthKeyStatus) DeepCopy() *PreAuthKeyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreAuthKeyStatus.
func (*PreAuthKeyStatus) DeepCopyInto ¶
func (in *PreAuthKeyStatus) DeepCopyInto(out *PreAuthKeyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Server ¶
type Server struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServerSpec `json:"spec,omitempty"` Status ServerStatus `json:"status,omitempty"` }
Server is the Schema for the servers API
func (*Server) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.
func (*Server) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Server) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServerList ¶
type ServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Server `json:"items"` }
ServerList contains a list of Server
func (*ServerList) DeepCopy ¶
func (in *ServerList) DeepCopy() *ServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerList.
func (*ServerList) DeepCopyInto ¶
func (in *ServerList) DeepCopyInto(out *ServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServerList) DeepCopyObject ¶
func (in *ServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServerSpec ¶
type ServerSpec struct { //+optional Version string `json:"version"` //+optional //+kubebuilder:default=false Debug bool `json:"debug"` //+optional Issuer string `json:"issuer,omitempty"` //+optional GrpcServiceName string `json:"grpcServiceName,omitempty"` // +kubebuilder:validation:Schemaless // +kubebuilder:pruning:PreserveUnknownFields Config headscale.Config `json:"config,omitempty"` // +kubebuilder:validation:Format=hostname // +kubebuilder:validation:Required Host string `json:"host,omitempty"` // +optional // +kubebuilder:validation:Schemaless // +kubebuilder:pruning:PreserveUnknownFields Ingress *networkingv1.Ingress `json:"ingress,omitempty"` }
ServerSpec defines the desired state of Server
func (*ServerSpec) DeepCopy ¶
func (in *ServerSpec) DeepCopy() *ServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSpec.
func (*ServerSpec) DeepCopyInto ¶
func (in *ServerSpec) DeepCopyInto(out *ServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerStatus ¶
type ServerStatus struct { GrpcAddress string `json:"grpcAddress,omitempty"` DeploymentName string `json:"deploymentName,omitempty"` }
ServerStatus defines the observed state of Server
func (*ServerStatus) DeepCopy ¶
func (in *ServerStatus) DeepCopy() *ServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerStatus.
func (*ServerStatus) DeepCopyInto ¶
func (in *ServerStatus) DeepCopyInto(out *ServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.