service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval(in minutes)service.beta.kubernetes.io/aws-load-balancer-access-log-enabled(true|false)service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-nameservice.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-prefixservice.beta.kubernetes.io/aws-load-balancer-additional-resource-tags(comma-separated list of key=value)service.beta.kubernetes.io/aws-load-balancer-backend-protocol(http|https|ssl|tcp)service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled(true|false)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -u | |
| INIT_PATH=$(cd $(dirname $0) && pwd) | |
| INSTALL_DOCKER=0 | |
| help() { | |
| cat << EOF | |
| usage: $0 [OPTIONS] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type Logger interface { | |
| // all levels + Prin | |
| Print(v ...interface{}) | |
| Printf(format string, v ...interface{}) | |
| Println(v ...interface{}) | |
| Debug(v ...interface{}) | |
| Debugf(format string, v ...interface{}) | |
| Debugln(v ...interface{}) | |
| Info(v ...interface{}) | |
| Infof(format string, v ...interface{}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| // Suggestions from golang-nuts | |
| // http://play.golang.org/p/Ctg3_AQisl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "crypto/tls" | |
| "fmt" | |
| "net" | |
| "os" | |
| "bytes" | |
| "io" | |
| ) |
Status: (Final)
Authors: [email protected]
Reviewers: dfawley@, menghanl@, yuxuanli@, psrini@
Last Updated: 2018-02-25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3" | |
| services: | |
| elasticsearch: | |
| image: docker.elastic.co/elasticsearch/elasticsearch:6.3.1 | |
| networks: | |
| - elastic-jaeger | |
| ports: | |
| - "127.0.0.1:9200:9200" | |
| - "127.0.0.1:9300:9300" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func keepRunning(timeout int, action func(), cancel <-chan os.Signal) { | |
| ticker := time.NewTicker(500 * time.Millisecond) | |
| for { | |
| select { | |
| case <-cancel: | |
| fmt.Printf("exiting. timed out\n") | |
| ticker.Stop() | |
| return | |
| case <-ticker.C: | |
| action() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package client | |
| import ( | |
| "bytes" | |
| "context" | |
| "encoding/json" | |
| "encoding/xml" | |
| "fmt" | |
| "github.com/telematicsct/gatekeeper/pkg/log" | |
| "go.uber.org/zap" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "strconv" | |
| ) | |
| func selectionHelper(runners string, chosen string) { | |
| if runners == "" { |