persistentvolumeclaims

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package persistentvolumeclaims provides implementation of PersistentVolumeClaim resources for Kubernetes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PersistentVolumeClaims

type PersistentVolumeClaims struct {
	// contains filtered or unexported fields
}

PersistentVolumeClaims provides API for manipulating PersistentVolumeClaim resources within a Kubernetes cluster

func New

New creates a new instance backed by the provided client

func (*PersistentVolumeClaims) Apply

Apply creates the Kubernetes resource given the supplied YAML configuration

func (*PersistentVolumeClaims) Create

func (obj *PersistentVolumeClaims) Create(
	persistentvolumeclaim k8sTypes.PersistentVolumeClaim,
	namespace string,
	opts metav1.CreateOptions,
) (k8sTypes.PersistentVolumeClaim, error)

Create creates the Kubernetes resource given the supplied object

func (*PersistentVolumeClaims) Delete

func (obj *PersistentVolumeClaims) Delete(name, namespace string, opts metav1.DeleteOptions) error

Delete removes the named PersistentVolumeClaims from the namespace

func (*PersistentVolumeClaims) Get

func (obj *PersistentVolumeClaims) Get(
	name, namespace string, opts metav1.GetOptions,
) (k8sTypes.PersistentVolumeClaim, error)

Get returns the named PersistentVolumeClaims instance within the namespace if available

func (*PersistentVolumeClaims) List

List returns a collection of PersistentVolumeClaims available within the namespace

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL