access

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SIAAccessServiceConfig = services.ArkServiceConfig{
	ServiceName:                "sia-access",
	RequiredAuthenticatorNames: []string{"isp"},
	OptionalAuthenticatorNames: []string{},
}

SIAAccessServiceConfig is the configuration for the ArkSIAAccessService.

Functions

This section is empty.

Types

type ArkSIAAccessService

type ArkSIAAccessService struct {
	services.ArkService
	*services.ArkBaseService
	// contains filtered or unexported fields
}

ArkSIAAccessService is a struct that implements the ArkService interface and provides functionality for Connectors of SIA.

func NewArkSIAAccessService

func NewArkSIAAccessService(authenticators ...auth.ArkAuth) (*ArkSIAAccessService, error)

NewArkSIAAccessService creates a new instance of ArkSIAAccessService with the provided authenticators.

func (*ArkSIAAccessService) ConnectorSetupScript

ConnectorSetupScript creates the setup script for the connector.

func (*ArkSIAAccessService) DeleteConnector

func (s *ArkSIAAccessService) DeleteConnector(deleteConnector *accessmodels.ArkSIADeleteConnector) error

DeleteConnector deletes the connector from the target machine.

func (*ArkSIAAccessService) InstallConnector

InstallConnector installs the connector on the target machine.

func (*ArkSIAAccessService) ServiceConfig

func (s *ArkSIAAccessService) ServiceConfig() services.ArkServiceConfig

ServiceConfig returns the service configuration for the ArkSIAAccessService.

func (*ArkSIAAccessService) TestConnectorReachability

func (s *ArkSIAAccessService) TestConnectorReachability(testReachabilityRequest *accessmodels.ArkSIATestConnectorReachability) (*accessmodels.ArkSIAReachabilityTestResponse, error)

TestConnectorReachability tests the reachability of a connector.

func (*ArkSIAAccessService) UninstallConnector

func (s *ArkSIAAccessService) UninstallConnector(uninstallConnector *accessmodels.ArkSIAUninstallConnector) error

UninstallConnector uninstalls the connector from the target machine.

Jump to

Keyboard shortcuts

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