fname

package
v1.3.19 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package fname contains filename constants and common system directories

  • Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.

Index

Constants

View Source
const (
	HomeConfigsDir = ".config" // join(cos.HomeDir(), HomeConfigsDir)
	HomeAIS        = "ais"     // join(cos.HomeDir(), HomeConfigsDir, HomeAisDir)
	HomeCLI        = "cli"     // ditto
	HomeAuthN      = "authn"
	HomeAisFS      = "aisfs"
)
View Source
const (
	// aisnode config
	PlaintextInitialConfig = "ais_local.json"
	GlobalConfig           = ".ais.conf"
	OverrideConfig         = ".ais.override_config"

	// proxy aisnode ID
	ProxyID = ".ais.proxy_id"

	// metadata
	Smap        = ".ais.smap"   // Smap persistent file basename
	Rmd         = ".ais.rmd"    // rmd persistent file basename
	Bmd         = ".ais.bmd"    // bmd persistent file basename
	BmdPrevious = Bmd + ".prev" // bmd previous version
	Vmd         = ".ais.vmd"    // vmd persistent file basename
	Emd         = ".ais.emd"    // emd persistent file basename

	// CLI config
	CliConfig = "cli.json" // see jsp/app.go

	// AuthN: config and DB
	AuthNConfig = "authn.json"
	AuthNDB     = "authn.db"

	// Token
	Token = "auth.token"

	// Markers: per mountpath
	MarkersDir          = ".ais.markers"
	ResilverMarker      = "resilver"
	RebalanceMarker     = "rebalance"
	NodeRestartedMarker = "node_restarted"
	NodeRestartedPrev   = "node_restarted.prev"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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