consultemplate

package
v0.3.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	HomeDir      = "/opt/consul-template"
	ConfigDir    = HomeDir + "/config"
	TemplatesDir = HomeDir + "/templates"
	BinDir       = "/usr/local/bin"

	// relative to the Go embed FS
	ConfigDirSrc    = "embedded/config"
	TemplatesDirSrc = "embedded/templates"
	UnitFile        = "embedded/consul-template.service"
)
View Source
const Name = "consul-template"

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
}

type Flower

type Flower struct {
	Inst
	Conf
}

func (*Flower) Configure

func (fl *Flower) Configure() error

func (*Flower) Description

func (fl *Flower) Description() string

func (*Flower) Embedded

func (fl *Flower) Embedded() []string

func (*Flower) Init

func (fl *Flower) Init() error

func (*Flower) Install

func (fl *Flower) Install() error

func (*Flower) String

func (fl *Flower) String() string

type Inst

type Inst struct {
	Version            string
	Hash               string
	ConfigurationFiles []string
	TemplateFiles      []string
	Fsys               fs.FS
}

Jump to

Keyboard shortcuts

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