func (v *ResourceValue) App() *Application {
	if v.Kind == KindApplication || v.Kind == KindApp {
		var app Application
		v.Value.Unmarshal(&app)
		return &app
	}
	return nil
}
App return app data if its kind is app
package v1
type DesireRequest struct {
	Infos []ResourceInfo `yaml:"infos" json:"infos"`
}
type DesireResponse struct {
	Values []ResourceValue `yaml:"values" json:"values"`
}
type ResourceInfo struct {
	Kind    Kind   `yaml:"kind,omitempty" json:"kind,omitempty"`
	Name    string `yaml:"name,omitempty" json:"name,omitempty"`
	Version string `yaml:"version,omitempty" json:"version,omitempty"`
}
type ResourceValue struct {
	ResourceInfo `yaml:",inline" json:",inline"`
	Value        LazyValue `yaml:"value,omitempty" json:"value,omitempty"`
}