Parse the kubernetes manifest in yaml or json, don't care a manifest type.
Examples:
package main
import (
"bytes"
"context"Parse the kubernetes manifest in yaml or json, don't care a manifest type.
Examples:
package main
import (
"bytes"
"context"| #!/bin/bash | |
| sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
| sudo apt-get update | |
| sudo -i export CPPFLAGS="-DSIZEOF_LONG_INT=8" | |
| sudo apt-get -y install gcc-5 g++-5 | |
| sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 | |
| cd ~ | |
| echo "Configuring the unixODBC 2.3.1 Driver Manager" |
| #!/bin/bash | |
| # Path to the PHP executable | |
| php="/cygdrive/c/PHP/php.exe" | |
| for ((n=1; n <= $#; n++)); do | |
| if [ -e "${!n}" ]; then | |
| # Converts Unix style paths to Windows equivalents | |
| path="$(cygpath --mixed ${!n} | xargs)" |