- Set-up:
TBD
- Usage:
// TODO: Initial
const server = 'https://<API-SERVER>';
const token = '<YOUR-TOKEN>';
var response = require('http/v3/response');
var Pods = require('kubernetes/api/v1/Pods');
var podsApi = new Pods(server, token, 'zeus');
var pod = podsApi.getEntityBuilder();
pod.getMetadata().setName('asd');
pod.getMetadata().setNamespace('namespace');
console.error('Pod: ' + JSON.stringify(pod.build()));
response.println(JSON.stringify(podsApi.list()));
This project is copyrighted by SAP SE and is available under the Eclipse Public License v 1.0. See LICENSE and NOTICE.txt for further details.