Documentation ¶
Index ¶
- Constants
- func GetBackendClient(etcdIP string) api.Client
- func GetCalicoClient(dsType apiconfig.DatastoreType, etcdIP, kcfg 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(datastoreType apiconfig.DatastoreType, etcdIP, kconfigfile, ctrls 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 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.
Click to show internal directories.
Click to hide internal directories.