type FakeService … type fakeService … func NewFakeService(name string, client kubernetes.Interface, handler http.Handler) *fakeService { … } func (f *fakeService) Run(ctx context.Context) error { … } func (f *fakeService) WaitForReady(ctx context.Context) error { … } func (f *fakeService) Port() *int32 { … } func (f *fakeService) Name() string { … }