k8s_go

package
v0.0.0-...-79ed5b9 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelMysqlDocker

func DelMysqlDocker()

func DelRedisDocker

func DelRedisDocker()

func RunMysqlDocker

func RunMysqlDocker()

func RunRedisDocker

func RunRedisDocker()

Types

type ISvc

type ISvc interface {
	InitMetaData()
	GetName() string
	GetServiceMeta() *corev1.Service
	GetDeploymentMeta() *appsv1.Deployment
	GetConfigMapMeta() *corev1.ConfigMap
}

type K8SManager

type K8SManager struct {
	// contains filtered or unexported fields
}

func (*K8SManager) Init

func (m *K8SManager) Init(svc ISvc)

func (*K8SManager) StartSvc

func (m *K8SManager) StartSvc()

func (*K8SManager) StopSvc

func (m *K8SManager) StopSvc()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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