Sha256: f28e3c1af551e3c5fd13105c9f931e32f1f7f20ea827a58e72c59b58ab8ca124

Contents?: true

Size: 669 Bytes

Versions: 3

Compression:

Stored size: 669 Bytes

Contents

module ForemanKubevirt
  module Concerns
    module Api
      module ComputeResourcesControllerExtensions
        extend ::Apipie::DSL::Concern
        update_api(:create, :update) do
          param :compute_resource, Hash do
            param :token, String, :desc => N_("Token for KubeVirt only")
            param :hostname, String, :desc => N_("Host name for KubeVirt only")
            param :namespace, String, :desc => N_("Namespace for KubeVirt only")
            param :ca_crt, String, :desc => N_("CA crt for KubeVirt only")
            param :api_port, String, :desc => N_("API port for KubeVirt only")
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_kubevirt-0.2.0 app/controllers/foreman_kubevirt/concerns/api/compute_resources_controller_extensions.rb
foreman_kubevirt-0.1.9 app/controllers/foreman_kubevirt/concerns/api/compute_resources_controller_extensions.rb
foreman_kubevirt-0.1.8 app/controllers/foreman_kubevirt/concerns/api/compute_resources_controller_extensions.rb