consulserver

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package consulserver contains a flower to install a Consul server.

Index

Constants

View Source
const (
	Name = "consulserver"

	ConfigFile = "embedded/consul.server.hcl"
	UnitFile   = "embedded/consul-server.service"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	Environment string
	DataCenter  string
	//
	ConsulNumServers string
}

type Flower

type Flower struct {
	Inst
	Conf
}

WARNING: Do NOT install alongside a Consul client.

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
	Fsys    fs.FS
}

Jump to

Keyboard shortcuts

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