Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockFdbPodClient ¶
func NewMockFdbPodClient(cluster *fdbv1beta2.FoundationDBCluster, pod *corev1.Pod) (podclient.FdbPodClient, error)
NewMockFdbPodClient builds a mock client for working with an FDB pod
Types ¶
type FdbPodClient ¶
type FdbPodClient struct { Cluster *fdbv1beta2.FoundationDBCluster Pod *corev1.Pod // contains filtered or unexported fields }
FdbPodClient provides a mock connection to a pod
func (*FdbPodClient) GetVariableSubstitutions ¶
func (client *FdbPodClient) GetVariableSubstitutions() (map[string]string, error)
GetVariableSubstitutions gets the current keys and values that this process group will substitute into its monitor conf.
func (*FdbPodClient) IsPresent ¶
func (client *FdbPodClient) IsPresent(_ string) (bool, error)
IsPresent checks whether a file in the sidecar is present.
func (*FdbPodClient) UpdateFile ¶
func (client *FdbPodClient) UpdateFile(_ string, _ string) (bool, error)
UpdateFile checks if a file is up-to-date and tries to update it.
Click to show internal directories.
Click to hide internal directories.