installutil

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRunnerImage = "hashicorp/waypoint-odr:latest"

When we have a serverImage value to give to DefaultODRImage, we should use that. When we don't, we can use this value

View Source
const DefaultServerImage = "hashicorp/waypoint:latest"
View Source
const Id = "static"

Id We set the ID to be "static" since it is the initial static runner Specific platform implementations should add the suffix -runner to resource names

Variables

This section is empty.

Functions

func AdoptRunner

func AdoptRunner(ctx context.Context, ui terminal.UI, client pb.WaypointClient, id string, addr string) error

func DefaultODRImage

func DefaultODRImage(serverImage string) (string, error)

DefaultODRImage returns the default Waypoint ODR image based on the supplied server image. We default the ODR image to the name of the server image with the `-odr` suffix attached to it.

func DefaultRunnerName added in v0.10.0

func DefaultRunnerName(id string) string

Types

type OnDemandRunnerConfigProvider added in v0.10.0

type OnDemandRunnerConfigProvider interface {
	OnDemandRunnerConfig() *pb.OnDemandRunnerConfig
}

An optional interface that the installer can implement to request an ondemand runner be registered.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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