Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for Bassett (0.24 sec)

  1. cni/pkg/plugin/plugin_test.go

    	"k8s.io/apimachinery/pkg/runtime"
    
    	"istio.io/api/annotation"
    	"istio.io/api/label"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    const (
    	testPodName          = "testPod"
    	testNSName           = "testNS"
    	testSandboxDirectory = "/tmp"
    	invalidVersion       = "0.1.0"
    	preVersion           = "0.2.0"
    )
    
    var mockConfTmpl = `{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/logging/testdata/logging.txt

    active loggers:
      admin: warning
      aws: warning
      assert: warning
      backtrace: warning
      client: warning
      config: warning
      connection: warning
      dubbo: warning
      file: warning
      filter: warning
      forward_proxy: warning
      grpc: warning
      hc: warning
      health_checker: warning
      http: warning
      http2: warning
      hystrix: warning
      init: warning
      io: warning
      jwt: warning
      kafka: warning
      lua: warning
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 02 13:47:26 GMT 2019
    - 715 bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator_test.go

    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/operator/pkg/util"
    	"istio.io/istio/operator/pkg/util/clog"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    var (
    	extendedClient kube.CLIClient
    	kubeClient     client.Client
    )
    
    // TODO: rewrite this with running the actual top level command.
    func TestOperatorDump(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/healthServer_test.go

    	installReady.Store(true)
    	watchReady.Store(true)
    	assert.Equal(t, installReady.Load(), true)
    	assert.Equal(t, watchReady.Load(), true)
    
    	makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK)
    	makeReq(t, server.URL, constants.ReadinessEndpoint, http.StatusOK)
    
    	watchReady.Store(false)
    	assert.Equal(t, watchReady.Load(), false)
    	assert.Equal(t, installReady.Load(), true)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. cni/pkg/repair/repair_test.go

    			tt.config.LabelPods = true
    			c, err := NewRepairController(tt.client, tt.config)
    			assert.NoError(t, err)
    			t.Cleanup(func() {
    				assert.NoError(t, c.queue.WaitForClose(time.Second))
    			})
    			stop := test.NewStop(t)
    			tt.client.RunAndWait(stop)
    			go c.Run(stop)
    			kube.WaitForCacheSync("test", stop, c.queue.HasSynced)
    
    			assert.EventuallyEqual(t, func() map[string]string {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  6. cni/pkg/install/binaries_test.go

    				contents := file.AsStringOrFail(t, filepath.Join(targetDir, filename))
    				assert.Equal(t, contents, expectedContents)
    
    				wasCopied := false
    				for _, bin := range binariesCopied.UnsortedList() {
    					if bin == filename {
    						wasCopied = true
    					}
    				}
    				assert.Equal(t, wasCopied, true)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jul 20 18:34:43 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		Namespace: "default",
    	}))
    	cmd.SetArgs([]string{
    		"all",
    		"-f", "testdata/config_dump.json",
    	})
    	out := bytes.Buffer{}
    	cmd.SetOut(&out)
    	assert.NoError(t, cmd.Execute())
    	expected := util.ReadFile(t, "testdata/config_dump_summary.txt")
    
    	if err := assert.Compare(out.String(), string(expected)); err != nil {
    		t.Fatalf("Unexpected output for 'istioctl proxy-config all'\n got: %q\nwant: %q", out.String(), expected)
    	}
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. istioctl/pkg/validate/validate_test.go

    	"io"
    	"os"
    	"path/filepath"
    	"regexp"
    	"strings"
    	"testing"
    
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    const (
    	validDeploymentList = `
    apiVersion: v1
    items:
    - apiVersion: apps/v1
      kind: Deployment
      metadata:
        labels:
          app: hello
          version: v1
        name: hello-v1
      spec:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  9. go.sum

    github.com/alecholmes/xfccparser v0.3.0 h1:SI/zhgFw+CsoHnR2VXcbVg/9gij6T/ENT+1yqBOeLNA=
    github.com/alecholmes/xfccparser v0.3.0/go.mod h1:J9fzzUOtjw74IwNdGVbjnOVj1UDlwGQj1zZzgQRlRDY=
    github.com/alecthomas/assert/v2 v2.3.0 h1:mAsH2wmvjsuvyBvAmCtm7zFsBlb8mIHx5ySLVdDZXL0=
    github.com/alecthomas/assert/v2 v2.3.0/go.mod h1:pXcQ2Asjp247dahGEmsZ6ru0UVwnkhktn7S0bBDLxvQ=
    github.com/alecthomas/participle/v2 v2.1.0 h1:z7dElHRrOEEq45F2TG5cbQihMtNTv8vwldytDj7Wrz4=
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 21:52:58 GMT 2024
    - 109K bytes
    - Viewed (0)
  10. cni/pkg/plugin/cnieventclient_test.go

    		defer req.Body.Close()
    		data, err := io.ReadAll(req.Body)
    		assert.NoError(t, err)
    
    		var msg nodeagent.CNIPluginAddEvent
    		err = json.Unmarshal(data, &msg)
    		assert.NoError(t, err)
    		assert.Equal(t, msg.PodName, testPod)
    		assert.Equal(t, msg.PodNamespace, testNS)
    		assert.Equal(t, msg.Netns, fakeCmdArgs.Netns)
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top