Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 332 for configs (0.18 sec)

  1. istioctl/pkg/writer/pilot/status.go

    	configs := handleAndGetXdsConfigs(clientConfig)
    	for _, config := range configs {
    		cfgType := config.GetTypeUrl()
    		switch cfgType {
    		case xdsresource.ListenerType:
    			lds = formatStatus(config)
    		case xdsresource.ClusterType:
    			cds = formatStatus(config)
    		case xdsresource.RouteType:
    			rds = formatStatus(config)
    		case xdsresource.EndpointType:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/comparator.go

    	for _, resp := range istiodResponses {
    		if len(resp.Resources) > 0 {
    			c.istiod = &configdump.Wrapper{
    				ConfigDump: &admin.ConfigDump{
    					Configs: resp.Resources,
    				},
    			}
    			break
    		}
    	}
    	if c.istiod == nil {
    		return nil, fmt.Errorf("unable to find config dump in Istiod responses")
    	}
    	envoyDump := &configdump.Wrapper{}
    	err := json.Unmarshal(envoyResponse, envoyDump)
    	if err != nil {
    		return nil, err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  3. cmd/bucket-quota.go

    			internalLogIf(GlobalContext, errors.New("Detected older 'fifo' quota config, 'fifo' feature is removed and not supported anymore. Please clear your quota configs using 'mc admin bucket quota alias/bucket --clear' and use 'mc ilm add' for expiration of objects"), logger.WarningKind)
    			return quotaCfg, fmt.Errorf("invalid quota type 'fifo'")
    		}
    		return quotaCfg, fmt.Errorf("Invalid quota config %#v", quotaCfg)
    	}
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. cmd/tier.go

    		// timestamp of last successful refresh
    		config.lastRefreshedAt = UTCNow()
    		return nil
    	default:
    		return err
    	}
    
    	// Reset drivercache built using current config
    	for k := range config.drivercache {
    		delete(config.drivercache, k)
    	}
    	// Remove existing tier configs
    	for k := range config.Tiers {
    		delete(config.Tiers, k)
    	}
    	// Copy over the new tier configs
    	for tier, cfg := range newConfig.Tiers {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  5. cmd/bootstrap-peer-server.go

    type ServerSystemConfig struct {
    	NEndpoints int
    	CmdLines   []string
    	MinioEnv   map[string]string
    }
    
    // Diff - returns error on first difference found in two configs.
    func (s1 *ServerSystemConfig) Diff(s2 *ServerSystemConfig) error {
    	ns1 := s1.NEndpoints
    	ns2 := s2.NEndpoints
    	if ns1 != ns2 {
    		return fmt.Errorf("Expected number of endpoints %d, seen %d", ns1, ns2)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. cmd/bucket-metadata.go

    			}
    			if errors.Is(err, errConfigNotFound) {
    				// legacy file config not found, proceed to look for new metadata.
    				continue
    			}
    
    			return nil, err
    		}
    		configs[legacyFile] = configData
    		b.Created = info.ModTime
    	}
    
    	return configs, nil
    }
    
    func (b *BucketMetadata) convertLegacyConfigs(ctx context.Context, objectAPI ObjectLayer, configs map[string][]byte) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    		{
    			name:        "loads valid ztunnel config_dump",
    			inputFile:   "testdata/dump.json",
    			wantConfigs: 27,
    			wantErr:     false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			cw := &ConfigWriter{}
    			cd, _ := os.ReadFile(tt.inputFile)
    			err := cw.Prime(cd)
    			if cw.ztunnelDump == nil {
    				if tt.wantConfigs != 0 {
    					t.Errorf("wanted some configs loaded but config dump was nil")
    				}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. istioctl/pkg/injector/injector-list.go

    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/describe"
    	"istio.io/istio/istioctl/pkg/util/ambient"
    	"istio.io/istio/pkg/config/analysis/analyzers/injection"
    	analyzer_util "istio.io/istio/pkg/config/analysis/analyzers/util"
    	"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"
    )
    
    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)
  9. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    			err := cw.Prime(cd)
    			if cw.configDump == nil {
    				if tt.wantConfigs != 0 {
    					t.Errorf("wanted some configs loaded but config dump was nil")
    				}
    			} else if len(cw.configDump.Configs) != tt.wantConfigs {
    				t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.configDump.Configs))
    			}
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    		})
    	}
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 03 23:08:06 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    // and rootNamespaces configs, caller should be responsible for controlling configs passed
    // in.
    func findMatchedConfigs(podsLabels klabels.Set, configs []*config.Config) []*config.Config {
    	var cfgs []*config.Config
    
    	for _, cfg := range configs {
    		cfg := cfg
    		labels := cfg.Spec.(Workloader).GetSelector().GetMatchLabels()
    		selector := klabels.SelectorFromSet(labels)
    		if selector.Matches(podsLabels) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top