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 ¶
ConstructStatusLabelKey returns the app status label key, used primarily in Service selectors.
func ConstructStatusReadyLabel ¶
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.
Click to show internal directories.
Click to hide internal directories.