Documentation ¶
Index ¶
- func MarshalAffinity(affinity *apiv1.Affinity) (string, error)
- func MarshalOwnerReference(reference *metav1.OwnerReference) (string, error)
- func MarshalVolume(volume *apiv1.Volume) (string, error)
- func MarshalVolumeMount(mount *apiv1.VolumeMount) (string, error)
- func NewHash32() hash.Hash32
- func UnmarshalAffinity(affinityStr string) (*apiv1.Affinity, error)
- func UnmarshalOwnerReference(ownerReferenceStr string) (*metav1.OwnerReference, error)
- func UnmarshalVolume(volumeStr string) (*apiv1.Volume, error)
- func UnmarshalVolumeMount(mountStr string) (*apiv1.VolumeMount, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalAffinity ¶
MarshalAffinity encodes the given Affinity into a string.
func MarshalOwnerReference ¶
func MarshalOwnerReference(reference *metav1.OwnerReference) (string, error)
MarshalOwnerReference encodes the given OwnerReference into a string.
func MarshalVolume ¶
MarshalVolume encodes the given Volume into a string.
func MarshalVolumeMount ¶
func MarshalVolumeMount(mount *apiv1.VolumeMount) (string, error)
MarshalVolumeMount encodes the given VolumeMount into a string.
func UnmarshalAffinity ¶
UnmarshalAffinity decodes a Affinity from the given string.
func UnmarshalOwnerReference ¶
func UnmarshalOwnerReference(ownerReferenceStr string) (*metav1.OwnerReference, error)
UnmarshalOwnerReference decodes a OwnerReference from the given string.
func UnmarshalVolume ¶
UnmarshalVolume decodes a Volume from the given string.
func UnmarshalVolumeMount ¶
func UnmarshalVolumeMount(mountStr string) (*apiv1.VolumeMount, error)
UnmarshalVolumeMount decodes a VolumeMount from the given string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.