daemon

package
v0.0.0-...-9758eb9 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConnectorService

func GetConnectorService(opts ...Option) (service.Service, error)

GetConnectorService returns the service.Service that wraps the Border0 Connector daemon service.

func IsInstalled

func IsInstalled() (bool, error)

IsInstalled returns true if the Border0 Connector service is already installed.

func Uninstall

func Uninstall() error

Uninstall uninstalls the Border0 Connector service.

Types

type Option

type Option func(*configuration)

Option represents a configuration option for the Border0 Connector service.

func WithBinaryName

func WithBinaryName(binary string) Option

WithBinaryName overrides the default binary name.

func WithConfigurationFilePath

func WithConfigurationFilePath(path string) Option

WithConfigurationFilePath sets the configuration file path.

func WithServiceDescription

func WithServiceDescription(serviceDescription string) Option

WithServiceDescription overrides the default service description.

func WithServiceDisplayName

func WithServiceDisplayName(serviceDisplayName string) Option

WithServiceDisplayName overrides the default service display name.

func WithServiceName

func WithServiceName(serviceName string) Option

WithServiceName overrides the default service name.

Jump to

Keyboard shortcuts

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