spinapp

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HTTPPortName is the name used to identify the HTTP Port on a spin app
	// deployment.
	HTTPPortName = "http-app"

	// DefaultHTTPPort is the port that the operator will assign to a pod by
	// default when constructing deployments and services.
	DefaultHTTPPort = 80

	// StatusReady is the ready value for an app status label.
	StatusReady = "ready"
)

Variables

View Source
var (
	// NameLabelKey is the app name label key.
	NameLabelKey = constants.ConstructResourceLabelKey("app-name")
)

Functions

func ConstructStatusLabelKey

func ConstructStatusLabelKey(appName string) string

ConstructStatusLabelKey returns the app status label key, used primarily in Service selectors.

func ConstructStatusReadyLabel

func ConstructStatusReadyLabel(appName string) (string, string)

ConstructStatusReadyLabel returns the app status label key and value used by a Service selector to select Pod(s) ready to serve an app.

Types

This section is empty.

Jump to

Keyboard shortcuts

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