ADD: beautified the class and removed unnecessary class
This commit is contained in:
@@ -8,15 +8,17 @@ namespace kubecontrol
|
||||
{
|
||||
|
||||
|
||||
enum PullPolicy: uint32_t
|
||||
enum PullPolicy: uint32_t
|
||||
{
|
||||
ALWAYS,
|
||||
IFNOTPRESENT,
|
||||
NEVER
|
||||
};
|
||||
|
||||
|
||||
inline std::string toString(const PullPolicy &kind)
|
||||
/**
|
||||
* @brief translate PullPolicy enum to string
|
||||
*/
|
||||
inline std::string toString(const PullPolicy &kind)
|
||||
{
|
||||
switch (kind)
|
||||
{
|
||||
@@ -29,7 +31,10 @@ namespace kubecontrol
|
||||
|
||||
class Utils
|
||||
{
|
||||
public:
|
||||
public:
|
||||
/**
|
||||
* @brief lowercase a string
|
||||
*/
|
||||
static std::string to_lower(std::string);
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user