go_devops

package module
Version: v0.0.0-...-a78afea Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

README

minimum golang 1.13 Go Report Card Go.dev Build Status Coverage Status

go-devops

tons of devops related tools.

Documentation

Overview

go-devops 1.0.0

Source Files

Directories

Path Synopsis
INI TOML https://github.com/BurntSushi/toml "github.com/BurntSushi/toml" YAML https://github.com/go-yaml/yaml "gopkg.in/yaml.v2"
INI TOML https://github.com/BurntSushi/toml "github.com/BurntSushi/toml" YAML https://github.com/go-yaml/yaml "gopkg.in/yaml.v2"
AES
# Mysql expose 3306.
# Mysql expose 3306.
docker default client: github.com/docker/docker v1.13.1 avaliable client: go get -v github.com/docker/engine@v18.09.9 github.com/docker/docker v1.13.1 => github.com/docker/engine v1.4.2-0.20190822180741-9552f2b2fdde
docker default client: github.com/docker/docker v1.13.1 avaliable client: go get -v github.com/docker/engine@v18.09.9 github.com/docker/docker v1.13.1 => github.com/docker/engine v1.4.2-0.20190822180741-9552f2b2fdde
gomail
gomail
cobra https://github.com/spf13/cobra run order: 1.
cobra https://github.com/spf13/cobra run order: 1.
# Grafana launch: docker run -d --name=grafana -p 3000:3000 grafana/grafana:tag launch with volume: $ docker volume create grafana-storage $ docker run -d --name=grafana -p 3000:3000 \ -v grafana-storage:/var/lib/grafana \ grafana/grafana:tag
# Grafana launch: docker run -d --name=grafana -p 3000:3000 grafana/grafana:tag launch with volume: $ docker volume create grafana-storage $ docker run -d --name=grafana -p 3000:3000 \ -v grafana-storage:/var/lib/grafana \ grafana/grafana:tag
# httpd/apach2 copy html in Dockerfile: FROM httpd:tag COPY ./web/ /usr/local/apache2/htdocs/ launch your apache with specify port: $ docker run -dit --name admin-gui -p 80:80 -p 443:443 myweb:tag # haproxy
# httpd/apach2 copy html in Dockerfile: FROM httpd:tag COPY ./web/ /usr/local/apache2/htdocs/ launch your apache with specify port: $ docker run -dit --name admin-gui -p 80:80 -p 443:443 myweb:tag # haproxy
zap https://github.com/uber-go/zap logrus https://github.com/sirupsen/logrus
zap https://github.com/uber-go/zap logrus https://github.com/sirupsen/logrus
# Rabbitmq rabbitmq:tag default expose 5672.
# Rabbitmq rabbitmq:tag default expose 5672.
SSH
SSH
# Chronograf launch with volume: $ docker run -d -p 8888:8888 \ -v chronograf-storage:/var/lib/chronograf \ chronograf:tag # Influxdb launch with volume: $ docker run -d --name=influxdb -p 8086:8086 \ -v influxdb-storage:/var/lib/influxdb \ influxdb:tag use docker network: $ docker network create influxdb $ docker run -d --name=influxdb -p 8086:8086 \ --net=influxdb influxdb:tag # Kapacitor launch with volume: $ docker run -d --name=kapacitor -p 9092:9092 \ -v kapacitor:/var/lib/kapacitor \ kapacitor:tag use localhost: $ docker run -d --name=kapacitor -p 9092:9092 \ --net=container:influxdb kapacitor:tag use configuration on node: $ docker run -d --name=kapacitor -p 9092:9092 \ -v kapacitor-storage/kapacitor.conf:/etc/kapacitor/kapacitor.conf:ro \ kapacitor:tag use docker network: [[influxdb]] urls = ["http://influxdb:8086"] # set env $ docker run -d --name=kapacitor -p 9092:9092 \ --net=influxdb \ -h kapacitor \ # This option and kapacitor config are the same.
# Chronograf launch with volume: $ docker run -d -p 8888:8888 \ -v chronograf-storage:/var/lib/chronograf \ chronograf:tag # Influxdb launch with volume: $ docker run -d --name=influxdb -p 8086:8086 \ -v influxdb-storage:/var/lib/influxdb \ influxdb:tag use docker network: $ docker network create influxdb $ docker run -d --name=influxdb -p 8086:8086 \ --net=influxdb influxdb:tag # Kapacitor launch with volume: $ docker run -d --name=kapacitor -p 9092:9092 \ -v kapacitor:/var/lib/kapacitor \ kapacitor:tag use localhost: $ docker run -d --name=kapacitor -p 9092:9092 \ --net=container:influxdb kapacitor:tag use configuration on node: $ docker run -d --name=kapacitor -p 9092:9092 \ -v kapacitor-storage/kapacitor.conf:/etc/kapacitor/kapacitor.conf:ro \ kapacitor:tag use docker network: [[influxdb]] urls = ["http://influxdb:8086"] # set env $ docker run -d --name=kapacitor -p 9092:9092 \ --net=influxdb \ -h kapacitor \ # This option and kapacitor config are the same.
Utils for basic functions.
Utils for basic functions.

Jump to

Keyboard shortcuts

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