Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,071 for config1 (0.12 sec)

  1. plugin/pkg/admission/eventratelimit/config.go

    )
    
    func init() {
    	install.Install(scheme)
    }
    
    // LoadConfiguration loads the provided configuration.
    func LoadConfiguration(config io.Reader) (*eventratelimitapi.Configuration, error) {
    	// if no config is provided, return a default configuration
    	if config == nil {
    		externalConfig := &eventratelimitv1alpha1.Configuration{}
    		scheme.Default(externalConfig)
    		internalConfig := &eventratelimitapi.Configuration{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 08 22:33:50 UTC 2018
    - 2K bytes
    - Viewed (0)
  2. pkg/controlplane/apiserver/config.go

    		return nil, nil, err
    	}
    	if requestHeaderConfig != nil {
    		config.ClusterAuthenticationInfo.RequestHeaderCA = requestHeaderConfig.CAContentProvider
    		config.ClusterAuthenticationInfo.RequestHeaderAllowedNames = requestHeaderConfig.AllowedClientNames
    		config.ClusterAuthenticationInfo.RequestHeaderExtraHeaderPrefixes = requestHeaderConfig.ExtraHeaderPrefixes
    		config.ClusterAuthenticationInfo.RequestHeaderGroupHeaders = requestHeaderConfig.GroupHeaders
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/authorizer/config.go

    // based on the authorizationMode or an error.
    // stopCh is used to shut down config reload goroutines when the server is shutting down.
    func (config Config) New(ctx context.Context, serverID string) (authorizer.Authorizer, authorizer.RuleResolver, error) {
    	if len(config.AuthorizationConfiguration.Authorizers) == 0 {
    		return nil, nil, fmt.Errorf("at least one authorization mode must be passed")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. pkg/test/framework/config/config.go

    var (
    	configFilePath string
    	parsed         atomic.Bool
    )
    
    func init() {
    	flag.StringVar(&configFilePath, "istio.test.config", "", "Path to test framework config file")
    }
    
    type Value interface {
    	flag.Value
    	// SetConfig will receive either a Map or a []Map
    	SetConfig(any) error
    }
    
    func Parsed() bool {
    	return flag.Parsed() && parsed.Load()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  5. internal/config/identity/plugin/config.go

    )
    
    var (
    	// DefaultKVS - default config for AuthN plugin config
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   URL,
    			Value: "",
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: "",
    		},
    		config.KV{
    			Key:   RolePolicy,
    			Value: "",
    		},
    		config.KV{
    			Key:   RoleID,
    			Value: "",
    		},
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. pkg/controlplane/apiserver/admission/config.go

    	quotainstall "k8s.io/kubernetes/pkg/quota/v1/install"
    )
    
    // Config holds the configuration needed to for initialize the admission plugins
    type Config struct {
    	LoopbackClientConfig *rest.Config
    	ExternalInformers    externalinformers.SharedInformerFactory
    }
    
    // New sets up the plugins and admission start hooks needed for admission
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/config.go

    }
    
    // ConfigForResource is a Config specialized to a particular `schema.GroupResource`
    type ConfigForResource struct {
    	// Config is the resource-independent configuration
    	Config
    
    	// GroupResource is the relevant one
    	GroupResource schema.GroupResource
    }
    
    // ForResource specializes to the given resource
    func (config *Config) ForResource(resource schema.GroupResource) *ConfigForResource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/config.go

    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/src"
    	"internal/buildcfg"
    )
    
    // A Config holds readonly compilation information.
    // It is created once, early during compilation,
    // and shared across all compilations.
    type Config struct {
    	arch           string // "amd64", etc.
    	PtrSize        int64  // 4 or 8; copy of cmd/internal/sys.Arch.PtrSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. plugin/pkg/admission/imagepolicy/config.go

    }
    
    func normalizeWebhookConfig(config *imagePolicyWebhookConfig) (err error) {
    	config.RetryBackoff, err = normalizeConfigDuration("backoff", time.Millisecond, config.RetryBackoff, minRetryBackoff, maxRetryBackoff, defaultRetryBackoff)
    	if err != nil {
    		return err
    	}
    	config.AllowTTL, err = normalizeConfigDuration("allow cache", time.Second, config.AllowTTL, minAllowTTL, maxAllowTTL, defaultAllowTTL)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 25 04:07:36 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  10. docs_src/settings/app03/config.py

    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
        class Config:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 204 bytes
    - Viewed (0)
Back to top