Esempio n. 1
0
def run_capadd(stack, *value):

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

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

    return name
Esempio n. 3
0
def create_service(nspc, image):
    fullName = util.rioRun(nspc, image)

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

    return fullName
Esempio n. 5
0
def create_service(nspc, image):
    srv = util.rioRun(nspc, image)
    fullName = (f"{nspc}/{srv}")

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

    return fullName
Esempio n. 7
0
def run_updateStrategy(stack, *value):

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

    return name
Esempio n. 8
0
def run_autoscale(stack, *value):

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

    return name
Esempio n. 9
0
def run_addhost(nspc, *value):

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

    return name
Esempio n. 10
0
def run_ipc(stack, value, value2):
    name = util.rioRun(stack, value, value2, 'nginx')

    return name
Esempio n. 11
0
def run_init(stack, value):
    name = util.rioRun(stack, value, 'nginx')

    return name
Esempio n. 12
0
def run_voldriver(stack, *value):

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

    return name