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
Click to show internal directories.
Click to hide internal directories.