test_service.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:marathon-acme 作者: praekeltfoundation 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号