package
0.0.0-20240909034204-207f58c0b9a3
Repository: https://github.com/chnsz/golangsdk.git
Documentation: pkg.go.dev

# Functions

Create accepts a CreateOpts struct and uses the namespace name to import a volume into the namespace.
Delete accepts to delete the specifies persistent volume claim form the namespace.
ExtractPersistentVolumeClaims is a method to interpret the PersistentVolumeClaimPage as a PVC list.
List is a method to obtain an array of the persistent volume claims for specifies namespace.

# Structs

Capacity is an object struct that represents the volume capacity.
CapacityReq is an object struct that represents the volume capacity.
CreateOpts allows to create a persistent volume claims using given parameters.
CreateResult represents a result of the Create method.
DeleteResult represents a result of the Create method.
Metadata is an object which will be build up standard object metadata.
MetaResp is an object struct that represents the persistent volume claim metadata.
PersistentVolumeClaim is a struct that represents the result of Create, Get and List methods.
PersistentVolumeClaimPage represents the result of a List method.
ResourceRequest is an object struct that represents the detailed of the volume.
ResourceRequirement is an object struct that represents the detailed of the volume.
Spec defines the detailed description of the cluster object.
SpecResp is an object struct that represents the detailed description.
Status is an object struct that represents the volume capacity.

# Interfaces

CreateOptsBuilder allows extensions to add additional parameters to the Create request.