Files
zeekay 1df3ddf6bd Regenerate against the document the deployment answers for
The projection these were generated from predated the compute migration, so
they described /v1/visor — which the API serves at zero paths now.

No /v1/visor path survives here.
2026-09-05 18:55:38 -07:00

71 lines
2.9 KiB
Swift

//
// IngressStatus.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct IngressStatus: Sendable, Codable, ParameterConvertible, Hashable {
/** ACMECacheDir is where autocert persists accounts and certificates. */
public var acmeCacheDir: String?
/** ACMEStaging is true when certificates are issued from Let's Encrypt staging. */
public var acmeStaging: Bool?
/** EdgeEnabled is true when the edge listeners are actually bound. */
public var edgeEnabled: Bool?
/** HTTPAddr is the address the ACME HTTP-01 + HTTP router listens on. */
public var httpAddr: String?
/** HTTPSAddr is the address the SNI TLS terminator listens on. */
public var httpsAddr: String?
/** LiveHosts is how many hosts the compiled table routes. */
public var liveHosts: Int64?
/** Proxy names the reverse-proxy implementation behind every route. */
public var proxy: String?
/** Role is \"edge\" when CLOUD_INGRESS_EDGE_ENABLED is set, else \"app\". */
public var role: String?
/** TLSHosts is how many hosts the ACME HostPolicy will issue a certificate for. NOT a subset of LiveHosts: an extraHost owns no route, and a TLS route naming a missing service is skipped while its host still wants a cert. */
public var tlsHosts: Int64?
public init(acmeCacheDir: String? = nil, acmeStaging: Bool? = nil, edgeEnabled: Bool? = nil, httpAddr: String? = nil, httpsAddr: String? = nil, liveHosts: Int64? = nil, proxy: String? = nil, role: String? = nil, tlsHosts: Int64? = nil) {
self.acmeCacheDir = acmeCacheDir
self.acmeStaging = acmeStaging
self.edgeEnabled = edgeEnabled
self.httpAddr = httpAddr
self.httpsAddr = httpsAddr
self.liveHosts = liveHosts
self.proxy = proxy
self.role = role
self.tlsHosts = tlsHosts
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case acmeCacheDir
case acmeStaging
case edgeEnabled
case httpAddr
case httpsAddr
case liveHosts
case proxy
case role
case tlsHosts
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(acmeCacheDir, forKey: .acmeCacheDir)
try container.encodeIfPresent(acmeStaging, forKey: .acmeStaging)
try container.encodeIfPresent(edgeEnabled, forKey: .edgeEnabled)
try container.encodeIfPresent(httpAddr, forKey: .httpAddr)
try container.encodeIfPresent(httpsAddr, forKey: .httpsAddr)
try container.encodeIfPresent(liveHosts, forKey: .liveHosts)
try container.encodeIfPresent(proxy, forKey: .proxy)
try container.encodeIfPresent(role, forKey: .role)
try container.encodeIfPresent(tlsHosts, forKey: .tlsHosts)
}
}