v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendRuntimeConfigApplyConfiguration added in v0.0.7

type BackendRuntimeConfigApplyConfiguration struct {
	BackendName      *inferencev1alpha1.BackendName          `json:"backendName,omitempty"`
	Version          *string                                 `json:"version,omitempty"`
	Envs             []v1.EnvVar                             `json:"envs,omitempty"`
	ConfigName       *string                                 `json:"configName,omitempty"`
	Args             []string                                `json:"flags,omitempty"`
	Resources        *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"`
	SharedMemorySize *resource.Quantity                      `json:"sharedMemorySize,omitempty"`
	ScaleTrigger     *ScaleTriggerApplyConfiguration         `json:"scaleTrigger,omitempty"`
}

BackendRuntimeConfigApplyConfiguration represents a declarative configuration of the BackendRuntimeConfig type for use with apply.

func BackendRuntimeConfig added in v0.0.7

func BackendRuntimeConfig() *BackendRuntimeConfigApplyConfiguration

BackendRuntimeConfigApplyConfiguration constructs a declarative configuration of the BackendRuntimeConfig type for use with apply.

func (*BackendRuntimeConfigApplyConfiguration) WithArgs added in v0.0.7

WithArgs adds the given value to the Args 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 Args field.

func (*BackendRuntimeConfigApplyConfiguration) WithBackendName added in v0.1.1

WithBackendName sets the BackendName 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 BackendName field is set to the value of the last call.

func (*BackendRuntimeConfigApplyConfiguration) WithConfigName added in v0.1.1

WithConfigName sets the ConfigName 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 ConfigName field is set to the value of the last call.

func (*BackendRuntimeConfigApplyConfiguration) WithEnvs added in v0.0.7

WithEnvs adds the given value to the Envs 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 Envs field.

func (*BackendRuntimeConfigApplyConfiguration) WithResources added in v0.0.7

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 (*BackendRuntimeConfigApplyConfiguration) WithScaleTrigger added in v0.1.1

WithScaleTrigger sets the ScaleTrigger 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 ScaleTrigger field is set to the value of the last call.

func (*BackendRuntimeConfigApplyConfiguration) WithSharedMemorySize added in v0.1.1

WithSharedMemorySize sets the SharedMemorySize 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 SharedMemorySize field is set to the value of the last call.

func (*BackendRuntimeConfigApplyConfiguration) WithVersion added in v0.0.7

WithVersion sets the Version 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 Version field is set to the value of the last call.

type ElasticConfigApplyConfiguration

type ElasticConfigApplyConfiguration struct {
	MinReplicas *int32 `json:"minReplicas,omitempty"`
	MaxReplicas *int32 `json:"maxReplicas,omitempty"`
}

ElasticConfigApplyConfiguration represents a declarative configuration of the ElasticConfig type for use with apply.

func ElasticConfig

func ElasticConfig() *ElasticConfigApplyConfiguration

ElasticConfigApplyConfiguration constructs a declarative configuration of the ElasticConfig type for use with apply.

func (*ElasticConfigApplyConfiguration) 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 (*ElasticConfigApplyConfiguration) 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.

type HPATriggerApplyConfiguration added in v0.1.0

type HPATriggerApplyConfiguration struct {
	Metrics  []v2.MetricSpec                     `json:"metrics,omitempty"`
	Behavior *v2.HorizontalPodAutoscalerBehavior `json:"behavior,omitempty"`
}

HPATriggerApplyConfiguration represents a declarative configuration of the HPATrigger type for use with apply.

func HPATrigger added in v0.1.0

func HPATrigger() *HPATriggerApplyConfiguration

HPATriggerApplyConfiguration constructs a declarative configuration of the HPATrigger type for use with apply.

func (*HPATriggerApplyConfiguration) WithBehavior added in v0.1.0

WithBehavior sets the Behavior 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 Behavior field is set to the value of the last call.

func (*HPATriggerApplyConfiguration) WithMetrics added in v0.1.0

WithMetrics adds the given value to the Metrics 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 Metrics field.

type PlaygroundApplyConfiguration

type PlaygroundApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PlaygroundSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PlaygroundStatusApplyConfiguration `json:"status,omitempty"`
}

PlaygroundApplyConfiguration represents a declarative configuration of the Playground type for use with apply.

func Playground

func Playground(name, namespace string) *PlaygroundApplyConfiguration

Playground constructs a declarative configuration of the Playground type for use with apply.

func (*PlaygroundApplyConfiguration) GetName added in v0.0.8

func (b *PlaygroundApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*PlaygroundApplyConfiguration) 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 (*PlaygroundApplyConfiguration) 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 (*PlaygroundApplyConfiguration) WithCreationTimestamp

func (b *PlaygroundApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PlaygroundApplyConfiguration

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 (*PlaygroundApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *PlaygroundApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PlaygroundApplyConfiguration

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 (*PlaygroundApplyConfiguration) WithDeletionTimestamp

func (b *PlaygroundApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PlaygroundApplyConfiguration

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 (*PlaygroundApplyConfiguration) 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 (*PlaygroundApplyConfiguration) 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 (*PlaygroundApplyConfiguration) 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 (*PlaygroundApplyConfiguration) 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 (*PlaygroundApplyConfiguration) 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 (*PlaygroundApplyConfiguration) 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 (*PlaygroundApplyConfiguration) 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 (*PlaygroundApplyConfiguration) 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 (*PlaygroundApplyConfiguration) WithResourceVersion

func (b *PlaygroundApplyConfiguration) WithResourceVersion(value string) *PlaygroundApplyConfiguration

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 (*PlaygroundApplyConfiguration) 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 (*PlaygroundApplyConfiguration) 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 (*PlaygroundApplyConfiguration) 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 PlaygroundSpecApplyConfiguration

type PlaygroundSpecApplyConfiguration struct {
	Replicas             *int32                                      `json:"replicas,omitempty"`
	ModelClaim           *corev1alpha1.ModelClaimApplyConfiguration  `json:"modelClaim,omitempty"`
	ModelClaims          *corev1alpha1.ModelClaimsApplyConfiguration `json:"modelClaims,omitempty"`
	BackendRuntimeConfig *BackendRuntimeConfigApplyConfiguration     `json:"backendRuntimeConfig,omitempty"`
	ElasticConfig        *ElasticConfigApplyConfiguration            `json:"elasticConfig,omitempty"`
}

PlaygroundSpecApplyConfiguration represents a declarative configuration of the PlaygroundSpec type for use with apply.

func PlaygroundSpec

func PlaygroundSpec() *PlaygroundSpecApplyConfiguration

PlaygroundSpecApplyConfiguration constructs a declarative configuration of the PlaygroundSpec type for use with apply.

func (*PlaygroundSpecApplyConfiguration) WithBackendRuntimeConfig added in v0.0.7

WithBackendRuntimeConfig sets the BackendRuntimeConfig 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 BackendRuntimeConfig field is set to the value of the last call.

func (*PlaygroundSpecApplyConfiguration) WithElasticConfig added in v0.0.9

WithElasticConfig sets the ElasticConfig 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 ElasticConfig field is set to the value of the last call.

func (*PlaygroundSpecApplyConfiguration) WithModelClaim

WithModelClaim sets the ModelClaim 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 ModelClaim field is set to the value of the last call.

func (*PlaygroundSpecApplyConfiguration) WithModelClaims added in v0.0.6

WithModelClaims sets the ModelClaims 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 ModelClaims field is set to the value of the last call.

func (*PlaygroundSpecApplyConfiguration) 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.

type PlaygroundStatusApplyConfiguration

type PlaygroundStatusApplyConfiguration struct {
	Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	Replicas   *int32                           `json:"replicas,omitempty"`
	Selector   *string                          `json:"selector,omitempty"`
}

PlaygroundStatusApplyConfiguration represents a declarative configuration of the PlaygroundStatus type for use with apply.

func PlaygroundStatus

func PlaygroundStatus() *PlaygroundStatusApplyConfiguration

PlaygroundStatusApplyConfiguration constructs a declarative configuration of the PlaygroundStatus type for use with apply.

func (*PlaygroundStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions 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 Conditions field.

func (*PlaygroundStatusApplyConfiguration) WithReplicas added in v0.1.0

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 (*PlaygroundStatusApplyConfiguration) WithSelector added in v0.1.0

WithSelector sets the Selector 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 Selector field is set to the value of the last call.

type ResourceRequirementsApplyConfiguration

type ResourceRequirementsApplyConfiguration struct {
	Limits   *v1.ResourceList `json:"limits,omitempty"`
	Requests *v1.ResourceList `json:"requests,omitempty"`
}

ResourceRequirementsApplyConfiguration represents a declarative configuration of the ResourceRequirements type for use with apply.

func ResourceRequirements

func ResourceRequirements() *ResourceRequirementsApplyConfiguration

ResourceRequirementsApplyConfiguration constructs a declarative configuration of the ResourceRequirements type for use with apply.

func (*ResourceRequirementsApplyConfiguration) WithLimits

WithLimits sets the Limits 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 Limits field is set to the value of the last call.

func (*ResourceRequirementsApplyConfiguration) WithRequests

WithRequests sets the Requests 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 Requests field is set to the value of the last call.

type ScaleTriggerApplyConfiguration added in v0.1.0

type ScaleTriggerApplyConfiguration struct {
	HPA *HPATriggerApplyConfiguration `json:"hpa,omitempty"`
}

ScaleTriggerApplyConfiguration represents a declarative configuration of the ScaleTrigger type for use with apply.

func ScaleTrigger added in v0.1.0

func ScaleTrigger() *ScaleTriggerApplyConfiguration

ScaleTriggerApplyConfiguration constructs a declarative configuration of the ScaleTrigger type for use with apply.

func (*ScaleTriggerApplyConfiguration) WithHPA added in v0.1.0

WithHPA sets the HPA 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 HPA field is set to the value of the last call.

type ServiceApplyConfiguration

type ServiceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ServiceSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ServiceStatusApplyConfiguration `json:"status,omitempty"`
}

ServiceApplyConfiguration represents a declarative configuration of the Service type for use with apply.

func Service

func Service(name, namespace string) *ServiceApplyConfiguration

Service constructs a declarative configuration of the Service type for use with apply.

func (*ServiceApplyConfiguration) GetName added in v0.0.8

func (b *ServiceApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*ServiceApplyConfiguration) 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 (*ServiceApplyConfiguration) WithAnnotations

func (b *ServiceApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithCreationTimestamp

func (b *ServiceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *ServiceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithDeletionTimestamp

func (b *ServiceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithFinalizers

func (b *ServiceApplyConfiguration) WithFinalizers(values ...string) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithGenerateName

func (b *ServiceApplyConfiguration) WithGenerateName(value string) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithGeneration

func (b *ServiceApplyConfiguration) WithGeneration(value int64) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) 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 (*ServiceApplyConfiguration) 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 (*ServiceApplyConfiguration) 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 (*ServiceApplyConfiguration) 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 (*ServiceApplyConfiguration) 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 (*ServiceApplyConfiguration) WithResourceVersion

func (b *ServiceApplyConfiguration) WithResourceVersion(value string) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) 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 (*ServiceApplyConfiguration) 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 (*ServiceApplyConfiguration) 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 ServiceSpecApplyConfiguration

type ServiceSpecApplyConfiguration struct {
	ModelClaims      *corev1alpha1.ModelClaimsApplyConfiguration `json:"modelClaims,omitempty"`
	WorkloadTemplate *v1.LeaderWorkerSetSpec                     `json:"workloadTemplate,omitempty"`
}

ServiceSpecApplyConfiguration represents a declarative configuration of the ServiceSpec type for use with apply.

func ServiceSpec

func ServiceSpec() *ServiceSpecApplyConfiguration

ServiceSpecApplyConfiguration constructs a declarative configuration of the ServiceSpec type for use with apply.

func (*ServiceSpecApplyConfiguration) WithModelClaims added in v0.0.6

WithModelClaims sets the ModelClaims 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 ModelClaims field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithWorkloadTemplate

WithWorkloadTemplate sets the WorkloadTemplate 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 WorkloadTemplate field is set to the value of the last call.

type ServiceStatusApplyConfiguration

type ServiceStatusApplyConfiguration struct {
	Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	Replicas   *int32                           `json:"replicas,omitempty"`
	Selector   *string                          `json:"selector,omitempty"`
}

ServiceStatusApplyConfiguration represents a declarative configuration of the ServiceStatus type for use with apply.

func ServiceStatus

func ServiceStatus() *ServiceStatusApplyConfiguration

ServiceStatusApplyConfiguration constructs a declarative configuration of the ServiceStatus type for use with apply.

func (*ServiceStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions 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 Conditions field.

func (*ServiceStatusApplyConfiguration) WithReplicas added in v0.1.0

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 (*ServiceStatusApplyConfiguration) WithSelector added in v0.1.0

WithSelector sets the Selector 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 Selector 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