scripts

package
v0.0.0-...-485fd57 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VTTabletInitTemplate = `` /* 1326-byte string literal not displayed */

	VTTabletStartTemplate = `` /* 1384-byte string literal not displayed */

	// TODO move the actual reparenting work to the operator
	VTTabletPreStopTemplate = `` /* 1666-byte string literal not displayed */

)
View Source
const (
	VTGateStart = `` /* 923-byte string literal not displayed */

)
View Source
const (
	VtCtldStart = `` /* 541-byte string literal not displayed */

)

Variables

View Source
var (
	MySQLInitTemplate = `` /* 479-byte string literal not displayed */

	MySQLStartTemplate = `` /* 805-byte string literal not displayed */

	MySQLPreStopTemplate = `` /* 295-byte string literal not displayed */

)
View Source
var (
	InitMySQLCreds = `` /* 305-byte string literal not displayed */

)
View Source
var (
	InitReplicaMaster = `` /* 2466-byte string literal not displayed */

)

Functions

This section is empty.

Types

type ContainerScriptGenerator

type ContainerScriptGenerator struct {
	ContainerType string
	Object        runtime.Object
	Init          string
	Start         string
	PreStop       string
}

func NewContainerScriptGenerator

func NewContainerScriptGenerator(containerType string, obj runtime.Object) *ContainerScriptGenerator

func (*ContainerScriptGenerator) Generate

func (csg *ContainerScriptGenerator) Generate() error

Jump to

Keyboard shortcuts

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