testutils

package
v3.8.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 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(dsType apiconfig.DatastoreType, etcdIP, kcfg 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(datastoreType apiconfig.DatastoreType, etcdIP, kconfigfile, ctrls 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