Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
- Constants
- Variables
- func Convert_proxies_Socket_To_v1alpha1_Socket(in *proxies.Socket, out *Socket, s conversion.Scope) error
- func Convert_url_Values_To_v1alpha1_Socket(in *url.Values, out *Socket, s conversion.Scope) error
- func Convert_v1alpha1_Socket_To_proxies_Socket(in *Socket, out *proxies.Socket, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type Socket
Constants ¶
const GroupName = "proxies.clusternet.io"
GroupName is the group name used in this package
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. // SchemeBuilder is the scheme builder with scheme init functions to run for this API package SchemeBuilder runtime.SchemeBuilder // AddToScheme is a common registration function for mapping packaged scoped group & version keys to a scheme AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_proxies_Socket_To_v1alpha1_Socket ¶
func Convert_proxies_Socket_To_v1alpha1_Socket(in *proxies.Socket, out *Socket, s conversion.Scope) error
Convert_proxies_Socket_To_v1alpha1_Socket is an autogenerated conversion function.
func Convert_url_Values_To_v1alpha1_Socket ¶
Convert_url_Values_To_v1alpha1_Socket is an autogenerated conversion function.
func Convert_v1alpha1_Socket_To_proxies_Socket ¶
func Convert_v1alpha1_Socket_To_proxies_Socket(in *Socket, out *proxies.Socket, s conversion.Scope) error
Convert_v1alpha1_Socket_To_proxies_Socket is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Socket ¶
type Socket struct { metav1.TypeMeta `json:",inline"` // Path is the part of URLs that include service endpoints, suffixes, // and parameters to use for the current proxy request to child cluster. // For example, the whole request URL is // http://localhost:8001/apis/proxies.clusternet.io/v1alpha1/sockets/cae6feb5-a23f-4354-8ee7-66527aa03f54/proxy/https/demo.com:6443. // Path is /https/demo.com:6443. // // +optional // Path is the URL path to use for the current proxy request Path string `json:"path,omitempty"` }
Socket is the query options to a WebSocket proxy call.
func (*Socket) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Socket.
func (*Socket) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Socket) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.