Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 232 for Ttl (0.02 sec)

  1. cmd/kubeadm/app/apis/bootstraptoken/v1/defaults.go

    )
    
    // SetDefaults_BootstrapToken sets the defaults for an individual Bootstrap Token
    func SetDefaults_BootstrapToken(bt *BootstrapToken) {
    	if bt.TTL == nil {
    		bt.TTL = &metav1.Duration{
    			Duration: DefaultTokenDuration,
    		}
    	}
    	if len(bt.Usages) == 0 {
    		bt.Usages = DefaultTokenUsages
    	}
    
    	if len(bt.Groups) == 0 {
    		bt.Groups = DefaultTokenGroups
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 10:34:21 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/dependencymanagement/SamplesTroubleshootingDependencyResolutionIntegrationTest.groovy

        @Rule
        Sample sample = new Sample(testDirectoryProvider)
    
        @UsesSample("dependencyManagement/troubleshooting-cache-changing")
        def "can declare custom TTL for dependency with changing version"() {
    
            given:
            def sampleDir = sample.dir.file(dsl)
            executer.inDirectory(sampleDir)
    
            when:
            succeeds(COPY_LIBS_TASK_NAME)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. pkg/registry/core/event/storage/storage.go

    func NewREST(optsGetter generic.RESTOptionsGetter, ttl uint64) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:       func() runtime.Object { return &api.Event{} },
    		NewListFunc:   func() runtime.Object { return &api.EventList{} },
    		PredicateFunc: event.Matcher,
    		TTLFunc: func(runtime.Object, uint64, bool) (uint64, error) {
    			return ttl, nil
    		},
    		DefaultQualifiedResource:  api.Resource("events"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/token.go

    	return nil
    }
    
    func formatBootstrapToken(obj *outputapiv1alpha3.BootstrapToken) string {
    	ttl := "<forever>"
    	expires := "<never>"
    	if obj.Expires != nil {
    		ttl = duration.ShortHumanDuration(time.Until(obj.Expires.Time))
    		expires = obj.Expires.Format(time.RFC3339)
    	}
    	ttl = fmt.Sprintf("%-9s", ttl)
    
    	usages := strings.Join(obj.Usages, ",")
    	if len(usages) == 0 {
    		usages = "<none>"
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. pilot/pkg/leaderelection/leaderelection.go

    				Identity: l.name,
    			},
    		}
    	}
    
    	config := k8sleaderelection.LeaderElectionConfig{
    		Lock:          lock,
    		LeaseDuration: l.ttl,
    		RenewDeadline: l.ttl / 2,
    		RetryPeriod:   l.ttl / 4,
    		Callbacks:     callbacks,
    		// When Pilot exits, the lease will be dropped. This is more likely to lead to a case where
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. pkg/controlplane/reconcilers/lease.go

    		// something changed between load and store (not including resource
    		// version), meaning we can't refresh the TTL without actually
    		// changing a field.
    		existing.Generation++
    
    		klog.V(6).Infof("Resetting TTL on master IP %q listed in storage to %v", ip, leaseTime)
    
    		return existing, &leaseTime, nil
    	}, nil)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

                    ",recordType=" + recordTypeString +
                    ",recordClass=" + ( recordClass == IN ? "IN" :
                                "0x" + Hexdump.toHexString( recordClass, 4 )) +
                    ",ttl=" + ttl +
                    ",rDataLength=" + rDataLength );
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServicePacket.java

                        + ",recordType=" + recordTypeString + ",recordClass="
                        + ( this.recordClass == IN ? "IN" : "0x" + Hexdump.toHexString(this.recordClass, 4) ) + ",ttl=" + this.ttl + ",rDataLength="
                        + this.rDataLength);
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  9. pkg/kubelet/util/cache/object_cache.go

    }
    
    // NewObjectCache creates ObjectCache with an updater.
    // updater returns an object to cache.
    func NewObjectCache(f func() (interface{}, error), ttl time.Duration) *ObjectCache {
    	return &ObjectCache{
    		updater: f,
    		cache:   expirationcache.NewTTLStore(stringKeyFunc, ttl),
    	}
    }
    
    // stringKeyFunc is a string as cache key function
    func stringKeyFunc(obj interface{}) (string, error) {
    	key := obj.(objectEntry).key
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 25 04:07:36 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/dependencyManagement/troubleshooting-cache-changing/groovy/settings.gradle

    rootProject.name = 'caching-ttl-changing-version'...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 50 bytes
    - Viewed (0)
Back to top