Documentation
¶
Index ¶
- type BackendRuntimeConfigApplyConfiguration
- func (b *BackendRuntimeConfigApplyConfiguration) WithArgs(values ...string) *BackendRuntimeConfigApplyConfiguration
- func (b *BackendRuntimeConfigApplyConfiguration) WithBackendName(value inferencev1alpha1.BackendName) *BackendRuntimeConfigApplyConfiguration
- func (b *BackendRuntimeConfigApplyConfiguration) WithConfigName(value string) *BackendRuntimeConfigApplyConfiguration
- func (b *BackendRuntimeConfigApplyConfiguration) WithEnvs(values ...v1.EnvVar) *BackendRuntimeConfigApplyConfiguration
- func (b *BackendRuntimeConfigApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *BackendRuntimeConfigApplyConfiguration
- func (b *BackendRuntimeConfigApplyConfiguration) WithScaleTrigger(value *ScaleTriggerApplyConfiguration) *BackendRuntimeConfigApplyConfiguration
- func (b *BackendRuntimeConfigApplyConfiguration) WithSharedMemorySize(value resource.Quantity) *BackendRuntimeConfigApplyConfiguration
- func (b *BackendRuntimeConfigApplyConfiguration) WithVersion(value string) *BackendRuntimeConfigApplyConfiguration
- type ElasticConfigApplyConfiguration
- type HPATriggerApplyConfiguration
- type PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) GetName() *string
- func (b *PlaygroundApplyConfiguration) WithAPIVersion(value string) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithAnnotations(entries map[string]string) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithFinalizers(values ...string) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithGenerateName(value string) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithGeneration(value int64) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithKind(value string) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithLabels(entries map[string]string) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithName(value string) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithNamespace(value string) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithResourceVersion(value string) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithSpec(value *PlaygroundSpecApplyConfiguration) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithStatus(value *PlaygroundStatusApplyConfiguration) *PlaygroundApplyConfiguration
- func (b *PlaygroundApplyConfiguration) WithUID(value types.UID) *PlaygroundApplyConfiguration
- type PlaygroundSpecApplyConfiguration
- func (b *PlaygroundSpecApplyConfiguration) WithBackendRuntimeConfig(value *BackendRuntimeConfigApplyConfiguration) *PlaygroundSpecApplyConfiguration
- func (b *PlaygroundSpecApplyConfiguration) WithElasticConfig(value *ElasticConfigApplyConfiguration) *PlaygroundSpecApplyConfiguration
- func (b *PlaygroundSpecApplyConfiguration) WithModelClaim(value *corev1alpha1.ModelClaimApplyConfiguration) *PlaygroundSpecApplyConfiguration
- func (b *PlaygroundSpecApplyConfiguration) WithModelClaims(value *corev1alpha1.ModelClaimsApplyConfiguration) *PlaygroundSpecApplyConfiguration
- func (b *PlaygroundSpecApplyConfiguration) WithReplicas(value int32) *PlaygroundSpecApplyConfiguration
- type PlaygroundStatusApplyConfiguration
- func (b *PlaygroundStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *PlaygroundStatusApplyConfiguration
- func (b *PlaygroundStatusApplyConfiguration) WithReplicas(value int32) *PlaygroundStatusApplyConfiguration
- func (b *PlaygroundStatusApplyConfiguration) WithSelector(value string) *PlaygroundStatusApplyConfiguration
- type ResourceRequirementsApplyConfiguration
- type ScaleTriggerApplyConfiguration
- type ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) GetName() *string
- func (b *ServiceApplyConfiguration) WithAPIVersion(value string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithFinalizers(values ...string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithGenerateName(value string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithGeneration(value int64) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithKind(value string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithLabels(entries map[string]string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithName(value string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithNamespace(value string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithResourceVersion(value string) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithSpec(value *ServiceSpecApplyConfiguration) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithStatus(value *ServiceStatusApplyConfiguration) *ServiceApplyConfiguration
- func (b *ServiceApplyConfiguration) WithUID(value types.UID) *ServiceApplyConfiguration
- type ServiceSpecApplyConfiguration
- type ServiceStatusApplyConfiguration
- func (b *ServiceStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *ServiceStatusApplyConfiguration
- func (b *ServiceStatusApplyConfiguration) WithReplicas(value int32) *ServiceStatusApplyConfiguration
- func (b *ServiceStatusApplyConfiguration) WithSelector(value string) *ServiceStatusApplyConfiguration
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"` 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
func (b *BackendRuntimeConfigApplyConfiguration) WithArgs(values ...string) *BackendRuntimeConfigApplyConfiguration
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
func (b *BackendRuntimeConfigApplyConfiguration) WithBackendName(value inferencev1alpha1.BackendName) *BackendRuntimeConfigApplyConfiguration
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
func (b *BackendRuntimeConfigApplyConfiguration) WithConfigName(value string) *BackendRuntimeConfigApplyConfiguration
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
func (b *BackendRuntimeConfigApplyConfiguration) WithEnvs(values ...v1.EnvVar) *BackendRuntimeConfigApplyConfiguration
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
func (b *BackendRuntimeConfigApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *BackendRuntimeConfigApplyConfiguration
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
func (b *BackendRuntimeConfigApplyConfiguration) WithScaleTrigger(value *ScaleTriggerApplyConfiguration) *BackendRuntimeConfigApplyConfiguration
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
func (b *BackendRuntimeConfigApplyConfiguration) WithSharedMemorySize(value resource.Quantity) *BackendRuntimeConfigApplyConfiguration
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
func (b *BackendRuntimeConfigApplyConfiguration) WithVersion(value string) *BackendRuntimeConfigApplyConfiguration
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 ¶
func (b *ElasticConfigApplyConfiguration) WithMaxReplicas(value int32) *ElasticConfigApplyConfiguration
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 ¶
func (b *ElasticConfigApplyConfiguration) WithMinReplicas(value int32) *ElasticConfigApplyConfiguration
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
func (b *HPATriggerApplyConfiguration) WithBehavior(value v2.HorizontalPodAutoscalerBehavior) *HPATriggerApplyConfiguration
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
func (b *HPATriggerApplyConfiguration) WithMetrics(values ...v2.MetricSpec) *HPATriggerApplyConfiguration
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 ¶
func (b *PlaygroundApplyConfiguration) WithAPIVersion(value string) *PlaygroundApplyConfiguration
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 ¶
func (b *PlaygroundApplyConfiguration) WithAnnotations(entries map[string]string) *PlaygroundApplyConfiguration
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 ¶
func (b *PlaygroundApplyConfiguration) WithFinalizers(values ...string) *PlaygroundApplyConfiguration
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 ¶
func (b *PlaygroundApplyConfiguration) WithGenerateName(value string) *PlaygroundApplyConfiguration
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 ¶
func (b *PlaygroundApplyConfiguration) WithGeneration(value int64) *PlaygroundApplyConfiguration
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 ¶
func (b *PlaygroundApplyConfiguration) WithKind(value string) *PlaygroundApplyConfiguration
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 ¶
func (b *PlaygroundApplyConfiguration) WithLabels(entries map[string]string) *PlaygroundApplyConfiguration
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 ¶
func (b *PlaygroundApplyConfiguration) WithName(value string) *PlaygroundApplyConfiguration
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 ¶
func (b *PlaygroundApplyConfiguration) WithNamespace(value string) *PlaygroundApplyConfiguration
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 ¶
func (b *PlaygroundApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PlaygroundApplyConfiguration
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 ¶
func (b *PlaygroundApplyConfiguration) WithSpec(value *PlaygroundSpecApplyConfiguration) *PlaygroundApplyConfiguration
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 ¶
func (b *PlaygroundApplyConfiguration) WithStatus(value *PlaygroundStatusApplyConfiguration) *PlaygroundApplyConfiguration
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 ¶
func (b *PlaygroundApplyConfiguration) WithUID(value types.UID) *PlaygroundApplyConfiguration
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
func (b *PlaygroundSpecApplyConfiguration) WithBackendRuntimeConfig(value *BackendRuntimeConfigApplyConfiguration) *PlaygroundSpecApplyConfiguration
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
func (b *PlaygroundSpecApplyConfiguration) WithElasticConfig(value *ElasticConfigApplyConfiguration) *PlaygroundSpecApplyConfiguration
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 ¶
func (b *PlaygroundSpecApplyConfiguration) WithModelClaim(value *corev1alpha1.ModelClaimApplyConfiguration) *PlaygroundSpecApplyConfiguration
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
func (b *PlaygroundSpecApplyConfiguration) WithModelClaims(value *corev1alpha1.ModelClaimsApplyConfiguration) *PlaygroundSpecApplyConfiguration
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 ¶
func (b *PlaygroundSpecApplyConfiguration) WithReplicas(value int32) *PlaygroundSpecApplyConfiguration
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 ¶
func (b *PlaygroundStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *PlaygroundStatusApplyConfiguration
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
func (b *PlaygroundStatusApplyConfiguration) WithReplicas(value int32) *PlaygroundStatusApplyConfiguration
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
func (b *PlaygroundStatusApplyConfiguration) WithSelector(value string) *PlaygroundStatusApplyConfiguration
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 ¶
func (b *ResourceRequirementsApplyConfiguration) WithLimits(value v1.ResourceList) *ResourceRequirementsApplyConfiguration
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 ¶
func (b *ResourceRequirementsApplyConfiguration) WithRequests(value v1.ResourceList) *ResourceRequirementsApplyConfiguration
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
func (b *ScaleTriggerApplyConfiguration) WithHPA(value *HPATriggerApplyConfiguration) *ScaleTriggerApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithAPIVersion(value string) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithKind(value string) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithLabels(entries map[string]string) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithName(value string) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithNamespace(value string) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithSpec(value *ServiceSpecApplyConfiguration) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithStatus(value *ServiceStatusApplyConfiguration) *ServiceApplyConfiguration
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 ¶
func (b *ServiceApplyConfiguration) WithUID(value types.UID) *ServiceApplyConfiguration
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
func (b *ServiceSpecApplyConfiguration) WithModelClaims(value *corev1alpha1.ModelClaimsApplyConfiguration) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceSpecApplyConfiguration) WithWorkloadTemplate(value v1.LeaderWorkerSetSpec) *ServiceSpecApplyConfiguration
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 ¶
func (b *ServiceStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *ServiceStatusApplyConfiguration
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
func (b *ServiceStatusApplyConfiguration) WithReplicas(value int32) *ServiceStatusApplyConfiguration
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
func (b *ServiceStatusApplyConfiguration) WithSelector(value string) *ServiceStatusApplyConfiguration
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.