Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for render_template (0.78 sec)

  1. samples/bookinfo/src/productpage/productpage.py

    #   See the License for the specific language governing permissions and
    #   limitations under the License.
    
    import time
    from flask import Flask, request, session, render_template, redirect, g
    from json2html import json2html
    from opentelemetry import trace
    from opentelemetry.instrumentation.flask import FlaskInstrumentor
    from opentelemetry.propagate import set_global_textmap
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/LineSearchFailures.java

            /* package */ static final String HEADER_TEMPLATE = "Expected: %d lines, but found: %d lines.";
    
            public DifferentSizesLineListComparisonFailure(List<String> expectedLines, List<String> actualLines) {
                super(expectedLines, actualLines);
            }
    
            @Override
            public String getMessage() {
                return String.format(HEADER_TEMPLATE, expectedLines.size(), actualLines.size());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcherTest.groovy

            ["a", "b", "c"]         | ["d"]                 || InsufficientSizeLineListComparisonFailure    || String.format(InsufficientSizeLineListComparisonFailure.HEADER_TEMPLATE, 3, 1);
        }
    
        def "failing lines contained in comparison due to mismatched lines with single potential match: #expectedLines vs #actualLines"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. operator/pkg/helm/helm.go

    	hubTagYAMLTemplate := `
    spec:
      hub: {{.Hub}}
      tag: {{.Tag}}
    `
    	ts := struct {
    		Hub string
    		Tag string
    	}{
    		Hub: hub,
    		Tag: tag,
    	}
    	return util.RenderTemplate(hubTagYAMLTemplate, ts)
    }
    
    // DefaultFilenameForProfile returns the profile name of the default profile for the given profile.
    func DefaultFilenameForProfile(profile string) string {
    	switch {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. operator/pkg/translate/translate.go

    	type Temp struct {
    		ComponentName name.ComponentName
    	}
    	ts := Temp{
    		ComponentName: componentName,
    	}
    	return util.RenderTemplate(tmpl, ts)
    }
    
    // renderResourceComponentPathTemplate renders a template of the form <path>{{.ResourceName}}<path>{{.ContainerName}}<path> with
    // the supplied parameters.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  6. operator/pkg/translate/translate_value.go

    // the supplied parameters.
    func renderComponentName(tmpl string, componentName string) (string, error) {
    	type temp struct {
    		ValueComponentName string
    	}
    	return util.RenderTemplate(tmpl, temp{componentName})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 03:52:24 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top