openshift / image-inspector-client-ruby

a ruby client for image-inspector: https://github.com/simon3z/image-inspector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image-inspector-client

a ruby client for image-inspector

installing gem

gem install image-inspector-client

usage

require 'image-inspector-client'
ImageInspectorClient::Client.new('http://localhost:8080', 'v1')
  .fetch_metadata
  .ContainerConfig
  .Cmd


Get OpenSCAP ARF as raw xml:
ImageInspectorClient::Client.new('http://localhost:8080', 'v1')
  .fetch_oscap_arf

building from source

fetch dependencies:

bundle install

tests:

rake test

tests and style check:

rake test rubocop

build and install into $GEM_HOME:

rake install

About

a ruby client for image-inspector: https://github.com/simon3z/image-inspector

License:MIT License


Languages

Language:Ruby 100.0%