added some required libs

This commit is contained in:
hwinkel
2023-08-05 15:50:19 +02:00
parent c3cc840791
commit ca1e714c51
13 changed files with 130 additions and 29 deletions

View File

@@ -0,0 +1,27 @@
#include <kubecontrol/kubecontrol.hpp>
#include <curl_easy.h>
#include <yaml-cpp/yaml.h>
#include <loguru.hpp>
namespace kubecontrol
{
kubecontrol::kubecontrol(std::string pathToKubectlConfig)
{
YAML::Node config = YAML::LoadFile(pathToKubectlConfig);
LOG_S(INFO)<< "test";
curl::curl_easy easy;
easy.add<CURLOPT_URL>("http://<your_url_here>");
easy.add<CURLOPT_FOLLOWLOCATION>(1L);
}
void kubecontrol::getPods()
{
}
}