Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FdbPodClient ¶
type FdbPodClient interface {
// IsPresent checks whether a file in the sidecar is present
IsPresent(filename string) (bool, error)
// CheckHash checks whether a file in the sidecar has the expected contents.
CheckHash(filename string, contents string) (bool, error)
// GenerateMonitorConf updates the monitor conf file for a pod
GenerateMonitorConf() error
// CopyFiles copies the files from the config map to the shared dynamic conf
// volume
CopyFiles() error
// GetVariableSubstitutions gets the current keys and values that this
// process group will substitute into its monitor conf.
GetVariableSubstitutions() (map[string]string, error)
}
FdbPodClient provides methods for working with a FoundationDB pod
Click to show internal directories.
Click to hide internal directories.