def mk_marathon_acme(self, sse_kwargs=None, **kwargs):
marathon_client = MarathonClient(
['http://localhost:8080'], client=self.fake_marathon_api.client,
sse_kwargs=sse_kwargs, reactor=self.clock)
mlb_client = MarathonLbClient(
['http://localhost:9090'], client=self.fake_marathon_lb.client,
reactor=self.clock)
return MarathonAcme(
marathon_client,
'external',
self.cert_store,
mlb_client,
lambda: succeed(self.txacme_client),
self.clock,
**kwargs)
评论列表
文章目录