v1beta1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2019 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Overview

Package v1beta1 contains API Schema definitions for the extensions v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/skpr/operator/pkg/apis/extensions +k8s:defaulter-gen=TypeMeta +groupName=extensions.skpr.io

Package v1beta1 contains API Schema definitions for the extensions v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/skpr/operator/pkg/apis/extensions +k8s:defaulter-gen=TypeMeta +groupName=extensions.skpr.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "extensions.skpr.io", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is required by pkg/client/...
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type Exec

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

	Spec ExecSpec `json:"spec,omitempty"`
}

Exec is the Schema for the execs API +k8s:openapi-gen=true

func (*Exec) DeepCopy

func (in *Exec) DeepCopy() *Exec

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

func (*Exec) DeepCopyInto

func (in *Exec) DeepCopyInto(out *Exec)

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

func (*Exec) DeepCopyObject

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

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

type ExecList

type ExecList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Exec `json:"items"`
}

ExecList contains a list of Exec

func (*ExecList) DeepCopy

func (in *ExecList) DeepCopy() *ExecList

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

func (*ExecList) DeepCopyInto

func (in *ExecList) DeepCopyInto(out *ExecList)

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

func (*ExecList) DeepCopyObject

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

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

type ExecSpec

type ExecSpec struct {
	// Container which commands will be executed.
	Entrypoint string `json:"entrypoint"`
	// Template used when provisioning an execution environment.
	Template corev1.PodSpec `json:"template"`
}

ExecSpec defines the desired state of Exec

func (*ExecSpec) DeepCopy

func (in *ExecSpec) DeepCopy() *ExecSpec

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

func (*ExecSpec) DeepCopyInto

func (in *ExecSpec) DeepCopyInto(out *ExecSpec)

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