Documentation
¶
Index ¶
Constants ¶
View Source
const DEFAULT_HEALTHCHECK_QUERY = "SELECT 1;"
Variables ¶
This section is empty.
Functions ¶
func DataDirectory ¶
func ExecWithOptions ¶
func ExecWithOptions(config *restclient.Config, client kubernetes.Clientset, options ExecOptions) (string, string, error)
func HealthCheck ¶
Types ¶
type ExecOptions ¶
type ExecOptions struct {
Command []string
Namespace string
PodName string
ContainerName string
Stdin io.Reader
CaptureStdout bool
CaptureStderr bool
// If false, whitespace in std{err,out} will be removed.
PreserveWhitespace bool
}
ExecOptions passed to ExecWithOptions
type Replica ¶
type Replica struct {
Name string
IP string
Status *ReplicationInfo
}
type ReplicationInfo ¶
func GetReplicationInfo ¶
func GetReplicationInfo(target string) (*ReplicationInfo, error)
Click to show internal directories.
Click to hide internal directories.