amtexplorer

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 60 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExplorerUseCase   = ExplorerError{Console: consoleerrors.CreateConsoleError("Unsupported Explorer Command")}
	ErrExplorerAMT       = ExplorerError{Console: consoleerrors.CreateConsoleError("AMT Error")}
	ErrExplorerNoResults = ExplorerError{Console: consoleerrors.CreateConsoleError("No results returned")}
	ErrExplorerInResult  = ExplorerError{Console: consoleerrors.CreateConsoleError("Error in result")}
	ErrNotFound          = sqldb.NotFoundError{Console: consoleerrors.CreateConsoleError("ProfilesUseCase")}
)
View Source
var ErrAMT = AMTError{Console: consoleerrors.CreateConsoleError("DevicesUseCase")}
View Source
var ErrDatabase = sqldb.DatabaseError{Console: consoleerrors.CreateConsoleError("DevicesUseCase")}

Functions

This section is empty.

Types

type AMTError

type AMTError struct {
	Console consoleerrors.InternalError
}

func (AMTError) Error

func (e AMTError) Error() string

func (AMTError) Wrap

func (e AMTError) Wrap(call, function string, err error) error

type AMTExplorer

type AMTExplorer interface {
	GetAMT8021xCredentialContext() (ieee8021x.Response, error)
	GetAMT8021xProfile() (ieee8021x.Response, error)
	GetAMTAlarmClockService() (alarmclock.Response, error)
	GetAMTAuditLog() (auditlog.Response, error)
	GetAMTAuthorizationService() (authorization.Response, error)
	GetAMTBootCapabilities() (boot.Response, error)
	GetAMTBootSettingData() (boot.Response, error)
	GetAMTEnvironmentDetectionSettingData() (environmentdetection.Response, error)
	GetAMTEthernetPortSettings() (ethernetport.Response, error)
	GetAMTGeneralSettings() (general.Response, error)
	GetAMTKerberosSettingData() (kerberos.Response, error)
	GetAMTManagementPresenceRemoteSAP() (managementpresence.Response, error)
	GetAMTMessageLog() (messagelog.Response, error)
	GetAMTMPSUsernamePassword() (mps.Response, error)
	GetAMTPublicKeyCertificate() (publickey.Response, error)
	GetAMTPublicKeyManagementService() (publickey.Response, error)
	GetAMTPublicPrivateKeyPair() (publicprivate.Response, error)
	GetAMTRedirectionService() (redirection.Response, error)
	GetAMTRemoteAccessPolicyAppliesToMPS() (remoteaccess.Response, error)
	GetAMTRemoteAccessPolicyRule() (remoteaccess.Response, error)
	GetAMTRemoteAccessService() (remoteaccess.Response, error)
	GetAMTSetupAndConfigurationService() (setupandconfiguration.Response, error)
	GetAMTTimeSynchronizationService() (timesynchronization.Response, error)
	GetAMTTLSCredentialContext() (tls.Response, error)
	GetAMTTLSProtocolEndpointCollection() (tls.Response, error)
	GetAMTTLSSettingData() (tls.Response, error)
	GetAMTUserInitiatedConnectionService() (userinitiatedconnection.Response, error)
	GetAMTWiFiPortConfigurationService() (wifiportconfiguration.Response, error)
	GetCIMBIOSElement() (bios.Response, error)
	GetCIMBootConfigSetting() (cimBoot.Response, error)
	GetCIMBootService() (cimBoot.Response, error)
	GetCIMBootSourceSetting() (cimBoot.Response, error)
	GetCIMCard() (card.Response, error)
	GetCIMChassis() (chassis.Response, error)
	GetCIMChip() (chip.Response, error)
	GetCIMComputerSystemPackage() (computer.Response, error)
	GetCIMConcreteDependency() (concrete.Response, error)
	GetCIMCredentialContext() (credential.Response, error)
	GetCIMIEEE8021xSettings() (cimIEEE8021x.Response, error)
	GetCIMKVMRedirectionSAP() (kvm.Response, error)
	GetCIMMediaAccessDevice() (mediaaccess.Response, error)
	GetCIMPhysicalMemory() (physical.Response, error)
	GetCIMPhysicalPackage() (physical.Response, error)
	GetCIMPowerManagementService() (power.Response, error)
	GetCIMProcessor() (processor.Response, error)
	GetCIMServiceAvailableToElement() (service.Response, error)
	GetCIMSoftwareIdentity() (software.Response, error)
	GetCIMSystemPackaging() (system.Response, error)
	GetCIMWiFiEndpointSettings() (wifi.Response, error)
	GetCIMWiFiPort() (wifi.Response, error)
	GetIPS8021xCredentialContext() (ipsIEEE8021x.Response, error)
	GetIPSAlarmClockOccurrence() (ipsAlarmClock.Response, error)
	GetIPSHostBasedSetupService() (hostbasedsetup.Response, error)
	GetIPSIEEE8021xSettings() (ipsIEEE8021x.Response, error)
	GetIPSOptInService() (optin.Response, error)
	GetIPSKVMRedirectionSettings() (kvmredirection.Response, error)
	GetIPSScreenSettingData() (screensetting.Response, error)
}

type ExplorerError

type ExplorerError struct {
	Console consoleerrors.InternalError
}

func (ExplorerError) Error

func (e ExplorerError) Error() string

func (ExplorerError) Wrap

func (e ExplorerError) Wrap(call, function string, err error) error

type Feature

type Feature interface {
	GetExplorerSupportedCalls() []string
	ExecuteCall(ctx context.Context, guid, call, tenantID string) (*dto.Explorer, error)
}

type GoWSMANMessages

type GoWSMANMessages struct {
	// contains filtered or unexported fields
}

func NewGoWSMANMessages

func NewGoWSMANMessages(log logger.Interface, safeRequirements security.Cryptor) *GoWSMANMessages

func (GoWSMANMessages) DestroyWsmanClient

func (g GoWSMANMessages) DestroyWsmanClient(device dto.Device)

func (GoWSMANMessages) SetupWsmanClient

func (g GoWSMANMessages) SetupWsmanClient(device entity.Device, logAMTMessages bool) AMTExplorer

type Repository

type Repository interface {
	GetByID(ctx context.Context, guid, tenantID string) (*entity.Device, error)
}

type UseCase

type UseCase struct {
	// contains filtered or unexported fields
}

UseCase -.

func New

func New(r Repository, d WSMAN, log logger.Interface, safeRequirements security.Cryptor) *UseCase

New -.

func (*UseCase) ExecuteCall

func (uc *UseCase) ExecuteCall(ctx context.Context, guid, call, tenantID string) (*dto.Explorer, error)

func (*UseCase) GetExplorerSupportedCalls

func (uc *UseCase) GetExplorerSupportedCalls() []string

type WSMAN

type WSMAN interface {
	SetupWsmanClient(device entity.Device, logMessages bool) AMTExplorer
	DestroyWsmanClient(device dto.Device)
}

Jump to

Keyboard shortcuts

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