Documentation ¶
Index ¶
- func ExecCommands(commands [][]string) error
- func ShouldSymlink() bool
- type AptBinaryConfigurer
- type AutoStartStore
- type DaemonConfigurer
- type DarwinPlistConfigurer
- func (dpc DarwinPlistConfigurer) GetDestination() (string, error)
- func (dpc DarwinPlistConfigurer) GetDestinationDirectory() (string, error)
- func (dpc DarwinPlistConfigurer) GetExecCommand() ([][]string, error)
- func (dpc DarwinPlistConfigurer) Install() error
- func (dpc DarwinPlistConfigurer) UnInstall() error
- type DarwinServiceType
- type LinuxSystemdConfigurer
- type StaticBinaryConfigurer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecCommands ¶ added in v0.6.198
func ShouldSymlink ¶ added in v0.6.31
func ShouldSymlink() bool
Types ¶
type AptBinaryConfigurer ¶ added in v0.6.109
type AptBinaryConfigurer struct { LinuxSystemdConfigurer URL string Name string // contains filtered or unexported fields }
func (AptBinaryConfigurer) Install ¶ added in v0.6.109
func (abc AptBinaryConfigurer) Install() error
type AutoStartStore ¶
type DaemonConfigurer ¶
func NewSSHConfigurer ¶ added in v0.6.32
func NewSSHConfigurer(store AutoStartStore) DaemonConfigurer
type DarwinPlistConfigurer ¶ added in v0.6.24
type DarwinPlistConfigurer struct { Store AutoStartStore ValueConfigFile string ServiceName string ServiceType DarwinServiceType }
func (DarwinPlistConfigurer) GetDestination ¶ added in v0.6.24
func (dpc DarwinPlistConfigurer) GetDestination() (string, error)
func (DarwinPlistConfigurer) GetDestinationDirectory ¶ added in v0.6.24
func (dpc DarwinPlistConfigurer) GetDestinationDirectory() (string, error)
func (DarwinPlistConfigurer) GetExecCommand ¶ added in v0.6.24
func (dpc DarwinPlistConfigurer) GetExecCommand() ([][]string, error)
func (DarwinPlistConfigurer) Install ¶ added in v0.6.24
func (dpc DarwinPlistConfigurer) Install() error
func (DarwinPlistConfigurer) UnInstall ¶ added in v0.6.24
func (dpc DarwinPlistConfigurer) UnInstall() error
type DarwinServiceType ¶ added in v0.6.24
type DarwinServiceType string
const ( System DarwinServiceType = "system" SingleUser DarwinServiceType = "singleuser" )
type LinuxSystemdConfigurer ¶
type LinuxSystemdConfigurer struct { Store AutoStartStore ValueConfigFile string ServiceName string ServiceType string TargetBin string }
func (LinuxSystemdConfigurer) CreateForcedSymlink ¶ added in v0.6.24
func (lsc LinuxSystemdConfigurer) CreateForcedSymlink() error
CreateForcedSymlink aims to be the equivalent operation as running ln -sf /lib/systemd/system/huproxy.service /etc/systemd/system/default.target.wants/huproxy.service which overwrite's an existing symbolic link to point to a different file which we need to do in the workspace docker image because systemd isn't running at build time.
func (LinuxSystemdConfigurer) Install ¶
func (lsc LinuxSystemdConfigurer) Install() error
func (LinuxSystemdConfigurer) UnInstall ¶
func (lsc LinuxSystemdConfigurer) UnInstall() error
type StaticBinaryConfigurer ¶ added in v0.6.106
type StaticBinaryConfigurer struct { LinuxSystemdConfigurer URL string Name string }
Click to show internal directories.
Click to hide internal directories.