Documentation ¶
Index ¶
- func Create(clientset *kubernetes.Clientset, name, clusterName string, ...) error
- func CreatePVC(clientset *kubernetes.Clientset, storageSpec *crv1.PgStorageSpec, ...) (string, error)
- func Delete(clientset *kubernetes.Clientset, name string, namespace string) error
- func Exists(clientset *kubernetes.Clientset, name string, namespace string) bool
- type TemplateFields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(clientset *kubernetes.Clientset, name, clusterName string, storageSpec *crv1.PgStorageSpec, namespace string) error
Create a pvc
func CreatePVC ¶
func CreatePVC(clientset *kubernetes.Clientset, storageSpec *crv1.PgStorageSpec, pvcName, clusterName, namespace string) (string, error)
CreatePVC create a pvc
Types ¶
Click to show internal directories.
Click to hide internal directories.