Esempio n. 1
0
def containerprofilestable():
    """
    retrieves container profiles in table
    """
    baseconfig = Kbaseconfig()
    profiles = baseconfig.list_containerprofiles()
    return render_template('containerprofilestable.html', profiles=profiles)
Esempio n. 2
0
def containercreate():
    """
    create container
    """
    baseconfig = Kbaseconfig()
    profiles = baseconfig.list_containerprofiles()
    return render_template('containercreate.html',
                           title='CreateContainer',
                           profiles=profiles,
                           client=baseconfig.client)