Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 300 for util (0.15 sec)

  1. istioctl/pkg/util/ambient/util.go

    Xiaopeng Han <******@****.***> 1704337686 +0800
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. istioctl/pkg/util/testutil/util.go

    // limitations under the License.
    
    package testutil
    
    import (
    	"bytes"
    	"regexp"
    	"strings"
    	"testing"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/pilot/test/util"
    )
    
    type TestCase struct {
    	Args []string
    
    	// Typically use one of the three
    	ExpectedOutput string         // Expected constant output
    	ExpectedRegexp *regexp.Regexp // Expected regexp output
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/util.go

    		wh := webhook.Webhooks[i]
    		// this is an abomination, but if this isn't a per-revision webhook, we want to make it ineffectual
    		// without deleting it. Add a nonsense match.
    		wh.NamespaceSelector = util.NeverMatch
    		wh.ObjectSelector = util.NeverMatch
    		webhook.Webhooks[i] = wh
    	}
    	admit := client.AdmissionregistrationV1().MutatingWebhookConfigurations()
    	_, err = admit.Update(ctx, &webhook, metav1.UpdateOptions{})
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  4. istioctl/pkg/writer/compare/sds/util.go

    	"fmt"
    	"time"
    
    	envoy_admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	auth "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    	"istio.io/istio/pkg/log"
    )
    
    // SecretItemDiff represents a secret that has been diffed between nodeagent and proxy
    type SecretItemDiff struct {
    	Agent string `json:"agent"`
    	Proxy string `json:"proxy"`
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. istioctl/pkg/util/configdump/util.go

    zirain <******@****.***> 1703405786 +0800
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Dec 24 08:16:26 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. operator/cmd/mesh/test-util_test.go

    	got, f, err := tpath.GetPathContext(node, util.PathFromString(pv.path), false)
    	if err != nil || !f {
    		return false, err
    	}
    	if reflect.TypeOf(got.Node) != reflect.TypeOf(pv.value) {
    		return false, fmt.Errorf("comparison types don't match: got %T, want %T", got.Node, pv.value)
    	}
    	gotValStr := util.ToYAML(got.Node)
    	subsetValStr := util.ToYAML(pv.value)
    	overlay, err := util.OverlayYAML(gotValStr, subsetValStr)
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    import (
    	"bytes"
    	"os"
    	"testing"
    
    	"istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestConfigWriter_Prime(t *testing.T) {
    	tests := []struct {
    		name        string
    		wantConfigs int
    		inputFile   string
    		wantErr     bool
    	}{
    		{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/informers.go

    		ns := s.namespaces.Get(pod.Namespace, "")
    		if ns == nil {
    			log.Warnf("failed to find namespace %s for pod %s", pod.Namespace, pod.Name)
    		}
    
    		if !util.IsZtunnelPod(s.systemNamespace, pod) && util.PodRedirectionEnabled(ns, pod) {
    			pods = append(pods, pod)
    		}
    	}
    	return pods
    }
    
    // EnqueueNamespace takes a Namespace and enqueues all Pod objects that make need an update
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/pilot/status_test.go

    	"google.golang.org/protobuf/types/known/anypb"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pilot/pkg/xds"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/test/util/assert"
    	istioversion "istio.io/istio/pkg/version"
    	"istio.io/istio/tests/util"
    )
    
    func TestXdsStatusWriter_PrintAll(t *testing.T) {
    	tests := []struct {
    		name    string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/route_test.go

    // limitations under the License.
    
    package configdump
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"path"
    	"testing"
    
    	"istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestDescribeRouteDomains(t *testing.T) {
    	tests := []struct {
    		desc     string
    		domains  []string
    		expected string
    	}{
    		{
    			desc:     "test zero domain",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 2.8K bytes
    - Viewed (0)
Back to top