Sha256: 9cc7738fc38605474b59642c9d2ce55b739fdc0b8dd3d199d749fd670a7ed592
Contents?: true
Size: 674 Bytes
Versions: 26
Compression:
Stored size: 674 Bytes
Contents
module Kubes::Compiler::Dsl::Syntax class Endpoint < Resource fields :subsets # kubectl explain endpoints.subsets fields :addresses, # <[]Object> :notReadyAddresses, # <[]Object> :ports # <[]Object> def default_kind return @kind_from_block if @kind_from_block "Endpoints" # always plural end def default_apiVersion "v1" end def default_top top = super top.merge( subsets: subsets ) end def default_subsets [{ addresses: addresses, notReadyAddresses: notReadyAddresses, ports: ports, }] end end end
Version data entries
26 entries across 26 versions & 1 rubygems