cmd

package
v2.0.0-...-de42375 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 44 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"`
	block_cache.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 {
	Version string `xml:"latest"`
}

Jump to

Keyboard shortcuts

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