io.k8s.apiextensionsapiserver.pkg.apis.apiextensions.v1
CustomResourceSubresourceScale
Companion object CustomResourceSubresourceScale
case class CustomResourceSubresourceScale(specReplicasPath: String, statusReplicasPath: String, labelSelectorPath: Option[String] = None) extends Product with Serializable
CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.
- specReplicasPath
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale
spec.replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under.spec. If there is no value under the given path in the custom resource, the/scalesubresource will return an error on GET.- statusReplicasPath
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale
status.replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under.status. If there is no value under the given path in the custom resource, thestatus.replicasvalue in the/scalesubresource will default to 0.- labelSelectorPath
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale
status.selector. Only JSON paths without the array notation are allowed. Must be a JSON Path under.statusor.spec. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, thestatus.selectorvalue in the/scalesubresource will default to the empty string.
- Alphabetic
- By Inheritance
- CustomResourceSubresourceScale
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CustomResourceSubresourceScale(specReplicasPath: String, statusReplicasPath: String, labelSelectorPath: Option[String] = None)
- specReplicasPath
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale
spec.replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under.spec. If there is no value under the given path in the custom resource, the/scalesubresource will return an error on GET.- statusReplicasPath
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale
status.replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under.status. If there is no value under the given path in the custom resource, thestatus.replicasvalue in the/scalesubresource will default to 0.- labelSelectorPath
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale
status.selector. Only JSON paths without the array notation are allowed. Must be a JSON Path under.statusor.spec. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, thestatus.selectorvalue in the/scalesubresource will default to the empty string.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val labelSelectorPath: Option[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val specReplicasPath: String
- val statusReplicasPath: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated