Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for MISSING (0.25 sec)

  1. istioctl/pkg/workload/workload_test.go

    	cases := []testcase{
    		{
    			description:       "Invalid command args - missing service name and namespace",
    			args:              strings.Split("group create", " "),
    			expectedException: true,
    			expectedOutput:    "Error: expecting a workload name\n",
    		},
    		{
    			description:       "Invalid command args - missing service name",
    			args:              strings.Split("group create -n bar", " "),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. misc/linkcheck/linkcheck.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // The linkcheck command finds missing links in the godoc website.
    // It crawls a URL recursively and notes URLs and URL fragments
    // that it's seen and prints a report of missing links at the end.
    package main
    
    import (
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    	"os"
    	"regexp"
    	"strings"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    
    	policyName := mss.Get(peerRESTPolicy)
    	if policyName == "" {
    		return np, grid.NewRemoteErr(errors.New("policyName is missing"))
    	}
    
    	if err := globalIAMSys.DeletePolicy(context.Background(), policyName, false); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  4. istioctl/pkg/admin/istiodconfig_test.go

    		want    string
    		wantErr bool
    	}{
    		{
    			name:    "resetState.run() should throw an error if the /scopej endpoint is missing",
    			state:   &resetState{client: ctrzClientNoScopejHandler},
    			wantErr: true,
    		},
    		{
    			name: "logLevelState.run() should throw an error if the /scopej endpoint is missing",
    			state: &logLevelState{
    				client:         ctrzClientNoScopejHandler,
    				outputLogLevel: "test:debug",
    			},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  5. istioctl/pkg/multixds/gather.go

    	if xdsResponse.ControlPlane == nil {
    		return pilotxds.IstioControlPlaneInstance{
    			Component: "MISSING",
    			ID:        "MISSING",
    			Info: istioversion.BuildInfo{
    				Version: "MISSING CP ID",
    			},
    		}
    	}
    
    	cpID := pilotxds.IstioControlPlaneInstance{}
    	err := json.Unmarshal([]byte(xdsResponse.ControlPlane.Identifier), &cpID)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/endtoend_test.go

    			}
    		}
    		if !ok {
    			t.Errorf("%s: have encoding %s, want %s", p, codeHex, hexes)
    		}
    	}
    
    	if len(hexByLine) > 0 {
    		var missing []string
    		for key := range hexByLine {
    			missing = append(missing, key)
    		}
    		sort.Strings(missing)
    		for _, line := range missing {
    			t.Errorf("%s: did not find instruction encoding", line)
    		}
    	}
    
    }
    
    func isHexes(s string) bool {
    	if s == "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  7. cmd/bootstrap-peer-server.go

    		}
    	}
    
    	if reflect.DeepEqual(s1.MinioEnv, s2.MinioEnv) {
    		return nil
    	}
    
    	// Report differences in environment variables.
    	var missing []string
    	var mismatching []string
    	for k, v := range s1.MinioEnv {
    		ev, ok := s2.MinioEnv[k]
    		if !ok {
    			missing = append(missing, k)
    		} else if v != ev {
    			mismatching = append(mismatching, k)
    		}
    	}
    	var extra []string
    	for k := range s2.MinioEnv {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. internal/s3select/sql/value.go

    	val, ok = v.value.([]Value)
    	return
    }
    
    // IsNull - checks if value is missing.
    func (v Value) IsNull() bool {
    	//nolint:gocritic
    	switch v.value.(type) {
    	case nil:
    		return true
    	}
    	return false
    }
    
    // IsMissing - checks if value is missing.
    func (v Value) IsMissing() bool {
    	_, ok := v.value.(Missing)
    	return ok
    }
    
    // IsArray returns whether the value is an array.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  9. internal/s3select/sql/jsonpath_test.go

    		{"s.authorInfo.name", []interface{}{"Agatha Christie", "Isaac Asimov", "P. G. Wodehouse"}},
    		{"s.authorInfo.yearRange[0]", []interface{}{1890.0, 1920.0, 1881.0}},
    		{"s.publicationHistory[0].pages", []interface{}{256.0, 336.0, Missing{}}},
    	}
    	for i, tc := range cases {
    		t.Run(tc.str, func(t *testing.T) {
    			jp := JSONPath{}
    			err := p.ParseString(tc.str, &jp)
    			// fmt.Println(jp)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  10. internal/crypto/sse-kms.go

    	if !idPresent && kmsKeyPresent {
    		return keyID, kmsKey, sealedKey, ctx, Errorf("The object metadata is missing the internal KMS key-ID for SSE-S3")
    	}
    	if idPresent && !kmsKeyPresent {
    		return keyID, kmsKey, sealedKey, ctx, Errorf("The object metadata is missing the internal sealed KMS data key for SSE-S3")
    	}
    
    	// Check whether all extracted values are well-formed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top