Packages

Erlang Kubernetes client

Current section

Files

Jump to
kuberl gen kuberl_v1_volume_mount.erl
Raw

gen/kuberl_v1_volume_mount.erl

-module(kuberl_v1_volume_mount).
-export([encode/1]).
-export_type([kuberl_v1_volume_mount/0]).
-type kuberl_v1_volume_mount() ::
#{ 'mountPath' := binary(),
'mountPropagation' => binary(),
'name' := binary(),
'readOnly' => boolean(),
'subPath' => binary()
}.
encode(#{ 'mountPath' := MountPath,
'mountPropagation' := MountPropagation,
'name' := Name,
'readOnly' := ReadOnly,
'subPath' := SubPath
}) ->
#{ 'mountPath' => MountPath,
'mountPropagation' => MountPropagation,
'name' => Name,
'readOnly' => ReadOnly,
'subPath' => SubPath
}.