konveyor / move2kube-api

HTTP REST API for move2kube
https://move2kube.konveyor.io/
Apache License 2.0
6 stars 18 forks source link
hacktoberfest kubernetes modernization move2kube replatform

Build Docker Repository on Quay License contributions welcome Go Report Card

Move2Kube-API

Move2Kube API provides a REST interface to interact with move2kube command line tool.

The API is documented here: https://github.com/konveyor/move2kube-api/blob/main/assets/openapi.json
(Use https://editor.swagger.io/ to view it.)

API inputs API outputs

Usage

Run using container from registry using make crun

Setup

  1. Obtain a recent version of golang. Known to work with 1.19.
  2. Ensure $GOPATH is set. If it's not set:
    1. mkdir ~/go
    2. export GOPATH=~/go
  3. Obtain this repo:
    1. mkdir -p $GOPATH/src/
    2. Clone this repo into the above directory.
    3. cd $GOPATH/src/move2kube-api
  4. Build: make build
  5. Run unit tests: make test
  6. Run image build: make cbuild
  7. Run image: make crun

Discussion