velero

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginLister added in v1.5.1

type PluginLister interface {
	// List returns all PluginIdentifiers for kind.
	List(kind framework.PluginKind) []framework.PluginIdentifier
}

type ServerStatus added in v1.5.1

type ServerStatus struct {
	PluginRegistry PluginLister
	Clock          clock.Clock
}

ServerStatus holds information for retrieving installed plugins and for updating the ServerStatusRequest timestamp.

func (*ServerStatus) PatchStatusProcessed added in v1.5.1

func (s *ServerStatus) PatchStatusProcessed(kbClient client.Client, req *velerov1api.ServerStatusRequest, ctx context.Context) error

PatchStatusProcessed patches status fields, including loading the plugin info, and updates the ServerStatusRequest.Status.Phase to ServerStatusRequestPhaseProcessed.

Jump to

Keyboard shortcuts

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