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
func (i *DockerInstaller) Install( ctx context.Context, ui terminal.UI, log hclog.Logger) ( *clicontext.Config, *pb.ServerConfig_AdvertiseAddr, string, error, )
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
func (i *K8sInstaller) Install( ctx context.Context, ui terminal.UI, log hclog.Logger, ) (*clicontext.Config, *pb.ServerConfig_AdvertiseAddr, string, error)
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
func (i *NomadInstaller) Install( ctx context.Context, ui terminal.UI, log hclog.Logger) ( *clicontext.Config, *pb.ServerConfig_AdvertiseAddr, string, error, )
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)
Click to show internal directories.
Click to hide internal directories.