Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 122 for io (0.14 sec)

  1. cmd/admin-bucket-handlers.go

    			if sz > maxBucketPolicySize {
    				rpt.SetStatus(bucket, fileName, fmt.Errorf(ErrPolicyTooLarge.String()))
    				continue
    			}
    
    			bucketPolicyBytes, err := io.ReadAll(io.LimitReader(reader, sz))
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    
    			bucketPolicy, err := policy.ParseBucketPolicyConfig(bytes.NewReader(bucketPolicyBytes), bucket)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net_test.go

    	"testing"
    	"time"
    
    	"golang.org/x/sys/unix"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/intstr"
    
    	"istio.io/istio/cni/pkg/ipset"
    	"istio.io/istio/cni/pkg/iptables"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    func setupLogging() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  3. istioctl/pkg/dashboard/dashboard.go

    package dashboard
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"os/exec"
    	"os/signal"
    	"runtime"
    
    	"github.com/spf13/cobra"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    )
    
    var (
    	listenPort     = 0
    	controlZport   = 0
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/informers_test.go

    	"fmt"
    	"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"
    
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/monitoring/monitortest"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestExistingPodAddedWhenNsLabeled(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/policies.go

    // limitations under the License.
    
    package configdump
    
    import (
    	"cmp"
    	"encoding/json"
    	"fmt"
    	"strings"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    // PolicyFilter is used to pass filter information into service based config writer print functions
    type PolicyFilter struct {
    	Namespace string
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_test.go

    	"reflect"
    	"testing"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    
    	"istio.io/api/annotation"
    	"istio.io/api/label"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    const (
    	testPodName          = "testPod"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    			// 0 is unbuffered, copy the rest.
    			_, err := io.CopyBuffer(w, respBody, buf)
    			if err == io.EOF {
    				return nil
    			}
    			return err
    		case 1:
    			errorText, err := io.ReadAll(respBody)
    			if err != nil {
    				return err
    			}
    			return errors.New(string(errorText))
    		case 2:
    			// Block of data
    			var tmp [4]byte
    			_, err := io.ReadFull(respBody, tmp[:])
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  8. cmd/warm-backend.go

    }
    
    // WarmBackend provides interface to be implemented by remote tier backends
    type WarmBackend interface {
    	Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error)
    	Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (io.ReadCloser, error)
    	Remove(ctx context.Context, object string, rv remoteVersionID) error
    	InUse(ctx context.Context) (bool, error)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. istioctl/pkg/injector/injector-list_test.go

    package injector
    
    import (
    	"context"
    	"fmt"
    	"testing"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    
    	"istio.io/api/annotation"
    	"istio.io/api/label"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    )
    
    func Test_extractRevisionFromPod(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. internal/logger/target/console/console.go

    package console
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/color"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    // Target implements loggerTarget to send log
    // in plain or json format to the standard output.
    type Target struct {
    	output io.Writer
    }
    
    // Validate - validate if the tty can be written to
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top