v1beta1

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   pockostcom.GroupName,
	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 SshPipe

type SshPipe struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec SshPipeSpec `json:"spec"`
}

SshPipe is a top-level type

func (*SshPipe) DeepCopy

func (in *SshPipe) DeepCopy() *SshPipe

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

func (*SshPipe) DeepCopyInto

func (in *SshPipe) DeepCopyInto(out *SshPipe)

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

func (*SshPipe) DeepCopyObject

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

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

type SshPipeList

type SshPipeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `son:"metadata"`

	Items []SshPipe `json:"items"`
}

SshPipeList is a list of SshPipe resources

func (*SshPipeList) DeepCopy

func (in *SshPipeList) DeepCopy() *SshPipeList

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

func (*SshPipeList) DeepCopyInto

func (in *SshPipeList) DeepCopyInto(out *SshPipeList)

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

func (*SshPipeList) DeepCopyObject

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

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

type SshPipeSpec

type SshPipeSpec struct {
	Users  []string   `json:"users"`
	Target TargetSpec `json:"target"`
}

SshPipeSpec is the spec for a SshPipe resource

func (*SshPipeSpec) DeepCopy

func (in *SshPipeSpec) DeepCopy() *SshPipeSpec

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

func (*SshPipeSpec) DeepCopyInto

func (in *SshPipeSpec) DeepCopyInto(out *SshPipeSpec)

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

type TargetSpec

type TargetSpec struct {
	Name string `json:"name"`
	Port int    `json:"port,omitempty"`
}

func (*TargetSpec) DeepCopy

func (in *TargetSpec) DeepCopy() *TargetSpec

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

func (*TargetSpec) DeepCopyInto

func (in *TargetSpec) DeepCopyInto(out *TargetSpec)

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