Sha256: 98fc8bae3257b45c042cf6eefc8786f37091a3c6b6e1c4d2a74cdf8dea8cc96a

Contents?: true

Size: 608 Bytes

Versions: 5

Compression:

Stored size: 608 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

5 entries across 5 versions & 1 rubygems

Version Path
foreman_snapshot_management-2.0.3 app/models/concerns/fog_extensions/proxmox/snapshots/mock.rb
foreman_snapshot_management-2.0.2 app/models/concerns/fog_extensions/proxmox/snapshots/mock.rb
foreman_snapshot_management-2.0.1 app/models/concerns/fog_extensions/proxmox/snapshots/mock.rb
foreman_snapshot_management-2.0.0 app/models/concerns/fog_extensions/proxmox/snapshots/mock.rb
foreman_snapshot_management-1.7.1 app/models/concerns/fog_extensions/proxmox/snapshots/mock.rb