filesystem_impl

package
v0.0.0-...-0ab759d Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNewUUID

func GetNewUUID() string

func NewAnsible

func NewAnsible() filesystem.Ansible

func NewFileSystemProvider

func NewFileSystemProvider(ansible filesystem.Ansible) filesystem.Provider

Types

type FSInfo

type FSInfo struct {
	Hosts map[string]HostInfo `yaml:"hosts"`
	Vars  map[string]string   `yaml:"vars"`
}

type FSType

type FSType int
const (
	BeegFS FSType = iota
	Lustre
)

func (FSType) MarshalJSON

func (fsType FSType) MarshalJSON() ([]byte, error)

func (FSType) String

func (fsType FSType) String() string

func (*FSType) UnmarshalJSON

func (fsType *FSType) UnmarshalJSON(b []byte) error

type FileSystems

type FileSystems struct {
	Children map[string]FSInfo `yaml:"children"`
}

type HostInfo

type HostInfo struct {
	MGS  string         `yaml:"mgs,omitempty"`
	MDTS map[string]int `yaml:"mdts,omitempty,flow"`
	OSTS map[string]int `yaml:"osts,omitempty,flow"`
	// contains filtered or unexported fields
}

type Run

type Run interface {
	Execute(name string, asRoot bool, cmd string) error
}

type Wrapper

type Wrapper struct {
	Dacs FileSystems
}

Jump to

Keyboard shortcuts

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