persistentvolume

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package persistentvolume manipulates the k8s api of persistentvolume object

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*PersistentVolume)

Option configures a PersistentVolume

func WithCompleteParams

func WithCompleteParams(addr string, client *httpclient.HTTPClient) Option

WithCompleteParams provides an Option

type PersistentVolume

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

PersistentVolume is the object to manipulate k8s api of persistentVolumeClaim

func New

func New(options ...Option) *PersistentVolume

New news a PersistentVolumeClaim

func (*PersistentVolume) Create

Create creates a k8s persistentVolume

func (*PersistentVolume) Delete

func (p *PersistentVolume) Delete(name string) error

Delete deletes a k8s persistentVolume

func (*PersistentVolume) List

List lists a k8s persistentVolumes

Jump to

Keyboard shortcuts

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