Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for dashed (0.21 sec)

  1. cni/pkg/nodeagent/pod_cache.go

    	}
    
    	p.addToCacheUnderLock(uid, workload)
    	return workload.Netns
    }
    
    // Update the cache with the given uid and nspath. Return the Netns for the given uid.
    // If uid is already present, a cached Netns is returned, and the given nspath is ignored.
    func (p *podNetnsCache) Get(uid string) Netns {
    	// lock current snapshot pod map
    	p.mu.RLock()
    	defer p.mu.RUnlock()
    	if info, f := p.currentPodCache[uid]; f {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. manifests/manifest.go

    import (
    	"embed"
    	"io/fs"
    	"os"
    )
    
    // FS embeds the manifests
    //
    //go:embed all:charts/* profiles/*
    var FS embed.FS
    
    // BuiltinOrDir returns a FS for the provided directory. If no directory is passed, the compiled in
    // FS will be used
    func BuiltinOrDir(dir string) fs.FS {
    	if dir == "" {
    		return FS
    	}
    	return os.DirFS(dir)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 15 02:30:16 GMT 2023
    - 935 bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/policies.go

    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    // PolicyFilter is used to pass filter information into service based config writer print functions
    type PolicyFilter struct {
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *PolicyFilter) Verify(pol *ZtunnelPolicy) bool {
    	if wf.Namespace != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator-init.go

    	installerScope.Debugf("Using the following manifest to install operator:\n%s\n", mstr)
    
    	opts := &applyOptions{
    		DryRun: args.DryRun,
    	}
    
    	// If CR was passed, we must create a namespace for it and install CR into it.
    	customResource, istioNamespace, err := getCRAndNamespaceFromFile(oiArgs.inFilename, l)
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/cluster.go

    	"istio.io/istio/pkg/config/host"
    )
    
    // ClusterFilter is used to pass filter information into cluster based config writer print functions
    type ClusterFilter struct {
    	FQDN      host.Name
    	Port      int
    	Subset    string
    	Direction model.TrafficDirection
    }
    
    // Verify returns true if the passed cluster matches the filter fields
    func (c *ClusterFilter) Verify(cluster *cluster.Cluster) bool {
    	name := cluster.Name
    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)
  6. operator/cmd/mesh/install.go

    		sort.Strings(icpTags)
    		// capture latest revision installed for comparison
    		for _, val := range icpTags {
    			if val != "" {
    				icpTag = val
    			}
    		}
    		// when the revision is passed
    		if icpTag != "" && tag != icpTag {
    			check := "         Before upgrading, you may wish to use 'istioctl x precheck' to check for upgrade warnings.\n"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  7. istioctl/pkg/wait/wait.go

    	if verbose {
    		_, _ = fmt.Fprintf(cmd.OutOrStdout(), template+"\n", args...)
    	}
    }
    
    func validateType(kind string) error {
    	originalKind := kind
    
    	// Remove any dashes.
    	kind = strings.ReplaceAll(kind, "-", "")
    
    	for _, s := range collections.Pilot.All() {
    		if strings.EqualFold(kind, s.Kind()) {
    			targetSchema = s
    			return nil
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  8. istioctl/pkg/cli/context.go

    	// NamespaceOrDefault returns the namespace specified by the user, or the default namespace if none was specified
    	NamespaceOrDefault(namespace string) string
    }
    
    type instance struct {
    	// clients are cached clients for each revision
    	clients map[string]kube.CLIClient
    	RootFlags
    }
    
    func newKubeClientWithRevision(kubeconfig, configContext, revision string) (kube.CLIClient, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/podcgroupns.go

    	}
    	return "", "", false
    }
    
    // canonicalizePodUID converts a Pod UID, as represented in a cgroup path, into
    // a canonical form. Practically this means that we convert any punctuation to
    // dashes, which is how the UID is represented within Kubernetes.
    func canonicalizePodUID(uid string) types.UID {
    	return types.UID(strings.Map(func(r rune) rune {
    		if unicode.IsPunct(r) {
    			r = '-'
    		}
    		return r
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top