Git Product home page Git Product logo

octo-cli's Introduction

Octo CLI

octo-cli makes the data available from any database as a serverless web service, simplifying the process of building data-driven applications.

Knative and OpenFaaS are the only supported serverless frameworks in octo-cli for now.

Octo will create an endpoint that will expose your data as service, all you need to provide is yml file that describes your service.

overview

Supported Databases

  • PostgreSQL
  • MSSQL
  • MySQL

Supported Serverless Frameworks

  • OpenFaaS
  • Knative

Installation

Download Latest Binary

Alternatively you can install using go:

go get github.com/octoproject/octo-cli

Documentation

Documentation can be found on here.

Examples

Examples can be found in the examples/ directory. They are step-by-step examples that will help you to deploy your first service using octo-cli

Usage

$ octo-cli      
Expose data from any database as web service

Usage:
  octo-cli [flags]
  octo-cli [command]

Available Commands:
  build       Build function Docker container
  create      Create a new service
  deploy      Deploy a new service
  help        Help about any command
  init        Generate service configuration YAML file

Flags:
  -h, --help   help for octo-cli

Use "octo-cli [command] --help" for more information about a command.

octo-cli's People

Contributors

amalkh5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

octo-cli's Issues

Database support not specified

Readme should state clearly what format of databases are supported.

In one location you state "any database", others imply Postgres only.

Issue #1 is an example of confusion from this situation.

I personally came to see if you had sqlite support.

Have you tried it with MSSQL?

Wondering if you tried it with MSSQL?
We are in the process of turning our huge mssql server tables to be accessed through REST.

Connection pooling

Hello, thanks for this interesting project. Question - how is the connection pooling handled for the services? Amazon Aurora DB adapted SQL for serverless environment by using rest API for queries instead of TCP connection.

Row-level permissions

I'm curious if there are any thoughts to integrate pgsql row-level account permissioned into the server on a request basis?

go get errors

Perhaps a local configuration problem, but following the 'install' section of the README for installing using go I get the following errors. Any suggestions?

go version
go version go1.15 darwin/amd64

go get github.com/octoproject/octo-cli

github.com/octoproject/octo-cli/knative

golang/src/github.com/octoproject/octo-cli/knative/knative.go:50:29: cannot use service (type *"knative.dev/serving/pkg/apis/serving/v1".Service) as type *"knative.dev/client/vendor/knative.dev/serving/pkg/apis/serving/v1".Service in argument to client.CreateService
golang/src/github.com/octoproject/octo-cli/knative/knative.go:89:3: cannot use "k8s.io/apimachinery/pkg/apis/meta/v1".ObjectMeta literal (type "k8s.io/apimachinery/pkg/apis/meta/v1".ObjectMeta) as type "knative.dev/serving/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".ObjectMeta in field value
golang/src/github.com/octoproject/octo-cli/knative/knative.go:95:40: cannot use []"k8s.io/api/core/v1".Container literal (type []"k8s.io/api/core/v1".Container) as type []"knative.dev/serving/vendor/k8s.io/api/core/v1".Container in assignment
golang/src/github.com/octoproject/octo-cli/knative/knative.go:147:29: cannot use service (type *"knative.dev/serving/pkg/apis/serving/v1".Service) as type *"knative.dev/client/vendor/knative.dev/serving/pkg/apis/serving/v1".Service in argument to client.UpdateService

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.