Package com.openshift.client

Examples of com.openshift.client.IApplication.addEnvironmentVariable()


    IEnvironmentVariable existingEnvironmentVariable = app.getEnvironmentVariables().get("FOO");
    assertThat(existingEnvironmentVariable.getName()).isEqualTo("FOO");

    // operation
    try {
      app.addEnvironmentVariable("FOO", "123");
      fail("Expected an exception here...");
    } catch (OpenShiftException e) {
      // expected
    }
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.