testutils

package
v3.3.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func GetBackendClient

func GetBackendClient(etcdIP string) api.Client

func GetCalicoClient

func GetCalicoClient(etcdIP string) client.Interface

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 RunK8sControllerManager

func RunK8sControllerManager(apiserverIp 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