github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/cf/requirements/requirements.go (about) 1 package requirements 2 3 type Requirements []Requirement 4 5 func (r Requirements) Execute() error { 6 var err error 7 8 for _, req := range r { 9 err = req.Execute() 10 if err != nil { 11 return err 12 } 13 } 14 15 return nil 16 }