Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for Kersting (0.17 sec)

  1. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    // limitations under the License.
    
    package configdump
    
    import (
    	"bytes"
    	"os"
    	"testing"
    
    	"istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestConfigWriter_Prime(t *testing.T) {
    	tests := []struct {
    		name        string
    		wantConfigs int
    		inputFile   string
    		wantErr     bool
    	}{
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 03 23:08:06 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate_test.go

    }
    
    func TestGenerateOptions(t *testing.T) {
    	// Test generate option 'true', should not modify webhooks
    	testGenerateOption(t, true, func(t *testing.T, actual, expected []admitv1.MutatingWebhook) {
    		assert.Equal(t, actual, expected)
    	})
    
    	// Test generate option 'false', should modify webhooks
    	testGenerateOption(t, false, func(t *testing.T, actual, expected []admitv1.MutatingWebhook) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  3. istioctl/pkg/proxystatus/proxystatus_test.go

    	"context"
    	"fmt"
    	"net/http"
    	"strings"
    	"testing"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	"github.com/spf13/cobra"
    	"google.golang.org/grpc"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. cni/pkg/install/install_test.go

    package install
    
    import (
    	"context"
    	"os"
    	"path/filepath"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"istio.io/istio/cni/pkg/config"
    	testutils "istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    )
    
    func TestCheckInstall(t *testing.T) {
    	cases := []struct {
    		name              string
    		expectedFailure   bool
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  5. cni/pkg/pluginlistener/listener_test.go

    // limitations under the License.
    
    package pluginlistener
    
    import (
    	"context"
    	"net"
    	"path/filepath"
    	"testing"
    
    	"google.golang.org/grpc"
    	"google.golang.org/grpc/credentials/insecure"
    )
    
    func TestCNIListener(t *testing.T) {
    	f := filepath.Join(t.TempDir(), "test")
    	l, err := NewListener(f)
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    	defer l.Close()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 21:58:32 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. istioctl/pkg/dashboard/dashboard_test.go

    // limitations under the License.
    
    package dashboard
    
    import (
    	"fmt"
    	"regexp"
    	"strings"
    	"testing"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/util/testutil"
    )
    
    func TestDashboard(t *testing.T) {
    	cases := []testutil.TestCase{
    		{ // case 0
    			Args:           strings.Split("--browser=false", " "),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Nov 21 01:17:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe_test.go

       Match: /prefix*
    `,
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.args, " ")), func(t *testing.T) {
    			verifyExecAndK8sConfigTestCaseTestOutput(t, c)
    		})
    	}
    }
    
    func TestGetRevisionFromPodAnnotation(t *testing.T) {
    	cases := []struct {
    		anno klabels.Set
    
    		expected string
    	}{
    		{
    			anno: klabels.Set{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/authorization/v1beta1/generated.proto

      // +optional
      optional NonResourceAttributes nonResourceAttributes = 2;
    
      // User is the user you're testing for.
      // If you specify "User" but not "Group", then is it interpreted as "What if User were not a member of any groups
      // +optional
      optional string user = 3;
    
      // Groups is the groups you're testing for.
      // +optional
      repeated string group = 4;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. manifests/charts/istio-control/istio-discovery/values.yaml

          #   cpu: 100m
          #   memory: 128Mi
    
        # Default hub for Istio images.
        # Releases are published to docker hub under 'istio' project.
        # Dev builds from prow are on gcr.io
        hub: gcr.io/istio-testing
        # Default tag for Istio images.
        tag: latest
        # Variant of the image to use.
        # Currently supported are: [debug, distroless]
        variant: ""
    
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 20.3K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload_test.go

    			expectedOutput:    customYAML,
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.description), func(t *testing.T) {
    			verifyTestcaseOutput(t, Cmd(cli.NewFakeContext(nil)), c)
    		})
    	}
    }
    
    func verifyTestcaseOutput(t *testing.T, cmd *cobra.Command, c testcase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    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)
Back to top