constants

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// It's RFC 8601 format that decodes and encodes with
	// exactly precision to seconds.
	TimeFormat = `2006-01-02T15:04:05`

	DefaultOpensdsEndpoint = "http://localhost:50040"

	// This is set for None Auth
	DefaultTenantId = "e93b4c0934da416eb9c8d120c5d04d96"

	// Token parameter name
	AuthTokenHeader    = "X-Auth-Token"
	SubjectTokenHeader = "X-Subject-Token"

	// OpenSDS current api version
	APIVersion = "v1beta"

	//Signature parameter name
	AuthorizationHeader = "Authorization"
	SignDateHeader      = "X-Auth-Date"
)
View Source
const (
	StorageClassOpenSDSStandard = "STANDARD"
	StorageClassAWSStandard     = "STANDARD"
)
View Source
const (
	ActionNameExpiration = "expiration"
	ActionNameTransition = "transition"
)
View Source
const (
	ExpirationMinDays           = 1
	TransitionMinDays           = 30
	LifecycleTransitionDaysStep = 30 // The days an object should be save in the current tier before transition to the next tier
	TransitionToArchiveMinDays  = 1
)
View Source
const (
	Tier999 = 999
)

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