feat

package
v1.3.22 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package feat: global runtime-configurable feature flags

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

Index

Constants

View Source
const (
	EnforceIntraClusterAccess = Flags(1 << iota)
	SkipVC                    // skip loading existing object's metadata, Version and Checksum (VC) in particular
	DontAutoDetectFshare      // do not auto-detect file share (NFS, SMB) when _promoting_ shared files to AIS
	ProvideS3APIviaRoot       // handle s3 requests via `aistore-hostname/` (default: `aistore-hostname/s3`)
	FsyncPUT                  // when finalizing PUT(obj) fflush prior to (close, rename) sequence
	LZ4Block1MB               // .tar.lz4 format, lz4 compression: max uncompressed block size=1MB (default: 256K)
	LZ4FrameChecksum          // checksum lz4 frames (default: don't)
	DontAllowPassingFQNtoETL  // do not allow passing fully-qualified name of a locally stored object to (local) ETL containers
	IgnoreLimitedCoexistence  // run in presence of "limited coexistence" type conflicts (same as e.g. CopyBckMsg.Force but globally)
	DisableFastColdGET        // use regular datapath to execute cold-GET operations
	PassThroughSignedS3Req    // pass-through client-authenticated and signed S3 requests
)
View Source
const FeaturesPropName = "features"

Variables

View Source
var All = []string{
	"Enforce-IntraCluster-Access",
	"Skip-Loading-VersionChecksum-MD",
	"Do-not-Auto-Detect-FileShare",
	"Provide-S3-API-via-Root",
	"Fsync-PUT",
	"LZ4-Block-1MB",
	"LZ4-Frame-Checksum",
	"Dont-Allow-Passing-FQN-to-ETL",
	"Ignore-LimitedCoexistence-Conflicts",
	"Disable-Fast-Cold-GET",
	"Pass-Through-Signed-S3-Req",
}

Functions

This section is empty.

Types

type Flags

type Flags cos.BitFlags

func StrToFeat

func StrToFeat(s string) (Flags, error)

func (Flags) IsSet

func (f Flags) IsSet(flag Flags) bool

func (Flags) Set

func (f Flags) Set(flags Flags) Flags

func (Flags) String

func (f Flags) String() (s string)

func (Flags) Value

func (f Flags) Value() string

Jump to

Keyboard shortcuts

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