fname

package
v1.3.25 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: MIT Imports: 0 Imported by: 3

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"
)
View Source
const (
	// plain-text initial configs (NOTE: read-only, never change)
	PlainGlobalConfig = "ais.json"
	PlainLocalConfig  = "ais_local.json"

	// versioned, replicated, and checksum-protected
	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