Documentation ¶
Overview ¶
Package persistentvolumes provides implementation of PersistentVolume resources for Kubernetes
Deprecated: Use the resources package instead.
Index ¶
- type PersistentVolumesdeprecated
- func (obj *PersistentVolumes) Apply(yaml string) (k8sTypes.PersistentVolume, error)deprecated
- func (obj *PersistentVolumes) Create(persistentvolume k8sTypes.PersistentVolume, opts metav1.CreateOptions) (k8sTypes.PersistentVolume, error)deprecated
- func (obj *PersistentVolumes) Delete(name string, opts metav1.DeleteOptions) errordeprecated
- func (obj *PersistentVolumes) Get(name string, opts metav1.GetOptions) (k8sTypes.PersistentVolume, error)deprecated
- func (obj *PersistentVolumes) List() ([]k8sTypes.PersistentVolume, error)deprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentVolumes
deprecated
type PersistentVolumes struct {
// contains filtered or unexported fields
}
PersistentVolumes provides API for manipulating PersistentVolume resources within a Kubernetes cluster
Deprecated: No longer used in favor of generic resources.
func New
deprecated
func New(ctx context.Context, client kubernetes.Interface, metaOptions metav1.ListOptions) *PersistentVolumes
New creates a new instance backed by the provided client
Deprecated: No longer used.
func (*PersistentVolumes) Apply
deprecated
func (obj *PersistentVolumes) Apply(yaml string) (k8sTypes.PersistentVolume, error)
Apply creates the Kubernetes resource given the supplied YAML configuration
Deprecated: Use resources.Apply instead.
func (*PersistentVolumes) Create
deprecated
func (obj *PersistentVolumes) Create( persistentvolume k8sTypes.PersistentVolume, opts metav1.CreateOptions, ) (k8sTypes.PersistentVolume, error)
Create creates the Kubernetes resource given the supplied object
Deprecated: Use resources.Create instead.
func (*PersistentVolumes) Delete
deprecated
func (obj *PersistentVolumes) Delete(name string, opts metav1.DeleteOptions) error
Delete removes the named PersistentVolumes from the cluster
Deprecated: Use resources.Delete instead.
func (*PersistentVolumes) Get
deprecated
func (obj *PersistentVolumes) Get(name string, opts metav1.GetOptions) (k8sTypes.PersistentVolume, error)
Get returns the named PersistentVolumes instance within the cluster if available
Deprecated: Use resources.Get instead.
func (*PersistentVolumes) List
deprecated
func (obj *PersistentVolumes) List() ([]k8sTypes.PersistentVolume, error)
List returns a collection of PersistentVolumes available within the cluster
Deprecated: Use resources.List instead.