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 DiscoverNamespacesFromFilesystem ¶ added in v0.16.0
func DiscoverNamespacesFromFilesystem(ctx context.Context, datastorePath string, ioTimeout time.Duration) ([]Namespace, error)
DiscoverNamespacesFromFilesystem skips the PBS CLI and infers namespaces directly from the datastore filesystem layout.
Click to show internal directories.
Click to hide internal directories.