Documentation ¶
Overview ¶
Package persistentvolumeclaims provides implementation of PersistentVolumeClaim resources for Kubernetes
Deprecated: Use the resources package instead.
Index ¶
- type PersistentVolumeClaimsdeprecated
- func (obj *PersistentVolumeClaims) Apply(yaml string, namespace string) (k8sTypes.PersistentVolumeClaim, error)deprecated
- func (obj *PersistentVolumeClaims) Create(persistentvolumeclaim k8sTypes.PersistentVolumeClaim, namespace string, ...) (k8sTypes.PersistentVolumeClaim, error)deprecated
- func (obj *PersistentVolumeClaims) Delete(name, namespace string, opts metav1.DeleteOptions) errordeprecated
- func (obj *PersistentVolumeClaims) Get(name, namespace string, opts metav1.GetOptions) (k8sTypes.PersistentVolumeClaim, error)deprecated
- func (obj *PersistentVolumeClaims) List(namespace string) ([]k8sTypes.PersistentVolumeClaim, error)deprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentVolumeClaims
deprecated
type PersistentVolumeClaims struct {
// contains filtered or unexported fields
}
PersistentVolumeClaims provides API for manipulating PersistentVolumeClaim 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) *PersistentVolumeClaims
New creates a new instance backed by the provided client
Deprecated: No longer used.
func (*PersistentVolumeClaims) Apply
deprecated
func (obj *PersistentVolumeClaims) Apply(yaml string, namespace string) (k8sTypes.PersistentVolumeClaim, error)
Apply creates the Kubernetes resource given the supplied YAML configuration
Deprecated: Use resources.Apply instead.
func (*PersistentVolumeClaims) Create
deprecated
func (obj *PersistentVolumeClaims) Create( persistentvolumeclaim k8sTypes.PersistentVolumeClaim, namespace string, opts metav1.CreateOptions, ) (k8sTypes.PersistentVolumeClaim, error)
Create creates the Kubernetes resource given the supplied object
Deprecated: Use resources.Create instead.
func (*PersistentVolumeClaims) Delete
deprecated
func (obj *PersistentVolumeClaims) Delete(name, namespace string, opts metav1.DeleteOptions) error
Delete removes the named PersistentVolumeClaims from the namespace
Deprecated: Use resources.Delete instead.
func (*PersistentVolumeClaims) Get
deprecated
func (obj *PersistentVolumeClaims) Get( name, namespace string, opts metav1.GetOptions, ) (k8sTypes.PersistentVolumeClaim, error)
Get returns the named PersistentVolumeClaims instance within the namespace if available
Deprecated: Use resources.Get instead.
func (*PersistentVolumeClaims) List
deprecated
func (obj *PersistentVolumeClaims) List(namespace string) ([]k8sTypes.PersistentVolumeClaim, error)
List returns a collection of PersistentVolumeClaims available within the namespace
Deprecated: Use resources.List instead.