main
ParseEndpointFile
func ParseEndpointFile(ns string, filePath string, data []byte) Endpoint { res := &EndpointFile{} err := yaml.Unmarshal(data, res) if err != nil { return Endpoint{