cb-ladybug

module
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2022 License: Apache-2.0

README

CB-Ladybug

Multi-Cloud Application Runtime Management Framework

Go Report Card Build Top Language GitHub go.mod Go version Repo Size GoDoc Release Version License

[NOTE]
CB-Ladybug is currently under development. (The latest version is v0.7.0 (Cortado))
So, we do not recommend using the current release in production.
Please note that the functionalities of CB-Ladybug are not stable and secure yet.
If you have any difficulties in using CB-Ladybug, please let us know.
(Open an issue or Join the cloud-barista Slack)

Getting started

Preparation
Dependencies
Clone
$ git clone https://github.com/cloud-barista/cb-ladybug.git
$ cd cb-ladybug
$ go get -v all
Run
$ export CBLOG_ROOT="$(pwd)"
$ export CBSTORE_ROOT="$(pwd)"
$ export APP_ROOT="$(pwd)"
$ go run src/main.go
Build and Execute
$ go build -o cb-ladybug src/main.go
$ export CBLOG_ROOT="$(pwd)"
$ export CBSTORE_ROOT="$(pwd)"
$ export APP_ROOT="$(pwd)"
$ nohup ./cb-ladybug & > /dev/null
Test
$ curl -s  http://localhost:1470/ladybug/healthy -o /dev/null -w "code:%{http_code}"

code:200
API documentation
  • Execute or Run
  • Generate an updated swagger.yaml
$ go get -u github.com/swaggo/swag/cmd/swag

# in src/ folder
$ swag init

Documents

Contribution

Learn how to start contribution on the Contributing Guideline and Style Guideline

Directories

Path Synopsis
src
grpc-api/cbadm/cmd
Package cmd - 어플리케이션 실행을 위한 Cobra 기반의 CLI Commands 기능 제공
Package cmd - 어플리케이션 실행을 위한 Cobra 기반의 CLI Commands 기능 제공
grpc-api/config
Package config - Configuration for Cloud-Barista's GRPC and provides the required process
Package config - Configuration for Cloud-Barista's GRPC and provides the required process

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL