instance

package
v0.0.0-...-1cbb91d Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClientset

func CreateClientset() kubernetes.Interface

CreateClientset CreateClientset-------------------------------------------------------------------- create an clients ------------------------------------------------------

func CreateConfigmap

func CreateConfigmap() *apiv1.ConfigMap

CreateClientset-------------------------------------------------------------------- create an clients ------------------------------------------------------

func CreateHeadlessService

func CreateHeadlessService()

func CreateRole

func CreateRole(ns string, name string)

func CreateRoleBinding

func CreateRoleBinding(ns string, roleName string, saName string)

func CreateSentinelHeadlessService

func CreateSentinelHeadlessService()

func CreateServiceAccount

func CreateServiceAccount(ns string, saName string)

func CreateStatefulset

func CreateStatefulset(image string, replica int32)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL