Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 232 for Ttl (0.04 sec)

  1. internal/config/dns/etcd_dns.go

    const etcdPathSeparator = "/"
    
    // create a new coredns service record for the bucket.
    func newCoreDNSMsg(ip string, port string, ttl uint32, t time.Time) ([]byte, error) {
    	return json.Marshal(&SrvRecord{
    		Host:         ip,
    		Port:         json.Number(port),
    		TTL:          ttl,
    		CreationDate: t,
    	})
    }
    
    // Close closes the internal etcd client and cannot be used further
    func (c *CoreDNS) Close() error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/options/ttlafterfinishedcontroller.go

    func (o *TTLAfterFinishedControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    	fs.Int32Var(&o.ConcurrentTTLSyncs, "concurrent-ttl-after-finished-syncs", o.ConcurrentTTLSyncs, fmt.Sprintf("The number of %s workers that are allowed to sync concurrently.", names.TTLAfterFinishedController))
    }
    
    // ApplyTo fills up TTLAfterFinishedController config with options.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 19 13:01:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. cmd/kube-apiserver/app/options/options_test.go

    		"--audit-webhook-version=audit.k8s.io/v1",
    		"--authentication-token-webhook-cache-ttl=3m",
    		"--authentication-token-webhook-config-file=/token-webhook-config",
    		"--authorization-mode=AlwaysDeny,RBAC",
    		"--authorization-policy-file=/policy",
    		"--authorization-webhook-cache-authorized-ttl=3m",
    		"--authorization-webhook-cache-unauthorized-ttl=1m",
    		"--authorization-webhook-config-file=/webhook-config",
    		"--bind-address=192.168.10.20",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            long expiration = System.currentTimeMillis() + Dfs.TTL * 1000;
    
            int di = 0;
            for ( ;; ) {
                            /* NTLM HTTP Authentication must be re-negotiated
                             * with challenge from 'server' to access DFS vol. */
                dr.resolveHashes = auth.hashesExternal;
                dr.ttl = resp.referrals[di].ttl;
                dr.expiration = expiration;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  5. pkg/controller/ttlafterfinished/metrics/metrics.go

    			// Start with 100ms with the last bucket being [~27m, Inf).
    			Buckets: metrics.ExponentialBuckets(0.1, 2, 14),
    		},
    	)
    )
    
    var registerMetrics sync.Once
    
    // Register registers TTL after finished controller metrics.
    func Register() {
    	registerMetrics.Do(func() {
    		legacyregistry.MustRegister(JobDeletionDurationSeconds)
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 12 18:02:17 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DfsImpl.java

    
            CacheEntry ( long ttl ) {
                this.expiration = System.currentTimeMillis() + ttl * 1000L;
                this.map = new ConcurrentHashMap<>();
            }
        }
    
        private static class NegativeCacheEntry <T> extends CacheEntry<T> {
    
            /**
             * @param ttl
             */
            NegativeCacheEntry ( long ttl ) {
                super(ttl);
            }
    
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/bootstraptoken/v1/utils_test.go

    				"token-id":     []byte("abcdef"),
    				"token-secret": []byte("abcdef0123456789"),
    				"description":  []byte("foo"),
    			},
    		},
    		{
    			"adds ttl",
    			&BootstrapToken{
    				Token: &BootstrapTokenString{ID: "abcdef", Secret: "abcdef0123456789"},
    				TTL: &metav1.Duration{
    					Duration: mustParseDuration("2h", t),
    				},
    			},
    			map[string][]byte{
    				"token-id":     []byte("abcdef"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  8. pkg/kubelet/token/token_manager.go

    func (m *Manager) expired(t *authenticationv1.TokenRequest) bool {
    	return m.clock.Now().After(t.Status.ExpirationTimestamp.Time)
    }
    
    // requiresRefresh returns true if the token is older than 80% of its total
    // ttl, or if the token is older than 24 hours.
    func (m *Manager) requiresRefresh(tr *authenticationv1.TokenRequest) bool {
    	if tr.Spec.ExpirationSeconds == nil {
    		cpy := tr.DeepCopy()
    		cpy.Status.Token = ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 10:20:09 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.go

    	get(key string) (value *cacheRecord, exists bool)
    	// caches the record for the key
    	set(key string, value *cacheRecord, ttl time.Duration)
    	// removes the record for the key
    	remove(key string)
    }
    
    // New returns a token authenticator that caches the results of the specified authenticator. A ttl of 0 bypasses the cache.
    func New(authenticator authenticator.Token, cacheErrs bool, successTTL, failureTTL time.Duration) authenticator.Token {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    	// Class is the class of network to which this DNS resource record
    	// pertains.
    	Class Class
    
    	// TTL is the length of time (measured in seconds) which this resource
    	// record is valid for (time to live). All Resources in a set should
    	// have the same TTL (RFC 2181 Section 5.2).
    	TTL uint32
    
    	// Length is the length of data in the resource record after the header.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
Back to top