v1

package
v0.0.0-...-25ad6b7 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the tool v1 API group +kubebuilder:object:generate=true +groupName=tool.tanx.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "tool.tanx.io", Version: "v1"}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type NodeJob

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

	Spec   NodeJobSpec   `json:"spec,omitempty"`
	Status NodeJobStatus `json:"status,omitempty"`
}

NodeJob is the Schema for the nodejobs API

func (*NodeJob) DeepCopy

func (in *NodeJob) DeepCopy() *NodeJob

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

func (*NodeJob) DeepCopyInto

func (in *NodeJob) DeepCopyInto(out *NodeJob)

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

func (*NodeJob) DeepCopyObject

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

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

type NodeJobList

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

NodeJobList contains a list of NodeJob

func (*NodeJobList) DeepCopy

func (in *NodeJobList) DeepCopy() *NodeJobList

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

func (*NodeJobList) DeepCopyInto

func (in *NodeJobList) DeepCopyInto(out *NodeJobList)

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

func (*NodeJobList) DeepCopyObject

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

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

type NodeJobSpec

type NodeJobSpec struct {
	PodSpec v1.PodSpec `json:"PodSpec"`
}

NodeJobSpec defines the desired state of NodeJob

func (*NodeJobSpec) DeepCopy

func (in *NodeJobSpec) DeepCopy() *NodeJobSpec

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

func (*NodeJobSpec) DeepCopyInto

func (in *NodeJobSpec) DeepCopyInto(out *NodeJobSpec)

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

type NodeJobStatus

type NodeJobStatus struct {
	Values NodePodStatus `json:"values,omitempty"`
	Finish bool          `json:"finish,omitempty"`
}

NodeJobStatus defines the observed state of NodeJob

func (*NodeJobStatus) DeepCopy

func (in *NodeJobStatus) DeepCopy() *NodeJobStatus

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

func (*NodeJobStatus) DeepCopyInto

func (in *NodeJobStatus) DeepCopyInto(out *NodeJobStatus)

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

type NodePodStatus

type NodePodStatus map[string]v1.PodPhase

Jump to

Keyboard shortcuts

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