Documentation ¶
Index ¶
- func ApplyConfig(pathToTemplate, pathToConfigFile string, ...) error
- func CreateConfig(pathToTemplate, pathToConfigFile string, ...) error
- func DownloadAndExtractOcBinaryArchive(apiClient *clients.Settings) error
- func ExecuteViaDebugPodOnNode(nodeName string, cmd string) (string, error)
- func PatchAPIObject(objName, objNamespace, objKind, patchType, patchStr string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyConfig ¶
func ApplyConfig( pathToTemplate, pathToConfigFile string, variablesToReplace map[string]interface{}) error
ApplyConfig applies config using shell method.
func CreateConfig ¶
func CreateConfig( pathToTemplate, pathToConfigFile string, variablesToReplace map[string]interface{}) error
CreateConfig creates config using shell method.
func DownloadAndExtractOcBinaryArchive ¶
DownloadAndExtractOcBinaryArchive downloads and extracts oc binary archive.
func ExecuteViaDebugPodOnNode ¶
ExecuteViaDebugPodOnNode creates debug pod and executes provided command.
func PatchAPIObject ¶
PatchAPIObject patches the resource using the given patch type, object belongs to the specific namespace The following patches are exactly the same patch but using different types, 'merge' and 'json' --type merge -p '{"spec": {"selector": {"app": "frommergepatch"}}}' --type json -p '[{ "op": "replace", "path": "/spec/selector/app", "value": "fromjsonpatch"}]'.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.