Documentation ¶
Overview ¶
Package v1 is the v1 version of the API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: k8sconst.RayGroupName, Version: "v1"}
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 ConditionStatus ¶
type ConditionStatus string
type Ray ¶
type Ray struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RaySpec `json:"spec"` Status RayStatus `json:"status"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object Ray is a specification for a Ray resource
func (*Ray) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ray.
func (*Ray) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ray) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RayCondition ¶
type RayCondition struct { // Type is the type of the condition. Type RayConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=RayConditionType"` // Status is the status of the condition. // Can be True, False, Unknown. Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"` // Last time we probed the condition. // +optional LastProbeTime metav1.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"` // Last time the condition transitioned from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"` // Unique, one-word, CamelCase reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"` // Human-readable message indicating details about last transition. // +optional Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` }
PodCondition contains details for the current condition of this pod.
func (*RayCondition) DeepCopy ¶
func (in *RayCondition) DeepCopy() *RayCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RayCondition.
func (*RayCondition) DeepCopyInto ¶
func (in *RayCondition) DeepCopyInto(out *RayCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RayConditionType ¶
type RayConditionType string
type RayHeadSpec ¶
type RayHeadSpec struct {
Replicas int32 `json:"Replicas"`
}
RayHeadSpec is the spec for a Ray Head
func (*RayHeadSpec) DeepCopy ¶
func (in *RayHeadSpec) DeepCopy() *RayHeadSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RayHeadSpec.
func (*RayHeadSpec) DeepCopyInto ¶
func (in *RayHeadSpec) DeepCopyInto(out *RayHeadSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RayList ¶
type RayList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Ray `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object RayList is a list of Ray resources
func (*RayList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RayList.
func (*RayList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RayList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RaySpec ¶
type RaySpec struct { RayHead RayHeadSpec `json:"RayHeadSpec"` RayWorker RayWorkerSpec `json:"RayWorkerSpec"` }
RaySpec is the spec for a Ray resource
func (*RaySpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RaySpec.
func (*RaySpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RayStatus ¶
type RayStatus struct {
Conditions []RayCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}
RayStatus is the status for a Ray resource
func (*RayStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RayStatus.
func (*RayStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RayWorkerSpec ¶
type RayWorkerSpec struct {
Replicas int32 `json:"Replicas"`
}
RayWorkerSpec is the status for a Ray Worker
func (*RayWorkerSpec) DeepCopy ¶
func (in *RayWorkerSpec) DeepCopy() *RayWorkerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RayWorkerSpec.
func (*RayWorkerSpec) DeepCopyInto ¶
func (in *RayWorkerSpec) DeepCopyInto(out *RayWorkerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.