package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val request_path_template : unit -> string
val get : ?pretty:string -> name:string -> ?exact:bool -> ?export:bool -> ?ctx:Cohttp_lwt_unix.Client.ctx -> ?headers:Cohttp.Header.t -> Uri.t -> (Kubernetes.Definitions.Api.Storage.V1beta1.Volume_attachment.t, string) result Lwt.t

read the specified Volume_attachment

  • parameter pretty

    If 'true', then the output is pretty printed.

  • parameter name

    name of the Volume_attachment

  • parameter exact

    Should the export be exact. Exact export maintains cluster_specific fields like 'namespace'.

  • parameter export

    Should this value be exported. Export strips fields that a user can not specify.

replace the specified Volume_attachment

  • parameter pretty

    If 'true', then the output is pretty printed.

  • parameter name

    name of the Volume_attachment

val delete : ?pretty:string -> name:string -> body:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Delete_options.t -> ?grace_period_seconds:int -> ?orphan_dependents:bool -> ?propagation_policy:string -> ?ctx:Cohttp_lwt_unix.Client.ctx -> ?headers:Cohttp.Header.t -> Uri.t -> (Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Status.t, string) result Lwt.t

delete a Volume_attachment

  • parameter pretty

    If 'true', then the output is pretty printed.

  • parameter name

    name of the Volume_attachment

  • parameter grace_period_seconds

    The duration in seconds before the object should be deleted. Value must be non_negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

  • parameter orphan_dependents

    Deprecated: please use the Propagation_policy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or Propagation_policy may be set, but not both.

  • parameter propagation_policy

    Whether and how garbage collection will be performed. Either this field or Orphan_dependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource_specific default policy. Acceptable values are: 'orphan' - orphan the dependents; 'background' - allow the garbage collector to delete the dependents in the background; 'foreground' - a cascading policy that deletes all dependents in the foreground.

partially update the specified Volume_attachment

  • parameter pretty

    If 'true', then the output is pretty printed.

  • parameter name

    name of the Volume_attachment