@classmethod<EOL><INDENT>def get_from_string(cls, string_phase):<DEDENT>
if string_phase == '<STR_LIT>':<EOL><INDENT>return cls.PENDING<EOL><DEDENT>elif string_phase == '<STR_LIT>':<EOL><INDENT>return cls.RUNNING<EOL><DEDENT>elif string_phase == '<STR_LIT>':<EOL><INDENT>return cls.SUCCEEDED<EOL><DEDENT>elif string_phase == '<STR_LIT>':<EOL><INDENT>return cls.FAILED<EOL><DEDENT>elif string_phase == '<STR_LIT>':<EOL><INDENT>return cls.UNKNOWN<EOL><DEDENT>return cls.UNKNOWN<EOL>
Convert string value obtained from k8s API to PodPhase enum value
:param string_phase: str, phase value from Kubernetes API
:return: PodPhase