var alwaysReady …
var noResyncPeriodFunc …
type fixture …
func newFixture(t *testing.T) *fixture { … }
func newFoo(name string, replicas *int32) *samplecontroller.Foo { … }
func (f *fixture) newController(ctx context.Context) (*Controller, informers.SharedInformerFactory, kubeinformers.SharedInformerFactory) { … }
func (f *fixture) run(ctx context.Context, fooRef cache.ObjectName) { … }
func (f *fixture) runExpectError(ctx context.Context, fooRef cache.ObjectName) { … }
func (f *fixture) runController(ctx context.Context, fooRef cache.ObjectName, startInformers bool, expectError bool) { … }
func checkAction(expected, actual core.Action, t *testing.T) { … }
func filterInformerActions(actions []core.Action) []core.Action { … }
func (f *fixture) expectCreateDeploymentAction(d *apps.Deployment) { … }
func (f *fixture) expectUpdateDeploymentAction(d *apps.Deployment) { … }
func (f *fixture) expectUpdateFooStatusAction(foo *samplecontroller.Foo) { … }
func getRef(foo *samplecontroller.Foo, t *testing.T) cache.ObjectName { … }
func TestCreatesDeployment(t *testing.T) { … }
func TestDoNothing(t *testing.T) { … }
func TestUpdateDeployment(t *testing.T) { … }
func TestNotControlledByUs(t *testing.T) { … }
func int32Ptr(i int32) *int32 { … }