Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for type (0.17 sec)

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

    	}
    	return isZtunnel
    }
    
    // InAmbient returns true if a resource is in ambient data plane mode.
    func InAmbient(obj metav1.Object) bool {
    	if obj == nil {
    		return false
    	}
    	switch t := obj.(type) {
    	case *corev1.Pod:
    		return t.GetAnnotations()[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled
    	case *corev1.Namespace:
    		if t.GetLabels()["istio-injection"] == "enabled" {
    			return false
    		}
    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/configdump/util.go

    import (
    	"fmt"
    
    	anypb "google.golang.org/protobuf/types/known/anypb"
    )
    
    type configTypeURL string
    
    // See https://www.envoyproxy.io/docs/envoy/latest/api-v3/admin/v3/config_dump.proto
    const (
    	bootstrap configTypeURL = "type.googleapis.com/envoy.admin.v3.BootstrapConfigDump"
    	listeners configTypeURL = "type.googleapis.com/envoy.admin.v3.ListenersConfigDump"
    	endpoints configTypeURL = "type.googleapis.com/envoy.admin.v3.EndpointsConfigDump"
    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)
  3. istioctl/pkg/writer/compare/sds/util.go

    	SecretMeta
    }
    
    // SecretMeta holds selected fields which can be extracted from parsed x509 cert
    type SecretMeta struct {
    	Valid        bool   `json:"cert_valid"`
    	SerialNumber string `json:"serial_number"`
    	NotAfter     string `json:"not_after"`
    	NotBefore    string `json:"not_before"`
    	Type         string `json:"type"`
    }
    
    // NewSecretItemBuilder returns a new builder to create a secret item
    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)
  4. 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)
Back to top