storage

package
v0.114.4 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package storage implements storage for Storage resources.

Index

Constants

This section is empty.

Variables

View Source
var StatusStrategy = volumeAttachmentStatusStrategy{Strategy}

StatusStrategy is the default logic that applies when creating and updating VolumeAttachmentStatus subresource via the REST API.

View Source
var Strategy = volumeAttachmentStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}

Strategy is the default logic that applies when creating and updating VolumeAttachment objects via the REST API.

Functions

func NewVolumeAttachmentREST

func NewVolumeAttachmentREST(storageConfig storagebackend.Config, _ runtime.Scheme) (rest.Storage, error)

NewVolumeAttachmentREST creates a REST interface for storagev1 VolumeAttachment resource.

func ObjectNameFuncVolumeAttachment

func ObjectNameFuncVolumeAttachment(obj runtime.Object) (string, error)

ObjectNameFuncVolumeAttachment returns the name of the object.

Types

type REST

type REST struct {
	*genericregistry.Store
}

REST wraps a Store and implements rest.Scoper.

Jump to

Keyboard shortcuts

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