process

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package clientmgmt contains the plugin client for Velero.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory interface {
	// contains filtered or unexported methods
}

type KindAndName

type KindAndName struct {
	Kind common.PluginKind
	Name string
}

KindAndName is a convenience struct that combines a PluginKind and a name.

type PluginNotFoundError

type PluginNotFoundError struct {
	// contains filtered or unexported fields
}

pluginNotFoundError indicates a plugin could not be located for kind and name.

func (*PluginNotFoundError) Error

func (e *PluginNotFoundError) Error() string

type Process

type Process interface {
	// contains filtered or unexported methods
}

type Registry

type Registry interface {
	// DiscoverPlugins discovers all available plugins.
	DiscoverPlugins() error
	// List returns all PluginIdentifiers for kind.
	List(kind common.PluginKind) []framework.PluginIdentifier
	// Get returns the PluginIdentifier for kind and name.
	Get(kind common.PluginKind, name string) (framework.PluginIdentifier, error)
}

Registry manages information about available plugins.

func NewRegistry

func NewRegistry(dir string, logger logrus.FieldLogger, logLevel logrus.Level) Registry

NewRegistry returns a new registry.

type Reinitializer

type Reinitializer interface {
	// reinitialize reinitializes a restartable plugin instance using the newly dispensed plugin.
	Reinitialize(dispensed any) error
}

reinitializer is capable of reinitializing a restartable plugin instance using the newly dispensed plugin.

type RestartableProcess

type RestartableProcess interface {
	AddReinitializer(key KindAndName, r Reinitializer)
	Reset() error
	ResetIfNeeded() error
	GetByKindAndName(key KindAndName) (any, error)
	Stop()
}

type RestartableProcessFactory

type RestartableProcessFactory interface {
	NewRestartableProcess(command string, logger logrus.FieldLogger, logLevel logrus.Level) (RestartableProcess, error)
}

func NewRestartableProcessFactory

func NewRestartableProcessFactory() RestartableProcessFactory

Jump to

Keyboard shortcuts

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