Created
November 27, 2018 16:01
-
-
Save glourenco/47ecd508b000a4e90b1ddac1437ce945 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private String rancherBearerToken; | |
private String rancherAddress; | |
private static String rancherProjects = "/v3/projects/"; | |
private static String rancherWorkloads = "/workloads/"; | |
public RancherClient() { | |
this("<yourhost>", "<yourtoken>"); | |
} | |
public RancherClient(String rancherAddress, String token) { | |
this.rancherAddress = rancherAddress; | |
this.rancherBearerToken = token; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment