CustomResource

Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Types

type CustomResourceList[Sp, St] = ListResource[CustomResource[Sp, St]]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def apply[Sp, St](spec: Sp)(implicit rd: ResourceDefinition[CustomResource[Sp, St]]): CustomResource[Sp, St]

Returns a value that can be passed as the required implicit parameter to the 'getScale' and 'updateScale' method for the given CR type Requires the scale subresource to be defined on the custom resource definition for the type

Returns a value that can be passed as the required implicit parameter to the 'getScale' and 'updateScale' method for the given CR type Requires the scale subresource to be defined on the custom resource definition for the type

Type parameters:
C

The specific CustomResource type for which the status methods should be enabled

Value parameters:
rd

The resource definition for the type - the status subresource must be defined on it

Returns:

HasStatusResource value that can be passed implicitly to the updateStatus method for this type

def statusMethodsEnabler[C <: CustomResource[_, _]](implicit rd: ResourceDefinition[C]): HasStatusSubresource[C]

Returns a value that can be passed as the required implicit parameter to the 'getStatus' and 'updateStatus' method for the given CR type Requires the status subresource to be defined on the custom resource definition for the type

Returns a value that can be passed as the required implicit parameter to the 'getStatus' and 'updateStatus' method for the given CR type Requires the status subresource to be defined on the custom resource definition for the type

Type parameters:
C

The specific CustomResource type for which the status methods should be enabled

Value parameters:
rd

The resource definition for the type - the status subresource must be defined on it

Returns:

HasStatusResource value that can be passed implicitly to the updateStatus method for this type

Implicits

Implicits

implicit def crFormat[Sp, St](implicit spFmt: Format[Sp], stFmt: Format[St]): Format[CustomResource[Sp, St]]
implicit def crListFormat[Sp, St](implicit spFmt: Format[Sp], stFmt: Format[St]): Format[CustomResourceList[Sp, St]]