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