Skip to content

JanHolger/rancher-api-v3-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rancher-api-v3-java

A Java API Client for Rancher API v3 (Rancher 2)

Usage

RancherAPI api = new RancherAPI("https://example.com", "token-xxxxx", "xxxxxxxxxxxxxxxx");
Cluster cluster = Cluster.createDefault();
cluster.setName("example");
try {
  cluster = api.createCluster(cluster);
  System.out.println(cluster.getId());
} catch(RancherException ex) {
  System.out.println(ex.getMessage());
}

About

A Java API Client for Rancher API v3 (Rancher 2)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages