struct

Kubernetes::ServiceStatus

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

ServiceStatus represents the current status of a service.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

conditions

Current service state

Source
conditions=(conditions : Array(Condition) | Nil)

Current service state

Source
load_balancer

LoadBalancer contains the current status of the load-balancer, if one is present.

Source
load_balancer=(load_balancer : LoadBalancerStatus | Nil)

LoadBalancer contains the current status of the load-balancer, if one is present.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source