test

package
v0.0.0-...-a2c64ce Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

Kubicorn e2e tests

The e2e tests are designed to introduce confidence that kubicorn is working as expected. We use the infrastructure testing suite charlie to test our infrastructure.

At this time e2e tests are not run automatically for CI, but rather ran ad-hoc until we can harden our process. All cloud credentials will need to be valid, and set in order to run the e2e tests. You can find out more about which environmental variables need to be set in the environmental variables cheat sheet.

Running the e2e tests
$ make test
e2e vs ci tests

By design CI tests require no input from the user, and should just run out of the box. If you write a CI test that requires an account setup, it should really be an e2e test and live in this directory.

CI tests are regular go tests, that are scattered throughout the rest of the repository. This directory is special and does not get tested while running make ci.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TestPrivateRsa = []byte(`-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAsdM0zQDU7TJBWuawREBnmgd7wSIqvbuMqOs4Q1a8xjGeEie0
fvPn9ZvyGyQvVnxvOHUfdUET5cYWO0xuHy5AiZSJVqiN5DCpd2u9UlOlNU0iMj3V
Eh0GllrWD88i9Xk85e/3xYTwxpdJ7ncTIZzM9rXUCeidK8sQS2Ve4dQGMHMf8US5
Cp+1tK5y6bYPLsre1i9nWAjZNDtG2gp1TlkX6DLLfre24Es1bjVIAI+jbLIo4L7e
89Rps/CJmkAZJ00fmt3S5Enc1OvCBSuNb+uvYMW/2XU2M1LfEeIYGo0bbHLe4/qw
njKKK5B+H1CPTk/eJAx+hAn7WxxfEvGHLWsYIwIDAQABAoIBAQCpV9RBohgj5qb8
dRHJfXfr5FKDIxGG6/NQ7ef/oLtXFutMqMkn2Qi+Cgtus2/tMcUNA+S4Wggj2hdT
0z5PrVFCc9SyVQQDGiBYnJ6HpyZ+cv0s0Vt2y3N5ffm6xmypThKjenn/fNF6nZqH
YJg0e0lpbNEHuqDqko/q7ReFgc9/FJzpS8GnTGDr7kD2PNtyW8KlclTYHlfW1H54
XXa3DWKaF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AAAADAQABAAABAQCx0zTNANTtMkFa5rBEQGeaB3vBIiq9u4yo6zhDVrzGMZ4SJ7R+8+f1m/IbJC9WfG84dR91QRPlxhY7TG4fLkCJlIlWqI3kMKl3a71SU6U1TSIyPdUSHQaWWtYPzyL1eTzl7/fFhPDGl0nudxMhnMz2tdQJ6J0ryxBLZV7h1AYwcx/xRLkKn7W0rnLptg8uyt7WL2dYCNk0O0baCnVOWRfoMst+t7bgSzVuNUgAj6Nssijgvt7z1Gmz8ImaQBknTR+a3dLkSdzU68IFK41v669gxb/ZdTYzUt8R4hgajRtsct7j+rCeMoorkH4fUI9OT94kDH6ECftbHF8S8Yctaxgj kris@kris`)
)

Functions

func Create

func Create(testCluster *cluster.Cluster) (*cluster.Cluster, error)

Create will create a new test cluster

func Delete

func Delete(testCluster *cluster.Cluster) (*cluster.Cluster, error)

Delete will delete a test cluster

func InitRsaTravis

func InitRsaTravis()

func Read

func Read(testCluster *cluster.Cluster) (*cluster.Cluster, error)

Read will read a test cluster

func Update

func Update(testCluster *cluster.Cluster) (*cluster.Cluster, error)

Update will update a test cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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