Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the frp v1alpha1 API group +kubebuilder:object:generate=true +groupName=frp.zufardhiyaulhaq.com
Index ¶
- Variables
- type Client
- type ClientList
- type ClientSpec
- type ClientSpec_Server
- type ClientSpec_Server_Authentication
- type ClientSpec_Server_Authentication_Token
- type ClientStatus
- type Secret
- type Upstream
- type UpstreamList
- type UpstreamSpec
- type UpstreamSpec_TCP
- type UpstreamSpec_TCP_HealthCheck
- type UpstreamSpec_TCP_Server
- type UpstreamSpec_UDP
- type UpstreamSpec_UDP_Server
- type UpstreamStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "frp.zufardhiyaulhaq.com", 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 Client ¶
type Client struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClientSpec `json:"spec,omitempty"` Status ClientStatus `json:"status,omitempty"` }
Client is the Schema for the clients API
func (*Client) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Client.
func (*Client) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Client) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClientList ¶
type ClientList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Client `json:"items"` }
ClientList contains a list of Client
func (*ClientList) DeepCopy ¶
func (in *ClientList) DeepCopy() *ClientList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientList.
func (*ClientList) DeepCopyInto ¶
func (in *ClientList) DeepCopyInto(out *ClientList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClientList) DeepCopyObject ¶
func (in *ClientList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClientSpec ¶
type ClientSpec struct {
Server ClientSpec_Server `json:"server"`
}
ClientSpec defines the desired state of Client
func (*ClientSpec) DeepCopy ¶
func (in *ClientSpec) DeepCopy() *ClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSpec.
func (*ClientSpec) DeepCopyInto ¶
func (in *ClientSpec) DeepCopyInto(out *ClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientSpec_Server ¶
type ClientSpec_Server struct { Host string `json:"host"` Port int `json:"port"` Authentication ClientSpec_Server_Authentication `json:"authentication"` }
func (*ClientSpec_Server) DeepCopy ¶
func (in *ClientSpec_Server) DeepCopy() *ClientSpec_Server
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSpec_Server.
func (*ClientSpec_Server) DeepCopyInto ¶
func (in *ClientSpec_Server) DeepCopyInto(out *ClientSpec_Server)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientSpec_Server_Authentication ¶
type ClientSpec_Server_Authentication struct {
Token *ClientSpec_Server_Authentication_Token `json:"token"`
}
func (*ClientSpec_Server_Authentication) DeepCopy ¶
func (in *ClientSpec_Server_Authentication) DeepCopy() *ClientSpec_Server_Authentication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSpec_Server_Authentication.
func (*ClientSpec_Server_Authentication) DeepCopyInto ¶
func (in *ClientSpec_Server_Authentication) DeepCopyInto(out *ClientSpec_Server_Authentication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientSpec_Server_Authentication_Token ¶
type ClientSpec_Server_Authentication_Token struct {
Secret Secret `json:"secret"`
}
func (*ClientSpec_Server_Authentication_Token) DeepCopy ¶
func (in *ClientSpec_Server_Authentication_Token) DeepCopy() *ClientSpec_Server_Authentication_Token
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSpec_Server_Authentication_Token.
func (*ClientSpec_Server_Authentication_Token) DeepCopyInto ¶
func (in *ClientSpec_Server_Authentication_Token) DeepCopyInto(out *ClientSpec_Server_Authentication_Token)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientStatus ¶
type ClientStatus struct { }
ClientStatus defines the observed state of Client
func (*ClientStatus) DeepCopy ¶
func (in *ClientStatus) DeepCopy() *ClientStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientStatus.
func (*ClientStatus) DeepCopyInto ¶
func (in *ClientStatus) DeepCopyInto(out *ClientStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Secret ¶
func (*Secret) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
func (*Secret) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Upstream ¶
type Upstream struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UpstreamSpec `json:"spec,omitempty"` Status UpstreamStatus `json:"status,omitempty"` }
Upstream is the Schema for the upstreams API
func (*Upstream) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Upstream.
func (*Upstream) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Upstream) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpstreamList ¶
type UpstreamList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Upstream `json:"items"` }
UpstreamList contains a list of Upstream
func (*UpstreamList) DeepCopy ¶
func (in *UpstreamList) DeepCopy() *UpstreamList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamList.
func (*UpstreamList) DeepCopyInto ¶
func (in *UpstreamList) DeepCopyInto(out *UpstreamList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UpstreamList) DeepCopyObject ¶
func (in *UpstreamList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpstreamSpec ¶
type UpstreamSpec struct { Client string `json:"client"` // +optional TCP *UpstreamSpec_TCP `json:"tcp"` // +optional UDP *UpstreamSpec_UDP `json:"udp"` }
UpstreamSpec defines the desired state of Upstream
func (*UpstreamSpec) DeepCopy ¶
func (in *UpstreamSpec) DeepCopy() *UpstreamSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamSpec.
func (*UpstreamSpec) DeepCopyInto ¶
func (in *UpstreamSpec) DeepCopyInto(out *UpstreamSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpstreamSpec_TCP ¶
type UpstreamSpec_TCP struct { Host string `json:"host"` Port int `json:"port"` Server UpstreamSpec_TCP_Server `json:"server"` // +kubebuilder:validation:Enum=v1;v2 // +optional ProxyProtocol *string `json:"proxyProtocol"` // +optional HealthCheck *UpstreamSpec_TCP_HealthCheck `json:"healthCheck"` }
func (*UpstreamSpec_TCP) DeepCopy ¶
func (in *UpstreamSpec_TCP) DeepCopy() *UpstreamSpec_TCP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamSpec_TCP.
func (*UpstreamSpec_TCP) DeepCopyInto ¶
func (in *UpstreamSpec_TCP) DeepCopyInto(out *UpstreamSpec_TCP)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpstreamSpec_TCP_HealthCheck ¶ added in v0.3.0
type UpstreamSpec_TCP_HealthCheck struct { TimeoutSeconds int `json:"timeoutSeconds"` MaxFailed int `json:"maxFailed"` IntervalSeconds int `json:"intervalSeconds"` }
func (*UpstreamSpec_TCP_HealthCheck) DeepCopy ¶ added in v0.3.0
func (in *UpstreamSpec_TCP_HealthCheck) DeepCopy() *UpstreamSpec_TCP_HealthCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamSpec_TCP_HealthCheck.
func (*UpstreamSpec_TCP_HealthCheck) DeepCopyInto ¶ added in v0.3.0
func (in *UpstreamSpec_TCP_HealthCheck) DeepCopyInto(out *UpstreamSpec_TCP_HealthCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpstreamSpec_TCP_Server ¶
type UpstreamSpec_TCP_Server struct {
Port int `json:"port"`
}
func (*UpstreamSpec_TCP_Server) DeepCopy ¶
func (in *UpstreamSpec_TCP_Server) DeepCopy() *UpstreamSpec_TCP_Server
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamSpec_TCP_Server.
func (*UpstreamSpec_TCP_Server) DeepCopyInto ¶
func (in *UpstreamSpec_TCP_Server) DeepCopyInto(out *UpstreamSpec_TCP_Server)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpstreamSpec_UDP ¶ added in v0.3.0
type UpstreamSpec_UDP struct { Host string `json:"host"` Port int `json:"port"` Server UpstreamSpec_UDP_Server `json:"server"` }
func (*UpstreamSpec_UDP) DeepCopy ¶ added in v0.3.0
func (in *UpstreamSpec_UDP) DeepCopy() *UpstreamSpec_UDP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamSpec_UDP.
func (*UpstreamSpec_UDP) DeepCopyInto ¶ added in v0.3.0
func (in *UpstreamSpec_UDP) DeepCopyInto(out *UpstreamSpec_UDP)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpstreamSpec_UDP_Server ¶ added in v0.3.0
type UpstreamSpec_UDP_Server struct {
Port int `json:"port"`
}
func (*UpstreamSpec_UDP_Server) DeepCopy ¶ added in v0.3.0
func (in *UpstreamSpec_UDP_Server) DeepCopy() *UpstreamSpec_UDP_Server
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamSpec_UDP_Server.
func (*UpstreamSpec_UDP_Server) DeepCopyInto ¶ added in v0.3.0
func (in *UpstreamSpec_UDP_Server) DeepCopyInto(out *UpstreamSpec_UDP_Server)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpstreamStatus ¶
type UpstreamStatus struct { }
UpstreamStatus defines the observed state of Upstream
func (*UpstreamStatus) DeepCopy ¶
func (in *UpstreamStatus) DeepCopy() *UpstreamStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamStatus.
func (*UpstreamStatus) DeepCopyInto ¶
func (in *UpstreamStatus) DeepCopyInto(out *UpstreamStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.