util

package
v1.4.5-hotfix-log Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DockerSocket = "/var/run/docker.sock"
)

Variables

This section is empty.

Functions

func GetTidbServiceName

func GetTidbServiceName(tc string) string

TODO: fix unsafe name infer after resources being managed by CRD GetTidbServiceName infers tidb service name from tidb cluster name

func MakeDockerSocketMount

func MakeDockerSocketMount(hostDockerSocket string, readOnly bool) (volume v1.Volume, mount v1.VolumeMount)

MakeDockerSocketMount create the volume and corresponding mount for docker socket

Types

This section is empty.

Jump to

Keyboard shortcuts

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