Documentation ¶
Index ¶
- func Formatter(request *types.APIRequest, resource *types.RawResource)
- func IsResizing(pvc *corev1.PersistentVolumeClaim) bool
- func RegisterSchema(scaled *config.Scaled, server *server.Server, _ config.Options) error
- type ActionHandler
- type CloneVolumeInput
- type ExportVolumeInput
- type SnapshotVolumeInput
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
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 SnapshotVolumeInput ¶ added in v1.1.0
type SnapshotVolumeInput struct {
Name string `json:"name"`
}
Click to show internal directories.
Click to hide internal directories.