Documentation
¶
Index ¶
- func CreateClientset() kubernetes.Interface
- func CreateConfigmap() *apiv1.ConfigMap
- func CreateHeadlessService()
- func CreateRole(ns string, name string)
- func CreateRoleBinding(ns string, roleName string, saName string)
- func CreateSentinelHeadlessService()
- func CreateServiceAccount(ns string, saName string)
- func CreateStatefulset(image string, replica int32)
- func CreateStatefulsetForSentinel()
- func CreateSvc1()
- func DeleteStatefulSet()
- func ListStatefulSet()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClientset ¶
func CreateClientset() kubernetes.Interface
CreateClientset CreateClientset-------------------------------------------------------------------- create an clients ------------------------------------------------------
func CreateConfigmap ¶
CreateClientset-------------------------------------------------------------------- create an clients ------------------------------------------------------
func CreateHeadlessService ¶
func CreateHeadlessService()
func CreateRole ¶
func CreateRoleBinding ¶
func CreateSentinelHeadlessService ¶
func CreateSentinelHeadlessService()
func CreateServiceAccount ¶
func CreateStatefulset ¶
CreateStatefulset CreateStateful -------------------------------------------------------------------- create the statefulset ---------------------------------------------------
func CreateStatefulsetForSentinel ¶
func CreateStatefulsetForSentinel()
CreateStatefulsetForSentinel -------------------------------------------------------------------- create the statefulset ---------------------------------------------------
func CreateSvc1 ¶
func CreateSvc1()
func DeleteStatefulSet ¶
func DeleteStatefulSet()
func ListStatefulSet ¶
func ListStatefulSet()
Types ¶
This section is empty.