Module: XClarityClient::Mixins::UpdateRepoMixin
- Included in:
- Client
- Defined in:
- lib/xclarity_client/mixins/update_repo_mixin.rb
Overview
Exposes UpdateRepoManagement features
Instance Method Summary collapse
- #acquire_firmware_updates(scope, fixids, mt) ⇒ Object
- #delete_firmware_updates(file_types, fixids) ⇒ Object
- #discover_update_repo(opts = {}) ⇒ Object
- #export_firmware_updates(file_types, fixids) ⇒ Object
- #read_update_repo ⇒ Object
- #refresh_update_repo(scope, mt, os) ⇒ Object
Instance Method Details
#acquire_firmware_updates(scope, fixids, mt) ⇒ Object
18 19 20 21 |
# File 'lib/xclarity_client/mixins/update_repo_mixin.rb', line 18 def acquire_firmware_updates(scope, fixids, mt) UpdateRepoManagement.new(@config).acquire_firmware_updates(scope, fixids, mt) end |
#delete_firmware_updates(file_types, fixids) ⇒ Object
23 24 25 26 |
# File 'lib/xclarity_client/mixins/update_repo_mixin.rb', line 23 def delete_firmware_updates(file_types, fixids) UpdateRepoManagement.new(@config).delete_firmware_updates(file_types, fixids) end |
#discover_update_repo(opts = {}) ⇒ Object
6 7 8 |
# File 'lib/xclarity_client/mixins/update_repo_mixin.rb', line 6 def discover_update_repo(opts = {}) UpdateRepoManagement.new(@config).fetch_all(opts) end |
#export_firmware_updates(file_types, fixids) ⇒ Object
28 29 30 31 |
# File 'lib/xclarity_client/mixins/update_repo_mixin.rb', line 28 def export_firmware_updates(file_types, fixids) UpdateRepoManagement.new(@config).export_firmware_updates(file_types, fixids) end |
#read_update_repo ⇒ Object
10 11 12 |
# File 'lib/xclarity_client/mixins/update_repo_mixin.rb', line 10 def read_update_repo UpdateRepoManagement.new(@config).read_update_repo end |
#refresh_update_repo(scope, mt, os) ⇒ Object
14 15 16 |
# File 'lib/xclarity_client/mixins/update_repo_mixin.rb', line 14 def refresh_update_repo(scope, mt, os) UpdateRepoManagement.new(@config).refresh_update_repo(scope, mt, os) end |