volume

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Formatter

func Formatter(request *types.APIRequest, resource *types.RawResource)

func IsResizing

func IsResizing(pvc *corev1.PersistentVolumeClaim) bool

func RegisterSchema

func RegisterSchema(scaled *config.Scaled, server *server.Server, _ config.Options) error

Types

type ActionHandler

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

func (ActionHandler) ServeHTTP

func (h ActionHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request)

type CloneVolumeInput

type CloneVolumeInput struct {
	Name string `json:"name"`
}

type ExportVolumeInput

type ExportVolumeInput struct {
	DisplayName      string `json:"displayName"`
	Namespace        string `json:"namespace"`
	StorageClassName string `json:"storageClassName"`
}

type SnapshotVolumeInput

type SnapshotVolumeInput struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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