vgmanager

package
v4.17.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDiagnosticsAddr = ":8443"
	DefaultHealthProbeAddr = ":8081"
)

Variables

View Source
var ErrCSIPluginNotYetRegistered = errors.New("CSI plugin not yet registered")
View Source
var ErrConfigModified = errors.New("lvmd config file is modified")
View Source
var ErrNoDeviceClassesAvailable = errors.New("no device classes in lvmd.yaml configured, can not startup correctly")

Functions

func ErrorLoggingInterceptor

func ErrorLoggingInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)

func NewCmd

func NewCmd(opts *Options) *cobra.Command

NewCmd creates a new CLI command

Types

type Options

type Options struct {
	Scheme   *runtime.Scheme
	SetupLog logr.Logger
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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