Documentation
¶
Index ¶
- type PersistentVolumes
- func (obj *PersistentVolumes) Apply(yaml string) (k8sTypes.PersistentVolume, error)
- func (obj *PersistentVolumes) Create(persistentvolume k8sTypes.PersistentVolume, opts metav1.CreateOptions) (k8sTypes.PersistentVolume, error)
- func (obj *PersistentVolumes) Delete(name string, opts metav1.DeleteOptions) error
- func (obj *PersistentVolumes) Get(name string, opts metav1.GetOptions) (k8sTypes.PersistentVolume, error)
- func (obj *PersistentVolumes) List() ([]k8sTypes.PersistentVolume, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentVolumes ¶
type PersistentVolumes struct {
// contains filtered or unexported fields
}
func New ¶
func New(client *kubernetes.Clientset, metaOptions metav1.ListOptions, ctx context.Context) *PersistentVolumes
func (*PersistentVolumes) Apply ¶
func (obj *PersistentVolumes) Apply(yaml string) (k8sTypes.PersistentVolume, error)
func (*PersistentVolumes) Create ¶
func (obj *PersistentVolumes) Create( persistentvolume k8sTypes.PersistentVolume, opts metav1.CreateOptions, ) (k8sTypes.PersistentVolume, error)
func (*PersistentVolumes) Delete ¶
func (obj *PersistentVolumes) Delete(name string, opts metav1.DeleteOptions) error
func (*PersistentVolumes) Get ¶
func (obj *PersistentVolumes) Get(name string, opts metav1.GetOptions) (k8sTypes.PersistentVolume, error)
func (*PersistentVolumes) List ¶
func (obj *PersistentVolumes) List() ([]k8sTypes.PersistentVolume, error)
Click to show internal directories.
Click to hide internal directories.