kubernetesk8s.io/kubernetes/pkg/volume/util/types Index | Files

package types

import "k8s.io/kubernetes/pkg/volume/util/types"

Package types defines types used only by volume components

Index

Constants

const (
	// VolumeResizerKey is key that will be used to store resizer used
	// for resizing PVC. The generated key/value pair will be added
	// as a annotation to the PVC.
	VolumeResizerKey = "volume.kubernetes.io/storage-resizer"
)

Types

type GeneratedOperations

type GeneratedOperations struct {
	// Name of operation - could be used for resetting shared exponential backoff
	OperationName     string
	OperationFunc     func() (eventErr error, detailedErr error)
	EventRecorderFunc func(*error)
	CompleteFunc      func(*error)
}

GeneratedOperations contains the operation that is created as well as supporting functions required for the operation executor

func (*GeneratedOperations) Run

func (o *GeneratedOperations) Run() (eventErr, detailedErr error)

Run executes the operations and its supporting functions

type UniquePVCName

type UniquePVCName types.UID

UniquePVCName defines the type to key pvc off

type UniquePodName

type UniquePodName types.UID

UniquePodName defines the type to key pods off of

Source Files

types.go

Version
v1.16.9
Published
Apr 16, 2020
Platform
js/wasm
Imports
2 packages
Last checked
9 seconds ago

Tools for package owners.