Sha256: f0d88eb1dc30af92533e08410435cfe003052ff702ecd51b2249bc8afb355072

Contents?: true

Size: 824 Bytes

Versions: 16

Compression:

Stored size: 824 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],
      filter_set => Callable[[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]],
      to_data => Callable[[], Array[Hash]],
    }
  PUPPET

  load_file('bolt/result_set')

  implementation_class Bolt::ResultSet
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
bolt-1.32.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.31.1 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.31.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.30.1 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.30.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.29.1 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.29.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.28.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.27.1 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.27.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.26.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.25.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.24.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.23.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.22.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-1.21.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb