operation

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

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

This section is empty.

Types

type AdminOperation

type AdminOperation struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*AdminOperation) ExecutionTimeLimits

func (operation *AdminOperation) ExecutionTimeLimits() (Duration, Duration, Duration)

func (*AdminOperation) Role

func (operation *AdminOperation) Role() Role

func (*AdminOperation) SetRole

func (operation *AdminOperation) SetRole(role Role)

type Operation

type Operation struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Operation) ExecutionTimeLimits

func (operation *Operation) ExecutionTimeLimits() (Duration, Duration, Duration)

func (*Operation) Role

func (operation *Operation) Role() Role

func (*Operation) SetRole

func (operation *Operation) SetRole(role Role)

type SecureOperation

type SecureOperation struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*SecureOperation) ExecutionTimeLimits

func (operation *SecureOperation) ExecutionTimeLimits() (Duration, Duration, Duration)

func (*SecureOperation) Role

func (operation *SecureOperation) Role() Role

func (*SecureOperation) SetRole

func (operation *SecureOperation) SetRole(role Role)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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