Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,974 for config2 (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/kubeapiserver/authenticator/config.go

    		if err != nil {
    			return nil, nil, nil, nil, err
    		}
    		tokenAuthenticators = append(tokenAuthenticators, authenticator.WrapAudienceAgnosticToken(config.APIAudiences, tokenAuth))
    	}
    	if len(config.ServiceAccountKeyFiles) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. pkg/credentialprovider/plugin/config.go

    	kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config"
    )
    
    // readCredentialProviderConfigFile receives a path to a config file and decodes it
    // into the internal CredentialProviderConfig type.
    func readCredentialProviderConfigFile(configPath string) (*kubeletconfig.CredentialProviderConfig, error) {
    	if configPath == "" {
    		return nil, fmt.Errorf("credential provider config path is empty")
    	}
    
    	data, err := os.ReadFile(configPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/kubelet/config.go

    )
    
    // WriteConfigToDisk writes the kubelet config object down to a file
    // Used at "kubeadm init" and "kubeadm upgrade" time
    func WriteConfigToDisk(cfg *kubeadmapi.ClusterConfiguration, kubeletDir, patchesDir string, output io.Writer) error {
    	kubeletCfg, ok := cfg.ComponentConfigs[componentconfigs.KubeletGroup]
    	if !ok {
    		return errors.New("no kubelet component config found")
    	}
    
    	if err := kubeletCfg.Mutate(); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. pkg/credentialprovider/config.go

    )
    
    // DockerConfigJSON represents ~/.docker/config.json file info
    // see https://github.com/docker/docker/pull/12009
    type DockerConfigJSON struct {
    	Auths DockerConfig `json:"auths"`
    	// +optional
    	HTTPHeaders map[string]string `json:"HttpHeaders,omitempty"`
    }
    
    // DockerConfig represents the config file used by the docker CLI.
    // This config that represents the credentials that should be used
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    		return nil, "", fmt.Errorf("error decoding encryption provider configuration file %q: %w", filepath, err)
    	}
    	config, ok := configObj.(*apiserver.EncryptionConfiguration)
    	if !ok {
    		return nil, "", fmt.Errorf("got unexpected config type: %v", gvk)
    	}
    
    	return config, contentHash, validation.ValidateEncryptionConfiguration(config, reload).ToAggregate()
    }
    
    func loadDataAndHash(filepath string) ([]byte, string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/config.go

    package driver
    
    import (
    	"fmt"
    	"net/url"
    	"reflect"
    	"strconv"
    	"strings"
    	"sync"
    )
    
    // config holds settings for a single named config.
    // The JSON tag name for a field is used both for JSON encoding and as
    // a named variable.
    type config struct {
    	// Filename for file-based output formats, stdout by default.
    	Output string `json:"-"`
    
    	// Display options.
    	CallTree            bool    `json:"call_tree,omitempty"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top