Sha256: 2acab9d915dd72f1a7dc2ce98047338f5cbb986b0983d334e6ff38c973c6c5f9

Contents?: true

Size: 609 Bytes

Versions: 3

Compression:

Stored size: 609 Bytes

Contents

# frozen_string_literal: true

module FogExtensions
  module Proxmox
    module Snapshots
      module Mock
        def status_task(_node, _upid)
          {
            'type' => 'qmsnapshot',
            'starttime' => 1_580_720_848,
            'pstart' => 1_864_464_143,
            'node' => 'proxmox',
            'upid' => 'UPID:proxmox:00003E13:6F21770F:5E37E2D0:qmsnapshot:100:root@pam:',
            'user' => 'root@pam',
            'exitstatus' => 'OK',
            'status' => 'stopped',
            'id' => '100',
            'pid' => 15_891,
          }
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_snapshot_management-4.0.0 app/models/concerns/fog_extensions/proxmox/snapshots/mock.rb
foreman_snapshot_management-3.0.1 app/models/concerns/fog_extensions/proxmox/snapshots/mock.rb
foreman_snapshot_management-3.0.0 app/models/concerns/fog_extensions/proxmox/snapshots/mock.rb