volume

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 34 Imported by: 2

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 added in v1.0.1

func IsResizing(pvc *corev1.PersistentVolumeClaim) bool

func RegisterSchema

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

Types

type ActionHandler added in v1.0.1

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

func (*ActionHandler) Do added in v1.4.0

func (h *ActionHandler) Do(ctx *harvesterServer.Ctx) (interface{}, error)

type CloneVolumeInput added in v1.1.0

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

type ExportVolumeInput added in v1.0.1

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

type SnapshotVolumeInput added in v1.1.0

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