Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for bytes (0.13 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. cni/pkg/util/executil.go

    }
    
    func ExecuteOutput(cmd string, args ...string) (string, error) {
    	externalCommand := exec.Command(cmd, args...)
    	stdout := &bytes.Buffer{}
    	stderr := &bytes.Buffer{}
    	externalCommand.Stdout = stdout
    	externalCommand.Stderr = stderr
    
    	err := externalCommand.Run()
    
    	if err != nil || len(stderr.Bytes()) != 0 {
    		return stderr.String(), err
    	}
    
    	return strings.TrimSuffix(stdout.String(), "\n"), err
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. 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)
  4. istioctl/pkg/writer/ztunnel/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: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. manifests/addons/dashboards/istio-performance-dashboard.json

              "expr": "sum(irate(istio_response_bytes_sum{source_workload_namespace!=\"istio-system\", reporter=\"source\"}[1m])) + sum(irate(istio_request_bytes_sum{source_workload_namespace!=\"istio-system\", reporter=\"source\"}[1m]))",
              "format": "time_series",
              "intervalFactor": 1,
              "legendFormat": "istio-proxy",
              "refId": "B"
            }
          ],
          "title": "Bytes transferred / sec",
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 39.6K bytes
    - Viewed (0)
  6. istioctl/pkg/util/testutil/util.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 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
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/cluster.go

    // limitations under the License.
    
    package compare
    
    import (
    	"bytes"
    	"fmt"
    
    	"github.com/pmezard/go-difflib/difflib"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // ClusterDiff prints a diff between Istiod and Envoy clusters to the passed writer
    func (c *Comparator) ClusterDiff() error {
    	envoyBytes, istiodBytes := &bytes.Buffer{}, &bytes.Buffer{}
    	envoyClusterDump, err := c.envoy.GetDynamicClusterDump(true)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/compare/listener.go

    package compare
    
    import (
    	"bytes"
    	"fmt"
    
    	"github.com/pmezard/go-difflib/difflib"
    
    	// Force import protos
    	_ "istio.io/istio/pilot/pkg/xds/filters"
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // ListenerDiff prints a diff between Istiod and Envoy listeners to the passed writer
    func (c *Comparator) ListenerDiff() error {
    	envoyBytes, istiodBytes := &bytes.Buffer{}, &bytes.Buffer{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 20:29:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/route_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 configdump
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"path"
    	"testing"
    
    	"istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestDescribeRouteDomains(t *testing.T) {
    	tests := []struct {
    		desc     string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/pilot/status_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 pilot
    
    import (
    	"bytes"
    	"encoding/json"
    	"os"
    	"testing"
    
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top