serverinstall

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallNomad

func InstallNomad(
	ctx context.Context, ui terminal.UI, scfg *Config) (
	*clicontext.Config, *pb.ServerConfig_AdvertiseAddr, string, error,
)

InstallNomad registers a waypoint-server job with a Nomad cluster

func NomadFlags

func NomadFlags(f *flag.Set)

NomadFlags config values for Nomad

func Render

func Render(config *Config) (string, error)

Render renders the installation files with the given configuration.

Types

type Config

type Config struct {
	Namespace          string
	ServiceName        string
	ServerImage        string
	ServiceAnnotations map[string]string
	ImagePullSecret    string
	ImagePullPolicy    string
}

Config is the configuration for the Kubernetes installation template.

Directories

Path Synopsis
Package datagen Code generated by go-bindata.
Package datagen Code generated by go-bindata.

Jump to

Keyboard shortcuts

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