Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToType ¶
ConvertToType is a generic function, it take any data then convert them to a pointer of type T.
func ParseYAML ¶
func ParseYAML(content []byte) (*deployment.Deployment, error)
parseYaml parse the entire configuration file and return the corresponding deployment.
func ReturnJson ¶
func ReturnJson(data map[string]any, w http.ResponseWriter) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.