serverinstall

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: MPL-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Platforms = map[string]Installer{
	"kubernetes": &K8sInstaller{},
	"nomad":      &NomadInstaller{},
	"docker":     &DockerInstaller{},
}

Functions

This section is empty.

Types

type DockerInstaller added in v0.2.0

type DockerInstaller struct {
	// contains filtered or unexported fields
}

func (*DockerInstaller) Install added in v0.2.0

Install is a method of DockerInstaller and implements the Installer interface to create a waypoint-server as a Docker container

func (*DockerInstaller) InstallFlags added in v0.2.0

func (i *DockerInstaller) InstallFlags(set *flag.Set)

type Installer added in v0.2.0

type Installer interface {
	Install(ctx context.Context, ui terminal.UI, log hclog.Logger) (*clicontext.Config, *pb.ServerConfig_AdvertiseAddr, string, error)
	InstallFlags(*flag.Set)
}

Installer is implemented by the server platforms and is responsible for managing the installation of the Waypoint server.

type K8sInstaller added in v0.2.0

type K8sInstaller struct {
	// contains filtered or unexported fields
}

func (*K8sInstaller) Install added in v0.2.0

Install is a method of K8sInstaller and implements the Installer interface to register a waypoint-server in a Kubernetes cluster

func (*K8sInstaller) InstallFlags added in v0.2.0

func (i *K8sInstaller) InstallFlags(set *flag.Set)

type NomadInstaller added in v0.2.0

type NomadInstaller struct {
	// contains filtered or unexported fields
}

func (*NomadInstaller) Install added in v0.2.0

Install is a method of NomadInstaller and implements the Installer interface to register a waypoint-server job with a Nomad cluster

func (*NomadInstaller) InstallFlags added in v0.2.0

func (i *NomadInstaller) InstallFlags(set *flag.Set)

Jump to

Keyboard shortcuts

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