Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for renderUsing (0.18 sec)

  1. platforms/software/build-init/src/main/java/org/gradle/buildinit/tasks/InitBuild.java

            }
            return userQuestions.choice("Select application structure", initializer.getModularizationOptions())
                .renderUsing(ModularizationOption::getDisplayName)
                .ask();
        }
    
        private boolean shouldUseIncubatingAPIs(UserQuestions userQuestions) {
            if (this.useIncubatingAPIs.isPresent()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/api/internal/tasks/userinput/DefaultUserInputHandlerTest.groovy

            and:
            input == 13
        }
    
        def "can define how to render select options"() {
            when:
            def input = ask {
                it.choice("select option", [11, 12, 13])
                    .renderUsing { it + "!" }
                    .ask()
            }
    
            then:
            1 * outputEventBroadcaster.onOutput(_ as UserInputRequestEvent)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. architecture/environments/operator.md

    ## K8s controller
    
    TODO(rcernich).
    
    ## Manifest creation
    
    Manifest rendering is a multi-step process, shown in the figure below. ![rendering
    process](images/operator_render_flow.svg) The example in the figure shows the rendering being triggered by a CLI `mesh`
    command with a `IstioOperatorSpec` CR passed to it from a file; however, the same rendering steps would occur when an
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 22:09:18 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  4. operator/pkg/component/component.go

    // limitations under the License.
    
    /*
    Package component defines an in-memory representation of IstioOperator.<Feature>.<Component>. It provides functions
    for manipulating the component and rendering a manifest from it.
    See ../README.md for an architecture overview.
    */
    package component
    
    import (
    	"fmt"
    
    	"k8s.io/apimachinery/pkg/version"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/api/operator/v1alpha1"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/generate.go

    	validatingWebhookYAML, err := r.RenderManifestFiltered(values, func(tmplName string) bool {
    		return strings.Contains(tmplName, vwhTemplateName)
    	})
    	if err != nil {
    		return "", fmt.Errorf("failed rendering istio-control manifest: %v", err)
    	}
    
    	scheme := runtime.NewScheme()
    	codecFactory := serializer.NewCodecFactory(scheme)
    	deserializer := codecFactory.UniversalDeserializer()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:49 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/text/unicode/bidi/bidi.go

    	p.p = []byte(s)
    	p.opts = opts
    	return p.prepareInput()
    }
    
    // IsLeftToRight reports whether the principle direction of rendering for this
    // paragraphs is left-to-right. If this returns false, the principle direction
    // of rendering is right-to-left.
    func (p *Paragraph) IsLeftToRight() bool {
    	return p.Direction() == LeftToRight
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  7. internal/logger/logger.go

    	return jsonFlag
    }
    
    // IsQuiet - returns true if quietFlag is true
    func IsQuiet() bool {
    	return quietFlag
    }
    
    // RegisterError registers the specified rendering function. This latter
    // will be called for a pretty rendering of fatal errors.
    func RegisterError(f func(string, error, bool) string) {
    	errorFmtFunc = f
    }
    
    // uniq swaps away duplicate elements in data, returning the size of the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ProjectReportTaskIntegrationTest.groovy

        }
    
        def "included builds are only rendered if there are some"() {
            when:
            run "projects"
            then:
            outputDoesNotContain("Included builds")
        }
    
        def "rendering long project descriptions is sensible"() {
            settingsFile << "rootProject.name = 'my-root-project'"
            buildFile << """
                description = '''
    this is a long description
    
    this shouldn't be visible
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

    //   stacks - report.StackSet
    //   nodes  - List of names for each source in report.StackSet
    function stackViewer(stacks, nodes) {
      'use strict';
    
      // Constants used in rendering.
      const ROW = 20;
      const PADDING = 2;
      const MIN_WIDTH = 4;
      const MIN_TEXT_WIDTH = 16;
      const TEXT_MARGIN = 2;
      const FONT_SIZE = 12;
      const MIN_FONT_SIZE = 8;
    
      // Fields
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. istioctl/pkg/multicluster/remote_secret.go

    	if err != nil {
    		return "", fmt.Errorf("failed rendering base manifest: %w", err)
    	}
    	discoveryContent, err := discoveryRenderer.RenderManifestFiltered(values, func(template string) bool {
    		for _, t := range discoveryTemplates {
    			if strings.Contains(template, t) {
    				return true
    			}
    		}
    		return false
    	})
    	if err != nil {
    		return "", fmt.Errorf("failed rendering discovery manifest: %w", err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 01:43:17 UTC 2023
    - 24K bytes
    - Viewed (0)
Back to top