Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 575 for io (0.15 sec)

  1. src/archive/zip/register.go

    // The [io.ReadCloser]'s Close method must be used to release associated resources.
    // The Decompressor itself must be safe to invoke from multiple goroutines
    // simultaneously, but each returned reader will be used only by
    // one goroutine at a time.
    type Decompressor func(r io.Reader) io.ReadCloser
    
    var flateWriterPool sync.Pool
    
    func newFlateWriter(w io.Writer) io.WriteCloser {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. cni/pkg/repair/repair_test.go

    	"testing"
    	"time"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	klabels "k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/runtime"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/monitoring/monitortest"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  3. cni/pkg/install/kubeconfig.go

    package install
    
    import (
    	"fmt"
    	"net"
    	"os"
    	"path/filepath"
    
    	"k8s.io/client-go/tools/clientcmd/api"
    	"k8s.io/client-go/tools/clientcmd/api/latest"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/file"
    )
    
    type kubeconfig struct {
    	// The full kubeconfig
    	Full string
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret.go

    	"k8s.io/client-go/tools/clientcmd"
    	"k8s.io/client-go/tools/clientcmd/api"
    	"k8s.io/client-go/tools/clientcmd/api/latest"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/operator/pkg/helm"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/labels"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/multicluster"
    	"istio.io/istio/pkg/log"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/secret_test.go

    package configdump
    
    import (
    	"bytes"
    	"io"
    	"os"
    	"testing"
    
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestSDSWriter_ValidCert(t *testing.T) {
    	configDumpFile, err := os.Open("testdata/secret/config_dump.json")
    	if err != nil {
    		t.Errorf("error opening test data file: %v", err)
    	}
    	defer configDumpFile.Close()
    	configDump, err := io.ReadAll(configDumpFile)
    	if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  6. internal/s3select/json/reader_test.go

    			b.ReportAllocs()
    			b.ResetTimer()
    			var record sql.Record
    			for i := 0; i < b.N; i++ {
    				r := NewReader(io.NopCloser(bytes.NewBuffer(f)), &ReaderArgs{})
    				for {
    					record, err = r.Read(record)
    					if err != nil {
    						break
    					}
    				}
    				r.Close()
    				if err != io.EOF {
    					b.Fatalf("Reading failed with %s, %s", err, file.Name())
    				}
    			}
    		})
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  7. istioctl/pkg/version/version.go

    	"github.com/spf13/pflag"
    	"google.golang.org/protobuf/types/known/structpb"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/multixds"
    	"istio.io/istio/operator/cmd/mesh"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/xds"
    	"istio.io/istio/pkg/proxy"
    	istioVersion "istio.io/istio/pkg/version"
    )
    
    func NewVersionCommand(ctx cli.Context) *cobra.Command {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/cni-watcher_test.go

    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"net"
    	"net/netip"
    	"testing"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestProcessAddEventGoodPayload(t *testing.T) {
    	valid := CNIPluginAddEvent{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 08:18:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/generate.go

    	"fmt"
    	"net/url"
    	"strings"
    
    	admitv1 "k8s.io/api/admissionregistration/v1"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/apimachinery/pkg/runtime/serializer/json"
    
    	"istio.io/istio/operator/pkg/helm"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/maps"
    )
    
    const (
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  10. cmd/bitrot-streaming.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"hash"
    	"io"
    	"sync"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/ioutil"
    )
    
    // Calculates bitrot in chunks and writes the hash into the stream.
    type streamingBitrotWriter struct {
    	iow          io.WriteCloser
    	closeWithErr func(err error) error
    	h            hash.Hash
    	shardSize    int64
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top