Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=sshpiper
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{
Group: "sshpiper.com",
Version: "v1beta1",
}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type FromSpec ¶
type FromSpec struct { Username string `json:"username"` UsernameRegexMatch bool `json:"username_regex_match,omitempty"` AuthorizedKeysData string `json:"authorized_keys_data,omitempty"` HtpasswdData string `json:"htpasswd_data,omitempty"` AuthorizedKeysFile string `json:"authorized_keys_file,omitempty"` HtpasswdFile string `json:"htpasswd_file,omitempty"` }
func (*FromSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromSpec.
func (*FromSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Pipe ¶
type Pipe struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PipeSpec `json:"spec"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Pipe) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pipe.
func (*Pipe) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Pipe) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PipeList ¶
type PipeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Pipe `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*PipeList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipeList.
func (*PipeList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PipeList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PipeSpec ¶
func (*PipeSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipeSpec.
func (*PipeSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ToSpec ¶
type ToSpec struct { Username string `json:"username,omitempty"` Host string `json:"host"` PrivateKeySecret corev1.LocalObjectReference `json:"private_key_secret,omitempty"` PasswordSecret corev1.LocalObjectReference `json:"password_secret,omitempty"` KnownHostsData string `json:"known_hosts_data,omitempty"` IgnoreHostkey bool `json:"ignore_hostkey,omitempty"` }
func (*ToSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToSpec.
func (*ToSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.