Package-level declarations

Types

Link copied to clipboard
data class ControllerRevision(val apiVersion: String? = null, val data: JsonElement? = null, val kind: String? = null, val metadata: ObjectMeta? = null, val revision: Int)

ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

Link copied to clipboard
data class Deployment(val apiVersion: String? = null, val kind: String? = null, val metadata: ObjectMeta? = null, val spec: DeploymentSpec? = null, val status: DeploymentStatus? = null)

Deployment enables declarative updates for Pods and ReplicaSets. This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

Link copied to clipboard
data class DeploymentCondition(val lastTransitionTime: String? = null, val lastUpdateTime: String? = null, val message: String? = null, val reason: String? = null, val status: String, val type: String)

DeploymentCondition describes the state of a deployment at a certain point.

Link copied to clipboard
data class DeploymentConditionPatch(val lastTransitionTime: String? = null, val lastUpdateTime: String? = null, val message: String? = null, val reason: String? = null, val status: String? = null, val type: String? = null)

DeploymentCondition describes the state of a deployment at a certain point.

Link copied to clipboard
data class DeploymentSpec(val minReadySeconds: Int? = null, val paused: Boolean? = null, val progressDeadlineSeconds: Int? = null, val replicas: Int? = null, val revisionHistoryLimit: Int? = null, val rollbackTo: RollbackConfig? = null, val selector: LabelSelector? = null, val strategy: DeploymentStrategy? = null, val template: PodTemplateSpec)

DeploymentSpec is the specification of the desired behavior of the Deployment.

Link copied to clipboard
data class DeploymentSpecPatch(val minReadySeconds: Int? = null, val paused: Boolean? = null, val progressDeadlineSeconds: Int? = null, val replicas: Int? = null, val revisionHistoryLimit: Int? = null, val rollbackTo: RollbackConfigPatch? = null, val selector: LabelSelectorPatch? = null, val strategy: DeploymentStrategyPatch? = null, val template: PodTemplateSpecPatch? = null)

DeploymentSpec is the specification of the desired behavior of the Deployment.

Link copied to clipboard
data class DeploymentStatus(val availableReplicas: Int? = null, val collisionCount: Int? = null, val conditions: List<DeploymentCondition>? = null, val observedGeneration: Int? = null, val readyReplicas: Int? = null, val replicas: Int? = null, val unavailableReplicas: Int? = null, val updatedReplicas: Int? = null)

DeploymentStatus is the most recently observed status of the Deployment.

Link copied to clipboard
data class DeploymentStatusPatch(val availableReplicas: Int? = null, val collisionCount: Int? = null, val conditions: List<DeploymentConditionPatch>? = null, val observedGeneration: Int? = null, val readyReplicas: Int? = null, val replicas: Int? = null, val unavailableReplicas: Int? = null, val updatedReplicas: Int? = null)

DeploymentStatus is the most recently observed status of the Deployment.

Link copied to clipboard
data class DeploymentStrategy(val rollingUpdate: RollingUpdateDeployment? = null, val type: String? = null)

DeploymentStrategy describes how to replace existing pods with new ones.

Link copied to clipboard
data class DeploymentStrategyPatch(val rollingUpdate: RollingUpdateDeploymentPatch? = null, val type: String? = null)

DeploymentStrategy describes how to replace existing pods with new ones.

Link copied to clipboard
data class RollbackConfig(val revision: Int? = null)

DEPRECATED.

Link copied to clipboard
data class RollbackConfigPatch(val revision: Int? = null)

DEPRECATED.

Link copied to clipboard
data class RollingUpdateDeployment(val maxSurge: Either<Int, String>? = null, val maxUnavailable: Either<Int, String>? = null)

Spec to control the desired behavior of rolling update.

Link copied to clipboard
data class RollingUpdateDeploymentPatch(val maxSurge: Either<Int, String>? = null, val maxUnavailable: Either<Int, String>? = null)

Spec to control the desired behavior of rolling update.

Link copied to clipboard
data class RollingUpdateStatefulSetStrategy(val partition: Int? = null)

RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.

Link copied to clipboard
data class RollingUpdateStatefulSetStrategyPatch(val partition: Int? = null)

RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.

Link copied to clipboard
data class StatefulSet(val apiVersion: String? = null, val kind: String? = null, val metadata: ObjectMeta? = null, val spec: StatefulSetSpec? = null, val status: StatefulSetStatus? = null)

StatefulSet represents a set of pods with consistent identities. Identities are defined as:

Link copied to clipboard
data class StatefulSetCondition(val lastTransitionTime: String? = null, val message: String? = null, val reason: String? = null, val status: String, val type: String)

StatefulSetCondition describes the state of a statefulset at a certain point.

Link copied to clipboard
data class StatefulSetConditionPatch(val lastTransitionTime: String? = null, val message: String? = null, val reason: String? = null, val status: String? = null, val type: String? = null)

StatefulSetCondition describes the state of a statefulset at a certain point.

Link copied to clipboard
data class StatefulSetSpec(val podManagementPolicy: String? = null, val replicas: Int? = null, val revisionHistoryLimit: Int? = null, val selector: LabelSelector? = null, val serviceName: String, val template: PodTemplateSpec, val updateStrategy: StatefulSetUpdateStrategy? = null, val volumeClaimTemplates: List<PersistentVolumeClaim>? = null)

A StatefulSetSpec is the specification of a StatefulSet.

Link copied to clipboard
data class StatefulSetSpecPatch(val podManagementPolicy: String? = null, val replicas: Int? = null, val revisionHistoryLimit: Int? = null, val selector: LabelSelectorPatch? = null, val serviceName: String? = null, val template: PodTemplateSpecPatch? = null, val updateStrategy: StatefulSetUpdateStrategyPatch? = null, val volumeClaimTemplates: List<PersistentVolumeClaimPatch>? = null)

A StatefulSetSpec is the specification of a StatefulSet.

Link copied to clipboard
data class StatefulSetStatus(val collisionCount: Int? = null, val conditions: List<StatefulSetCondition>? = null, val currentReplicas: Int? = null, val currentRevision: String? = null, val observedGeneration: Int? = null, val readyReplicas: Int? = null, val replicas: Int, val updateRevision: String? = null, val updatedReplicas: Int? = null)

StatefulSetStatus represents the current state of a StatefulSet.

Link copied to clipboard
data class StatefulSetStatusPatch(val collisionCount: Int? = null, val conditions: List<StatefulSetConditionPatch>? = null, val currentReplicas: Int? = null, val currentRevision: String? = null, val observedGeneration: Int? = null, val readyReplicas: Int? = null, val replicas: Int? = null, val updateRevision: String? = null, val updatedReplicas: Int? = null)

StatefulSetStatus represents the current state of a StatefulSet.

Link copied to clipboard
data class StatefulSetUpdateStrategy(val rollingUpdate: RollingUpdateStatefulSetStrategy? = null, val type: String? = null)

StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.

Link copied to clipboard
data class StatefulSetUpdateStrategyPatch(val rollingUpdate: RollingUpdateStatefulSetStrategyPatch? = null, val type: String? = null)

StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.