const reconcilerLoopSleepDuration …
var socketDir …
var supportedVersions …
func init() { … }
func cleanup(t *testing.T) { … }
func runReconciler(reconciler Reconciler) { … }
func waitForRegistration(
t *testing.T,
socketPath string,
expectedUUID types.UID,
asw cache.ActualStateOfWorld) { … }
func waitForUnregistration(
t *testing.T,
socketPath string,
asw cache.ActualStateOfWorld) { … }
func retryWithExponentialBackOff(initialDuration time.Duration, fn wait.ConditionFunc) error { … }
type DummyImpl …
func NewDummyImpl() *DummyImpl { … }
func (d *DummyImpl) ValidatePlugin(pluginName string, endpoint string, versions []string) error { … }
func (d *DummyImpl) RegisterPlugin(pluginName string, endpoint string, versions []string, pluginClientTimeout *time.Duration) error { … }
func (d *DummyImpl) DeRegisterPlugin(pluginName string) { … }
func Test_Run_Positive_DoNothing(t *testing.T) { … }
func Test_Run_Positive_Register(t *testing.T) { … }
func Test_Run_Positive_RegisterThenUnregister(t *testing.T) { … }
func Test_Run_Positive_ReRegister(t *testing.T) { … }