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 -> ?ctx:Cohttp_lwt_unix.Client.ctx -> ?headers:Cohttp.Header.t -> Uri.t -> (Kubernetes.Definitions.Api.Rbac.V1.Cluster_role.t, string) result Lwt.t

read the specified Cluster_role

  • parameter pretty

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

  • parameter name

    name of the Cluster_role

replace the specified Cluster_role

  • parameter pretty

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

  • parameter name

    name of the Cluster_role

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 Cluster_role

  • parameter pretty

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

  • parameter name

    name of the Cluster_role

  • 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 Cluster_role

  • parameter pretty

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

  • parameter name

    name of the Cluster_role

OCaml

Innovation. Community. Security.