types

package
v0.0.0-...-edeefa7 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (
	TgtadmSuccess              = "success"
	TgtadmUnknown              = "unknown error"
	TgtadmNomem                = "out of memory"
	TgtadmNoDriver             = "can't find the driver"
	TgtadmNoTarget             = "can't find the target"
	TgtadmNoLun                = "can't find the logical unit"
	TgtadmNoSession            = "can't find the session"
	TgtadmNoConnection         = "can't find the connection"
	TgtadmNoBinding            = "can't find the binding"
	TgtadmTargetExist          = "this target already exists"
	TgtadmBindingExist         = "this binding already exists"
	TgtadmLunExist             = "this logical unit number already exists"
	TgtadmAclExist             = "this access control rule already exists"
	TgtadmAclNoexist           = "this access control rule does not exist"
	TgtadmUserExist            = "this account already exists"
	TgtadmNoUser               = "can't find the account"
	TgtadmTooManyUser          = "too many accounts"
	TgtadmInvalidRequest       = "invalid request"
	TgtadmOutAccountExist      = "this target already has an outgoing account"
	TgtadmTargetActive         = "this target is still active"
	TgtadmLunActive            = "this logical unit is still active"
	TgtadmDriverActive         = "this driver is busy"
	TgtadmUnsupportedOperation = "this operation isn't supported"
	TgtadmUnknownParam         = "unknown parameter"
	TgtadmPreventRemoval       = "this device has Prevent Removal set"
)

errors are from tgt/usr/tgtadm_error.h and tgt/usr/tgtadm.c

View Source
const (
	FrontendTGTBlockDev = "tgt-blockdev"
	FrontendTGTISCSI    = "tgt-iscsi"
)

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