Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StubService
deprecated
StubService is a special service that collects temporary methods required for wiring together domains which not completely implemented or wired up.
Given the temporary nature of this service, we have not implemented the full service/state layer indirection. Instead, the service directly uses a transaction runner.
Deprecated: All methods here should be thrown away as soon as we're done with then.
func NewStubService ¶
func NewStubService( factory database.TxnRunnerFactory, ) *StubService
NewStubService returns a new StubService.
func (*StubService) AssignUnitsToMachines
deprecated
func (s *StubService) AssignUnitsToMachines(ctx context.Context, groupedUnitsByMachine map[string][]unit.Name) error
AssignUnitsToMachines assigns the given units to the given machines but setting unit net node to the machine net node.
Deprecated: AssignUnitsToMachines will become redundant once the machine and application domains have become fully implemented.