Documentation ¶
Index ¶
- Variables
- 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 GetClientSet(config *rest.Config) (*kubernetes.Clientset, error)
- func GetClusterConfig() (*rest.Config, error)
- func GetSecret(name, namespace string) (*v1.Secret, error)
- func GetVersionFromYaml(filePath string) (string, error)
- func Run(logger logging.Logger, cmd exec.Cmd) error
- func StringJoin(one, two string) string
- func StringJoinSeperated(one, two, sep string) string
- 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 ¶
View Source
var InConfig = true
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 GetClientSet ¶ added in v0.9.15
func GetClientSet(config *rest.Config) (*kubernetes.Clientset, error)
func GetClusterConfig ¶ added in v0.9.15
func GetVersionFromYaml ¶
func StringJoin ¶ added in v0.9.15
func StringJoinSeperated ¶ added in v0.9.15
func StructToYaml ¶
func YamlToString ¶ added in v0.7.7
func YamlToStruct ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.