Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,851 for confv1 (0.22 sec)

  1. pkg/scheduler/apis/config/testing/config.go

    package testing
    
    import (
    	"testing"
    
    	"k8s.io/component-base/config/v1alpha1"
    	v1 "k8s.io/kube-scheduler/config/v1"
    	"k8s.io/kubernetes/pkg/scheduler/apis/config"
    	"k8s.io/kubernetes/pkg/scheduler/apis/config/scheme"
    )
    
    // V1ToInternalWithDefaults creates a v1 default configuration.
    func V1ToInternalWithDefaults(t *testing.T, versionedCfg v1.KubeSchedulerConfiguration) *config.KubeSchedulerConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 17 05:27:21 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. internal/config/notify/config.go

    	Webhook       map[string]target.WebhookArgs       `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize notification config.
    func NewConfig() Config {
    	// Make sure to initialize notification targets
    	cfg := Config{
    		NSQ:           make(map[string]target.NSQArgs),
    		AMQP:          make(map[string]target.AMQPArgs),
    		MQTT:          make(map[string]target.MQTTArgs),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  3. docs/distributed/CONFIG.md

    > NOTE: MinIO environmental variables still take precedence over the `config.yaml` file, however `config.yaml` is preferred over MinIO internal config KV settings via `mc admin config set alias/ <sub-system>`.
    
    ### TODO
    
    In subsequent releases we are planning to extend this to provide things like
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 03 15:54:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. 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)
  5. internal/config/policy/opa/config.go

    }
    
    // Enabled returns if opa is enabled.
    func Enabled(kvs config.KVS) bool {
    	return kvs.Get(URL) != ""
    }
    
    // LookupConfig lookup Opa from config, override with any ENVs.
    func LookupConfig(kv config.KVS, transport *http.Transport, closeRespFn func(io.ReadCloser)) (Args, error) {
    	args := Args{}
    
    	if err := config.CheckValidKeys(config.PolicyOPASubSys, kv, DefaultKVS); err != nil {
    		return args, err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/config.go

    		return bytes.NewBuffer(content), nil
    	}
    	// there is no special config at all
    	return nil, nil
    }
    
    // ConfigFor returns a reader for the specified plugin.
    // If no specific configuration is present, we return a nil reader.
    func (p configProvider) ConfigFor(pluginName string) (io.Reader, error) {
    	// there is no config, so there is no potential config
    	if p.config == nil {
    		return nil, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. cmd/kube-apiserver/app/config.go

    	generatedopenapi "k8s.io/kubernetes/pkg/generated/openapi"
    )
    
    type Config struct {
    	Options options.CompletedOptions
    
    	Aggregator    *aggregatorapiserver.Config
    	KubeAPIs      *controlplane.Config
    	ApiExtensions *apiextensionsapiserver.Config
    
    	ExtraConfig
    }
    
    type ExtraConfig struct {
    }
    
    type completedConfig struct {
    	Options options.CompletedOptions
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 17:44:20 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/echotest/config.go

    // limitations under the License.
    
    package echotest
    
    import (
    	"istio.io/istio/pkg/test/framework/components/echo/config"
    )
    
    // Config adds a configuration source that will be applied during the run of this tester.
    func (t *T) Config(s config.Source) *T {
    	t.cfg = t.cfg.Source(s)
    	return t
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 27 23:26:33 UTC 2022
    - 844 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/egressselector/config.go

    // incorrect file paths. It will return nil if it does not find anything wrong.
    func ValidateEgressSelectorConfiguration(config *apiserver.EgressSelectorConfiguration) field.ErrorList {
    	allErrs := field.ErrorList{}
    	if config == nil {
    		return allErrs // Treating a nil configuration as valid
    	}
    	for _, service := range config.EgressSelections {
    		fldPath := field.NewPath("service", "connection")
    		switch service.Connection.ProxyProtocol {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 8.6K 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