package kubecaml

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

Volume_attachment_status is the status of a Volume_attachment request.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?detach_error:Kubernetes.Definitions.Api.Storage.V1alpha1.Volume_error.t -> ?attachment_metadata:Object.Of_strings.t -> attached:bool -> ?attach_error:Kubernetes.Definitions.Api.Storage.V1alpha1.Volume_error.t -> unit -> t

The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external_attacher.

val attached : t -> bool

Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external_attacher.

val attachment_metadata : t -> Object.Of_strings.t option

Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent Wait_for_attach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external_attacher.

The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external_attacher.

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

Innovation. Community. Security.