Sha256: bd0a525310a3a71102648765097761b8f0228672327bdafd3de5f71d1acf1c55

Contents?: true

Size: 661 Bytes

Versions: 23

Compression:

Stored size: 661 Bytes

Contents

# frozen_string_literal: true

Puppet::DataTypes.create_type('ResultSet') do
  interface <<-PUPPET
    attributes => {
      'results' => Array[Result],
    },
    functions => {
      count => Callable[[], Integer],
      empty => Callable[[], Boolean],
      error_set => Callable[[], ResultSet],
      find => Callable[[String[1]], Optional[Result]],
      first => Callable[[], Optional[Result]],
      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-0.18.2 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-0.18.1 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
bolt-0.18.0 bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb