Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,851 for confv1 (4.86 sec)

  1. 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)
  2. 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)
  3. 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)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/config.go

    )
    
    func init() {
    	install.Install(scheme)
    }
    
    // LoadConfiguration loads the provided configuration.
    func LoadConfiguration(config io.Reader) (*resourcequotaapi.Configuration, error) {
    	// if no config is provided, return a default configuration
    	if config == nil {
    		externalConfig := &resourcequotav1.Configuration{}
    		scheme.Default(externalConfig)
    		internalConfig := &resourcequotaapi.Configuration{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. 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)
  6. plugin/pkg/admission/podtolerationrestriction/config.go

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

    }
    
    // Cmd represents the config subcommand command
    func Cmd() *cobra.Command {
    	configCmd := &cobra.Command{
    		Use:   "config SUBCOMMAND",
    		Short: "Configure istioctl defaults",
    		Args:  cobra.NoArgs,
    		Example: `  # list configuration parameters
      istioctl experimental config list`,
    	}
    	configCmd.AddCommand(listCommand())
    	return configCmd
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jul 30 12:16:07 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. cmd/config.go

    	return srvCfg.Merge(), nil
    }
    
    // ConfigSys - config system.
    type ConfigSys struct{}
    
    // Init - initializes config system from config.json.
    func (sys *ConfigSys) Init(objAPI ObjectLayer) error {
    	if objAPI == nil {
    		return errInvalidArgument
    	}
    
    	return initConfig(objAPI)
    }
    
    // NewConfigSys - creates new config system object.
    func NewConfigSys() *ConfigSys {
    	return &ConfigSys{}
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/config.h

    // (`absl::string_view`) so its lifetime is bound to the input `config`.
    inline std::optional<absl::string_view> GetReportFilePath(
        const QuantizationConfig& config ABSL_ATTRIBUTE_LIFETIME_BOUND) {
      return config.has_report_file_path()
                 ? std::make_optional<absl::string_view>(config.report_file_path())
                 : std::nullopt;
    }
    
    }  // namespace stablehlo::quantization
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. pkg/test/framework/config.go

    	"istio.io/istio/pkg/test/framework/resource/config"
    	"istio.io/istio/pkg/test/framework/resource/config/apply"
    	"istio.io/istio/pkg/test/framework/resource/config/cleanup"
    	"istio.io/istio/pkg/test/scopes"
    	"istio.io/istio/pkg/test/util/file"
    	"istio.io/istio/pkg/test/util/tmpl"
    	"istio.io/istio/pkg/test/util/yml"
    )
    
    var _ config.Factory = &configFactory{}
    
    type configFactory struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top