lib/k8s/client.rb
# Force-update /apis cache.
# Required if creating new CRDs/apiservices.
#
# @return [Array<String>]
Force-update /apis cache.
Required if creating new CRDs/apiservices.
Force - update / apis cache . Required if creating new CRDs / apiservices .
def api_groups!
      @api_groups = @transport.get(
        '/apis',
        response_class: K8s::API::MetaV1::APIGroupList
      ).groups.map{ |api_group| api_group.versions.map(&:groupVersion) }.flatten
    end
def api_groups! @api_groups = @transport . get ( '/apis' , response_class : K8s :: API :: MetaV1 :: APIGroupList ) . groups . map { | api_group | api_group . versions . map ( & :groupVersion ) } . flatten end
Force-update /apis cache.
Force - update / apis cache .
None
Array<String>