Ops

com.coralogix.zio.k8s.model.authorization.v1.SubjectAccessReview$.Ops
implicit class Ops(val obj: SubjectAccessReview) extends K8sObjectOps[SubjectAccessReview]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def attachOwner(ownerName: String, ownerUid: String, ownerType: K8sResourceType, kind: String): T

Attach another resource as the owner of this one

Attach another resource as the owner of this one

Attributes

kind

Owner's resource kind

ownerName

Owner's name

ownerType

Owner's resource type metadata

ownerUid

Owner's UID

Returns:

Object with the attached owner described in its metadata

Inherited from:
K8sObjectOps

Gets the geneation of the object or 0 if it is new

Gets the geneation of the object or 0 if it is new

Attributes

Inherited from:
K8sObjectOps

Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present

Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present

Attributes

Inherited from:
K8sObjectOps

Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present

Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present

Attributes

Inherited from:
K8sObjectOps

Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present

Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present

Attributes

Inherited from:
K8sObjectOps
def isOwnedBy[OwnerT : ResourceMetadata](owner: OwnerT): Boolean

Verifies ownership between the resources

Verifies ownership between the resources

Attributes

OwnerT

Type of the owner resource

owner

Possible owner of this resource

Returns:

True if owner owns this resource

Inherited from:
K8sObjectOps

Creates a new object with its metadata modified by the given function f

Creates a new object with its metadata modified by the given function f

Attributes

f

Function to modify the object's metadata with

Returns:

Object with modified metadata

Inherited from:
K8sObjectOps

Gets the metadata of the object

Gets the metadata of the object

Attributes

Inherited from:
K8sObjectOps
def tryAttachOwner[OwnerT : ResourceMetadata](owner: OwnerT): IO[K8sFailure, T]

Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.

Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.

Attributes

OwnerT

Type of the owner

owner

Owner resource

Returns:

Object with the attached owner described in its metadata

Inherited from:
K8sObjectOps

Concrete fields

override protected val impl: K8sObject[SubjectAccessReview]
protected val obj: SubjectAccessReview