Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for errorexit (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. hack/make-rules/vet.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]}")/../..
    
    # Ignore the usual golangci.yaml config because it would
    # enable additional linters, then enable just "go vet".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 906 bytes
    - Viewed (0)
  7. hack/verify-internal-modules.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/verify-generated.sh"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 18:39:23 UTC 2023
    - 853 bytes
    - Viewed (0)
  8. hack/verify-imports.sh

    # result. Target directory's path and allowed packages against checking are
    # listed in `staging/publishing/import-restrictions.yaml`.
    # Usage: `hack/verify-imports.sh`.
    
    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
    
    GOPROXY=off go install ./cmd/importverifier
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:32 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. hack/install-protoc.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script is convenience to download and install protoc in third_party.
    # Usage: `hack/install-protoc.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/protoc.sh"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 26 23:00:08 UTC 2023
    - 876 bytes
    - Viewed (0)
  10. hack/update-yamlfmt.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
    
    cd "${KUBE_ROOT}"
    
    find_files() {
      find . -not \( \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:31 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top