volume

package
v0.8.3-beta.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lock

type Lock struct {
	operations.Base

	Timeout time.Duration
	Command []string
	// contains filtered or unexported fields
}

func (*Lock) Do

func (*Lock) Init added in v0.8.2

func (s *Lock) Init(ctx context.Context) error

type Protection

type Protection struct {
	operations.Base

	Requester     volumeStatsRequester
	Pod           string
	HighWatermark int
	Volumes       map[string]volumeExt
	Readonly      bool
	SendEvent     bool // to disable event for testing
	Logger        logr.Logger
	// contains filtered or unexported fields
}

func (*Protection) Do

func (*Protection) Init

func (p *Protection) Init(ctx context.Context) error

func (*Protection) PreCheck

func (p *Protection) PreCheck(ctx context.Context, req *operations.OpsRequest) error

type Unlock

type Unlock struct {
	operations.Base

	Timeout time.Duration
	Command []string
	// contains filtered or unexported fields
}

func (*Unlock) Do

func (*Unlock) Init added in v0.8.2

func (s *Unlock) Init(ctx context.Context) error

Jump to

Keyboard shortcuts

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