- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 149 for errorexit (0.16 sec)
-
hack/lib/logging.sh
done fi kube::log::error_exit "Error in ${BASH_SOURCE[1]}:${BASH_LINENO[0]}. '${BASH_COMMAND}' exited with status ${err}" "${1:-1}" 1 } kube::log::install_errexit() { # trap ERR to provide an error handler whenever a command exits nonzero this # is a more verbose version of set -o errexit trap 'kube::log::errexit' ERR
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 06 14:40:08 UTC 2024 - 4.3K bytes - Viewed (0) -
hack/module-graph.sh
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 07 08:19:59 UTC 2020 - 3K bytes - Viewed (0) -
src/cmd/vet/testdata/buildtag/buildtag2.go
// license that can be found in the LICENSE file. // This file contains tests for the buildtag checker. // ERRORNEXT "possible malformed [+]build comment" // +builder // +build !ignore package testdata // ERRORNEXT "misplaced \+build comment" // +build toolate // ERRORNEXT "misplaced //go:build comment" //go:build toolate var _ = 3 var _ = ` // +build notacomment
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 20 03:54:48 UTC 2021 - 483 bytes - Viewed (0) -
src/cmd/vet/testdata/buildtag/buildtag.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file contains tests for the buildtag checker. // ERRORNEXT "possible malformed [+]build comment" // +builder // +build !ignore package testdata // ERRORNEXT "misplaced \+build comment" // +build toolate var _ = 3 var _ = ` // +build notacomment
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 20 03:54:48 UTC 2021 - 420 bytes - Viewed (0) -
hack/ginkgo-e2e.sh
program+=("--nodes=25") fi program+=("${ginkgo_args[@]:+${ginkgo_args[@]}}") ;; delve) program=("dlv" "exec") ;; gdb) program=("gdb") ;; *) kube::log::error_exit "Unsupported E2E_TEST_DEBUG_TOOL=${E2E_TEST_DEBUG_TOOL}" ;; esac # Move Ginkgo arguments that are understood by the suite when not using # the CLI. suite_args=()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 13:25:50 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/vet/testdata/directive/directive.go
package p // ERRORNEXT "//go:debug directive only valid in package main or test"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 30 19:25:52 UTC 2023 - 104 bytes - Viewed (0) -
src/net/rpc/jsonrpc/all_test.go
const valueText = "the value we don't want to see" const errorText = "some error" err := sc.WriteResponse(&rpc.Response{ ServiceMethod: "Method", Seq: 1, Error: errorText, }, valueText) if err != nil { t.Fatal(err) } if !strings.Contains(out.String(), errorText) { t.Fatalf("Response didn't contain expected error %q: %s", errorText, &out) } if strings.Contains(out.String(), valueText) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 01:09:53 UTC 2022 - 7.8K bytes - Viewed (0) -
src/cmd/vet/testdata/buildtag/buildtag3.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file contains tests for the buildtag checker. //go:build good // ERRORNEXT "[+]build lines do not match //go:build condition" // +build bad package testdata var _ = ` // +build notacomment
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 20 03:54:48 UTC 2021 - 362 bytes - Viewed (0) -
cluster/kube-up.sh
# # If the full release name (gs://<bucket>/<release>) is passed in then we take # that directly. If not then we assume we are doing development stuff and take # the defaults in the release config. set -o errexit set -o nounset set -o pipefail KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. if [ -f "${KUBE_ROOT}/cluster/env.sh" ]; then source "${KUBE_ROOT}/cluster/env.sh" fi
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 17 15:03:34 UTC 2019 - 2.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/error.go
ValidationExitCode = 3 ) var ( // ErrInvalidSubCommandMsg is an error message returned on invalid subcommands ErrInvalidSubCommandMsg = "invalid subcommand" // ErrExit is an error returned when kubeadm is about to exit ErrExit = errors.New("exit") ) // fatal prints the message if set and then exits. func fatal(msg string, code int) { if len(msg) > 0 { // add newline if needed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 25 16:35:10 UTC 2023 - 3.4K bytes - Viewed (0)