Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 84 for errorexit (3.04 sec)

  1. hack/update-vendor-licenses.sh

    #    additionally created files into the vendor auto-generated tree.
    #
    #    Run every time a license file is added/modified within /vendor to
    #    update /LICENSES
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    export LANG=C
    export LC_ALL=C
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:53 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. cmd/storage-rest-server.go

    			return nil, err
    		}
    		// Check if we have a response ready or a filler byte.
    		switch b {
    		case 0:
    			return reader, nil
    		case 1:
    			errorText, err := io.ReadAll(reader)
    			if err != nil {
    				return nil, err
    			}
    			return nil, errors.New(string(errorText))
    		case 32:
    			continue
    		default:
    			return nil, fmt.Errorf("unexpected filler byte: %d", b)
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  3. hack/verify-golangci-lint.sh

       -c <config|"none">: use the specified configuration or none instead of the default hack/golangci.yaml
       [packages]: check specific packages or directories instead of everything
    EOF
      exit 1
    }
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    source "${KUBE_ROOT}/hack/lib/util.sh"
    
    kube::golang::setup_env
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. hack/make-rules/test.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    kube::golang::setup_env
    kube::golang::setup_gomaxprocs
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. cluster/gce/gci/configure.sh

    # files configure.sh and configure-helper.sh. The functionality of downloading
    # kubernetes configuration, manifests, docker images, and binary files are
    # put in configure.sh, which is uploaded via GCE custom metadata.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    ### Hardcoded constants
    DEFAULT_CNI_VERSION='v1.5.0'
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  6. hack/update-vendor.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    # Go tools really don't like it if you have a symlink in `pwd`.
    cd "$(pwd -P)"
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. build/root/Makefile

    #   all: Build code.
    #   test: Run tests.
    #   clean: Clean up.
    
    # It's necessary to set this because some environments don't link sh -> bash.
    SHELL := /usr/bin/env bash -o errexit -o pipefail -o nounset
    BASH_ENV := ./hack/lib/logging.sh
    
    # Define optional user-input variables so `make --warn-undefined-variables` works.
    # Usage is described below with each target that respects these
    PRINT_HELP ?=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top