Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 87 of 87 for errorexit (0.16 sec)

  1. hack/lib/golang.sh

    }
    
    # Takes the platform name ($1) and sets the appropriate golang env variables
    # for that platform.
    kube::golang::set_platform_envs() {
      [[ -n ${1-} ]] || {
        kube::log::error_exit "!!! Internal error. No platform set in kube::golang::set_platform_envs"
      }
    
      export GOOS=${platform%/*}
      export GOARCH=${platform##*/}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  2. cluster/gce/upgrade.sh

    # limitations under the License.
    
    # !!!EXPERIMENTAL !!! Upgrade script for GCE. Expect this to get
    # rewritten in Go in relatively short order, but it allows us to start
    # testing the concepts.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    if [[ "${KUBERNETES_PROVIDER:-gce}" != "gce" ]]; then
      echo "!!! ${1} only works on GCE" >&2
      exit 1
    fi
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. build/common.sh

    # limitations under the License.
    
    # shellcheck disable=SC2034 # Variables sourced in other scripts.
    
    # Common utilities, variables and checks for all build scripts.
    set -o errexit
    set -o nounset
    set -o pipefail
    
    # Unset CDPATH, having it set messes up with script import paths
    unset CDPATH
    
    USER_ID=$(id -u)
    GROUP_ID=$(id -g)
    
    DOCKER_OPTS=${DOCKER_OPTS:-""}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. hack/update-codegen.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # shellcheck disable=2046 # printf word-splitting is intentional
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    # This tool wants a different default than usual.
    KUBE_VERBOSE="${KUBE_VERBOSE:-1}"
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  5. cluster/gce/util.sh

        for k in "${!map[@]}"; do
          echo "  ${k}:"
          declare -a values
          IFS="${item_sep}" read -ra values <<<"${map[$k]}"
          for val in "${values[@]}"; do
            # declare across two lines so errexit can catch failures
            declare v
            v=$(yaml-quote "${val}")
            echo "    - ${v}"
          done
        done
      fi
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure-helper.sh

    # uploaded in the manifests tar ball.
    
    # TODO: this script duplicates templating logic from cluster/saltbase/salt
    # using sed. It should use an actual template parser on the manifest
    # files.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    ### Hardcoded constants
    METADATA_SERVER_IP="${METADATA_SERVER_IP:-169.254.169.254}"
    
    # Standard curl flags.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  7. pkg/apis/core/validation/validation.go

    }
    
    // ValidateFieldAcceptList checks that only allowed fields are set.
    // The value must be a struct (not a pointer to a struct!).
    func validateFieldAllowList(value interface{}, allowedFields map[string]bool, errorText string, fldPath *field.Path) field.ErrorList {
    	var allErrs field.ErrorList
    
    	reflectType, reflectValue := reflect.TypeOf(value), reflect.ValueOf(value)
    	for i := 0; i < reflectType.NumField(); i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top