pkg

package
v0.0.0-...-e1104dc Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PerformAction

func PerformAction(config InstallConfig, BinFS *binclude.FileSystem)

func PerformInstallation

func PerformInstallation(config InstallConfig, BinFS *binclude.FileSystem) error

func PerformStatusCheck

func PerformStatusCheck()

func PerformUnInstallation

func PerformUnInstallation(config InstallConfig)

Types

type Action

type Action struct {
	Command string `json:"command"`
}

type Components

type Components struct {
	Name      string  `json:"Name"`
	TargetDir string  `json:"TargetDir"`
	Files     []Files `json:"Files"`
}

type Files

type Files struct {
	Name               string `json:"Name"`
	Platform           string `json:"Platform"`
	Action             Action `json:"Action"`
	SourceRelativePath string `json:"SourceRelativePath"`
}

type InstallConfig

type InstallConfig struct {
	Components []Components `json:"Components"`
	Services   []Services   `json:"Services"`
}

type Linux

type Linux struct {
	InitScriptName string `json:"InitScriptName"`
}

type Services

type Services struct {
	Name             string  `json:"Name"`
	Description      string  `json:"Description"`
	ShortDescription string  `json:"ShortDescription"`
	Command          string  `json:"Command"`
	Options          string  `json:"Options"`
	Component        string  `json:"Component"`
	Linux            Linux   `json:"linux"`
	Windows          Windows `json:"windows"`
}

type Windows

type Windows struct {
	ServiceName string `json:"ServiceName"`
}

Jump to

Keyboard shortcuts

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