Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for withDescription (0.41 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectionReasonSerializerTest.groovy

            expect:
            check(ComponentSelectionReasons.CONFLICT_RESOLUTION.withDescription(Describables.of("my conflict resolution")))
            check(ComponentSelectionReasons.FORCED.withDescription(Describables.of("forced by me")))
            check(ComponentSelectionReasons.REQUESTED.withDescription(Describables.of("I really asked for it")))
            check(ComponentSelectionReasons.ROOT.withDescription(Describables.of("I know this is the root of the graph")))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/externaldocumentation.go

    	return &ExternalDocumentationApplyConfiguration{}
    }
    
    // WithDescription sets the Description field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Description field is set to the value of the last call.
    func (b *ExternalDocumentationApplyConfiguration) WithDescription(value string) *ExternalDocumentationApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/externaldocumentation.go

    	return &ExternalDocumentationApplyConfiguration{}
    }
    
    // WithDescription sets the Description field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Description field is set to the value of the last call.
    func (b *ExternalDocumentationApplyConfiguration) WithDescription(value string) *ExternalDocumentationApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/lib/panels.libsonnet

            'max',
          ])
          + custom.withFillOpacity(10)
          + custom.withShowPoints('never')
          + custom.withGradientMode('hue')
          + if std.length(desc) > 0 then
            timeSeries.panelOptions.withDescription(desc)
          else {},
    
        simple(title, targets, desc=''):
          self.base(title, targets, desc)
          + options.legend.withCalcs([])
          + options.legend.withDisplayMode('list'),
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder.go

    	s := new(spec.Schema).
    		Typed("object", "").
    		WithDescription(fmt.Sprintf("%s is a list of %s", b.listKind, b.kind)).
    		WithRequired("items").
    		SetProperty("items", *spec.ArrayProperty(spec.RefSchema(refForOpenAPIVersion(name, opts.V2))).WithDescription(doc)).
    		SetProperty("metadata", *spec.RefSchema(refForOpenAPIVersion(listMetaSchemaRef, opts.V2)).WithDescription(swaggerPartialObjectMetadataListDescriptions["metadata"]))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultConflictHandler.java

                    ComponentSelectionDescriptorInternal moduleReplacement = ComponentSelectionReasons.SELECTED_BY_RULE.withDescription(Describables.of(identifier, "replaced with", replacement.getTarget()));
                    if (reason != null) {
                        moduleReplacement = moduleReplacement.withDescription(Describables.of(reason));
                    }
                    selected.addCause(moduleReplacement);
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/compile/JavaModuleCrossCompileIntegrationTest.groovy

                def main = sourceSets.main
                jvm.registerJvmLanguageSourceDirectory(main, "java9") {
                    it.withDescription("Java 9 Sources")
                    it.compiledWithJava {
                        sourceCompatibility = '9'
                        targetCompatibility = '9'
                        classpath = main.compileClasspath
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 27 18:13:37 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. pkg/monitoring/counter.go

    	precomputedAddOption []api.AddOption
    }
    
    var _ Metric = &counter{}
    
    func newCounter(o options) *counter {
    	c, err := meter().Float64Counter(o.name,
    		api.WithDescription(o.description),
    		api.WithUnit(string(o.unit)))
    	if err != nil {
    		log.Fatalf("failed to create counter: %v", err)
    	}
    	r := &counter{c: c}
    	r.baseMetric = baseMetric{
    		name: o.name,
    		rest: r,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. pkg/monitoring/derived_gauge.go

    func newDerivedGauge(name, description string) DerivedMetric {
    	dm := &derivedGauge{
    		name:  name,
    		attrs: map[attribute.Set]func() float64{},
    	}
    	_, err := meter().Float64ObservableGauge(name,
    		api.WithDescription(description),
    		api.WithFloat64Callback(func(ctx context.Context, observer api.Float64Observer) error {
    			dm.mu.RLock()
    			defer dm.mu.RUnlock()
    			for kv, compute := range dm.attrs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcecolumndefinition.go

    	b.Format = &value
    	return b
    }
    
    // WithDescription sets the Description field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Description field is set to the value of the last call.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top