Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for renderManifest (0.39 sec)

  1. operator/pkg/controlplane/control_plane_test.go

    				started: true,
    			},
    			wantManifests: map[name.ComponentName][]string{},
    			wantErrs: util.Errors{
    				fmt.Errorf("component Base not started in RenderManifest"),
    				fmt.Errorf("component Pilot not started in RenderManifest"),
    				fmt.Errorf("component Cni not started in RenderManifest"),
    			},
    		},
    		{
    			desc: "operator-not-started",
    			testOperator: &IstioControlPlane{
    				components: []component.IstioComponent{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 04 02:36:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. operator/pkg/component/component.go

    	c.started = true
    	return nil
    }
    
    // renderManifest renders the manifest for the component defined by c and returns the resulting string.
    func renderManifest(cf *IstioComponentBase) (string, error) {
    	if !cf.started {
    		metrics.CountManifestRenderError(cf.ComponentName(), metrics.RenderNotStartedError)
    		return "", fmt.Errorf("component %s not started in RenderManifest", cf.CommonComponentFields.ComponentName)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. operator/pkg/helm/helm.go

    type TemplateRenderer interface {
    	// Run starts the renderer and should be called before using it.
    	Run() error
    	// RenderManifest renders the associated helm charts with the given values YAML string and returns the resulting
    	// string.
    	RenderManifest(values string) (string, error)
    	// RenderManifestFiltered filters manifests to render by template file name
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator-common.go

    		ImagePullSecrets:  ocArgs.imagePullSecrets,
    		Revision:          ocArgs.revision,
    	}
    	vals, err := util.RenderTemplate(tmpl, tv)
    	if err != nil {
    		return "", "", err
    	}
    	manifest, err := r.RenderManifest(vals)
    	return vals, manifest, err
    }
    
    // deploymentExists returns true if the given deployment in the namespace exists.
    func deploymentExists(cs kubernetes.Interface, namespace, name string) (bool, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Dec 17 02:25:04 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  5. operator/pkg/verifier/verifier.go

    	}
    	cp, err := controlplane.NewIstioControlPlane(iop.Spec, t, nil, ver)
    	if err != nil {
    		return 0, 0, 0, err
    	}
    	if err := cp.Run(); err != nil {
    		return 0, 0, 0, err
    	}
    
    	manifests, errs := cp.RenderManifest()
    	if len(errs) > 0 {
    		return 0, 0, 0, errs.ToError()
    	}
    
    	builder := resource.NewBuilder(v.client.UtilFactory()).ContinueOnError().Unstructured()
    	for cat, manifest := range manifests {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. operator/pkg/manifest/shared.go

    	cp, err := controlplane.NewIstioControlPlane(mergedIOPS.Spec, t, filter, ver)
    	if err != nil {
    		return nil, nil, err
    	}
    	if err := cp.Run(); err != nil {
    		return nil, nil, err
    	}
    
    	manifests, errs := cp.RenderManifest()
    	if errs != nil {
    		return manifests, mergedIOPS, errs.ToError()
    	}
    	return manifests, mergedIOPS, nil
    }
    
    // GenerateConfig creates an IstioOperatorSpec from the following sources, overlaid sequentially:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top