Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for street (0.14 sec)

  1. cni/pkg/nodeagent/podcgroupns.go

    func (p PodToNetns) Close() {
    	for _, wl := range p {
    		wl.Netns.Close()
    	}
    }
    
    type PodNetnsFinder interface {
    	FindNetnsForPods(filter map[types.UID]*corev1.Pod) (PodToNetns, error)
    }
    
    type PodNetnsProcFinder struct {
    	proc fs.FS
    }
    
    func NewPodNetnsProcFinder(proc fs.FS) *PodNetnsProcFinder {
    	return &PodNetnsProcFinder{proc: proc}
    }
    
    func isNotNumber(r rune) bool {
    	return r < '0' || r > '9'
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  2. operator/cmd/mesh/test-util_test.go

    )
    
    // PathValue is a path/value type.
    type PathValue struct {
    	path  string
    	value any
    }
    
    // String implements the Stringer interface.
    func (pv *PathValue) String() string {
    	return fmt.Sprintf("%s:%v", pv.path, pv.value)
    }
    
    // ObjectSet is a set of objects maintained both as a slice (for ordering) and map (for speed).
    type ObjectSet struct {
    	objSlice object.K8sObjects
    	objMap   map[string]*object.K8sObject
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  3. cni/pkg/install/cniconfig_test.go

    	testutils "istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestGetDefaultCNINetwork(t *testing.T) {
    	tempDir := t.TempDir()
    
    	cases := []struct {
    		name            string
    		dir             string
    		inFilename      string
    		outFilename     string
    		fileContents    string
    		expectedFailure bool
    	}{
    		{
    			name:            "inexistent directory",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret_test.go

    	}
    	if len(caData) > 0 {
    		out.Data[v1.ServiceAccountRootCAKey] = []byte(caData)
    	}
    	if len(token) > 0 {
    		out.Data[v1.ServiceAccountTokenKey] = []byte(token)
    	}
    	return out
    }
    
    type fakeOutputWriter struct {
    	b           bytes.Buffer
    	injectError error
    	failAfter   int
    }
    
    func (w *fakeOutputWriter) Write(p []byte) (n int, err error) {
    	w.failAfter--
    	if w.failAfter <= 0 && w.injectError != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  5. architecture/environments/operator.md

    struct.
    1. The K8s settings are applied to resources in the output manifest using the
    [KubernetesMapping](https://github.com/istio/operator/blob/e9097258cb4fbe59648e7da663cdad6f16927b8f/pkg/translate/translate.go#L132)
    field in the [Translator](https://github.com/istio/operator/blob/e9097258cb4fbe59648e7da663cdad6f16927b8f/pkg/translate/translate.go#L52)
    struct.
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Aug 09 22:09:18 GMT 2023
    - 13.4K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret.go

    	tokenWaitBackoff = time.Second
    )
    
    func init() {
    	scheme = runtime.NewScheme()
    	utilruntime.Must(v1.AddToScheme(scheme))
    	opt := json.SerializerOptions{
    		Yaml:   true,
    		Pretty: false,
    		Strict: false,
    	}
    	yamlSerializer := json.NewSerializerWithOptions(json.DefaultMetaFactory, scheme, scheme, opt)
    	codec = versioning.NewDefaultingCodecForScheme(
    		scheme,
    		yamlSerializer,
    		yamlSerializer,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  7. istioctl/pkg/precheck/precheck.go

    		resource.Namespace(ctx.Namespace()),
    		resource.Namespace(ctx.IstioNamespace()),
    		nil,
    	)
    	if err != nil {
    		return nil, err
    	}
    	sa.AddRunningKubeSource(cli)
    	cancel := make(chan struct{})
    	result, err := sa.Analyze(cancel)
    	if err != nil {
    		return nil, err
    	}
    	if result.Messages != nil {
    		msgs = append(msgs, result.Messages...)
    	}
    
    	return msgs, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest-generate_test.go

    	_                                = compiledInCharts
    	// Live charts come from manifests/
    	liveCharts = chartSourceType(filepath.Join(env.IstioSrc, operatorSubdirFilePath))
    )
    
    type testGroup []struct {
    	desc string
    	// Small changes to the input profile produce large changes to the golden output
    	// files. This makes it difficult to spot meaningful changes in pull requests.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  9. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	configCmd.AddCommand(servicesCmd(ctx))
    	configCmd.AddCommand(policiesCmd(ctx))
    	configCmd.AddCommand(allCmd(ctx))
    	configCmd.AddCommand(connectionsCmd(ctx))
    
    	return configCmd
    }
    
    type Command struct {
    	Name string
    }
    
    func certificatesConfigCmd(ctx cli.Context) *cobra.Command {
    	common := new(commonFlags)
    	cmd := &cobra.Command{
    		Use:   "certificate",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  10. istioctl/pkg/injector/injector-list.go

    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/inject"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type revisionCount struct {
    	// pods in a revision
    	pods int
    	// pods that are disabled from injection
    	disabled int
    	// pods that are enabled for injection, but whose revision doesn't match their namespace's revision
    	needsRestart int
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top