Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for Pytest (0.35 sec)

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

    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
    	}{
    		{
    			name:        "errors if unable to unmarshal bytes",
    			inputFile:   "",
    			wantConfigs: 0,
    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/proxystatus/proxystatus_test.go

    // 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.
    
    package proxystatus
    
    import (
    	"bytes"
    	"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"
    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)
  3. istioctl/pkg/describe/describe_test.go

    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			ic := util.ReadFile(t, test.inputConfig)
    			cd := configdump.Wrapper{}
    			err := cd.UnmarshalJSON(ic)
    			if err != nil {
    				t.Fatal(err)
    			}
    			out, err := getIstioVirtualServicePathForSvcFromRoute(&cd, test.inputService, test.inputPort)
    			if err != nil {
    				t.Fatal(err)
    			}
    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)
  4. istioctl/pkg/proxyconfig/testdata/config_dump.json

                                },
                                {
                                  "tag": "istio.canonical_revision",
                                  "literal": {
                                    "value": "latest"
                                  }
                                },
                                {
                                  "tag": "istio.canonical_service",
                                  "literal": {
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 03 23:08:06 GMT 2024
    - 54.8K bytes
    - Viewed (1)
  5. manifests/charts/istio-control/istio-discovery/templates/NOTES.txt

      * Get started with ambient: https://istio.io/latest/docs/ops/ambient/getting-started/
      * Review ambient's architecture: https://istio.io/latest/docs/ops/ambient/architecture/
    {{- else }}
      * Deploy a Gateway: https://istio.io/latest/docs/setup/additional-setup/gateway/
      * Try out our tasks to get started on common configurations:
        * https://istio.io/latest/docs/tasks/traffic-management
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 16:38:47 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  6. istioctl/pkg/workload/testdata/vmconfig-nil-proxy-metadata/cluster.env.golden

    CANONICAL_REVISION='latest'
    CANONICAL_SERVICE='foo'
    ISTIO_INBOUND_PORTS='*'
    ISTIO_LOCAL_EXCLUDE_PORTS='22,15090,15021,15020'
    ISTIO_METAJSON_LABELS='{"service.istio.io/canonical-name":"foo","service.istio.io/canonical-revision":"latest"}'
    ISTIO_META_CLUSTER_ID='Kubernetes'
    ISTIO_META_DNS_CAPTURE='true'
    ISTIO_META_MESH_ID=''
    ISTIO_META_NETWORK=''
    ISTIO_META_WORKLOAD_NAME='foo'
    ISTIO_NAMESPACE='bar'
    ISTIO_SERVICE='foo.bar'
    ISTIO_SERVICE_CIDR='*'
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 546 bytes
    - Viewed (0)
  7. manifests/addons/dashboards/istio-service-dashboard.json

              },
              "expr": "sum(irate(istio_tcp_received_bytes_total{reporter=~\"$qrep\", destination_service=~\"$service\"}[1m]))",
              "format": "time_series",
              "hide": false,
              "intervalFactor": 1,
              "legendFormat": "",
              "refId": "A"
            }
          ],
          "title": "TCP Received Bytes",
          "type": "stat"
        },
        {
          "datasource": {
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 111.8K bytes
    - Viewed (0)
  8. 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)
  9. cni/deployments/kubernetes/Dockerfile.install-cni

    # BASE_DISTRIBUTION is used to switch between the old base distribution and distroless base images
    ARG BASE_DISTRIBUTION=debug
    
    # Version is the base image version from the TLD Makefile
    ARG BASE_VERSION=latest
    ARG ISTIO_BASE_REGISTRY=gcr.io/istio-release
    
    # The following section is used as base image if BASE_DISTRIBUTION=debug
    FROM ${ISTIO_BASE_REGISTRY}/base:${BASE_VERSION} as debug
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 00:24:50 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. istioctl/pkg/util/configdump/util.go

    // limitations under the License.
    
    package configdump
    
    import (
    	"fmt"
    
    	anypb "google.golang.org/protobuf/types/known/anypb"
    )
    
    type configTypeURL string
    
    // See https://www.envoyproxy.io/docs/envoy/latest/api-v3/admin/v3/config_dump.proto
    const (
    	bootstrap configTypeURL = "type.googleapis.com/envoy.admin.v3.BootstrapConfigDump"
    	listeners configTypeURL = "type.googleapis.com/envoy.admin.v3.ListenersConfigDump"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Dec 24 08:16:26 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top