Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 447 for io (0.15 sec)

  1. istioctl/pkg/waypoint/waypoint_test.go

    package waypoint
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"os"
    	"strings"
    	"testing"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	gateway "sigs.k8s.io/gateway-api/apis/v1"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pilot/pkg/model/kstatus"
    	"istio.io/istio/pkg/config/constants"
    )
    
    func TestWaypointList(t *testing.T) {
    	cases := []struct {
    		name            string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/server.go

    	"errors"
    	"fmt"
    	"net/netip"
    	"os"
    	"path/filepath"
    	"sync/atomic"
    
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/rest"
    
    	pconstants "istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/ipset"
    	"istio.io/istio/cni/pkg/iptables"
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/kube"
    )
    
    type MeshDataplane interface {
    	// called first, (even before Start()).
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. cni/pkg/log/uds_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package log
    
    import (
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestUDSLog(t *testing.T) {
    	// Start UDS log server
    	udsSockDir := t.TempDir()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 16 00:20:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. istioctl/pkg/util/formatting/formatter.go

    // limitations under the License.
    
    package formatting
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"os"
    	"strings"
    
    	"github.com/mattn/go-isatty"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/config/analysis/diag"
    	"istio.io/istio/pkg/env"
    )
    
    // Formatting options for Messages
    const (
    	LogFormat  = "log"
    	JSONFormat = "json"
    	YAMLFormat = "yaml"
    )
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. internal/hash/reader.go

    package hash
    
    import (
    	"bytes"
    	"context"
    	"encoding/base64"
    	"encoding/hex"
    	"errors"
    	"hash"
    	"io"
    	"net/http"
    
    	"github.com/minio/minio/internal/etag"
    	"github.com/minio/minio/internal/hash/sha256"
    	"github.com/minio/minio/internal/ioutil"
    )
    
    // A Reader wraps an io.Reader and computes the MD5 checksum
    // of the read content as ETag. Optionally, it also computes
    // the SHA256 checksum of the content.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  6. istioctl/pkg/multixds/gather.go

    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net"
    	"net/url"
    	"os"
    	"strings"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	xdsstatus "github.com/envoyproxy/go-control-plane/envoy/service/status/v3"
    	"google.golang.org/grpc"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/clioptions"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/comparator.go

    	"google.golang.org/protobuf/types/known/emptypb"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    )
    
    // Comparator diffs between a config dump from Istiod and one from Envoy
    type Comparator struct {
    	envoy, istiod *configdump.Wrapper
    	w             io.Writer
    	context       int
    	location      string
    }
    
    // NewComparator is a comparator constructor
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  8. cni/pkg/plugin/sidecar_iptables_linux.go

    // parses prevResult according to the cniVersion
    package plugin
    
    import (
    	"fmt"
    
    	"github.com/containernetworking/plugins/pkg/ns"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/tools/istio-iptables/pkg/cmd"
    	"istio.io/istio/tools/istio-iptables/pkg/config"
    	"istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    // getNs is a unit test override variable for interface create.
    var getNs = ns.GetNS
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 17:36:41 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. istioctl/cmd/istioctl/main.go

    // limitations under the License.
    
    package main
    
    import (
    	"fmt"
    	"os"
    
    	// import all known client auth plugins
    	_ "k8s.io/client-go/plugin/pkg/client/auth"
    
    	"istio.io/istio/istioctl/cmd"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	if err := cmd.ConfigAndEnvProcessing(); err != nil {
    		fmt.Fprintf(os.Stderr, "Could not initialize: %v\n", err)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  10. callbacks/create_test.go

    package callbacks
    
    import (
    	"reflect"
    	"sync"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    )
    
    var schemaCache = &sync.Map{}
    
    func TestConvertToCreateValues_DestType_Slice(t *testing.T) {
    	type user struct {
    		ID    int `gorm:"primaryKey"`
    		Name  string
    		Email string `gorm:"default:(-)"`
    		Age   int    `gorm:"default:(-)"`
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 05:48:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
Back to top