Documentation ¶
Index ¶
- Constants
- func CreateOperationRequest(id uint64, operation uint64, clientName string, ...) IOperationRequest
- func CreateOperationResult(id ID, status int32, resultType uint64, payload []byte, pipeline IPipeline, ...) IOperationResult
- func NewOperationRequest() IOperationRequest
- func NewOperationResult() IOperationResult
- type AdminOperation
- type Operation
- type SecureOperation
- func (operation *SecureOperation) ActiveRunner() uint
- func (operation *SecureOperation) ExecutionTimeLimits() (Duration, Duration, Duration)
- func (operation *SecureOperation) Role() Role
- func (operation *SecureOperation) SetActiveRunner(value uint)
- func (operation *SecureOperation) SetRole(role Role)
Constants ¶
View Source
const ( DEFAULT_TIME_LIMIT_WARNING time.Duration = 1000_000_000 DEFAULT_TIME_LIMIT_ALERT time.Duration = 1500_000_000 DEFAULT_TIME_LIMIT_CRITICAL time.Duration = 2000_000_000 )
noinspection GoSnakeCaseUsage
Variables ¶
This section is empty.
Functions ¶
func CreateOperationRequest ¶ added in v1.15.0
func CreateOperationResult ¶ added in v1.15.0
func NewOperationRequest ¶ added in v1.15.0
func NewOperationRequest() IOperationRequest
func NewOperationResult ¶ added in v1.15.0
func NewOperationResult() IOperationResult
Types ¶
type AdminOperation ¶
func (*AdminOperation) ActiveRunner ¶ added in v1.12.1
func (operation *AdminOperation) ActiveRunner() uint
func (*AdminOperation) ExecutionTimeLimits ¶
func (operation *AdminOperation) ExecutionTimeLimits() (Duration, Duration, Duration)
func (*AdminOperation) Role ¶
func (operation *AdminOperation) Role() Role
func (*AdminOperation) SetActiveRunner ¶ added in v1.12.1
func (operation *AdminOperation) SetActiveRunner(value uint)
func (*AdminOperation) SetRole ¶
func (operation *AdminOperation) SetRole(role Role)
type Operation ¶
func (*Operation) ActiveRunner ¶ added in v1.12.1
func (*Operation) ExecutionTimeLimits ¶
func (operation *Operation) ExecutionTimeLimits() (Duration, Duration, Duration)
func (*Operation) SetActiveRunner ¶ added in v1.12.1
type SecureOperation ¶
func (*SecureOperation) ActiveRunner ¶ added in v1.12.1
func (operation *SecureOperation) ActiveRunner() uint
func (*SecureOperation) ExecutionTimeLimits ¶
func (operation *SecureOperation) ExecutionTimeLimits() (Duration, Duration, Duration)
func (*SecureOperation) Role ¶
func (operation *SecureOperation) Role() Role
func (*SecureOperation) SetActiveRunner ¶ added in v1.12.1
func (operation *SecureOperation) SetActiveRunner(value uint)
func (*SecureOperation) SetRole ¶
func (operation *SecureOperation) SetRole(role Role)
Click to show internal directories.
Click to hide internal directories.