Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,851 for confv1 (0.44 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/config/config.go

    // package config provides methods for loading and querying a
    // telemetry upload config file.
    package config
    
    import (
    	"encoding/json"
    	"os"
    	"strings"
    
    	"golang.org/x/telemetry/internal/telemetry"
    )
    
    // Config is a wrapper around telemetry.UploadConfig that provides some
    // convenience methods for checking the contents of a report.
    type Config struct {
    	*telemetry.UploadConfig
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. pkg/test/framework/components/cluster/config.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package cluster
    
    import (
    	"istio.io/istio/pkg/test/framework/config"
    )
    
    type Config struct {
    	Name               string     `yaml:"clusterName,omitempty"`
    	Network            string     `yaml:"network,omitempty"`
    	HTTPProxy          string     `yaml:"httpProxy,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. cmd/kube-scheduler/app/config/config.go

    	kubeschedulerconfig "k8s.io/kubernetes/pkg/scheduler/apis/config"
    )
    
    // Config has all the context to run a Scheduler
    type Config struct {
    	// ComponentConfig is the scheduler server's configuration object.
    	ComponentConfig kubeschedulerconfig.KubeSchedulerConfiguration
    
    	// LoopbackClientConfig is a config for a privileged loopback connection
    	LoopbackClientConfig *restclient.Config
    
    	Authentication apiserver.AuthenticationInfo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 24 09:38:49 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. 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)
  5. internal/event/config.go

    	var config Config
    
    	if err := xml.NewDecoder(reader).Decode(&config); err != nil {
    		return nil, err
    	}
    
    	if err := config.Validate(region, targetList); err != nil {
    		return nil, err
    	}
    
    	config.SetRegion(region)
    	// If xml namespace is empty, set a default value before returning.
    	if config.XMLNS == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tools/istio-clean-iptables/pkg/config/config.go

    // limitations under the License.
    
    package config
    
    import (
    	"encoding/json"
    	"fmt"
    	"os/user"
    
    	"github.com/miekg/dns"
    
    	"istio.io/istio/pkg/env"
    	"istio.io/istio/pkg/log"
    	netutil "istio.io/istio/pkg/util/net"
    	types "istio.io/istio/tools/istio-iptables/pkg/config"
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    
    func DefaultConfig() *Config {
    	return &Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. 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)
  10. internal/config/lambda/config.go

    // Config - lambda target configuration structure, holds
    // information about various lambda targets.
    type Config struct {
    	Webhook map[string]target.WebhookArgs `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize lambda config.
    func NewConfig() Config {
    	// Make sure to initialize lambda targets
    	cfg := Config{
    		Webhook: make(map[string]target.WebhookArgs),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top