def __init__(self, metricsInterface, view_class=ViewContext): self.metrics = metricsInterface self.view = view_class(self) self.aws = AWSContext(self) self.stack = StackContext(self) self.config = ConfigContext(self) self.gem = GemContext(self) self.resource_groups = ResourceGroupContext(self) self.hooks = HookContext(self)
def __init__(self, metricsInterface, view_class=ViewContext): self.metrics = metricsInterface self.view = view_class(self) self.aws = AWSContext(self) self.stack = StackContext(self) self.config = ConfigContext(self) self.gem = GemContext(self) self.resource_group_controller = ResourceGroupController(self) self.resource_groups = self.resource_group_controller.resource_groups self.hooks = HookContext(self) self.resource_types = ResourceTypeContext(self) self.stack_info = StackInfoManagerContext(self)