Install [Helm][helm] into your Kubernetes cluster, and configure it to be able to find service-catalog:
helm init
helm repo add svc-cat https://svc-catalog-charts.storage.googleapis.com| package api | |
| import ( | |
| "net/http" | |
| "strconv" | |
| "time" | |
| "github.com/prometheus/client_golang/prometheus" | |
| ) |
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| func getIncrementer() func() int { | |
| i := -1 | |
| return func() int { | |
| i = i + 1 |
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| ) | |
| // This is an example of an Function that takes a function an various parameters. | |
| func callMe(fn interface{}, params ...interface{}) (result []reflect.Value) { |
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Run mocha", | |
| "type": "node", | |
| "request": "launch", | |
| "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
| "stopOnEntry": false, | |
| "args": ["--recursive", "test"], |
| /* Standard Deviation */ | |
| const orders = [3, 5, 3, 8, 5, 25, 8, 4] | |
| const arrayAverage = arr => arr.reduce((sum, x) => x + sum, 0) / orders.length | |
| const sumOrders = orders.reduce((sum, x) => x + sum, 0) | |
| const averageOrders = arrayAverage(orders) | |
| console.log(averageOrders) |