control

command module
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

README

GoReportCard Widget GoDoc Widget Travis Widget Coverage Status Widget

Running

# Run etcd in background (or in another tab/pane)
etcd &

go run main.go \
--etcd-hosts http://localhost:2379 \
--aws-region us-east-1 \
--aws-az us-east-1c \
--aws-sg-id <security_group_id> \
--aws-subnet-id <subnet_id> \
--k8s-host <kubernetes_master_host> \
--k8s-user <kubernetes_api_user> \
--k8s-pass <kubernetes_api_pass> \
--aws-access-key <AWS access key> \
--aws-secret-key <AWS secret key> \
--k8s-insecure-https \
--enable-capacity-service \
--log-level=debug

See example.sh and api/router.go.

Tests

Better coverage is on the way, we promise.

godep go test ./...

License

This software is licensed under the Apache License, version 2 ("ALv2"), quoted below.

Copyright 2016 Qbox, Inc., a Delaware corporation. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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