Merge pull request #2848 from phanimarupaka/UpdateArraySetterComments

Update setter comments correctly on updates
This commit is contained in:
Kubernetes Prow Robot
2020-08-17 10:29:31 -07:00
committed by GitHub
7 changed files with 192 additions and 19 deletions

View File

@@ -139,6 +139,13 @@ type ResourceIdentifier struct {
Kind string `yaml:"kind,omitempty"`
}
// Comments struct is comment yaml comment types
type Comments struct {
LineComment string `yaml:"lineComment,omitempty"`
HeadComment string `yaml:"headComment,omitempty"`
FootComment string `yaml:"footComment,omitempty"`
}
func (r *ResourceIdentifier) GetName() string {
return r.Name
}