persistentvolume

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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