Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunAPI ¶
type RunAPI struct { ServiceFn func(namespace, serviceID string) (*run.Service, error) ServiceInvoked bool ReplaceServiceFn func(namespace, serviceID string, svc *run.Service) (*run.Service, error) ReplaceServiceInvoked bool }
RunAPI represents a mock implementation of run.API.
func (*RunAPI) ReplaceService ¶
func (a *RunAPI) ReplaceService(namespace, serviceID string, svc *run.Service) (*run.Service, error)
ReplaceService invokes the mock implementation and marks the function as invoked.
Click to show internal directories.
Click to hide internal directories.