types

package
v1.18.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 2 Imported by: 327

Documentation

Overview

Package types defines types used only by volume components

Index

Constants

View Source
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"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneratedOperations added in v1.10.0

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

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

Run executes the operations and its supporting functions

type UniquePVCName added in v1.8.0

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

Jump to

Keyboard shortcuts

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