installutil

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

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

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

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

NOTE: the server image is also used for static (non-ODR) runners. Static runners cannot use the ODR image.

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 DefaultRunnerName added in v0.10.0

func DefaultRunnerName(id string) string

func DeriveDefaultODRImage added in v0.10.1

func DeriveDefaultODRImage(serverImage string) (string, error)

DeriveDefaultODRImage 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.

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