Sha256: 06b72d7003a2cac64b50ab6a2c38b64309186920b72cea7ab57766444b7f0875

Contents?: true

Size: 417 Bytes

Versions: 4

Compression:

Stored size: 417 Bytes

Contents

module Kuby
  module Kind
    class Config
      attr_reader :exposed_ports, :kubernetes_version

      def initialize(&block)
        @exposed_ports = []
      end

      def expose_port(port)
        @exposed_ports << port
      end

      def hide_port(port)
        @exposed_ports.delete(port)
      end

      def use_kubernetes_version(version)
        @kubernetes_version = version
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kuby-kind-0.2.3 lib/kuby/kind/config.rb
kuby-kind-0.2.2 lib/kuby/kind/config.rb
kuby-kind-0.2.1 lib/kuby/kind/config.rb
kuby-kind-0.2.0 lib/kuby/kind/config.rb