Exemple #1
0
def run_capadd(stack, *value):

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

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

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

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

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

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

    return fullName
def run_updateStrategy(stack, *value):

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

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

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

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

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

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

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

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

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

    return name