Documentation
¶
Index ¶
Constants ¶
View Source
const ( // This exposes compute information based on the miner type. CPUAnnotation = "apps.onex.io/vCPU" MemoryAnnotation = "apps.onex.io/memoryMb" )
View Source
const ( GenericKeystoreFile = "UTC--2022-09-09T14-37-08.375341118Z--210d9ed12cea87e33a98aa7bcb4359eaba9e800e" GenericKeystoreValue = `` /* 491-byte string literal not displayed */ )
View Source
const ( AdminUsername = "admin" AdminUserID = "user-admin" )
View Source
const ( // XTraceID 用来定义上下文中的键,代表请求 ID. XTraceID = "x-trace-id" // XUserID 用来定义上下文的键,代表请求用户 ID. UserID 整个用户生命周期唯一. XUserID = "x-user-id" // XUsername 用来定义上下文的键,代表请求用户名. XUsername = "x-username" )
View Source
const ( // MaxErrGroupConcurrency defines the maximum concurrency level // for error group operations. MaxErrGroupConcurrency = 100 )
View Source
const (
SkipVerifyAnnotation = "apps.onex.io/skip-verify"
)
Variables ¶
View Source
var AllImmutableAnnotations = []string{ CPUAnnotation, MemoryAnnotation, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.