예제 #1
0
파일: test_cap-add.py 프로젝트: woerwin/rio
def run_capadd(stack, *value):

    name = util.rioRun(stack, ' '.join(value), 'nginx')

    return name
예제 #2
0
def run_scale(stack, value):
    name = util.rioRun(stack, '--scale', value, 'nginx')

    return name
예제 #3
0
파일: test_domain.py 프로젝트: woerwin/rio
def create_service(nspc, image):
    fullName = util.rioRun(nspc, image)

    return fullName
예제 #4
0
def create_service(nspc, image):
    port = "-p 80/http"
    srv = util.rioRun(nspc, port, image)
    fullName = (f"{nspc}/{srv}")

    return fullName
예제 #5
0
파일: test_domain.py 프로젝트: zhangkg/rio
def create_service(nspc, image):
    srv = util.rioRun(nspc, image)
    fullName = (f"{nspc}/{srv}")

    return fullName
예제 #6
0
def create_service(nspc, image):
    port = "-p 80/http"
    fullName = util.rioRun(nspc, port, image)

    return fullName
예제 #7
0
def run_updateStrategy(stack, *value):

    name = util.rioRun(stack, ' '.join(value), 'nginx')

    return name
예제 #8
0
def run_autoscale(stack, *value):

    name = util.rioRun(stack, ' '.join(value), 'nginx')

    return name
예제 #9
0
def run_addhost(nspc, *value):

    name = util.rioRun(nspc, ' '.join(value), 'nginx')

    return name
예제 #10
0
def run_ipc(stack, value, value2):
    name = util.rioRun(stack, value, value2, 'nginx')

    return name
예제 #11
0
def run_init(stack, value):
    name = util.rioRun(stack, value, 'nginx')

    return name
예제 #12
0
def run_voldriver(stack, *value):

    name = util.rioRun(stack, ' '.join(value), 'nginx')

    return name