Makefile cheat sheet
Mostly geared towards GNU make
I've used ->|
to indicate a tab character, as it's clearer to read than ⇥
- Set a target, its dependencies and the commands to execute in order
target: [dependencies]
->|
package status | |
import ( | |
"experiment/pkg/k8s" | |
"experiment/pkg/util" | |
"fmt" | |
v1 "k8s.io/api/core/v1" | |
metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
"k8s.io/client-go/kubernetes" | |
"time" |
package main | |
import ( | |
"bufio" | |
"bytes" | |
"fmt" | |
"io" | |
"k8s.io/client-go/kubernetes/scheme" | |
"os" | |
"os/user" |
Mostly geared towards GNU make
I've used ->|
to indicate a tab character, as it's clearer to read than ⇥
target: [dependencies]
->|
#!/bin/bash | |
# | |
# Generates client and server certificates used to enable HTTPS | |
# remote authentication to a Docker daemon. | |
# | |
# See http://docs.docker.com/articles/https/ | |
# | |
# To start the Docker Daemon: | |
# | |
# sudo docker -d \ |
fun buildRequest( | |
userId: String, | |
pemReader: Reader | |
): HttpRequestBuilder.() -> Unit { | |
val chefServerHost = "https://chef-server.vpc" | |
val organizationPath = "/organizations/someorg" | |
return { | |
val httpMethod = method | |
val path = "$organizationPath/${url.encodedPath}" |
title |
---|
JSONPath Support |
JSONPath template is composed of JSONPath expressions enclosed by {}. And we add three functions in addition to the original JSONPath syntax:
$
operator is optional since the expression always starts from the root object by default.""
to quote text inside JSONPath expressions.range
operator to iterate lists.approvers | title | ||
---|---|---|---|
|
Overview of kubectl |
kubectl
is a command line interface for running commands against Kubernetes clusters. This overview covers kubectl
syntax, describes the command operations, and provides common examples. For details about each command, including all the supported flags and subcommands, see the kubectl reference documentation. For installation instructions see installing kubectl.
approvers | title | ||||
---|---|---|---|---|---|
|
kubectl Cheat Sheet |
See also: Kubectl Overview and JsonPath Guide.
[build_status_badge_if_any] [code_coverage_badge_if_any]
Replace this text with service detail description.
- What is the purpose of this service ?
- Background why this service is needed
import nl.komponents.kovenant.* | |
import nl.komponents.kovenant.jvm.asDispatcher | |
import java.util.concurrent.CompletableFuture | |
import java.util.concurrent.ForkJoinPool | |
fun main(args: Array<String>) { | |
Kovenant.context { | |
// configure Kovenant with the same pool | |
// CompletableFutures use. By default it's | |
// the common pool. |