systemd_template

package
v0.9.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemdService

type SystemdService struct {
	ServiceType      string
	InstallationPath string
	RulesFile        string
}

func NewSystemdService

func NewSystemdService(serviceType, installationPath, rulesFile string) (*SystemdService, error)

func (*SystemdService) GetFileContent

func (s *SystemdService) GetFileContent() string

func (*SystemdService) GetFileName

func (s *SystemdService) GetFileName() string

func (*SystemdService) GetTemplateName

func (s *SystemdService) GetTemplateName() string

func (*SystemdService) GetTemplateStruct

func (s *SystemdService) GetTemplateStruct() interface{}

Jump to

Keyboard shortcuts

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