Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 109 for Kersting (0.21 sec)

  1. 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)
  2. 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)
  3. istioctl/pkg/util/testutil/util.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package testutil
    
    import (
    	"bytes"
    	"regexp"
    	"strings"
    	"testing"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/pilot/test/util"
    )
    
    type TestCase struct {
    	Args []string
    
    	// Typically use one of the three
    	ExpectedOutput string         // Expected constant output
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. cni/test/install_k8s_test.go

    // limitations under the License.
    
    // This tests the k8s installation.  It validates the CNI plugin configuration
    // and the existence of the CNI plugin binary locations.
    package install_test
    
    import (
    	"testing"
    
    	install "istio.io/istio/cni/test"
    	"istio.io/istio/pkg/test/env"
    )
    
    var (
    	Hub = "gcr.io/istio-release"
    	Tag = "master-latest-daily"
    )
    
    type testCase struct {
    	name             string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jul 27 18:01:48 GMT 2022
    - 8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. istioctl/pkg/admin/istiodconfig_test.go

    // limitations under the License.
    
    package admin
    
    import (
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"os"
    	"reflect"
    	"testing"
    )
    
    func Test_newScopeLevelPair(t *testing.T) {
    	validationPattern := `^\w+:(debug|error|warn|info|debug)`
    	type args struct {
    		slp               string
    		validationPattern string
    	}
    	tests := []struct {
    		name    string
    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)
  9. cni/pkg/nodeagent/server_test.go

    	"errors"
    	"net/netip"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/mock"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/client-go/kubernetes/fake"
    
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestMeshDataplaneAddsAnnotationOnAdd(t *testing.T) {
    	pod := &corev1.Pod{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  10. operator/cmd/mesh/profile-diff_test.go

    package mesh
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"strings"
    	"testing"
    
    	"istio.io/istio/operator/pkg/util/clog"
    )
    
    type profileDiffTestcase struct {
    	args           string
    	shouldFail     bool
    	expectedString string // String output is expected to contain
    	notExpected    string // String the output must NOT contain
    }
    
    func TestProfileDiff(t *testing.T) {
    	cases := []profileDiffTestcase{
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
Back to top