v1

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0, BSD-2-Clause, MIT Imports: 7 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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