Documentation ¶
Index ¶
- func CreatePersistentVolume(cli *kubernetes.Clientset, pv *v1.PersistentVolume) (*v1.PersistentVolume, error)
- func DeletePersistentVolume(cli *kubernetes.Clientset, name string) error
- func GetPersistentVolumeByName(cli *kubernetes.Clientset, name string) (*v1.PersistentVolume, error)
- func ListPersistentVolume(cli *kubernetes.Clientset, listOptions metaV1.ListOptions) ([]v1.PersistentVolume, error)
- func UpdatePersistentVolume(cli *kubernetes.Clientset, pv *v1.PersistentVolume) (*v1.PersistentVolume, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePersistentVolume ¶
func CreatePersistentVolume(cli *kubernetes.Clientset, pv *v1.PersistentVolume) (*v1.PersistentVolume, error)
func DeletePersistentVolume ¶
func DeletePersistentVolume(cli *kubernetes.Clientset, name string) error
func GetPersistentVolumeByName ¶
func GetPersistentVolumeByName(cli *kubernetes.Clientset, name string) (*v1.PersistentVolume, error)
func ListPersistentVolume ¶
func ListPersistentVolume(cli *kubernetes.Clientset, listOptions metaV1.ListOptions) ([]v1.PersistentVolume, error)
func UpdatePersistentVolume ¶
func UpdatePersistentVolume(cli *kubernetes.Clientset, pv *v1.PersistentVolume) (*v1.PersistentVolume, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.