pbs

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Namespace

type Namespace struct {
	Ns      string `json:"ns"`
	Path    string `json:"path"`
	Parent  string `json:"parent"`
	Comment string `json:"comment"`
	Ctime   int64  `json:"ctime"`
}

Namespace represents a single PBS namespace.

func ListNamespaces

func ListNamespaces(ctx context.Context, datastoreName, datastorePath string, ioTimeout time.Duration) ([]Namespace, bool, error)

ListNamespaces tries the PBS CLI first and, if it fails, falls back to the filesystem to infer namespaces.

Jump to

Keyboard shortcuts

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