示例#1
0
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
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
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
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