GithubHelp home page GithubHelp logo

omnitruck-cache's Introduction

Caching omnitruck proxy

This repo contains a very simple caching proxy for Omnitruck API

It forwards all requests to an omnitruck backend (default: https://omnitruck.chef.io). The response from the backend is parsed and the proxy downloads and caches the referenced package url. It then forwards the response from the backend to the client and replaces the url field with a local version.

Example:

> bin/omnitruck-cache
2018/05/11 15:46:17 Using local cache backend
2018/05/11 15:46:17 Listening on :8080
> curl  'http://localhost:8080/stable/chef/metadata?v=13.9.1&p=ubuntu&pv=16.04&m=x86_64'
sha1    9921fef922bcaf885877e46032ef1ec2fcf37faa
sha256  07a399a16e7eac400a7e1bab7502ffeda33470d37618698d0c8822e410316b99
url     http://localhost:8080/packages/files/stable/chef/13.9.1/ubuntu/16.04/chef_13.9.1-1_amd64.deb
version	13.9.1

omnitruck-cache's People

Contributors

databus23 avatar artiereus avatar renovate-bot avatar majewsky avatar renovate[bot] avatar

Stargazers

Doru Carastan avatar Anthony Scalisi avatar  avatar

Watchers

notque avatar  avatar Stefan Hipfel avatar Andrew Battye avatar Walter A. Boring IV avatar Olaf Heydorn avatar Tilo G. avatar James Cloos avatar  avatar Florian Streibelt avatar Markus Riedinger avatar  avatar Sebastian Lohff avatar Andreas Pfau avatar Shane Parker avatar Andrew Karpow avatar SAP AG avatar Martin Vossen avatar Alexandru Mihai avatar Hans-Georg Winkler avatar Dušan avatar  avatar Vadim Ponomarev avatar  avatar Sebastian Wagner avatar Bernd avatar Michael Reimsbach avatar  avatar Dmitri Fedotov avatar Mikhail Samoylov avatar Arno Uhlig avatar Christopher Hans avatar Dimitris Tassopoulos avatar  avatar  avatar ZhichaoTJ avatar  avatar

omnitruck-cache's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
  • alpine 3.7
gomod
go.mod
  • go 1.17
  • github.com/gophercloud/gophercloud v0.7.0
  • github.com/gorilla/handlers v1.5.1
  • github.com/im7mortal/kmutex v1.0.1-0.20190514200450-95588b379f4a@95588b379f4a
  • github.com/majewsky/schwift v0.0.0-20180906125654-e1b3d5e2efc9@e1b3d5e2efc9

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.