Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Maps (0.17 sec)

  1. common/config/.golangci.yml

              - pkg: go.opencensus.io
                desc: "do not use OpenCensus; use OpenTelemetry instead"
              - pkg: golang.org/x/exp/maps
                desc: "do not use golang.org/x/exp/maps; use istio.io/istio/pkg/maps instead"
              - pkg: maps
                desc: "do not use maps; use istio.io/istio/pkg/maps instead"
              - pkg: golang.org/x/exp/slices
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate.go

    		return "", err
    	}
    
    	return whBuf.String(), nil
    }
    
    func generateLabels(whLabels, curLabels, customLabels map[string]string, userManaged bool) map[string]string {
    	whLabels = maps.MergeCopy(whLabels, curLabels)
    	whLabels = maps.MergeCopy(whLabels, customLabels)
    	if userManaged {
    		for label := range whLabels {
    			if strings.Contains(label, operatorNamespace) {
    				delete(whLabels, label)
    			}
    		}
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/services.go

    // limitations under the License.
    
    package configdump
    
    import (
    	"cmp"
    	"encoding/json"
    	"fmt"
    	"strings"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    // ServiceFilter is used to pass filter information into service based config writer print functions
    type ServiceFilter struct {
    	Namespace string
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	"fmt"
    	"net"
    	"strings"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    type ConnectionsFilter struct {
    	Namespace string
    	Direction string
    	Raw       bool
    }
    
    func (c *ConfigWriter) PrintConnectionsDump(filter ConnectionsFilter, outputFormat string) error {
    	d := c.ztunnelDump
    	workloads := maps.Values(d.WorkloadState)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/pod_cache.go

    // limitations under the License.
    
    package nodeagent
    
    import (
    	"errors"
    	"fmt"
    	"path/filepath"
    	"runtime"
    	"sync"
    
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/zdsapi"
    )
    
    var ErrPodNotFound = errors.New("netns not provided, but is needed as pod is not in cache")
    
    type PodNetnsCache interface {
    	ReadCurrentPodSnapshot() map[string]WorkloadInfo
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns.go

    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"io"
    	"io/fs"
    	"path"
    	"regexp"
    	"strings"
    	"unicode"
    
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type PodToNetns map[string]WorkloadInfo
    
    func (p PodToNetns) Close() {
    	for _, wl := range p {
    		wl.Netns.Close()
    	}
    }
    
    type PodNetnsFinder interface {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/policies.go

    // limitations under the License.
    
    package configdump
    
    import (
    	"cmp"
    	"encoding/json"
    	"fmt"
    	"strings"
    
    	"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
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/tag.go

    	"istio.io/istio/pkg/config/analysis/diag"
    	"istio.io/istio/pkg/config/analysis/local"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    const (
    
    	// help strings and long formatted user outputs
    	skipConfirmationFlagHelpStr = `The skipConfirmation determines whether the user is prompted for confirmation.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  9. architecture/environments/operator.md

    # Istio operator code overview
    
    ## Introduction
    
    This document covers primarily the code, with some background on how the design maps to it.
    See the
    [design doc](https://docs.google.com/document/d/11j9ZtYWNWnxQYnZy8ayZav1FMwTH6F6z6fkDYZ7V298/edit#heading=h.qex63c29z2to)
    for a more complete design description. The operator code is divided roughly into five areas:
    
    1. [IstioOperatorSpec API](#istiooperatorspec-api) and related infrastructure, which is expressed as a
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Aug 09 22:09:18 GMT 2023
    - 13.4K bytes
    - Viewed (0)
  10. architecture/ambient/ztunnel.md

    In addition, they are more clear and strictly typed; using Envoy types would require us to put a lot of information in untyped `metadata` maps.
    
    With this in mind, Ztunnel supports two xDS resources: `Address` and `Authorization`.
    
    ### Address Type
    
    The primary configuration consumed by Ztunnel is the [`Address` resource](../../pkg/workloadapi/workload.proto).
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
Back to top