Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ext (0.25 sec)

  1. cni/pkg/iptables/iptables_test.go

    	cfg := constructTestConfig()
    	tt.config(cfg)
    	ext := &dep.DependenciesStub{}
    	iptConfigurator, _ := NewIptablesConfigurator(cfg, ext, EmptyNlDeps())
    	err := iptConfigurator.CreateInpodRules(&probeSNATipv4)
    	if err != nil {
    		t.Fatal(err)
    	}
    	compareToGolden(t, false, tt.name, ext.ExecutedAll)
    
    	*ext = dep.DependenciesStub{}
    	// run another time to make sure we are idempotent
    	err = iptConfigurator.CreateInpodRules(&probeSNATipv4)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 17:46:23 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. cni/pkg/iptables/iptables.go

    		RedirectDNS:       c.RedirectDNS,
    	}
    }
    
    func NewIptablesConfigurator(cfg *Config, ext dep.Dependencies, nlDeps NetlinkDependencies) (*IptablesConfigurator, error) {
    	if cfg == nil {
    		cfg = &Config{
    			RestoreFormat: true,
    		}
    	}
    
    	configurator := &IptablesConfigurator{
    		ext:    ext,
    		nlDeps: nlDeps,
    		cfg:    cfg,
    	}
    
    	// By detecting iptables versions *here* once-for-all we are
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 01:42:30 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-diff.go

    		fmt.Printf("Differences in manifests are:\n%s\n", diff)
    		return false, nil
    	}
    
    	fmt.Println("Manifests are identical")
    	return true, nil
    }
    
    func yamlFileFilter(path string) bool {
    	return filepath.Ext(path) == YAMLSuffix
    }
    
    // compareManifestsFromDirs compares manifests from two directories
    func compareManifestsFromDirs(verbose bool, dirName1, dirName2,
    	renameResources, selectResources, ignoreResources string,
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. istioctl/cmd/root.go

    // ConfigAndEnvProcessing uses spf13/viper for overriding CLI parameters
    func ConfigAndEnvProcessing() error {
    	configPath := filepath.Dir(root.IstioConfig)
    	baseName := filepath.Base(root.IstioConfig)
    	configType := filepath.Ext(root.IstioConfig)
    	configName := baseName[0 : len(baseName)-len(configType)]
    	if configType != "" {
    		configType = configType[1:]
    	}
    
    	// Allow users to override some variables through $HOME/.istioctl/config.yaml
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. istioctl/pkg/precheck/precheck.go

    // It is ok to not have them, but they must be at least v1beta1 if they do.
    func checkGatewayAPIs(cli kube.CLIClient) (diag.Messages, error) {
    	msgs := diag.Messages{}
    	res, err := cli.Ext().ApiextensionsV1().CustomResourceDefinitions().List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return nil, err
    	}
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. istioctl/pkg/validate/validate.go

    				un.GetKind(), un.GetNamespace(), un.GetName())))
    		}
    	}
    }
    
    func isFileFormatValid(file string) bool {
    	ext := filepath.Ext(file)
    	return slices.Contains(fileExtensions, ext)
    }
    
    func validateFiles(istioNamespace *string, defaultNamespace string, filenames []string, writer io.Writer) error {
    	if len(filenames) == 0 {
    		return errMissingFilename
    	}
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. istioctl/pkg/analyze/analyze.go

    			foundIssues = true
    		}
    	}
    
    	if foundIssues {
    		return AnalyzerFoundIssuesError{}
    	}
    
    	return nil
    }
    
    func isValidFile(f string) bool {
    	ext := filepath.Ext(f)
    	for _, e := range fileExtensions {
    		if e == ext {
    			return true
    		}
    	}
    	return false
    }
    
    func AnalyzersAsString(analyzers []analysis.Analyzer) string {
    	nameToAnalyzer := make(map[string]analysis.Analyzer)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top