naisdevice

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessPrivilegedGateway

func AccessPrivilegedGateway(gatewayName string) error

func Connect

func Connect(ctx context.Context) error

func Disconnect

func Disconnect(ctx context.Context) error

func GetAllowedSettings

func GetAllowedSettings(withHidden, lowerCase bool) []string

func GetConfiguration

func GetConfiguration(ctx context.Context) (*pb.AgentConfiguration, error)

func GetPrivilegedGateways

func GetPrivilegedGateways(ctx context.Context) ([]string, error)

func GetStatus

func GetStatus(ctx context.Context) (*pb.AgentStatus, error)

func IsConnected

func IsConnected(status *pb.AgentStatus) bool

func PrintFormattedStatus

func PrintFormattedStatus(format string, status *pb.AgentStatus) error

func PrintVerboseStatus

func PrintVerboseStatus(status *pb.AgentStatus)

func SetConfiguration

func SetConfiguration(ctx context.Context, setting string, value bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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