Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Spring (0.13 sec)

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

    	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")
    	if client == nil {
    		return isZtunnel
    	}
    	pod, err := client.Kube().CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{})
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/sds/util.go

    type SecretItemBuilder interface {
    	Name(string) SecretItemBuilder
    	Data(string) SecretItemBuilder
    	Source(string) SecretItemBuilder
    	Destination(string) SecretItemBuilder
    	State(string) SecretItemBuilder
    	Build() (SecretItem, error)
    }
    
    // secretItemBuilder implements SecretItemBuilder, and acts as an intermediate before SecretItem generation
    type secretItemBuilder struct {
    	name   string
    	data   string
    	source string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/util.go

    func GetNamespacesWithTag(ctx context.Context, client kubernetes.Interface, tag string) ([]string, error) {
    	namespaces, err := client.CoreV1().Namespaces().List(ctx, metav1.ListOptions{
    		LabelSelector: fmt.Sprintf("%s=%s", label.IoIstioRev.Name, tag),
    	})
    	if err != nil {
    		return nil, err
    	}
    
    	nsNames := make([]string, len(namespaces.Items))
    	for i, ns := range namespaces.Items {
    		nsNames[i] = ns.Name
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  4. istioctl/pkg/util/testutil/util.go

    	"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
    	GoldenFilename string         // Expected output stored in golden file
    
    	WantException bool
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  5. istioctl/pkg/util/configdump/util.go

    // limitations under the License.
    
    package configdump
    
    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"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Dec 24 08:16:26 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top