Documentation ¶
Index ¶
- Constants
- func GetBackendClient(etcdIP string) api.Client
- func GetCalicoClient(etcdIP string) client.Interface
- func GetK8sClient(kubeconfig string) (*kubernetes.Clientset, error)
- func RunEtcd() *containers.Container
- func RunK8sApiserver(etcdIp string) *containers.Container
- func RunK8sControllerManager(apiserverIp string) *containers.Container
- func RunPolicyController(etcdIP, kconfigfile string) *containers.Container
- func Start(c *containers.Container)
- func Stop(c *containers.Container)
Constants ¶
View Source
const KubeconfigTemplate = `` /* 217-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func GetBackendClient ¶
func GetCalicoClient ¶
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.
Click to show internal directories.
Click to hide internal directories.