cmd

package
v2.0.0-...-82e32b5 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: MIT Imports: 43 Imported by: 0

Documentation

Index

Constants

View Source
const SecureConfigEnvName string = "BLOBFUSE2_SECURE_CONFIG_PASSPHRASE"
View Source
const SecureConfigExtension string = ".azsec"

Variables

This section is empty.

Functions

func Destroy

func Destroy(message string) error

func Execute

func Execute() error

Execute : Actual command execution starts from here

func OnConfigChange

func OnConfigChange()

func VersionCheck

func VersionCheck() error

VersionCheck : Start version check and wait for 8 seconds to complete otherwise just timeout and move on

Types

type Blob

type Blob struct {
	XMLName xml.Name `xml:"Blob"`
	Name    string   `xml:"Name"`
}

type ComponentsConfig

type ComponentsConfig []string

type LogOptions

type LogOptions struct {
	Type           string `config:"type" yaml:"type,omitempty"`
	LogLevel       string `config:"level" yaml:"level,omitempty"`
	LogFilePath    string `config:"file-path" yaml:"file-path,omitempty"`
	MaxLogFileSize uint64 `config:"max-file-size-mb" yaml:"max-file-size-mb,omitempty"`
	LogFileCount   uint64 `config:"file-count" yaml:"file-count,omitempty"`
	TimeTracker    bool   `config:"track-time" yaml:"track-time,omitempty"`
}

type PipelineConfig

type PipelineConfig struct {
	ForegroundOption            bool `yaml:"foreground,omitempty"`
	ReadOnlyOption              bool `yaml:"read-only,omitempty"`
	AllowOtherOption            bool `yaml:"allow-other,omitempty"`
	NonEmptyMountOption         bool `yaml:"nonempty,omitempty"`
	LogOptions                  `yaml:"logging,omitempty"`
	libfuse.LibfuseOptions      `yaml:"libfuse,omitempty"`
	stream.StreamOptions        `yaml:"stream,omitempty"`
	file_cache.FileCacheOptions `yaml:"file_cache,omitempty"`
	attr_cache.AttrCacheOptions `yaml:"attr_cache,omitempty"`
	azstorage.AzStorageOptions  `yaml:"azstorage,omitempty"`
	ComponentsConfig            `yaml:"components,omitempty"`
}

type VersionFilesList

type VersionFilesList struct {
	XMLName xml.Name `xml:"EnumerationResults"`
	Blobs   []Blob   `xml:"Blobs>Blob"`
}

Jump to

Keyboard shortcuts

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