- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ext (0.14 sec)
-
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
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.7K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
EnableIPv6: c.EnableIPv6, 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 May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.8K bytes - Viewed (0) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 17K bytes - Viewed (0) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0)