use of com.github.isdream.jointware.containers.impl.KubernetesExecutor in project jointware by isdream.
the class SimpleSampleTest method main.
/**
* @param args
* @throws Exception
*/
public static void main(String[] args) throws Exception {
ConatinerExecutor dp = new KubernetesExecutor();
// dp.create(createClient(), Namespace.class.getSimpleName(), getParams(NAMESPACE));
// System.out.println(dp.query(createClient(), Namespace.class.getSimpleName(), "development"));
// dp.create(createClient(), Deployment.class.getSimpleName(), getParams(DEPLOYMENT));
// System.out.println( getParams(DEPLOYMENT));
KubernetesModelGenerator gr = new KubernetesModelGenerator();
// System.out.println(gr.toObject(getParams(NAMESPACE), Namespace.class.getSimpleName()));
System.out.println(gr.toObject(getParams(DEPLOYMENT), Deployment.class.getSimpleName()));
}
Aggregations