Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for LoadValues (0.15 sec)

  1. pkg/test/framework/components/echo/common/deployment/external.go

    			},
    		},
    	}
    	if t.Settings().EnableDualStack {
    		config.IPFamilies = "IPv6, IPv4"
    		config.IPFamilyPolicy = "RequireDualStack"
    	}
    	return b.WithConfig(config)
    }
    
    func (e *External) LoadValues(echos echo.Instances) {
    	e.All = match.ServiceName(echo.NamespacedName{Name: ExternalSvc, Namespace: e.Namespace}).GetMatches(echos)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. operator/pkg/helm/renderer.go

    	}
    	return nil
    }
    
    func builtinProfileToFilename(name string) string {
    	if name == "" {
    		return DefaultProfileFilename
    	}
    	return name + ".yaml"
    }
    
    func LoadValues(profileName string, chartsDir string) (string, error) {
    	path := strings.Join([]string{profilesRoot, builtinProfileToFilename(profileName)}, "/")
    	by, err := fs.ReadFile(manifests.BuiltinOrDir(chartsDir), path)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 13 01:59:17 UTC 2022
    - 5K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/common/deployment/echos.go

    	}
    
    	apps.All = echos.Services()
    
    	g := multierror.Group{}
    	for i := 0; i < len(apps.NS); i++ {
    		i := i
    		g.Go(func() error {
    			return apps.NS[i].loadValues(ctx, echos, apps)
    		})
    	}
    
    	if !cfg.NoExternalNamespace {
    		apps.External.LoadValues(echos)
    	}
    
    	if err := g.Wait().ErrorOrNil(); err != nil {
    		return nil, err
    	}
    
    	return apps, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/common/deployment/namespace.go

    		if config.Namespace == nil {
    			config.Namespace = n.Namespace
    		}
    		if config.Namespace.Name() == n.Namespace.Name() {
    			b = b.WithConfig(config)
    		}
    	}
    	return b
    }
    
    func (n *EchoNamespace) loadValues(t resource.Context, echos echo.Instances, d *Echos) error {
    	ns := n.Namespace
    	n.All = match.Namespace(ns).GetMatches(echos).Services()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. operator/pkg/helm/helm.go

    	// Get global values from profile.
    	switch {
    	case util.IsFilePath(profile):
    		if globalValues, err = readFile(profile); err != nil {
    			return "", err
    		}
    	default:
    		if globalValues, err = LoadValues(profile, manifestsPath); err != nil {
    			return "", fmt.Errorf("failed to read profile %v from %v: %v", profile, manifestsPath, err)
    		}
    	}
    
    	return globalValues, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. tests/integration/ambient/main_test.go

    	external.Build(t, builder)
    
    	echos, err := builder.Build()
    	if err != nil {
    		return err
    	}
    	for _, b := range echos {
    		scopes.Framework.Infof("built %v", b.Config().Service)
    	}
    
    	external.LoadValues(echos)
    	apps.MockExternal = external.All
    
    	// All does not include external
    	echos = match.Not(match.ServiceName(echo.NamespacedName{Name: cdeployment.ExternalSvc, Namespace: apps.ExternalNamespace})).GetMatches(echos)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top