ServiceStatus

data class ServiceStatus(val conditions: List<ServiceStatusCondition>? = null, val latestCreatedRevisionName: String? = null, val latestReadyRevisionName: String? = null, val observedGeneration: Int? = null, val traffics: List<ServiceStatusTraffic>? = null, val url: String? = null)

Constructors

Link copied to clipboard
constructor(conditions: List<ServiceStatusCondition>? = null, latestCreatedRevisionName: String? = null, latestReadyRevisionName: String? = null, observedGeneration: Int? = null, traffics: List<ServiceStatusTraffic>? = null, url: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

(Output) Array of observed Service Conditions, indicating the current ready state of the service. Structure is documented below.

Link copied to clipboard

(Output) From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.

Link copied to clipboard

(Output) From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".

Link copied to clipboard
val observedGeneration: Int? = null

(Output) ObservedGeneration is the 'Generation' of the Route that was last processed by the controller. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.

Link copied to clipboard

Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations Structure is documented below.

Link copied to clipboard
val url: String? = null

(Output) URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)