testutils

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const KubeconfigTemplate = `` /* 217-byte string literal not displayed */

Variables

This section is empty.

Functions

func GetCalicoClient

func GetCalicoClient(etcdIP string) *client.Client

func GetExtensionsClient

func GetExtensionsClient(kubeconfig string) (*rest.RESTClient, error)

func GetK8sClient

func GetK8sClient(kubeconfig string) (*kubernetes.Clientset, error)

GetK8sClient gets a kubernetes client.

func RunEtcd

func RunEtcd() *containers.Container

func RunK8sApiserver

func RunK8sApiserver(etcdIp string) *containers.Container

func RunPolicyController

func RunPolicyController(etcdIP, kconfigfile string) *containers.Container

func Start

func Start(c *containers.Container)

func Stop

func Stop(c *containers.Container)

Types

This section is empty.

Jump to

Keyboard shortcuts

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