GetServiceStatus

data class GetServiceStatus(val conditions: List<GetServiceStatusCondition>, val latestCreatedRevisionName: String, val latestReadyRevisionName: String, val observedGeneration: Int, val traffics: List<GetServiceStatusTraffic>, val url: String)

Constructors

Link copied to clipboard
constructor(conditions: List<GetServiceStatusCondition>, latestCreatedRevisionName: String, latestReadyRevisionName: String, observedGeneration: Int, traffics: List<GetServiceStatusTraffic>, url: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Array of observed Service Conditions, indicating the current ready state of the service.

Link copied to clipboard

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

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

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

Link copied to clipboard
val url: String

From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app