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 CopyFolderToLocal(git *git.Client, tempDirectory, folderRelativePath string) error
- func DeleteFirstResourceFromYaml(path, apiVersion, kind, name string) error
- func DeleteKindFromYaml(path string, kind string) error
- func FileExists(filename string) bool
- func FolderEmpty(folder string) (bool, error)
- func FolderExists(folder string) bool
- func GetAbsPath(pathParts ...string) (string, error)
- func RecreatePath(pathParts ...string) error
- func ReplacePointInclusiveFiller(filePath, point, content, filler string) error
- func Run(monitor mntr.Monitor, cmd exec.Cmd) error
- func RunWithOutput(monitor mntr.Monitor, cmd exec.Cmd) ([]byte, 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 CopyFolderToLocal ¶ added in v0.9.20
func DeleteFirstResourceFromYaml ¶ added in v0.9.20
func DeleteKindFromYaml ¶ added in v0.5.2
func FileExists ¶ added in v0.9.20
func FolderEmpty ¶ added in v0.9.24
func FolderExists ¶ added in v0.9.24
func GetAbsPath ¶ added in v0.9.14
func RecreatePath ¶ added in v0.9.20
func ReplacePointInclusiveFiller ¶ added in v0.9.20
func RunWithOutput ¶ added in v0.9.20
func YamlToString ¶ added in v0.7.7
func YamlToStruct ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.