コード例 #1
0
 def __init__(self, ctx_node, resource_id=None, client=None, logger=None):
     ELBBase.__init__(
         self,
         ctx_node,
         resource_id,
         client or Boto3Connection(ctx_node).client('elbv2'),
         logger)
     self.type_name = RESOURCE_TYPE
コード例 #2
0
 def __init__(self, ctx_node, resource_id=None, client=None, logger=None):
     ELBBase.__init__(
         self,
         ctx_node,
         resource_id,
         client or Boto3Connection(ctx_node).client('elb'),
         logger)
     self.type_name = RESOURCE_TYPE
コード例 #3
0
 def setUp(self):
     super(TestELBBase, self).setUp()
     self.base = ELBBase("ctx_node",
                         resource_id=True,
                         client=True,
                         logger=None)