Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 346 for initialFiles (1.44 sec)

  1. plugin/pkg/auth/authenticator/token/bootstrap/bootstrap.go

    // because the existing functionality isn't exported or because it is in a
    // package that shouldn't be directly imported by this packages.
    
    // NewTokenAuthenticator initializes a bootstrap token authenticator.
    //
    // Lister is expected to be for the "kube-system" namespace.
    func NewTokenAuthenticator(lister corev1listers.SecretNamespaceLister) *TokenAuthenticator {
    	return &TokenAuthenticator{lister}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 30 20:38:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable.go

    		Effect: v1.TaintEffectNoSchedule,
    	})
    	if !podToleratesUnschedulable {
    		return framework.NewStatus(framework.UnschedulableAndUnresolvable, ErrReasonUnschedulable)
    	}
    
    	return nil
    }
    
    // New initializes a new plugin and returns it.
    func New(_ context.Context, _ runtime.Object, _ framework.Handle) (framework.Plugin, error) {
    	return &NodeUnschedulable{}, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 12:50:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. pkg/kube/multicluster/clusterstore.go

    type ClusterStore struct {
    	sync.RWMutex
    	// keyed by secret key(ns/name)->clusterID
    	remoteClusters map[string]map[cluster.ID]*Cluster
    	clusters       sets.String
    }
    
    // newClustersStore initializes data struct to store clusters information
    func newClustersStore() *ClusterStore {
    	return &ClusterStore{
    		remoteClusters: make(map[string]map[cluster.ID]*Cluster),
    		clusters:       sets.New[string](),
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 07 15:01:12 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/op_or_arg_name_mapper.h

      llvm::StringRef GetUniqueName(OpOrVal op_or_val, int hash_value = 0);
    
      // Returns unique name as a string_view for the operation or value.
      absl::string_view GetUniqueNameView(OpOrVal op_or_val);
    
      // Initializes operation or value to map to name. Returns number of
      // operations or value already named 'name' which should be 0 else
      // GetUniqueName could return the same names for different operations or
      // values.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. pilot/pkg/bootstrap/monitoring.go

    		}()
    	}
    
    	return m, nil
    }
    
    func (m *monitor) Close() error {
    	if m.monitoringServer != nil {
    		return m.monitoringServer.Close()
    	}
    	return nil
    }
    
    // initMonitor initializes the configuration for the pilot monitoring server.
    func (s *Server) initMonitor(addr string) error { // nolint: unparam
    	s.addStartFunc("monitoring", func(stop <-chan struct{}) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. internal/config/identity/openid/provider/keycloak.go

    		p.adminURL = url
    	}
    }
    
    // WithRealm provide realm configuration for Keycloak
    func WithRealm(realm string) Option {
    	return func(p *KeycloakProvider) {
    		p.realm = realm
    	}
    }
    
    // KeyCloak initializes a new keycloak provider
    func KeyCloak(opts ...Option) (Provider, error) {
    	p := &KeycloakProvider{}
    
    	for _, opt := range opts {
    		opt(p)
    	}
    
    	if p.adminURL == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 29 01:27:09 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  7. tensorflow/cc/training/queue_runner.h

      // Returns the stored cost model.
      Status ExportCostGraph(CostGraphDef* cost_graph) const override;
    
     private:
      QueueRunner() : coord_(nullptr), stopped_(false), cg_mu_(nullptr) {}
    
      // Initializes the instance with the QueueRunnerDef proto.
      Status Init(const QueueRunnerDef& queue_runner_def);
    
      // The Run function for each thread.
      void Run(Session* sess, const string& enqueue_op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 31 18:27:00 UTC 2022
    - 5K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/ModelMap.java

         *
         * <p>The given action is invoked to configure the item when the item is required.
         *
         * @param name The name.
         * @param configAction An action that initialises the item. The action is executed when the item is required.
         */
        // TODO - exception when no default type
        void create(String name, Action<? super T> configAction);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  9. internal/jwt/parser.go

    // If nil an empty string will be returned.
    func (c *MapClaims) GetAccessKey() string {
    	if c == nil {
    		return ""
    	}
    	return c.AccessKey
    }
    
    // NewStandardClaims - initializes standard claims
    func NewStandardClaims() *StandardClaims {
    	return &StandardClaims{}
    }
    
    // SetIssuer sets issuer for these claims
    func (c *StandardClaims) SetIssuer(issuer string) {
    	c.Issuer = issuer
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testcarchive/testdata/main3.c

    	setvbuf(stdout, NULL, _IONBF, 0);
    
    	if (verbose) {
    		printf("raising SIGPIPE\n");
    	}
    
    	// Test that the Go runtime handles SIGPIPE, even if we installed
    	// a non-default SIGPIPE handler before the runtime initializes.
    	ProvokeSIGPIPE();
    
    	// Test that SIGPIPE on a non-main thread is also handled by Go.
    	res = pthread_create(&tid, NULL, provokeSIGPIPE, NULL);
    	if (res != 0) {
    		fprintf(stderr, "pthread_create: %s\n", strerror(res));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top