Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 137 for utils (0.13 sec)

  1. cni/pkg/log/uds_test.go

    // 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()
    	udsSock := filepath.Join(udsSockDir, "cni.sock")
    	logger := NewUDSLogger()
    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)
  2. cni/pkg/nodeagent/podcgroupns_test.go

    package nodeagent
    
    import (
    	"testing"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestWithProcFs(t *testing.T) {
    	n := NewPodNetnsProcFinder(fakeFs())
    	pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{
    		Name:      "foo",
    		Namespace: "bar",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/compare/comparator.go

    	"google.golang.org/protobuf/reflect/protoreflect"
    	"google.golang.org/protobuf/reflect/protoregistry"
    	"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
    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)
  4. operator/cmd/mesh/profile-diff_test.go

    // limitations under the License.
    
    package mesh
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"strings"
    	"testing"
    
    	"istio.io/istio/operator/pkg/util/clog"
    )
    
    type profileDiffTestcase struct {
    	args           string
    	shouldFail     bool
    	expectedString string // String output is expected to contain
    	notExpected    string // String the output must NOT contain
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  5. istioctl/pkg/validate/validate.go

    	"istio.io/istio/istioctl/pkg/cli"
    	operatoristio "istio.io/istio/operator/pkg/apis/istio"
    	istioV1Alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/util"
    	operatorvalidate "istio.io/istio/operator/pkg/validate"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/config/schema/collections"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  6. operator/cmd/mesh/operator-remove.go

    	iopv1alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/operator/pkg/helmreconciler"
    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/translate"
    	"istio.io/istio/operator/pkg/util/clog"
    	"istio.io/istio/pkg/kube"
    )
    
    type operatorRemoveArgs struct {
    	// skipConfirmation determines whether the user is prompted for confirmation.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. istioctl/pkg/proxystatus/proxystatus.go

    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/completion"
    	"istio.io/istio/istioctl/pkg/multixds"
    	"istio.io/istio/istioctl/pkg/util/ambient"
    	"istio.io/istio/istioctl/pkg/writer/compare"
    	"istio.io/istio/istioctl/pkg/writer/pilot"
    	pilotxds "istio.io/istio/pilot/pkg/xds"
    	"istio.io/istio/pkg/log"
    )
    
    var configDumpFile string
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. istioctl/pkg/util/handlers/handlers_test.go

    	corev1client "k8s.io/client-go/kubernetes/typed/core/v1"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	"k8s.io/kubectl/pkg/scheme"
    
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestInferPodInfo(t *testing.T) {
    	tests := []struct {
    		proxyName     string
    		namespace     string
    		wantPodName   string
    		wantNamespace string
    	}{
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/networking/v1beta1/generated.proto

    import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
    import "k8s.io/apimachinery/pkg/util/intstr/generated.proto";
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/networking/v1beta1";
    
    // HTTPIngressPath associates a path with a backend. Incoming urls matching the
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/cluster.go

    import (
    	"encoding/json"
    	"fmt"
    	"sort"
    	"strings"
    	"text/tabwriter"
    
    	cluster "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/util/proto"
    	"istio.io/istio/pilot/pkg/model"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/config/host"
    )
    
    // ClusterFilter is used to pass filter information into cluster based config writer print functions
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top