Packages

Erlang Kubernetes client

Current section

Files

Jump to
kuberl gen kuberl_v1_storage_os_persistent_volume_source.erl
Raw

gen/kuberl_v1_storage_os_persistent_volume_source.erl

-module(kuberl_v1_storage_os_persistent_volume_source).
-export([encode/1]).
-export_type([kuberl_v1_storage_os_persistent_volume_source/0]).
-type kuberl_v1_storage_os_persistent_volume_source() ::
#{ 'fsType' => binary(),
'readOnly' => boolean(),
'secretRef' => kuberl_v1_object_reference:kuberl_v1_object_reference(),
'volumeName' => binary(),
'volumeNamespace' => binary()
}.
encode(#{ 'fsType' := FsType,
'readOnly' := ReadOnly,
'secretRef' := SecretRef,
'volumeName' := VolumeName,
'volumeNamespace' := VolumeNamespace
}) ->
#{ 'fsType' => FsType,
'readOnly' => ReadOnly,
'secretRef' => SecretRef,
'volumeName' => VolumeName,
'volumeNamespace' => VolumeNamespace
}.