Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for podstore (0.16 sec)

  1. pkg/registry/core/serviceaccount/storage/storage_test.go

    		StorageConfig:           etcdStorage,
    		Decorator:               generic.UndecoratedStorage,
    		DeleteCollectionWorkers: 1,
    		ResourcePrefix:          "serviceaccounts",
    	}
    	// set issuer, podStore and secretStore to allow the token endpoint to be initialised
    	rest, err := NewREST(restOptions, fakeTokenGenerator{"fake"}, nil, 0, panicGetter{}, panicGetter{}, nil, false)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

        .onlyIfCached()
        .maxStale(Int.MAX_VALUE.seconds)
        .build()
    
    internal fun CacheControl.Builder.commonBuild(): CacheControl {
      return CacheControl(
        noCache = noCache,
        noStore = noStore,
        maxAgeSeconds = maxAgeSeconds,
        sMaxAgeSeconds = -1,
        isPrivate = false,
        isPublic = false,
        mustRevalidate = false,
        maxStaleSeconds = maxStaleSeconds,
        minFreshSeconds = minFreshSeconds,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/topologymanager/scope_pod.go

    	"k8s.io/kubernetes/pkg/kubelet/lifecycle"
    	"k8s.io/kubernetes/pkg/kubelet/metrics"
    )
    
    type podScope struct {
    	scope
    }
    
    // Ensure podScope implements Scope interface
    var _ Scope = &podScope{}
    
    // NewPodScope returns a pod scope.
    func NewPodScope(policy Policy) Scope {
    	return &podScope{
    		scope{
    			name:             podTopologyScope,
    			podTopologyHints: podTopologyHints{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 14:44:24 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

    import org.junit.jupiter.api.Test
    
    class CacheControlJvmTest {
      @Test
      @Throws(Exception::class)
      fun completeBuilder() {
        val cacheControl =
          CacheControl.Builder()
            .noCache()
            .noStore()
            .maxAge(1, TimeUnit.SECONDS)
            .maxStale(2, TimeUnit.SECONDS)
            .minFresh(3, TimeUnit.SECONDS)
            .onlyIfCached()
            .noTransform()
            .immutable()
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheControlTest.kt

      fun emptyBuilderIsEmpty() {
        val cacheControl = CacheControl.Builder().build()
        assertThat(cacheControl.toString()).isEqualTo("")
        assertThat(cacheControl.noCache).isFalse()
        assertThat(cacheControl.noStore).isFalse()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.isPrivate).isFalse()
        assertThat(cacheControl.isPublic).isFalse()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. pkg/controller/ttl/ttl_controller_test.go

    		},
    	}
    
    	for i, testCase := range testCases {
    		fakeClient := &fake.Clientset{}
    		nodeStore := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{})
    		nodeStore.Add(testCase.node)
    		ttlController := &Controller{
    			kubeClient:        fakeClient,
    			nodeStore:         listers.NewNodeLister(nodeStore),
    			desiredTTLSeconds: testCase.desiredTTL,
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/multicluster_analyzers_test.go

    	sa := local.NewIstiodAnalyzer(AllMultiClusterCombined(), "", "istio-system", cr)
    
    	// Add the test files to the fake client
    	if err := addStore(sa, "cluster1", tc.cluster1InputFiles); err != nil {
    		return nil, err
    	}
    	if err := addStore(sa, "cluster2", tc.cluster2InputFiles); err != nil {
    		return nil, err
    	}
    
    	// Include default resources
    	if err := sa.AddDefaultResources(); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. pkg/registry/core/serviceaccount/storage/storage.go

    	if err := store.CompleteWithOptions(options); err != nil {
    		return nil, err
    	}
    
    	var trest *TokenREST
    	if issuer != nil && podStorage != nil && secretStorage != nil {
    		trest = &TokenREST{
    			svcaccts:             store,
    			pods:                 podStorage,
    			secrets:              secretStorage,
    			nodes:                nodeStorage,
    			issuer:               issuer,
    			auds:                 auds,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. pkg/registry/batch/rest/storage_batch.go

    	serverstorage "k8s.io/apiserver/pkg/server/storage"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	"k8s.io/kubernetes/pkg/apis/batch"
    	cronjobstore "k8s.io/kubernetes/pkg/registry/batch/cronjob/storage"
    	jobstore "k8s.io/kubernetes/pkg/registry/batch/job/storage"
    )
    
    type RESTStorageProvider struct{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 28 06:08:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. pkg/controller/ttl/ttl_controller.go

    	"k8s.io/kubernetes/pkg/controller"
    
    	"k8s.io/klog/v2"
    )
    
    // Controller sets ttl annotations on nodes, based on cluster size.
    type Controller struct {
    	kubeClient clientset.Interface
    
    	// nodeStore is a local cache of nodes.
    	nodeStore listers.NodeLister
    
    	// Nodes that need to be synced.
    	queue workqueue.TypedRateLimitingInterface[string]
    
    	// Returns true if all underlying informers are synced.
    	hasSynced func() bool
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top