case class APIResource(categories: Optional[Vector[String]] = Optional.Absent, group: Optional[String] = Optional.Absent, kind: String, name: String, namespaced: Boolean, shortNames: Optional[Vector[String]] = Optional.Absent, singularName: String, storageVersionHash: Optional[String] = Optional.Absent, verbs: Vector[String], version: Optional[String] = Optional.Absent) extends Product with Serializable
APIResource specifies the name of a resource and whether it is namespaced.
- categories
categories is a list of the grouped resources this resource belongs to (e.g. 'all')
- group
group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale".
- kind
kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
- name
name is the plural name of the resource.
- namespaced
namespaced indicates if a resource is namespaced or not.
- shortNames
shortNames is a list of suggested short names of the resource.
- singularName
singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.
- storageVersionHash
The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.
- verbs
verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)
- version
version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
- Alphabetic
- By Inheritance
- APIResource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
APIResource(categories: Optional[Vector[String]] = Optional.Absent, group: Optional[String] = Optional.Absent, kind: String, name: String, namespaced: Boolean, shortNames: Optional[Vector[String]] = Optional.Absent, singularName: String, storageVersionHash: Optional[String] = Optional.Absent, verbs: Vector[String], version: Optional[String] = Optional.Absent)
- categories
categories is a list of the grouped resources this resource belongs to (e.g. 'all')
- group
group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale".
- kind
kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
- name
name is the plural name of the resource.
- namespaced
namespaced indicates if a resource is namespaced or not.
- shortNames
shortNames is a list of suggested short names of the resource.
- singularName
singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.
- storageVersionHash
The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.
- verbs
verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)
- version
version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
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
- val categories: Optional[Vector[String]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
getCategories: IO[K8sFailure, Vector[String]]
categories is a list of the grouped resources this resource belongs to (e.g.
categories is a list of the grouped resources this resource belongs to (e.g. 'all')
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getGroup: IO[K8sFailure, String]
group is the preferred group of the resource.
group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale".
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getKind: IO[K8sFailure, String]
kind is the kind for the resource (e.g.
kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
This effect always succeeds, it is safe to use the field kind directly.
-
def
getName: IO[K8sFailure, String]
name is the plural name of the resource.
name is the plural name of the resource.
This effect always succeeds, it is safe to use the field name directly.
-
def
getNamespaced: IO[K8sFailure, Boolean]
namespaced indicates if a resource is namespaced or not.
namespaced indicates if a resource is namespaced or not.
This effect always succeeds, it is safe to use the field namespaced directly.
-
def
getShortNames: IO[K8sFailure, Vector[String]]
shortNames is a list of suggested short names of the resource.
shortNames is a list of suggested short names of the resource.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSingularName: IO[K8sFailure, String]
singularName is the singular name of the resource.
singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.
This effect always succeeds, it is safe to use the field singularName directly.
-
def
getStorageVersionHash: IO[K8sFailure, String]
The hash value of the storage version, the version this resource is converted to when written to the data store.
The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getVerbs: IO[K8sFailure, Vector[String]]
verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)
verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)
This effect always succeeds, it is safe to use the field verbs directly.
-
def
getVersion: IO[K8sFailure, String]
version is the preferred version of the resource.
version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val group: Optional[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val kind: String
- val name: String
- val namespaced: Boolean
-
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()
- val shortNames: Optional[Vector[String]]
- val singularName: String
- val storageVersionHash: Optional[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val verbs: Vector[String]
- val version: Optional[String]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )