Code Monkey home page Code Monkey logo

cb-client's Introduction

cb-client

GitHub go.mod Go version GoDoc    License

cb-client is the Cloud-Barista CLI and Go Client Library.

[Client 구성]

  • cbctl: Cloud-Barista CLI, 터미널 환경에서 Cloud-Barista 운영 제공
  • Go API: Cloud-Barista Go API, Go 프로그래밍 API 및 library 제공
    • Go API examples 제공, Build시 Client Library(Go Module) 자동 다운로드

[실행 환경]

  • 공식환경
    • OS: Ubuntu 20.04
    • Build: Go 1.15
  • 시험환경
    • OS: Ubuntu 18.04, Ubuntu 20.04, Debian 10.6, Windows 10, macOS Catalina 10.15 등
    • Build: latest Go
  • Go 설치
    $ sudo apt update
    $ sudo apt install -y make gcc
    $ sudo snap install go --classic
    

    sudo apt update; sudo apt install -y make gcc; sudo snap install go --classic

  • 소스 다운로드
    $ mkdir -p ~/go/src/github.com/cloud-barista
    $ cd ~/go/src/github.com/cloud-barista
    $ git clone https://github.com/cloud-barista/cb-client.git
    

    mkdir -p ~/go/src/github.com/cloud-barista; cd ~/go/src/github.com/cloud-barista; git clone https://github.com/cloud-barista/cb-client.git


[cbctl 실행 방법]

  • cbctl 빌드
    $ cd cb-client/cb-ctl
    $ go build cbctl.go
    
  • 대상 서버 설정
    • 기본 설정 파일 이용한 설정 방법
      • 기본 설정 파일 위치: ./grpc_conf.yaml
      • 대상 서버 설정: server_addr 및 endpoint 정보 설정
    • 지정 설정 파일 이용한 설정 방법
      • -c config_file 옵션 활용
  • cbctl 실행
    • Help
      • $ ./cbctl
      • $ ./cbctl driver
    • 기본 설정 파일 사용 방법
      • $ ./cbctl connect-info list
    • 특정 설정 파일 사용 방법: -c config_file
      • $ ./cbctl -c 123.456.789.10.yaml connect-info list
  • 로그 설정 방법
    • 설정 파일 기본 위치: ./conf/log_conf.yaml
    • 환경 변수 통한 위치: $CBLOG_ROOT/conf/log_conf.yaml
    • 로그 설정 참고: 설정 정보

[Go API 활용 방법]

  • Go API 활용 예시
    • 클라우드 인프라 연동 정보 통합 관리: MCIF
    • 멀티 클라우드 네임스페이스 관리: MCNS
    • 멀티 클라우드 인프라 자원 관리: MCIR
    • 멀티 클라우드 인프라 서비스 관리: MCIS
    • 멀티 클라우드 쿠베르네테스 서비스 관리: MCKS
    • 멀티 클라우드 애플리케이션 운용 관리: MCAS
    • 멀티 클라우드 인프라 서비스 통합 모니터링: MCMON

[참고] Cloud-Barista 사용자 인터페이스 종류


cb-client's People

Contributors

dependabot[bot] avatar powerkimhub avatar seokho-son avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

yunkon-kim

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.