Documentation ¶
Index ¶
- func AddStringBeforePointForKindAndName(filePath, kind, name, point, addContent string) error
- func AddStringObjectToYaml(path string, str string) error
- func AddStringToYaml(path string, str string) error
- func AddStructToYaml(path string, struc interface{}) error
- func AddYamlToYaml(filePath, addFilePath string) error
- func DeleteKindFromYaml(path string, kind string) error
- func GetAbsPath(pathParts ...string) (string, error)
- func GetApiGroupFromYaml(filePath string) (string, error)
- func GetVersionFromYaml(filePath string) (string, error)
- func Run(logger logging.Logger, cmd exec.Cmd) error
- func StructToYaml(struc interface{}, path string) error
- func YamlToString(path string) (string, error)
- func YamlToStruct(path string, struc interface{}) error
- type Metadata
- type Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddStringBeforePointForKindAndName ¶ added in v0.9.14
func AddStringObjectToYaml ¶ added in v0.9.14
func AddStringToYaml ¶ added in v0.5.0
func AddStructToYaml ¶ added in v0.4.4
func AddYamlToYaml ¶ added in v0.5.2
func DeleteKindFromYaml ¶ added in v0.5.2
func GetAbsPath ¶ added in v0.9.14
func GetApiGroupFromYaml ¶ added in v0.9.0
func GetVersionFromYaml ¶
func StructToYaml ¶
func YamlToString ¶ added in v0.7.7
func YamlToStruct ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.