Documentation ¶
Index ¶
- type AppStatusApplyConfiguration
- func (b *AppStatusApplyConfiguration) WithDeployments(entries map[string]ServeDeploymentStatusApplyConfiguration) *AppStatusApplyConfiguration
- func (b *AppStatusApplyConfiguration) WithHealthLastUpdateTime(value v1.Time) *AppStatusApplyConfiguration
- func (b *AppStatusApplyConfiguration) WithMessage(value string) *AppStatusApplyConfiguration
- func (b *AppStatusApplyConfiguration) WithStatus(value string) *AppStatusApplyConfiguration
- type AutoscalerOptionsApplyConfiguration
- func (b *AutoscalerOptionsApplyConfiguration) WithEnv(values ...v1.EnvVar) *AutoscalerOptionsApplyConfiguration
- func (b *AutoscalerOptionsApplyConfiguration) WithEnvFrom(values ...v1.EnvFromSource) *AutoscalerOptionsApplyConfiguration
- func (b *AutoscalerOptionsApplyConfiguration) WithIdleTimeoutSeconds(value int32) *AutoscalerOptionsApplyConfiguration
- func (b *AutoscalerOptionsApplyConfiguration) WithImage(value string) *AutoscalerOptionsApplyConfiguration
- func (b *AutoscalerOptionsApplyConfiguration) WithImagePullPolicy(value v1.PullPolicy) *AutoscalerOptionsApplyConfiguration
- func (b *AutoscalerOptionsApplyConfiguration) WithResources(value v1.ResourceRequirements) *AutoscalerOptionsApplyConfiguration
- func (b *AutoscalerOptionsApplyConfiguration) WithSecurityContext(value v1.SecurityContext) *AutoscalerOptionsApplyConfiguration
- func (b *AutoscalerOptionsApplyConfiguration) WithUpscalingMode(value rayv1.UpscalingMode) *AutoscalerOptionsApplyConfiguration
- func (b *AutoscalerOptionsApplyConfiguration) WithVolumeMounts(values ...v1.VolumeMount) *AutoscalerOptionsApplyConfiguration
- type DashboardStatusApplyConfiguration
- type HeadGroupSpecApplyConfiguration
- func (b *HeadGroupSpecApplyConfiguration) WithEnableIngress(value bool) *HeadGroupSpecApplyConfiguration
- func (b *HeadGroupSpecApplyConfiguration) WithHeadService(value v1.Service) *HeadGroupSpecApplyConfiguration
- func (b *HeadGroupSpecApplyConfiguration) WithRayStartParams(entries map[string]string) *HeadGroupSpecApplyConfiguration
- func (b *HeadGroupSpecApplyConfiguration) WithServiceType(value v1.ServiceType) *HeadGroupSpecApplyConfiguration
- func (b *HeadGroupSpecApplyConfiguration) WithTemplate(value *corev1.PodTemplateSpecApplyConfiguration) *HeadGroupSpecApplyConfiguration
- type HeadInfoApplyConfiguration
- type RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithAPIVersion(value string) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithAnnotations(entries map[string]string) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithFinalizers(values ...string) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithGenerateName(value string) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithGeneration(value int64) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithKind(value string) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithLabels(entries map[string]string) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithName(value string) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithNamespace(value string) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithResourceVersion(value string) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithSpec(value *RayClusterSpecApplyConfiguration) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithStatus(value *RayClusterStatusApplyConfiguration) *RayClusterApplyConfiguration
- func (b *RayClusterApplyConfiguration) WithUID(value types.UID) *RayClusterApplyConfiguration
- type RayClusterSpecApplyConfiguration
- func (b *RayClusterSpecApplyConfiguration) WithAutoscalerOptions(value *AutoscalerOptionsApplyConfiguration) *RayClusterSpecApplyConfiguration
- func (b *RayClusterSpecApplyConfiguration) WithEnableInTreeAutoscaling(value bool) *RayClusterSpecApplyConfiguration
- func (b *RayClusterSpecApplyConfiguration) WithHeadGroupSpec(value *HeadGroupSpecApplyConfiguration) *RayClusterSpecApplyConfiguration
- func (b *RayClusterSpecApplyConfiguration) WithHeadServiceAnnotations(entries map[string]string) *RayClusterSpecApplyConfiguration
- func (b *RayClusterSpecApplyConfiguration) WithRayVersion(value string) *RayClusterSpecApplyConfiguration
- func (b *RayClusterSpecApplyConfiguration) WithSuspend(value bool) *RayClusterSpecApplyConfiguration
- func (b *RayClusterSpecApplyConfiguration) WithWorkerGroupSpecs(values ...*WorkerGroupSpecApplyConfiguration) *RayClusterSpecApplyConfiguration
- type RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithAvailableWorkerReplicas(value int32) *RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithDesiredCPU(value resource.Quantity) *RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithDesiredGPU(value resource.Quantity) *RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithDesiredMemory(value resource.Quantity) *RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithDesiredTPU(value resource.Quantity) *RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithDesiredWorkerReplicas(value int32) *RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithEndpoints(entries map[string]string) *RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithHead(value *HeadInfoApplyConfiguration) *RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithLastUpdateTime(value metav1.Time) *RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithMaxWorkerReplicas(value int32) *RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithMinWorkerReplicas(value int32) *RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithObservedGeneration(value int64) *RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithReason(value string) *RayClusterStatusApplyConfiguration
- func (b *RayClusterStatusApplyConfiguration) WithState(value v1.ClusterState) *RayClusterStatusApplyConfiguration
- type RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithAPIVersion(value string) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithAnnotations(entries map[string]string) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithFinalizers(values ...string) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithGenerateName(value string) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithGeneration(value int64) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithKind(value string) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithLabels(entries map[string]string) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithName(value string) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithNamespace(value string) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithResourceVersion(value string) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithSpec(value *RayJobSpecApplyConfiguration) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithStatus(value *RayJobStatusApplyConfiguration) *RayJobApplyConfiguration
- func (b *RayJobApplyConfiguration) WithUID(value types.UID) *RayJobApplyConfiguration
- type RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithActiveDeadlineSeconds(value int32) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithClusterSelector(entries map[string]string) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithEntrypoint(value string) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithEntrypointNumCpus(value float32) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithEntrypointNumGpus(value float32) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithEntrypointResources(value string) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithJobId(value string) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithMetadata(entries map[string]string) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithRayClusterSpec(value *RayClusterSpecApplyConfiguration) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithRuntimeEnvYAML(value string) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithShutdownAfterJobFinishes(value bool) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithSubmissionMode(value rayv1.JobSubmissionMode) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithSubmitterPodTemplate(value *corev1.PodTemplateSpecApplyConfiguration) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithSuspend(value bool) *RayJobSpecApplyConfiguration
- func (b *RayJobSpecApplyConfiguration) WithTTLSecondsAfterFinished(value int32) *RayJobSpecApplyConfiguration
- type RayJobStatusApplyConfiguration
- func (b *RayJobStatusApplyConfiguration) WithDashboardURL(value string) *RayJobStatusApplyConfiguration
- func (b *RayJobStatusApplyConfiguration) WithEndTime(value metav1.Time) *RayJobStatusApplyConfiguration
- func (b *RayJobStatusApplyConfiguration) WithJobDeploymentStatus(value v1.JobDeploymentStatus) *RayJobStatusApplyConfiguration
- func (b *RayJobStatusApplyConfiguration) WithJobId(value string) *RayJobStatusApplyConfiguration
- func (b *RayJobStatusApplyConfiguration) WithJobStatus(value v1.JobStatus) *RayJobStatusApplyConfiguration
- func (b *RayJobStatusApplyConfiguration) WithMessage(value string) *RayJobStatusApplyConfiguration
- func (b *RayJobStatusApplyConfiguration) WithObservedGeneration(value int64) *RayJobStatusApplyConfiguration
- func (b *RayJobStatusApplyConfiguration) WithRayClusterName(value string) *RayJobStatusApplyConfiguration
- func (b *RayJobStatusApplyConfiguration) WithRayClusterStatus(value *RayClusterStatusApplyConfiguration) *RayJobStatusApplyConfiguration
- func (b *RayJobStatusApplyConfiguration) WithReason(value v1.JobFailedReason) *RayJobStatusApplyConfiguration
- func (b *RayJobStatusApplyConfiguration) WithStartTime(value metav1.Time) *RayJobStatusApplyConfiguration
- type RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithAPIVersion(value string) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithAnnotations(entries map[string]string) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithFinalizers(values ...string) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithGenerateName(value string) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithGeneration(value int64) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithKind(value string) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithLabels(entries map[string]string) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithName(value string) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithNamespace(value string) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithResourceVersion(value string) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithSpec(value *RayServiceSpecApplyConfiguration) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithStatus(value *RayServiceStatusesApplyConfiguration) *RayServiceApplyConfiguration
- func (b *RayServiceApplyConfiguration) WithUID(value types.UID) *RayServiceApplyConfiguration
- type RayServiceSpecApplyConfiguration
- func (b *RayServiceSpecApplyConfiguration) WithDeploymentUnhealthySecondThreshold(value int32) *RayServiceSpecApplyConfiguration
- func (b *RayServiceSpecApplyConfiguration) WithRayClusterSpec(value *RayClusterSpecApplyConfiguration) *RayServiceSpecApplyConfiguration
- func (b *RayServiceSpecApplyConfiguration) WithServeConfigV2(value string) *RayServiceSpecApplyConfiguration
- func (b *RayServiceSpecApplyConfiguration) WithServeService(value corev1.Service) *RayServiceSpecApplyConfiguration
- func (b *RayServiceSpecApplyConfiguration) WithServiceUnhealthySecondThreshold(value int32) *RayServiceSpecApplyConfiguration
- type RayServiceStatusApplyConfiguration
- func (b *RayServiceStatusApplyConfiguration) WithApplications(entries map[string]AppStatusApplyConfiguration) *RayServiceStatusApplyConfiguration
- func (b *RayServiceStatusApplyConfiguration) WithRayClusterName(value string) *RayServiceStatusApplyConfiguration
- func (b *RayServiceStatusApplyConfiguration) WithRayClusterStatus(value *RayClusterStatusApplyConfiguration) *RayServiceStatusApplyConfiguration
- type RayServiceStatusesApplyConfiguration
- func (b *RayServiceStatusesApplyConfiguration) WithActiveServiceStatus(value *RayServiceStatusApplyConfiguration) *RayServiceStatusesApplyConfiguration
- func (b *RayServiceStatusesApplyConfiguration) WithLastUpdateTime(value metav1.Time) *RayServiceStatusesApplyConfiguration
- func (b *RayServiceStatusesApplyConfiguration) WithNumServeEndpoints(value int32) *RayServiceStatusesApplyConfiguration
- func (b *RayServiceStatusesApplyConfiguration) WithObservedGeneration(value int64) *RayServiceStatusesApplyConfiguration
- func (b *RayServiceStatusesApplyConfiguration) WithPendingServiceStatus(value *RayServiceStatusApplyConfiguration) *RayServiceStatusesApplyConfiguration
- func (b *RayServiceStatusesApplyConfiguration) WithServiceStatus(value rayv1.ServiceStatus) *RayServiceStatusesApplyConfiguration
- type ScaleStrategyApplyConfiguration
- type ServeDeploymentStatusApplyConfiguration
- func (b *ServeDeploymentStatusApplyConfiguration) WithHealthLastUpdateTime(value v1.Time) *ServeDeploymentStatusApplyConfiguration
- func (b *ServeDeploymentStatusApplyConfiguration) WithMessage(value string) *ServeDeploymentStatusApplyConfiguration
- func (b *ServeDeploymentStatusApplyConfiguration) WithStatus(value string) *ServeDeploymentStatusApplyConfiguration
- type WorkerGroupSpecApplyConfiguration
- func (b *WorkerGroupSpecApplyConfiguration) WithGroupName(value string) *WorkerGroupSpecApplyConfiguration
- func (b *WorkerGroupSpecApplyConfiguration) WithMaxReplicas(value int32) *WorkerGroupSpecApplyConfiguration
- func (b *WorkerGroupSpecApplyConfiguration) WithMinReplicas(value int32) *WorkerGroupSpecApplyConfiguration
- func (b *WorkerGroupSpecApplyConfiguration) WithNumOfHosts(value int32) *WorkerGroupSpecApplyConfiguration
- func (b *WorkerGroupSpecApplyConfiguration) WithRayStartParams(entries map[string]string) *WorkerGroupSpecApplyConfiguration
- func (b *WorkerGroupSpecApplyConfiguration) WithReplicas(value int32) *WorkerGroupSpecApplyConfiguration
- func (b *WorkerGroupSpecApplyConfiguration) WithScaleStrategy(value *ScaleStrategyApplyConfiguration) *WorkerGroupSpecApplyConfiguration
- func (b *WorkerGroupSpecApplyConfiguration) WithTemplate(value *v1.PodTemplateSpecApplyConfiguration) *WorkerGroupSpecApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStatusApplyConfiguration ¶
type AppStatusApplyConfiguration struct { Status *string `json:"status,omitempty"` Message *string `json:"message,omitempty"` HealthLastUpdateTime *v1.Time `json:"healthLastUpdateTime,omitempty"` Deployments map[string]ServeDeploymentStatusApplyConfiguration `json:"serveDeploymentStatuses,omitempty"` }
AppStatusApplyConfiguration represents an declarative configuration of the AppStatus type for use with apply.
func AppStatus ¶
func AppStatus() *AppStatusApplyConfiguration
AppStatusApplyConfiguration constructs an declarative configuration of the AppStatus type for use with apply.
func (*AppStatusApplyConfiguration) WithDeployments ¶
func (b *AppStatusApplyConfiguration) WithDeployments(entries map[string]ServeDeploymentStatusApplyConfiguration) *AppStatusApplyConfiguration
WithDeployments puts the entries into the Deployments field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Deployments field, overwriting an existing map entries in Deployments field with the same key.
func (*AppStatusApplyConfiguration) WithHealthLastUpdateTime ¶
func (b *AppStatusApplyConfiguration) WithHealthLastUpdateTime(value v1.Time) *AppStatusApplyConfiguration
WithHealthLastUpdateTime sets the HealthLastUpdateTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HealthLastUpdateTime field is set to the value of the last call.
func (*AppStatusApplyConfiguration) WithMessage ¶
func (b *AppStatusApplyConfiguration) WithMessage(value string) *AppStatusApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*AppStatusApplyConfiguration) WithStatus ¶
func (b *AppStatusApplyConfiguration) WithStatus(value string) *AppStatusApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
type AutoscalerOptionsApplyConfiguration ¶
type AutoscalerOptionsApplyConfiguration struct { Resources *v1.ResourceRequirements `json:"resources,omitempty"` Image *string `json:"image,omitempty"` ImagePullPolicy *v1.PullPolicy `json:"imagePullPolicy,omitempty"` Env []v1.EnvVar `json:"env,omitempty"` EnvFrom []v1.EnvFromSource `json:"envFrom,omitempty"` VolumeMounts []v1.VolumeMount `json:"volumeMounts,omitempty"` SecurityContext *v1.SecurityContext `json:"securityContext,omitempty"` IdleTimeoutSeconds *int32 `json:"idleTimeoutSeconds,omitempty"` UpscalingMode *rayv1.UpscalingMode `json:"upscalingMode,omitempty"` }
AutoscalerOptionsApplyConfiguration represents an declarative configuration of the AutoscalerOptions type for use with apply.
func AutoscalerOptions ¶
func AutoscalerOptions() *AutoscalerOptionsApplyConfiguration
AutoscalerOptionsApplyConfiguration constructs an declarative configuration of the AutoscalerOptions type for use with apply.
func (*AutoscalerOptionsApplyConfiguration) WithEnv ¶
func (b *AutoscalerOptionsApplyConfiguration) WithEnv(values ...v1.EnvVar) *AutoscalerOptionsApplyConfiguration
WithEnv adds the given value to the Env field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Env field.
func (*AutoscalerOptionsApplyConfiguration) WithEnvFrom ¶
func (b *AutoscalerOptionsApplyConfiguration) WithEnvFrom(values ...v1.EnvFromSource) *AutoscalerOptionsApplyConfiguration
WithEnvFrom adds the given value to the EnvFrom field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the EnvFrom field.
func (*AutoscalerOptionsApplyConfiguration) WithIdleTimeoutSeconds ¶
func (b *AutoscalerOptionsApplyConfiguration) WithIdleTimeoutSeconds(value int32) *AutoscalerOptionsApplyConfiguration
WithIdleTimeoutSeconds sets the IdleTimeoutSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IdleTimeoutSeconds field is set to the value of the last call.
func (*AutoscalerOptionsApplyConfiguration) WithImage ¶
func (b *AutoscalerOptionsApplyConfiguration) WithImage(value string) *AutoscalerOptionsApplyConfiguration
WithImage sets the Image field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Image field is set to the value of the last call.
func (*AutoscalerOptionsApplyConfiguration) WithImagePullPolicy ¶
func (b *AutoscalerOptionsApplyConfiguration) WithImagePullPolicy(value v1.PullPolicy) *AutoscalerOptionsApplyConfiguration
WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImagePullPolicy field is set to the value of the last call.
func (*AutoscalerOptionsApplyConfiguration) WithResources ¶
func (b *AutoscalerOptionsApplyConfiguration) WithResources(value v1.ResourceRequirements) *AutoscalerOptionsApplyConfiguration
WithResources sets the Resources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resources field is set to the value of the last call.
func (*AutoscalerOptionsApplyConfiguration) WithSecurityContext ¶
func (b *AutoscalerOptionsApplyConfiguration) WithSecurityContext(value v1.SecurityContext) *AutoscalerOptionsApplyConfiguration
WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecurityContext field is set to the value of the last call.
func (*AutoscalerOptionsApplyConfiguration) WithUpscalingMode ¶
func (b *AutoscalerOptionsApplyConfiguration) WithUpscalingMode(value rayv1.UpscalingMode) *AutoscalerOptionsApplyConfiguration
WithUpscalingMode sets the UpscalingMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpscalingMode field is set to the value of the last call.
func (*AutoscalerOptionsApplyConfiguration) WithVolumeMounts ¶
func (b *AutoscalerOptionsApplyConfiguration) WithVolumeMounts(values ...v1.VolumeMount) *AutoscalerOptionsApplyConfiguration
WithVolumeMounts adds the given value to the VolumeMounts field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the VolumeMounts field.
type DashboardStatusApplyConfiguration ¶
type DashboardStatusApplyConfiguration struct { IsHealthy *bool `json:"isHealthy,omitempty"` HealthLastUpdateTime *v1.Time `json:"healthLastUpdateTime,omitempty"` }
DashboardStatusApplyConfiguration represents an declarative configuration of the DashboardStatus type for use with apply.
func DashboardStatus ¶
func DashboardStatus() *DashboardStatusApplyConfiguration
DashboardStatusApplyConfiguration constructs an declarative configuration of the DashboardStatus type for use with apply.
func (*DashboardStatusApplyConfiguration) WithHealthLastUpdateTime ¶
func (b *DashboardStatusApplyConfiguration) WithHealthLastUpdateTime(value v1.Time) *DashboardStatusApplyConfiguration
WithHealthLastUpdateTime sets the HealthLastUpdateTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HealthLastUpdateTime field is set to the value of the last call.
func (*DashboardStatusApplyConfiguration) WithIsHealthy ¶
func (b *DashboardStatusApplyConfiguration) WithIsHealthy(value bool) *DashboardStatusApplyConfiguration
WithIsHealthy sets the IsHealthy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IsHealthy field is set to the value of the last call.
type HeadGroupSpecApplyConfiguration ¶
type HeadGroupSpecApplyConfiguration struct { ServiceType *v1.ServiceType `json:"serviceType,omitempty"` HeadService *v1.Service `json:"headService,omitempty"` EnableIngress *bool `json:"enableIngress,omitempty"` RayStartParams map[string]string `json:"rayStartParams,omitempty"` Template *corev1.PodTemplateSpecApplyConfiguration `json:"template,omitempty"` }
HeadGroupSpecApplyConfiguration represents an declarative configuration of the HeadGroupSpec type for use with apply.
func HeadGroupSpec ¶
func HeadGroupSpec() *HeadGroupSpecApplyConfiguration
HeadGroupSpecApplyConfiguration constructs an declarative configuration of the HeadGroupSpec type for use with apply.
func (*HeadGroupSpecApplyConfiguration) WithEnableIngress ¶
func (b *HeadGroupSpecApplyConfiguration) WithEnableIngress(value bool) *HeadGroupSpecApplyConfiguration
WithEnableIngress sets the EnableIngress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableIngress field is set to the value of the last call.
func (*HeadGroupSpecApplyConfiguration) WithHeadService ¶
func (b *HeadGroupSpecApplyConfiguration) WithHeadService(value v1.Service) *HeadGroupSpecApplyConfiguration
WithHeadService sets the HeadService field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HeadService field is set to the value of the last call.
func (*HeadGroupSpecApplyConfiguration) WithRayStartParams ¶
func (b *HeadGroupSpecApplyConfiguration) WithRayStartParams(entries map[string]string) *HeadGroupSpecApplyConfiguration
WithRayStartParams puts the entries into the RayStartParams field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the RayStartParams field, overwriting an existing map entries in RayStartParams field with the same key.
func (*HeadGroupSpecApplyConfiguration) WithServiceType ¶
func (b *HeadGroupSpecApplyConfiguration) WithServiceType(value v1.ServiceType) *HeadGroupSpecApplyConfiguration
WithServiceType sets the ServiceType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceType field is set to the value of the last call.
func (*HeadGroupSpecApplyConfiguration) WithTemplate ¶
func (b *HeadGroupSpecApplyConfiguration) WithTemplate(value *corev1.PodTemplateSpecApplyConfiguration) *HeadGroupSpecApplyConfiguration
WithTemplate sets the Template field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Template field is set to the value of the last call.
type HeadInfoApplyConfiguration ¶
type HeadInfoApplyConfiguration struct { PodIP *string `json:"podIP,omitempty"` ServiceIP *string `json:"serviceIP,omitempty"` }
HeadInfoApplyConfiguration represents an declarative configuration of the HeadInfo type for use with apply.
func HeadInfo ¶
func HeadInfo() *HeadInfoApplyConfiguration
HeadInfoApplyConfiguration constructs an declarative configuration of the HeadInfo type for use with apply.
func (*HeadInfoApplyConfiguration) WithPodIP ¶
func (b *HeadInfoApplyConfiguration) WithPodIP(value string) *HeadInfoApplyConfiguration
WithPodIP sets the PodIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodIP field is set to the value of the last call.
func (*HeadInfoApplyConfiguration) WithServiceIP ¶
func (b *HeadInfoApplyConfiguration) WithServiceIP(value string) *HeadInfoApplyConfiguration
WithServiceIP sets the ServiceIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceIP field is set to the value of the last call.
type RayClusterApplyConfiguration ¶
type RayClusterApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *RayClusterSpecApplyConfiguration `json:"spec,omitempty"` Status *RayClusterStatusApplyConfiguration `json:"status,omitempty"` }
RayClusterApplyConfiguration represents an declarative configuration of the RayCluster type for use with apply.
func RayCluster ¶
func RayCluster(name, namespace string) *RayClusterApplyConfiguration
RayCluster constructs an declarative configuration of the RayCluster type for use with apply.
func (*RayClusterApplyConfiguration) WithAPIVersion ¶
func (b *RayClusterApplyConfiguration) WithAPIVersion(value string) *RayClusterApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*RayClusterApplyConfiguration) WithAnnotations ¶
func (b *RayClusterApplyConfiguration) WithAnnotations(entries map[string]string) *RayClusterApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*RayClusterApplyConfiguration) WithCreationTimestamp ¶
func (b *RayClusterApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RayClusterApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*RayClusterApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *RayClusterApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RayClusterApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*RayClusterApplyConfiguration) WithDeletionTimestamp ¶
func (b *RayClusterApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RayClusterApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*RayClusterApplyConfiguration) WithFinalizers ¶
func (b *RayClusterApplyConfiguration) WithFinalizers(values ...string) *RayClusterApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*RayClusterApplyConfiguration) WithGenerateName ¶
func (b *RayClusterApplyConfiguration) WithGenerateName(value string) *RayClusterApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*RayClusterApplyConfiguration) WithGeneration ¶
func (b *RayClusterApplyConfiguration) WithGeneration(value int64) *RayClusterApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*RayClusterApplyConfiguration) WithKind ¶
func (b *RayClusterApplyConfiguration) WithKind(value string) *RayClusterApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*RayClusterApplyConfiguration) WithLabels ¶
func (b *RayClusterApplyConfiguration) WithLabels(entries map[string]string) *RayClusterApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*RayClusterApplyConfiguration) WithName ¶
func (b *RayClusterApplyConfiguration) WithName(value string) *RayClusterApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*RayClusterApplyConfiguration) WithNamespace ¶
func (b *RayClusterApplyConfiguration) WithNamespace(value string) *RayClusterApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*RayClusterApplyConfiguration) WithOwnerReferences ¶
func (b *RayClusterApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *RayClusterApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*RayClusterApplyConfiguration) WithResourceVersion ¶
func (b *RayClusterApplyConfiguration) WithResourceVersion(value string) *RayClusterApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*RayClusterApplyConfiguration) WithSpec ¶
func (b *RayClusterApplyConfiguration) WithSpec(value *RayClusterSpecApplyConfiguration) *RayClusterApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*RayClusterApplyConfiguration) WithStatus ¶
func (b *RayClusterApplyConfiguration) WithStatus(value *RayClusterStatusApplyConfiguration) *RayClusterApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*RayClusterApplyConfiguration) WithUID ¶
func (b *RayClusterApplyConfiguration) WithUID(value types.UID) *RayClusterApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type RayClusterSpecApplyConfiguration ¶
type RayClusterSpecApplyConfiguration struct { HeadGroupSpec *HeadGroupSpecApplyConfiguration `json:"headGroupSpec,omitempty"` WorkerGroupSpecs []WorkerGroupSpecApplyConfiguration `json:"workerGroupSpecs,omitempty"` RayVersion *string `json:"rayVersion,omitempty"` EnableInTreeAutoscaling *bool `json:"enableInTreeAutoscaling,omitempty"` AutoscalerOptions *AutoscalerOptionsApplyConfiguration `json:"autoscalerOptions,omitempty"` HeadServiceAnnotations map[string]string `json:"headServiceAnnotations,omitempty"` Suspend *bool `json:"suspend,omitempty"` }
RayClusterSpecApplyConfiguration represents an declarative configuration of the RayClusterSpec type for use with apply.
func RayClusterSpec ¶
func RayClusterSpec() *RayClusterSpecApplyConfiguration
RayClusterSpecApplyConfiguration constructs an declarative configuration of the RayClusterSpec type for use with apply.
func (*RayClusterSpecApplyConfiguration) WithAutoscalerOptions ¶
func (b *RayClusterSpecApplyConfiguration) WithAutoscalerOptions(value *AutoscalerOptionsApplyConfiguration) *RayClusterSpecApplyConfiguration
WithAutoscalerOptions sets the AutoscalerOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AutoscalerOptions field is set to the value of the last call.
func (*RayClusterSpecApplyConfiguration) WithEnableInTreeAutoscaling ¶
func (b *RayClusterSpecApplyConfiguration) WithEnableInTreeAutoscaling(value bool) *RayClusterSpecApplyConfiguration
WithEnableInTreeAutoscaling sets the EnableInTreeAutoscaling field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableInTreeAutoscaling field is set to the value of the last call.
func (*RayClusterSpecApplyConfiguration) WithHeadGroupSpec ¶
func (b *RayClusterSpecApplyConfiguration) WithHeadGroupSpec(value *HeadGroupSpecApplyConfiguration) *RayClusterSpecApplyConfiguration
WithHeadGroupSpec sets the HeadGroupSpec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HeadGroupSpec field is set to the value of the last call.
func (*RayClusterSpecApplyConfiguration) WithHeadServiceAnnotations ¶
func (b *RayClusterSpecApplyConfiguration) WithHeadServiceAnnotations(entries map[string]string) *RayClusterSpecApplyConfiguration
WithHeadServiceAnnotations puts the entries into the HeadServiceAnnotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the HeadServiceAnnotations field, overwriting an existing map entries in HeadServiceAnnotations field with the same key.
func (*RayClusterSpecApplyConfiguration) WithRayVersion ¶
func (b *RayClusterSpecApplyConfiguration) WithRayVersion(value string) *RayClusterSpecApplyConfiguration
WithRayVersion sets the RayVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RayVersion field is set to the value of the last call.
func (*RayClusterSpecApplyConfiguration) WithSuspend ¶
func (b *RayClusterSpecApplyConfiguration) WithSuspend(value bool) *RayClusterSpecApplyConfiguration
WithSuspend sets the Suspend field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Suspend field is set to the value of the last call.
func (*RayClusterSpecApplyConfiguration) WithWorkerGroupSpecs ¶
func (b *RayClusterSpecApplyConfiguration) WithWorkerGroupSpecs(values ...*WorkerGroupSpecApplyConfiguration) *RayClusterSpecApplyConfiguration
WithWorkerGroupSpecs adds the given value to the WorkerGroupSpecs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the WorkerGroupSpecs field.
type RayClusterStatusApplyConfiguration ¶
type RayClusterStatusApplyConfiguration struct { State *v1.ClusterState `json:"state,omitempty"` AvailableWorkerReplicas *int32 `json:"availableWorkerReplicas,omitempty"` DesiredWorkerReplicas *int32 `json:"desiredWorkerReplicas,omitempty"` MinWorkerReplicas *int32 `json:"minWorkerReplicas,omitempty"` MaxWorkerReplicas *int32 `json:"maxWorkerReplicas,omitempty"` DesiredCPU *resource.Quantity `json:"desiredCPU,omitempty"` DesiredMemory *resource.Quantity `json:"desiredMemory,omitempty"` DesiredGPU *resource.Quantity `json:"desiredGPU,omitempty"` DesiredTPU *resource.Quantity `json:"desiredTPU,omitempty"` LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"` Endpoints map[string]string `json:"endpoints,omitempty"` Head *HeadInfoApplyConfiguration `json:"head,omitempty"` Reason *string `json:"reason,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` }
RayClusterStatusApplyConfiguration represents an declarative configuration of the RayClusterStatus type for use with apply.
func RayClusterStatus ¶
func RayClusterStatus() *RayClusterStatusApplyConfiguration
RayClusterStatusApplyConfiguration constructs an declarative configuration of the RayClusterStatus type for use with apply.
func (*RayClusterStatusApplyConfiguration) WithAvailableWorkerReplicas ¶
func (b *RayClusterStatusApplyConfiguration) WithAvailableWorkerReplicas(value int32) *RayClusterStatusApplyConfiguration
WithAvailableWorkerReplicas sets the AvailableWorkerReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AvailableWorkerReplicas field is set to the value of the last call.
func (*RayClusterStatusApplyConfiguration) WithDesiredCPU ¶
func (b *RayClusterStatusApplyConfiguration) WithDesiredCPU(value resource.Quantity) *RayClusterStatusApplyConfiguration
WithDesiredCPU sets the DesiredCPU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DesiredCPU field is set to the value of the last call.
func (*RayClusterStatusApplyConfiguration) WithDesiredGPU ¶
func (b *RayClusterStatusApplyConfiguration) WithDesiredGPU(value resource.Quantity) *RayClusterStatusApplyConfiguration
WithDesiredGPU sets the DesiredGPU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DesiredGPU field is set to the value of the last call.
func (*RayClusterStatusApplyConfiguration) WithDesiredMemory ¶
func (b *RayClusterStatusApplyConfiguration) WithDesiredMemory(value resource.Quantity) *RayClusterStatusApplyConfiguration
WithDesiredMemory sets the DesiredMemory field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DesiredMemory field is set to the value of the last call.
func (*RayClusterStatusApplyConfiguration) WithDesiredTPU ¶
func (b *RayClusterStatusApplyConfiguration) WithDesiredTPU(value resource.Quantity) *RayClusterStatusApplyConfiguration
WithDesiredTPU sets the DesiredTPU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DesiredTPU field is set to the value of the last call.
func (*RayClusterStatusApplyConfiguration) WithDesiredWorkerReplicas ¶
func (b *RayClusterStatusApplyConfiguration) WithDesiredWorkerReplicas(value int32) *RayClusterStatusApplyConfiguration
WithDesiredWorkerReplicas sets the DesiredWorkerReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DesiredWorkerReplicas field is set to the value of the last call.
func (*RayClusterStatusApplyConfiguration) WithEndpoints ¶
func (b *RayClusterStatusApplyConfiguration) WithEndpoints(entries map[string]string) *RayClusterStatusApplyConfiguration
WithEndpoints puts the entries into the Endpoints field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Endpoints field, overwriting an existing map entries in Endpoints field with the same key.
func (*RayClusterStatusApplyConfiguration) WithHead ¶
func (b *RayClusterStatusApplyConfiguration) WithHead(value *HeadInfoApplyConfiguration) *RayClusterStatusApplyConfiguration
WithHead sets the Head field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Head field is set to the value of the last call.
func (*RayClusterStatusApplyConfiguration) WithLastUpdateTime ¶
func (b *RayClusterStatusApplyConfiguration) WithLastUpdateTime(value metav1.Time) *RayClusterStatusApplyConfiguration
WithLastUpdateTime sets the LastUpdateTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastUpdateTime field is set to the value of the last call.
func (*RayClusterStatusApplyConfiguration) WithMaxWorkerReplicas ¶
func (b *RayClusterStatusApplyConfiguration) WithMaxWorkerReplicas(value int32) *RayClusterStatusApplyConfiguration
WithMaxWorkerReplicas sets the MaxWorkerReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxWorkerReplicas field is set to the value of the last call.
func (*RayClusterStatusApplyConfiguration) WithMinWorkerReplicas ¶
func (b *RayClusterStatusApplyConfiguration) WithMinWorkerReplicas(value int32) *RayClusterStatusApplyConfiguration
WithMinWorkerReplicas sets the MinWorkerReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinWorkerReplicas field is set to the value of the last call.
func (*RayClusterStatusApplyConfiguration) WithObservedGeneration ¶
func (b *RayClusterStatusApplyConfiguration) WithObservedGeneration(value int64) *RayClusterStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*RayClusterStatusApplyConfiguration) WithReason ¶
func (b *RayClusterStatusApplyConfiguration) WithReason(value string) *RayClusterStatusApplyConfiguration
WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.
func (*RayClusterStatusApplyConfiguration) WithState ¶
func (b *RayClusterStatusApplyConfiguration) WithState(value v1.ClusterState) *RayClusterStatusApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type RayJobApplyConfiguration ¶
type RayJobApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *RayJobSpecApplyConfiguration `json:"spec,omitempty"` Status *RayJobStatusApplyConfiguration `json:"status,omitempty"` }
RayJobApplyConfiguration represents an declarative configuration of the RayJob type for use with apply.
func RayJob ¶
func RayJob(name, namespace string) *RayJobApplyConfiguration
RayJob constructs an declarative configuration of the RayJob type for use with apply.
func (*RayJobApplyConfiguration) WithAPIVersion ¶
func (b *RayJobApplyConfiguration) WithAPIVersion(value string) *RayJobApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*RayJobApplyConfiguration) WithAnnotations ¶
func (b *RayJobApplyConfiguration) WithAnnotations(entries map[string]string) *RayJobApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*RayJobApplyConfiguration) WithCreationTimestamp ¶
func (b *RayJobApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RayJobApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*RayJobApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *RayJobApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RayJobApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*RayJobApplyConfiguration) WithDeletionTimestamp ¶
func (b *RayJobApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RayJobApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*RayJobApplyConfiguration) WithFinalizers ¶
func (b *RayJobApplyConfiguration) WithFinalizers(values ...string) *RayJobApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*RayJobApplyConfiguration) WithGenerateName ¶
func (b *RayJobApplyConfiguration) WithGenerateName(value string) *RayJobApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*RayJobApplyConfiguration) WithGeneration ¶
func (b *RayJobApplyConfiguration) WithGeneration(value int64) *RayJobApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*RayJobApplyConfiguration) WithKind ¶
func (b *RayJobApplyConfiguration) WithKind(value string) *RayJobApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*RayJobApplyConfiguration) WithLabels ¶
func (b *RayJobApplyConfiguration) WithLabels(entries map[string]string) *RayJobApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*RayJobApplyConfiguration) WithName ¶
func (b *RayJobApplyConfiguration) WithName(value string) *RayJobApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*RayJobApplyConfiguration) WithNamespace ¶
func (b *RayJobApplyConfiguration) WithNamespace(value string) *RayJobApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*RayJobApplyConfiguration) WithOwnerReferences ¶
func (b *RayJobApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *RayJobApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*RayJobApplyConfiguration) WithResourceVersion ¶
func (b *RayJobApplyConfiguration) WithResourceVersion(value string) *RayJobApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*RayJobApplyConfiguration) WithSpec ¶
func (b *RayJobApplyConfiguration) WithSpec(value *RayJobSpecApplyConfiguration) *RayJobApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*RayJobApplyConfiguration) WithStatus ¶
func (b *RayJobApplyConfiguration) WithStatus(value *RayJobStatusApplyConfiguration) *RayJobApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*RayJobApplyConfiguration) WithUID ¶
func (b *RayJobApplyConfiguration) WithUID(value types.UID) *RayJobApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type RayJobSpecApplyConfiguration ¶
type RayJobSpecApplyConfiguration struct { Entrypoint *string `json:"entrypoint,omitempty"` Metadata map[string]string `json:"metadata,omitempty"` RuntimeEnvYAML *string `json:"runtimeEnvYAML,omitempty"` JobId *string `json:"jobId,omitempty"` ShutdownAfterJobFinishes *bool `json:"shutdownAfterJobFinishes,omitempty"` TTLSecondsAfterFinished *int32 `json:"ttlSecondsAfterFinished,omitempty"` ActiveDeadlineSeconds *int32 `json:"activeDeadlineSeconds,omitempty"` RayClusterSpec *RayClusterSpecApplyConfiguration `json:"rayClusterSpec,omitempty"` ClusterSelector map[string]string `json:"clusterSelector,omitempty"` SubmissionMode *rayv1.JobSubmissionMode `json:"submissionMode,omitempty"` Suspend *bool `json:"suspend,omitempty"` SubmitterPodTemplate *corev1.PodTemplateSpecApplyConfiguration `json:"submitterPodTemplate,omitempty"` EntrypointNumCpus *float32 `json:"entrypointNumCpus,omitempty"` EntrypointNumGpus *float32 `json:"entrypointNumGpus,omitempty"` EntrypointResources *string `json:"entrypointResources,omitempty"` }
RayJobSpecApplyConfiguration represents an declarative configuration of the RayJobSpec type for use with apply.
func RayJobSpec ¶
func RayJobSpec() *RayJobSpecApplyConfiguration
RayJobSpecApplyConfiguration constructs an declarative configuration of the RayJobSpec type for use with apply.
func (*RayJobSpecApplyConfiguration) WithActiveDeadlineSeconds ¶
func (b *RayJobSpecApplyConfiguration) WithActiveDeadlineSeconds(value int32) *RayJobSpecApplyConfiguration
WithActiveDeadlineSeconds sets the ActiveDeadlineSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ActiveDeadlineSeconds field is set to the value of the last call.
func (*RayJobSpecApplyConfiguration) WithClusterSelector ¶
func (b *RayJobSpecApplyConfiguration) WithClusterSelector(entries map[string]string) *RayJobSpecApplyConfiguration
WithClusterSelector puts the entries into the ClusterSelector field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the ClusterSelector field, overwriting an existing map entries in ClusterSelector field with the same key.
func (*RayJobSpecApplyConfiguration) WithEntrypoint ¶
func (b *RayJobSpecApplyConfiguration) WithEntrypoint(value string) *RayJobSpecApplyConfiguration
WithEntrypoint sets the Entrypoint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Entrypoint field is set to the value of the last call.
func (*RayJobSpecApplyConfiguration) WithEntrypointNumCpus ¶
func (b *RayJobSpecApplyConfiguration) WithEntrypointNumCpus(value float32) *RayJobSpecApplyConfiguration
WithEntrypointNumCpus sets the EntrypointNumCpus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EntrypointNumCpus field is set to the value of the last call.
func (*RayJobSpecApplyConfiguration) WithEntrypointNumGpus ¶
func (b *RayJobSpecApplyConfiguration) WithEntrypointNumGpus(value float32) *RayJobSpecApplyConfiguration
WithEntrypointNumGpus sets the EntrypointNumGpus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EntrypointNumGpus field is set to the value of the last call.
func (*RayJobSpecApplyConfiguration) WithEntrypointResources ¶
func (b *RayJobSpecApplyConfiguration) WithEntrypointResources(value string) *RayJobSpecApplyConfiguration
WithEntrypointResources sets the EntrypointResources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EntrypointResources field is set to the value of the last call.
func (*RayJobSpecApplyConfiguration) WithJobId ¶
func (b *RayJobSpecApplyConfiguration) WithJobId(value string) *RayJobSpecApplyConfiguration
WithJobId sets the JobId field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the JobId field is set to the value of the last call.
func (*RayJobSpecApplyConfiguration) WithMetadata ¶
func (b *RayJobSpecApplyConfiguration) WithMetadata(entries map[string]string) *RayJobSpecApplyConfiguration
WithMetadata puts the entries into the Metadata field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Metadata field, overwriting an existing map entries in Metadata field with the same key.
func (*RayJobSpecApplyConfiguration) WithRayClusterSpec ¶
func (b *RayJobSpecApplyConfiguration) WithRayClusterSpec(value *RayClusterSpecApplyConfiguration) *RayJobSpecApplyConfiguration
WithRayClusterSpec sets the RayClusterSpec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RayClusterSpec field is set to the value of the last call.
func (*RayJobSpecApplyConfiguration) WithRuntimeEnvYAML ¶
func (b *RayJobSpecApplyConfiguration) WithRuntimeEnvYAML(value string) *RayJobSpecApplyConfiguration
WithRuntimeEnvYAML sets the RuntimeEnvYAML field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RuntimeEnvYAML field is set to the value of the last call.
func (*RayJobSpecApplyConfiguration) WithShutdownAfterJobFinishes ¶
func (b *RayJobSpecApplyConfiguration) WithShutdownAfterJobFinishes(value bool) *RayJobSpecApplyConfiguration
WithShutdownAfterJobFinishes sets the ShutdownAfterJobFinishes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ShutdownAfterJobFinishes field is set to the value of the last call.
func (*RayJobSpecApplyConfiguration) WithSubmissionMode ¶
func (b *RayJobSpecApplyConfiguration) WithSubmissionMode(value rayv1.JobSubmissionMode) *RayJobSpecApplyConfiguration
WithSubmissionMode sets the SubmissionMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubmissionMode field is set to the value of the last call.
func (*RayJobSpecApplyConfiguration) WithSubmitterPodTemplate ¶
func (b *RayJobSpecApplyConfiguration) WithSubmitterPodTemplate(value *corev1.PodTemplateSpecApplyConfiguration) *RayJobSpecApplyConfiguration
WithSubmitterPodTemplate sets the SubmitterPodTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubmitterPodTemplate field is set to the value of the last call.
func (*RayJobSpecApplyConfiguration) WithSuspend ¶
func (b *RayJobSpecApplyConfiguration) WithSuspend(value bool) *RayJobSpecApplyConfiguration
WithSuspend sets the Suspend field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Suspend field is set to the value of the last call.
func (*RayJobSpecApplyConfiguration) WithTTLSecondsAfterFinished ¶
func (b *RayJobSpecApplyConfiguration) WithTTLSecondsAfterFinished(value int32) *RayJobSpecApplyConfiguration
WithTTLSecondsAfterFinished sets the TTLSecondsAfterFinished field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TTLSecondsAfterFinished field is set to the value of the last call.
type RayJobStatusApplyConfiguration ¶
type RayJobStatusApplyConfiguration struct { JobId *string `json:"jobId,omitempty"` RayClusterName *string `json:"rayClusterName,omitempty"` DashboardURL *string `json:"dashboardURL,omitempty"` JobStatus *v1.JobStatus `json:"jobStatus,omitempty"` JobDeploymentStatus *v1.JobDeploymentStatus `json:"jobDeploymentStatus,omitempty"` Reason *v1.JobFailedReason `json:"reason,omitempty"` Message *string `json:"message,omitempty"` StartTime *metav1.Time `json:"startTime,omitempty"` EndTime *metav1.Time `json:"endTime,omitempty"` RayClusterStatus *RayClusterStatusApplyConfiguration `json:"rayClusterStatus,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` }
RayJobStatusApplyConfiguration represents an declarative configuration of the RayJobStatus type for use with apply.
func RayJobStatus ¶
func RayJobStatus() *RayJobStatusApplyConfiguration
RayJobStatusApplyConfiguration constructs an declarative configuration of the RayJobStatus type for use with apply.
func (*RayJobStatusApplyConfiguration) WithDashboardURL ¶
func (b *RayJobStatusApplyConfiguration) WithDashboardURL(value string) *RayJobStatusApplyConfiguration
WithDashboardURL sets the DashboardURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DashboardURL field is set to the value of the last call.
func (*RayJobStatusApplyConfiguration) WithEndTime ¶
func (b *RayJobStatusApplyConfiguration) WithEndTime(value metav1.Time) *RayJobStatusApplyConfiguration
WithEndTime sets the EndTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EndTime field is set to the value of the last call.
func (*RayJobStatusApplyConfiguration) WithJobDeploymentStatus ¶
func (b *RayJobStatusApplyConfiguration) WithJobDeploymentStatus(value v1.JobDeploymentStatus) *RayJobStatusApplyConfiguration
WithJobDeploymentStatus sets the JobDeploymentStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the JobDeploymentStatus field is set to the value of the last call.
func (*RayJobStatusApplyConfiguration) WithJobId ¶
func (b *RayJobStatusApplyConfiguration) WithJobId(value string) *RayJobStatusApplyConfiguration
WithJobId sets the JobId field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the JobId field is set to the value of the last call.
func (*RayJobStatusApplyConfiguration) WithJobStatus ¶
func (b *RayJobStatusApplyConfiguration) WithJobStatus(value v1.JobStatus) *RayJobStatusApplyConfiguration
WithJobStatus sets the JobStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the JobStatus field is set to the value of the last call.
func (*RayJobStatusApplyConfiguration) WithMessage ¶
func (b *RayJobStatusApplyConfiguration) WithMessage(value string) *RayJobStatusApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*RayJobStatusApplyConfiguration) WithObservedGeneration ¶
func (b *RayJobStatusApplyConfiguration) WithObservedGeneration(value int64) *RayJobStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*RayJobStatusApplyConfiguration) WithRayClusterName ¶
func (b *RayJobStatusApplyConfiguration) WithRayClusterName(value string) *RayJobStatusApplyConfiguration
WithRayClusterName sets the RayClusterName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RayClusterName field is set to the value of the last call.
func (*RayJobStatusApplyConfiguration) WithRayClusterStatus ¶
func (b *RayJobStatusApplyConfiguration) WithRayClusterStatus(value *RayClusterStatusApplyConfiguration) *RayJobStatusApplyConfiguration
WithRayClusterStatus sets the RayClusterStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RayClusterStatus field is set to the value of the last call.
func (*RayJobStatusApplyConfiguration) WithReason ¶
func (b *RayJobStatusApplyConfiguration) WithReason(value v1.JobFailedReason) *RayJobStatusApplyConfiguration
WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.
func (*RayJobStatusApplyConfiguration) WithStartTime ¶
func (b *RayJobStatusApplyConfiguration) WithStartTime(value metav1.Time) *RayJobStatusApplyConfiguration
WithStartTime sets the StartTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartTime field is set to the value of the last call.
type RayServiceApplyConfiguration ¶
type RayServiceApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *RayServiceSpecApplyConfiguration `json:"spec,omitempty"` Status *RayServiceStatusesApplyConfiguration `json:"status,omitempty"` }
RayServiceApplyConfiguration represents an declarative configuration of the RayService type for use with apply.
func RayService ¶
func RayService(name, namespace string) *RayServiceApplyConfiguration
RayService constructs an declarative configuration of the RayService type for use with apply.
func (*RayServiceApplyConfiguration) WithAPIVersion ¶
func (b *RayServiceApplyConfiguration) WithAPIVersion(value string) *RayServiceApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*RayServiceApplyConfiguration) WithAnnotations ¶
func (b *RayServiceApplyConfiguration) WithAnnotations(entries map[string]string) *RayServiceApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*RayServiceApplyConfiguration) WithCreationTimestamp ¶
func (b *RayServiceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RayServiceApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*RayServiceApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *RayServiceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RayServiceApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*RayServiceApplyConfiguration) WithDeletionTimestamp ¶
func (b *RayServiceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RayServiceApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*RayServiceApplyConfiguration) WithFinalizers ¶
func (b *RayServiceApplyConfiguration) WithFinalizers(values ...string) *RayServiceApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*RayServiceApplyConfiguration) WithGenerateName ¶
func (b *RayServiceApplyConfiguration) WithGenerateName(value string) *RayServiceApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*RayServiceApplyConfiguration) WithGeneration ¶
func (b *RayServiceApplyConfiguration) WithGeneration(value int64) *RayServiceApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*RayServiceApplyConfiguration) WithKind ¶
func (b *RayServiceApplyConfiguration) WithKind(value string) *RayServiceApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*RayServiceApplyConfiguration) WithLabels ¶
func (b *RayServiceApplyConfiguration) WithLabels(entries map[string]string) *RayServiceApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*RayServiceApplyConfiguration) WithName ¶
func (b *RayServiceApplyConfiguration) WithName(value string) *RayServiceApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*RayServiceApplyConfiguration) WithNamespace ¶
func (b *RayServiceApplyConfiguration) WithNamespace(value string) *RayServiceApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*RayServiceApplyConfiguration) WithOwnerReferences ¶
func (b *RayServiceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *RayServiceApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*RayServiceApplyConfiguration) WithResourceVersion ¶
func (b *RayServiceApplyConfiguration) WithResourceVersion(value string) *RayServiceApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*RayServiceApplyConfiguration) WithSpec ¶
func (b *RayServiceApplyConfiguration) WithSpec(value *RayServiceSpecApplyConfiguration) *RayServiceApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*RayServiceApplyConfiguration) WithStatus ¶
func (b *RayServiceApplyConfiguration) WithStatus(value *RayServiceStatusesApplyConfiguration) *RayServiceApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*RayServiceApplyConfiguration) WithUID ¶
func (b *RayServiceApplyConfiguration) WithUID(value types.UID) *RayServiceApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type RayServiceSpecApplyConfiguration ¶
type RayServiceSpecApplyConfiguration struct { ServeConfigV2 *string `json:"serveConfigV2,omitempty"` RayClusterSpec *RayClusterSpecApplyConfiguration `json:"rayClusterConfig,omitempty"` ServiceUnhealthySecondThreshold *int32 `json:"serviceUnhealthySecondThreshold,omitempty"` DeploymentUnhealthySecondThreshold *int32 `json:"deploymentUnhealthySecondThreshold,omitempty"` ServeService *corev1.Service `json:"serveService,omitempty"` }
RayServiceSpecApplyConfiguration represents an declarative configuration of the RayServiceSpec type for use with apply.
func RayServiceSpec ¶
func RayServiceSpec() *RayServiceSpecApplyConfiguration
RayServiceSpecApplyConfiguration constructs an declarative configuration of the RayServiceSpec type for use with apply.
func (*RayServiceSpecApplyConfiguration) WithDeploymentUnhealthySecondThreshold ¶
func (b *RayServiceSpecApplyConfiguration) WithDeploymentUnhealthySecondThreshold(value int32) *RayServiceSpecApplyConfiguration
WithDeploymentUnhealthySecondThreshold sets the DeploymentUnhealthySecondThreshold field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeploymentUnhealthySecondThreshold field is set to the value of the last call.
func (*RayServiceSpecApplyConfiguration) WithRayClusterSpec ¶
func (b *RayServiceSpecApplyConfiguration) WithRayClusterSpec(value *RayClusterSpecApplyConfiguration) *RayServiceSpecApplyConfiguration
WithRayClusterSpec sets the RayClusterSpec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RayClusterSpec field is set to the value of the last call.
func (*RayServiceSpecApplyConfiguration) WithServeConfigV2 ¶
func (b *RayServiceSpecApplyConfiguration) WithServeConfigV2(value string) *RayServiceSpecApplyConfiguration
WithServeConfigV2 sets the ServeConfigV2 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServeConfigV2 field is set to the value of the last call.
func (*RayServiceSpecApplyConfiguration) WithServeService ¶
func (b *RayServiceSpecApplyConfiguration) WithServeService(value corev1.Service) *RayServiceSpecApplyConfiguration
WithServeService sets the ServeService field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServeService field is set to the value of the last call.
func (*RayServiceSpecApplyConfiguration) WithServiceUnhealthySecondThreshold ¶
func (b *RayServiceSpecApplyConfiguration) WithServiceUnhealthySecondThreshold(value int32) *RayServiceSpecApplyConfiguration
WithServiceUnhealthySecondThreshold sets the ServiceUnhealthySecondThreshold field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceUnhealthySecondThreshold field is set to the value of the last call.
type RayServiceStatusApplyConfiguration ¶
type RayServiceStatusApplyConfiguration struct { Applications map[string]AppStatusApplyConfiguration `json:"applicationStatuses,omitempty"` RayClusterName *string `json:"rayClusterName,omitempty"` RayClusterStatus *RayClusterStatusApplyConfiguration `json:"rayClusterStatus,omitempty"` }
RayServiceStatusApplyConfiguration represents an declarative configuration of the RayServiceStatus type for use with apply.
func RayServiceStatus ¶
func RayServiceStatus() *RayServiceStatusApplyConfiguration
RayServiceStatusApplyConfiguration constructs an declarative configuration of the RayServiceStatus type for use with apply.
func (*RayServiceStatusApplyConfiguration) WithApplications ¶
func (b *RayServiceStatusApplyConfiguration) WithApplications(entries map[string]AppStatusApplyConfiguration) *RayServiceStatusApplyConfiguration
WithApplications puts the entries into the Applications field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Applications field, overwriting an existing map entries in Applications field with the same key.
func (*RayServiceStatusApplyConfiguration) WithRayClusterName ¶
func (b *RayServiceStatusApplyConfiguration) WithRayClusterName(value string) *RayServiceStatusApplyConfiguration
WithRayClusterName sets the RayClusterName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RayClusterName field is set to the value of the last call.
func (*RayServiceStatusApplyConfiguration) WithRayClusterStatus ¶
func (b *RayServiceStatusApplyConfiguration) WithRayClusterStatus(value *RayClusterStatusApplyConfiguration) *RayServiceStatusApplyConfiguration
WithRayClusterStatus sets the RayClusterStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RayClusterStatus field is set to the value of the last call.
type RayServiceStatusesApplyConfiguration ¶
type RayServiceStatusesApplyConfiguration struct { ActiveServiceStatus *RayServiceStatusApplyConfiguration `json:"activeServiceStatus,omitempty"` PendingServiceStatus *RayServiceStatusApplyConfiguration `json:"pendingServiceStatus,omitempty"` ServiceStatus *rayv1.ServiceStatus `json:"serviceStatus,omitempty"` NumServeEndpoints *int32 `json:"numServeEndpoints,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"` }
RayServiceStatusesApplyConfiguration represents an declarative configuration of the RayServiceStatuses type for use with apply.
func RayServiceStatuses ¶
func RayServiceStatuses() *RayServiceStatusesApplyConfiguration
RayServiceStatusesApplyConfiguration constructs an declarative configuration of the RayServiceStatuses type for use with apply.
func (*RayServiceStatusesApplyConfiguration) WithActiveServiceStatus ¶
func (b *RayServiceStatusesApplyConfiguration) WithActiveServiceStatus(value *RayServiceStatusApplyConfiguration) *RayServiceStatusesApplyConfiguration
WithActiveServiceStatus sets the ActiveServiceStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ActiveServiceStatus field is set to the value of the last call.
func (*RayServiceStatusesApplyConfiguration) WithLastUpdateTime ¶
func (b *RayServiceStatusesApplyConfiguration) WithLastUpdateTime(value metav1.Time) *RayServiceStatusesApplyConfiguration
WithLastUpdateTime sets the LastUpdateTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastUpdateTime field is set to the value of the last call.
func (*RayServiceStatusesApplyConfiguration) WithNumServeEndpoints ¶
func (b *RayServiceStatusesApplyConfiguration) WithNumServeEndpoints(value int32) *RayServiceStatusesApplyConfiguration
WithNumServeEndpoints sets the NumServeEndpoints field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NumServeEndpoints field is set to the value of the last call.
func (*RayServiceStatusesApplyConfiguration) WithObservedGeneration ¶
func (b *RayServiceStatusesApplyConfiguration) WithObservedGeneration(value int64) *RayServiceStatusesApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*RayServiceStatusesApplyConfiguration) WithPendingServiceStatus ¶
func (b *RayServiceStatusesApplyConfiguration) WithPendingServiceStatus(value *RayServiceStatusApplyConfiguration) *RayServiceStatusesApplyConfiguration
WithPendingServiceStatus sets the PendingServiceStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PendingServiceStatus field is set to the value of the last call.
func (*RayServiceStatusesApplyConfiguration) WithServiceStatus ¶
func (b *RayServiceStatusesApplyConfiguration) WithServiceStatus(value rayv1.ServiceStatus) *RayServiceStatusesApplyConfiguration
WithServiceStatus sets the ServiceStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceStatus field is set to the value of the last call.
type ScaleStrategyApplyConfiguration ¶
type ScaleStrategyApplyConfiguration struct {
WorkersToDelete []string `json:"workersToDelete,omitempty"`
}
ScaleStrategyApplyConfiguration represents an declarative configuration of the ScaleStrategy type for use with apply.
func ScaleStrategy ¶
func ScaleStrategy() *ScaleStrategyApplyConfiguration
ScaleStrategyApplyConfiguration constructs an declarative configuration of the ScaleStrategy type for use with apply.
func (*ScaleStrategyApplyConfiguration) WithWorkersToDelete ¶
func (b *ScaleStrategyApplyConfiguration) WithWorkersToDelete(values ...string) *ScaleStrategyApplyConfiguration
WithWorkersToDelete adds the given value to the WorkersToDelete field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the WorkersToDelete field.
type ServeDeploymentStatusApplyConfiguration ¶
type ServeDeploymentStatusApplyConfiguration struct { Status *string `json:"status,omitempty"` Message *string `json:"message,omitempty"` HealthLastUpdateTime *v1.Time `json:"healthLastUpdateTime,omitempty"` }
ServeDeploymentStatusApplyConfiguration represents an declarative configuration of the ServeDeploymentStatus type for use with apply.
func ServeDeploymentStatus ¶
func ServeDeploymentStatus() *ServeDeploymentStatusApplyConfiguration
ServeDeploymentStatusApplyConfiguration constructs an declarative configuration of the ServeDeploymentStatus type for use with apply.
func (*ServeDeploymentStatusApplyConfiguration) WithHealthLastUpdateTime ¶
func (b *ServeDeploymentStatusApplyConfiguration) WithHealthLastUpdateTime(value v1.Time) *ServeDeploymentStatusApplyConfiguration
WithHealthLastUpdateTime sets the HealthLastUpdateTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HealthLastUpdateTime field is set to the value of the last call.
func (*ServeDeploymentStatusApplyConfiguration) WithMessage ¶
func (b *ServeDeploymentStatusApplyConfiguration) WithMessage(value string) *ServeDeploymentStatusApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*ServeDeploymentStatusApplyConfiguration) WithStatus ¶
func (b *ServeDeploymentStatusApplyConfiguration) WithStatus(value string) *ServeDeploymentStatusApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
type WorkerGroupSpecApplyConfiguration ¶
type WorkerGroupSpecApplyConfiguration struct { GroupName *string `json:"groupName,omitempty"` Replicas *int32 `json:"replicas,omitempty"` MinReplicas *int32 `json:"minReplicas,omitempty"` MaxReplicas *int32 `json:"maxReplicas,omitempty"` NumOfHosts *int32 `json:"numOfHosts,omitempty"` RayStartParams map[string]string `json:"rayStartParams,omitempty"` Template *v1.PodTemplateSpecApplyConfiguration `json:"template,omitempty"` ScaleStrategy *ScaleStrategyApplyConfiguration `json:"scaleStrategy,omitempty"` }
WorkerGroupSpecApplyConfiguration represents an declarative configuration of the WorkerGroupSpec type for use with apply.
func WorkerGroupSpec ¶
func WorkerGroupSpec() *WorkerGroupSpecApplyConfiguration
WorkerGroupSpecApplyConfiguration constructs an declarative configuration of the WorkerGroupSpec type for use with apply.
func (*WorkerGroupSpecApplyConfiguration) WithGroupName ¶
func (b *WorkerGroupSpecApplyConfiguration) WithGroupName(value string) *WorkerGroupSpecApplyConfiguration
WithGroupName sets the GroupName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GroupName field is set to the value of the last call.
func (*WorkerGroupSpecApplyConfiguration) WithMaxReplicas ¶
func (b *WorkerGroupSpecApplyConfiguration) WithMaxReplicas(value int32) *WorkerGroupSpecApplyConfiguration
WithMaxReplicas sets the MaxReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxReplicas field is set to the value of the last call.
func (*WorkerGroupSpecApplyConfiguration) WithMinReplicas ¶
func (b *WorkerGroupSpecApplyConfiguration) WithMinReplicas(value int32) *WorkerGroupSpecApplyConfiguration
WithMinReplicas sets the MinReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinReplicas field is set to the value of the last call.
func (*WorkerGroupSpecApplyConfiguration) WithNumOfHosts ¶
func (b *WorkerGroupSpecApplyConfiguration) WithNumOfHosts(value int32) *WorkerGroupSpecApplyConfiguration
WithNumOfHosts sets the NumOfHosts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NumOfHosts field is set to the value of the last call.
func (*WorkerGroupSpecApplyConfiguration) WithRayStartParams ¶
func (b *WorkerGroupSpecApplyConfiguration) WithRayStartParams(entries map[string]string) *WorkerGroupSpecApplyConfiguration
WithRayStartParams puts the entries into the RayStartParams field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the RayStartParams field, overwriting an existing map entries in RayStartParams field with the same key.
func (*WorkerGroupSpecApplyConfiguration) WithReplicas ¶
func (b *WorkerGroupSpecApplyConfiguration) WithReplicas(value int32) *WorkerGroupSpecApplyConfiguration
WithReplicas sets the Replicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Replicas field is set to the value of the last call.
func (*WorkerGroupSpecApplyConfiguration) WithScaleStrategy ¶
func (b *WorkerGroupSpecApplyConfiguration) WithScaleStrategy(value *ScaleStrategyApplyConfiguration) *WorkerGroupSpecApplyConfiguration
WithScaleStrategy sets the ScaleStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScaleStrategy field is set to the value of the last call.
func (*WorkerGroupSpecApplyConfiguration) WithTemplate ¶
func (b *WorkerGroupSpecApplyConfiguration) WithTemplate(value *v1.PodTemplateSpecApplyConfiguration) *WorkerGroupSpecApplyConfiguration
WithTemplate sets the Template field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Template field is set to the value of the last call.
Source Files ¶
- appstatus.go
- autoscaleroptions.go
- dashboardstatus.go
- headgroupspec.go
- headinfo.go
- raycluster.go
- rayclusterspec.go
- rayclusterstatus.go
- rayjob.go
- rayjobspec.go
- rayjobstatus.go
- rayservice.go
- rayservicespec.go
- rayservicestatus.go
- rayservicestatuses.go
- scalestrategy.go
- servedeploymentstatus.go
- workergroupspec.go