package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Controller_revision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a Controller_revision 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. Controller_revisions may, however, be deleted. Note that, due to its use by both the Daemon_set and Stateful_set 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.

type t
val to_yojson : t -> Yojson.Safe.t
val make : revision:int -> ?metadata:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Object_meta.t -> ?kind:string -> ?data:Kubernetes.Definitions.Apimachinery.Pkg.Runtime.Raw_extension.t -> ?api_version:string -> unit -> t
val api_version : t -> string option

Api_version defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

Data is the serialized representation of the state.

val kind : t -> string option

Kind is a string value representing the Rest resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In Camel_case. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

val revision : t -> int

Revision indicates the revision of the state represented by Data.

module Object : Object.S with type value := t