def __init__(self, service, is_remote=True): DictWrapper.__init__(self, service) self.set_host(is_remote) self.set_ports() self.set_exposed_ports() self.set_advertised_ports()
def __init__(self, test): DictWrapper.__init__(self, test) if self.has('docker'): self.set('docker', StackTestDocker(self.get('docker'))) if self.has('shell'): self.set('shell', StackTestShell(self.get('shell')))
def __init__(self, stack, conf=""): # apply template stack = apply_template(stack, conf) with open(SCHEMA) as stack_schema: DictWrapper.__init__(self, stack, stack_schema) self.set("services", self.parse_services()) self.set("nodes", self.parse_nodes()) self.set("security_groups", self.parse_list("security_groups", StackSecurityGroup)) self.set("tests", self.parse_list("tests", StackTest))
def __init__(self, stack, conf=""): # apply template stack = apply_template(stack, conf) with open(SCHEMA) as stack_schema: DictWrapper.__init__(self, stack, stack_schema) self.set('services', self.parse_services()) self.set('nodes', self.parse_nodes()) self.set('security_groups', self.parse_list('security_groups', StackSecurityGroup)) self.set('tests', self.parse_list('tests', StackTest))
def __init__(self, node): DictWrapper.__init__(self, node)
def __init__(self, config_file): with open(SCHEMA) as schema: DictWrapper.__init__(self, config_file, schema)
def __init__(self, shell): DictWrapper.__init__(self, shell)
def __init__(self, docker): DictWrapper.__init__(self, docker)