package kubecaml

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

Represents an Iscsi disk. Iscsi volumes can only be mounted as read/write once. Iscsi volumes support ownership management and Se_linux relabeling.

type t
val to_yojson : t -> Yojson.Safe.t
val make : target_portal:string -> ?secret_ref:Kubernetes.Definitions.Api.Core.V1.Local_object_reference.t -> ?read_only:bool -> ?portals:string list -> lun:int -> ?iscsi_interface:string -> iqn:string -> ?initiator_name:string -> ?fs_type:string -> ?chap_auth_session:bool -> ?chap_auth_discovery:bool -> unit -> t
val chap_auth_discovery : t -> bool option

whether support i_scsi Discovery Chap authentication

val chap_auth_session : t -> bool option

whether support i_scsi Session Chap authentication

val fs_type : t -> string option

Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi

val initiator_name : t -> string option

Custom i_scsi Initiator Name. If initiator_name is specified with iscsi_interface simultaneously, new i_scsi interface <target portal>:<volume name> will be created for the connection.

val iqn : t -> string

Target i_scsi Qualified Name.

val iscsi_interface : t -> string option

i_scsi Interface Name that uses an i_scsi transport. Defaults to 'default' (tcp).

val lun : t -> int

i_scsi Target Lun number.

val portals : t -> string list option

i_scsi Target Portal List. The portal is either an Ip or ip_addr:port if the port is other than default (typically Tcp ports 860 and 3260).

val read_only : t -> bool option

Read_only here will force the Read_only setting in Volume_mounts. Defaults to false.

Chap Secret for i_scsi target and initiator authentication

val target_portal : t -> string

i_scsi Target Portal. The Portal is either an Ip or ip_addr:port if the port is other than default (typically Tcp ports 860 and 3260).

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