verify/

directory
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2018 License: Apache-2.0

README

A Simple verification tool

Purpose

verifies whether a machine (node) has been created by the machine-controller.

How does it work

it accepts a machine's manifest and a list of key value pairs, then replaces keywords under the given key to the given value.

next, the modified manifest is POST'ed to the kube-api server, and the test tool watches the API and verifies whether the expected machine resource has been created.

Building

make verify

Running

./verify -input path_to_a_manifest -parameters "key=value,key2=value2"

for example the following command will replace <<DO_TOKEN>> and <<PUBLIC_KEY>> in the digitalocean manifest:

./verify -input ../manifests/machine-digitalocean.yaml -parameters "<<DO_TOKEN>>=TEST,<<PUBLIC_KEY>>=TEST2"

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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