Sha256: a8f697954d4d015a8db5724454c415087d7a860216802caa35aae72407e4690e

Contents?: true

Size: 727 Bytes

Versions: 23

Compression:

Stored size: 727 Bytes

Contents

# frozen_string_literal: true

Puppet::DataTypes.create_type('ResultSet') do
  interface <<-PUPPET
    attributes => {
      'results' => Array[Variant[Result, ApplyResult]],
    },
    functions => {
      count => Callable[[], Integer],
      empty => Callable[[], Boolean],
      error_set => Callable[[], ResultSet],
      find => Callable[[String[1]], Optional[Variant[Result, ApplyResult]]],
      first => Callable[[], Optional[Variant[Result, ApplyResult]]],
      names => Callable[[], Array[String[1]]],
      ok => Callable[[], Boolean],
      ok_set => Callable[[], ResultSet],
      targets => Callable[[], Array[Target]],
    }
  PUPPET

  load_file('bolt/result_set')

  implementation_class Bolt::ResultSet
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
bolt-1.19.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.18.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.17.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.16.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.15.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.14.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.13.1 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.13.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.12.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.11.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.10.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.9.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.8.1 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.8.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.7.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.6.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.5.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.4.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.3.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.2.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb