Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +kubebuilder:object:generate=true +groupName=app.vproxy.io
Index ¶
- Variables
- type CertKey
- type CertKeyList
- type CertKeySpec
- type CertKeyStatus
- type DnsServer
- type DnsServerList
- type DnsServerSpec
- type DnsServerStatus
- type EndpointsServerConf
- type SecurityGroup
- type SecurityGroupList
- type SecurityGroupSpec
- type SecurityGroupStatus
- type ServerGroup
- type ServerGroupList
- type ServerGroupSpec
- type ServerGroupStatus
- type ServerGroupStatusEachInstance
- type ServerInServerGroup
- type Socks5Server
- type Socks5ServerList
- type Socks5ServerSpec
- type Socks5ServerStatus
- type TcpLb
- type TcpLbList
- type TcpLbSpec
- type TcpLbStatus
- type Upstream
- type UpstreamList
- type UpstreamSpec
- type UpstreamStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "app.vproxy.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 CertKey ¶
type CertKey struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CertKeySpec `json:"spec,omitempty"` Status CertKeyStatus `json:"status,omitempty"` }
CertKey is the Schema for the certkeys API
func (*CertKey) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertKey.
func (*CertKey) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertKey) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CertKeyList ¶
type CertKeyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CertKey `json:"items"` }
CertKeyList contains a list of CertKey
func (*CertKeyList) DeepCopy ¶
func (in *CertKeyList) DeepCopy() *CertKeyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertKeyList.
func (*CertKeyList) DeepCopyInto ¶
func (in *CertKeyList) DeepCopyInto(out *CertKeyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertKeyList) DeepCopyObject ¶
func (in *CertKeyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CertKeySpec ¶
type CertKeySpec struct {
c.CertKeySpec `json:",inline" yaml:",inline"`
}
CertKeySpec defines the desired state of CertKey
func (*CertKeySpec) DeepCopy ¶
func (in *CertKeySpec) DeepCopy() *CertKeySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertKeySpec.
func (*CertKeySpec) DeepCopyInto ¶
func (in *CertKeySpec) DeepCopyInto(out *CertKeySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertKeyStatus ¶
type CertKeyStatus struct {
c.CertKeyStatus `json:",inline" yaml:",inline"`
}
CertKeyStatus defines the observed state of CertKey
func (*CertKeyStatus) DeepCopy ¶
func (in *CertKeyStatus) DeepCopy() *CertKeyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertKeyStatus.
func (*CertKeyStatus) DeepCopyInto ¶
func (in *CertKeyStatus) DeepCopyInto(out *CertKeyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DnsServer ¶
type DnsServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DnsServerSpec `json:"spec,omitempty"` Status DnsServerStatus `json:"status,omitempty"` }
DnsServer is the Schema for the dnsservers API
func (*DnsServer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsServer.
func (*DnsServer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DnsServer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DnsServerList ¶
type DnsServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DnsServer `json:"items"` }
DnsServerList contains a list of DnsServer
func (*DnsServerList) DeepCopy ¶
func (in *DnsServerList) DeepCopy() *DnsServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsServerList.
func (*DnsServerList) DeepCopyInto ¶
func (in *DnsServerList) DeepCopyInto(out *DnsServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DnsServerList) DeepCopyObject ¶
func (in *DnsServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DnsServerSpec ¶
type DnsServerSpec struct {
c.DnsServerSpec `json:",inline" yaml:",inline"`
}
DnsServerSpec defines the desired state of DnsServer
func (*DnsServerSpec) DeepCopy ¶
func (in *DnsServerSpec) DeepCopy() *DnsServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsServerSpec.
func (*DnsServerSpec) DeepCopyInto ¶
func (in *DnsServerSpec) DeepCopyInto(out *DnsServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DnsServerStatus ¶
type DnsServerStatus struct { }
DnsServerStatus defines the observed state of DnsServer
func (*DnsServerStatus) DeepCopy ¶
func (in *DnsServerStatus) DeepCopy() *DnsServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsServerStatus.
func (*DnsServerStatus) DeepCopyInto ¶
func (in *DnsServerStatus) DeepCopyInto(out *DnsServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointsServerConf ¶
type EndpointsServerConf struct { Name string `json:"name" yaml:"name"` Port int `json:"port" yaml:"port"` //+optional Weight *int `json:"weight,omitempty" yaml:"weight,omitempty"` }
func (*EndpointsServerConf) DeepCopy ¶
func (in *EndpointsServerConf) DeepCopy() *EndpointsServerConf
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointsServerConf.
func (*EndpointsServerConf) DeepCopyInto ¶
func (in *EndpointsServerConf) DeepCopyInto(out *EndpointsServerConf)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroup ¶
type SecurityGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SecurityGroupSpec `json:"spec,omitempty"` Status SecurityGroupStatus `json:"status,omitempty"` }
SecurityGroup is the Schema for the securitygroups API
func (*SecurityGroup) DeepCopy ¶
func (in *SecurityGroup) DeepCopy() *SecurityGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup.
func (*SecurityGroup) DeepCopyInto ¶
func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecurityGroup) DeepCopyObject ¶
func (in *SecurityGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecurityGroupList ¶
type SecurityGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecurityGroup `json:"items"` }
SecurityGroupList contains a list of SecurityGroup
func (*SecurityGroupList) DeepCopy ¶
func (in *SecurityGroupList) DeepCopy() *SecurityGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupList.
func (*SecurityGroupList) DeepCopyInto ¶
func (in *SecurityGroupList) DeepCopyInto(out *SecurityGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecurityGroupList) DeepCopyObject ¶
func (in *SecurityGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecurityGroupSpec ¶
type SecurityGroupSpec struct {
c.SecurityGroupSpec `json:",inline" yaml:",inline"`
}
SecurityGroupSpec defines the desired state of SecurityGroup
func (*SecurityGroupSpec) DeepCopy ¶
func (in *SecurityGroupSpec) DeepCopy() *SecurityGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupSpec.
func (*SecurityGroupSpec) DeepCopyInto ¶
func (in *SecurityGroupSpec) DeepCopyInto(out *SecurityGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupStatus ¶
type SecurityGroupStatus struct { }
SecurityGroupStatus defines the observed state of SecurityGroup
func (*SecurityGroupStatus) DeepCopy ¶
func (in *SecurityGroupStatus) DeepCopy() *SecurityGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupStatus.
func (*SecurityGroupStatus) DeepCopyInto ¶
func (in *SecurityGroupStatus) DeepCopyInto(out *SecurityGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerGroup ¶
type ServerGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServerGroupSpec `json:"spec,omitempty"` Status ServerGroupStatus `json:"status,omitempty"` //+optional SyncId int `json:"syncId"` }
ServerGroup is the Schema for the servergroups API
func (*ServerGroup) DeepCopy ¶
func (in *ServerGroup) DeepCopy() *ServerGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerGroup.
func (*ServerGroup) DeepCopyInto ¶
func (in *ServerGroup) DeepCopyInto(out *ServerGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServerGroup) DeepCopyObject ¶
func (in *ServerGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServerGroupList ¶
type ServerGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServerGroup `json:"items"` }
ServerGroupList contains a list of ServerGroup
func (*ServerGroupList) DeepCopy ¶
func (in *ServerGroupList) DeepCopy() *ServerGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerGroupList.
func (*ServerGroupList) DeepCopyInto ¶
func (in *ServerGroupList) DeepCopyInto(out *ServerGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServerGroupList) DeepCopyObject ¶
func (in *ServerGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServerGroupSpec ¶
type ServerGroupSpec struct { c.ServerGroupSelfSpec `json:",inline" yaml:",inline"` Servers ServerInServerGroup `json:"servers" yaml:"servers"` }
ServerGroupSpec defines the desired state of ServerGroup
func (*ServerGroupSpec) DeepCopy ¶
func (in *ServerGroupSpec) DeepCopy() *ServerGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerGroupSpec.
func (*ServerGroupSpec) DeepCopyInto ¶
func (in *ServerGroupSpec) DeepCopyInto(out *ServerGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerGroupStatus ¶
type ServerGroupStatus struct {
Instances []ServerGroupStatusEachInstance `json:"instances" yaml:"instances"`
}
ServerGroupStatus defines the observed state of ServerGroup
func (*ServerGroupStatus) DeepCopy ¶
func (in *ServerGroupStatus) DeepCopy() *ServerGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerGroupStatus.
func (*ServerGroupStatus) DeepCopyInto ¶
func (in *ServerGroupStatus) DeepCopyInto(out *ServerGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerGroupStatusEachInstance ¶
type ServerGroupStatusEachInstance struct { Name string `json:"name" yaml:"name"` LastUpdateTs int64 `json:"lastUpdateTs" yaml:"lastUpdateTs"` c.ServerGroupStatus `json:",inline" yaml:",inline"` }
func (*ServerGroupStatusEachInstance) DeepCopy ¶
func (in *ServerGroupStatusEachInstance) DeepCopy() *ServerGroupStatusEachInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerGroupStatusEachInstance.
func (*ServerGroupStatusEachInstance) DeepCopyInto ¶
func (in *ServerGroupStatusEachInstance) DeepCopyInto(out *ServerGroupStatusEachInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerInServerGroup ¶
type ServerInServerGroup struct {
Endpoints []EndpointsServerConf `json:"endpoints" yaml:"endpoints"`
}
func (*ServerInServerGroup) DeepCopy ¶
func (in *ServerInServerGroup) DeepCopy() *ServerInServerGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerInServerGroup.
func (*ServerInServerGroup) DeepCopyInto ¶
func (in *ServerInServerGroup) DeepCopyInto(out *ServerInServerGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Socks5Server ¶
type Socks5Server struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec Socks5ServerSpec `json:"spec,omitempty"` Status Socks5ServerStatus `json:"status,omitempty"` }
Socks5Server is the Schema for the socks5servers API
func (*Socks5Server) DeepCopy ¶
func (in *Socks5Server) DeepCopy() *Socks5Server
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Socks5Server.
func (*Socks5Server) DeepCopyInto ¶
func (in *Socks5Server) DeepCopyInto(out *Socks5Server)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Socks5Server) DeepCopyObject ¶
func (in *Socks5Server) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Socks5ServerList ¶
type Socks5ServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Socks5Server `json:"items"` }
Socks5ServerList contains a list of Socks5Server
func (*Socks5ServerList) DeepCopy ¶
func (in *Socks5ServerList) DeepCopy() *Socks5ServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Socks5ServerList.
func (*Socks5ServerList) DeepCopyInto ¶
func (in *Socks5ServerList) DeepCopyInto(out *Socks5ServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Socks5ServerList) DeepCopyObject ¶
func (in *Socks5ServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Socks5ServerSpec ¶
type Socks5ServerSpec struct {
c.Socks5ServerSpec `json:",inline" yaml:",inline"`
}
Socks5ServerSpec defines the desired state of Socks5Server
func (*Socks5ServerSpec) DeepCopy ¶
func (in *Socks5ServerSpec) DeepCopy() *Socks5ServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Socks5ServerSpec.
func (*Socks5ServerSpec) DeepCopyInto ¶
func (in *Socks5ServerSpec) DeepCopyInto(out *Socks5ServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Socks5ServerStatus ¶
type Socks5ServerStatus struct { }
Socks5ServerStatus defines the observed state of Socks5Server
func (*Socks5ServerStatus) DeepCopy ¶
func (in *Socks5ServerStatus) DeepCopy() *Socks5ServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Socks5ServerStatus.
func (*Socks5ServerStatus) DeepCopyInto ¶
func (in *Socks5ServerStatus) DeepCopyInto(out *Socks5ServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TcpLb ¶
type TcpLb struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TcpLbSpec `json:"spec,omitempty"` Status TcpLbStatus `json:"status,omitempty"` }
TcpLb is the Schema for the tcplbs API
func (*TcpLb) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TcpLb.
func (*TcpLb) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TcpLb) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TcpLbList ¶
type TcpLbList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TcpLb `json:"items"` }
TcpLbList contains a list of TcpLb
func (*TcpLbList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TcpLbList.
func (*TcpLbList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TcpLbList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TcpLbSpec ¶
TcpLbSpec defines the desired state of TcpLb
func (*TcpLbSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TcpLbSpec.
func (*TcpLbSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TcpLbStatus ¶
type TcpLbStatus struct { }
TcpLbStatus defines the observed state of TcpLb
func (*TcpLbStatus) DeepCopy ¶
func (in *TcpLbStatus) DeepCopy() *TcpLbStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TcpLbStatus.
func (*TcpLbStatus) DeepCopyInto ¶
func (in *TcpLbStatus) DeepCopyInto(out *TcpLbStatus)
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 {
c.UpstreamSpec `json:",inline" yaml:",inline"`
}
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 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.