Exemplo n.º 1
0
def test(endpoint, username, password):
    cfi = CloudFoundryInterface("http://" + endpoint, username, password, True)
    cfi.login()
    a = cfi
    b = cfi.apps
    #c = cfi.apps()
    r = cfi._get_or_exception('/v2/stacks/39a6edda-ab09-41dd-8bb5-eb8ca5f7f8d4', True)

    print(dir(cfi.apps[cfi.apps.keys()[0]]))