Sha256: 6d4a25a82018f9188bdc36dca2875f1ff73624c1389f2b8f7e84f29f3b8e7e89

Contents?: true

Size: 1.74 KB

Versions: 1

Compression:

Stored size: 1.74 KB

Contents

metadata :name        => "choria_registry",
         :description => "Choria Registry Service",
         :author      => "rip@devco.net <rip@devco.net>",
         :license     => "Apache-2.0",
         :version     => "0.23.0",
         :url         => "https://choria.io",
         :provider    => "golang",
         :service     => true,
         :timeout     => 2


action "ddl", :description => "Retrieve the DDL for a specific plugin" do
  display :always

  input :format,
        :prompt      => "Plugin Format",
        :description => "The result format the plugin should be retrieved in",
        :type        => :list,
        :default     => "json",
        :list        => ["ddl", "json"],
        :optional    => true


  input :name,
        :prompt      => "Plugin Name",
        :description => "The name of the plugin",
        :type        => :string,
        :validation  => :shellsafe,
        :maxlength   => 64,
        :optional    => false


  input :plugin_type,
        :prompt      => "Plugin Type",
        :description => "The type of plugin",
        :type        => :list,
        :default     => "agent",
        :list        => ["agent"],
        :optional    => false




  output :ddl,
         :description => "The plugin DDL in the requested format",
         :type        => "string",
         :display_as  => "DDL"

  output :name,
         :description => "The name of the plugin",
         :type        => "string",
         :display_as  => "Name"

  output :plugin_type,
         :description => "The type of plugin",
         :type        => "string",
         :display_as  => "Type"

  output :version,
         :description => "The version of the plugin",
         :type        => "string",
         :display_as  => "Version"

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
choria-mcorpc-support-2.25.1 lib/mcollective/agent/choria_registry.ddl