Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 373 for io (0.15 sec)

  1. internal/crypto/sse.go

    	return
    }
    
    // EncryptSinglePart encrypts an io.Reader which must be the
    // body of a single-part PUT request.
    func EncryptSinglePart(r io.Reader, key ObjectKey) io.Reader {
    	r, err := sio.EncryptReader(r, sio.Config{MinVersion: sio.Version20, Key: key[:], CipherSuites: fips.DARECiphers()})
    	if err != nil {
    		logger.CriticalIf(context.Background(), errors.New("Unable to encrypt io.Reader using object key"))
    	}
    	return r
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  2. internal/config/crypto.go

    package config
    
    import (
    	"bytes"
    	"context"
    	"crypto/rand"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"io"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/minio/internal/fips"
    	"github.com/minio/minio/internal/kms"
    	"github.com/secure-io/sio-go"
    	"github.com/secure-io/sio-go/sioutil"
    )
    
    // EncryptBytes encrypts the plaintext with a key managed by KMS.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator_test.go

    import (
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    
    	"k8s.io/client-go/kubernetes/fake"
    	"k8s.io/client-go/rest"
    	"sigs.k8s.io/controller-runtime/pkg/client"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/operator/pkg/util"
    	"istio.io/istio/operator/pkg/util/clog"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    var (
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  4. cmd/bitrot.go

    			}
    		}
    	}
    }
    
    // Close all the writers.
    func closeBitrotWriters(ws []io.Writer) {
    	for _, w := range ws {
    		if w != nil {
    			if bw, ok := w.(io.Closer); ok {
    				bw.Close()
    			}
    		}
    	}
    }
    
    // Returns hash sum for whole-bitrot, nil for streaming-bitrot.
    func bitrotWriterSum(w io.Writer) []byte {
    	if bw, ok := w.(*wholeBitrotWriter); ok {
    		return bw.Sum(nil)
    	}
    	return nil
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  5. operator/cmd/mesh/operator-init.go

    	"github.com/spf13/cobra"
    
    	"istio.io/api/operator/v1alpha1"
    	"istio.io/istio/istioctl/pkg/cli"
    	iopv1alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/translate"
    	operatorutil "istio.io/istio/operator/pkg/util"
    	"istio.io/istio/operator/pkg/util/clog"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/labels"
    	"istio.io/istio/pkg/kube"
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. istioctl/pkg/util/common.go

    // limitations under the License.
    
    package util
    
    import (
    	"fmt"
    	"io"
    	"strings"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	binversion "istio.io/istio/operator/version"
    )
    
    var NeverMatch = &metav1.LabelSelector{
    	MatchLabels: map[string]string{
    		"istio.io/deactivated": "never-match",
    	},
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  7. istioctl/pkg/util/ambient/util.go

    // limitations under the License.
    
    package ambient
    
    import (
    	"context"
    	"strings"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/label"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    )
    
    func IsZtunnelPod(client kube.CLIClient, podName, podNamespace string) bool {
    	isZtunnel := strings.HasPrefix(podName, "ztunnel")
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/clusters.go

    // limitations under the License.
    
    package proxyconfig
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"io"
    	"text/tabwriter"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/pkg/cluster"
    )
    
    // TODO move to multicluster package; requires exposing some private funcs/vars in this package
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  9. cni/pkg/log/uds.go

    // limitations under the License.
    
    package log
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"net/http"
    	"strings"
    	"sync"
    	"time"
    
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/network"
    	"istio.io/istio/pkg/uds"
    )
    
    var pluginLog = log.RegisterScope("cni", "CNI network plugin")
    
    type UDSLogger struct {
    	mu            sync.Mutex
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 01:05:12 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/pilot/status.go

    package pilot
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"sort"
    	"text/tabwriter"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	xdsstatus "github.com/envoyproxy/go-control-plane/envoy/service/status/v3"
    
    	"istio.io/istio/istioctl/pkg/multixds"
    	"istio.io/istio/pilot/pkg/model"
    	xdsresource "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/log"
    )
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
Back to top