Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResourcePlural ¶ added in v0.345.0
func SanitizeKindName ¶ added in v0.345.0
func SortResourcesYaml ¶ added in v0.348.0
Sort resources in given multi yaml string. Resources are sorted by:
- Namespace
- Resource name
- Kind
Types ¶
type ResourceYamlEntry ¶ added in v0.348.0
type ResourceYamlEntry struct {
Content string
}
func UnmarshalResourceYaml ¶ added in v0.348.0
func UnmarshalResourceYaml(resourceYaml string) (resources []*ResourceYamlEntry, err error)
func (*ResourceYamlEntry) ApiVersion ¶ added in v0.348.0
func (r *ResourceYamlEntry) ApiVersion() string
func (*ResourceYamlEntry) Kind ¶ added in v0.348.0
func (r *ResourceYamlEntry) Kind() (name string)
func (*ResourceYamlEntry) Name ¶ added in v0.348.0
func (r *ResourceYamlEntry) Name() (name string)
func (*ResourceYamlEntry) Namespace ¶ added in v0.348.0
func (r *ResourceYamlEntry) Namespace() (namespace string)
func (*ResourceYamlEntry) Validate ¶ added in v0.348.0
func (r *ResourceYamlEntry) Validate() (err error)
Click to show internal directories.
Click to hide internal directories.