Sha256: 6c18be35cd6e67ebbba3dc95e4e98fb9d9ff617a1aa6ec1b9e8ea0251192b99c
Contents?: true
Size: 424 Bytes
Versions: 2
Compression:
Stored size: 424 Bytes
Contents
module Rhea module Kubernetes module Commands class Get < Base attr_accessor :command def initialize(command_attributes) self.command = Command.new(command_attributes) end def perform controller = api.get_replication_controllers(label_selector: "name=#{command.key}").first controller_to_command(controller) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rhea-0.2.0 | lib/rhea/kubernetes/commands/get.rb |
rhea-0.1.0 | lib/rhea/kubernetes/commands/get.rb |