CrossVersionObjectReference

case
class CrossVersionObjectReference(apiVersion: Optional[String], kind: String, name: String)

CrossVersionObjectReference contains enough information to let you identify the referred resource.

Value Params
apiVersion

API version of the referent

kind

Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"

name

Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getApiVersion: IO[K8sFailure, String]

API version of the referent

API version of the referent

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getKind: IO[K8sFailure, String]

Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"

Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"

This effect always succeeds, it is safe to use the field kind directly.

def getName: IO[K8sFailure, String]

Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names

Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names

This effect always succeeds, it is safe to use the field name directly.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product