v1beta1

package
v1.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=sshpiper

Index

Constants

This section is empty.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
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

func (in *FromSpec) DeepCopy() *FromSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromSpec.

func (*FromSpec) DeepCopyInto

func (in *FromSpec) DeepCopyInto(out *FromSpec)

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

func (in *Pipe) DeepCopy() *Pipe

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pipe.

func (*Pipe) DeepCopyInto

func (in *Pipe) DeepCopyInto(out *Pipe)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Pipe) DeepCopyObject

func (in *Pipe) DeepCopyObject() runtime.Object

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

func (in *PipeList) DeepCopy() *PipeList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipeList.

func (*PipeList) DeepCopyInto

func (in *PipeList) DeepCopyInto(out *PipeList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PipeList) DeepCopyObject

func (in *PipeList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PipeSpec

type PipeSpec struct {
	From []FromSpec `json:"from"`
	To   ToSpec     `json:"to"`
}

func (*PipeSpec) DeepCopy

func (in *PipeSpec) DeepCopy() *PipeSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipeSpec.

func (*PipeSpec) DeepCopyInto

func (in *PipeSpec) DeepCopyInto(out *PipeSpec)

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

func (in *ToSpec) DeepCopy() *ToSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToSpec.

func (*ToSpec) DeepCopyInto

func (in *ToSpec) DeepCopyInto(out *ToSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL