- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ReadEgressSelectorConfiguration (0.32 sec)
-
staging/src/k8s.io/apiserver/pkg/server/egressselector/config_test.go
} proxyConfig = f.Name() } config, err := ReadEgressSelectorConfiguration(proxyConfig) if err == nil && tc.expectedError != nil { t.Errorf("calling ReadEgressSelectorConfiguration expected error: %s, did not get it", *tc.expectedError) } if err != nil && tc.expectedError == nil { t.Errorf("unexpected error calling ReadEgressSelectorConfiguration got: %#v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 02:24:38 UTC 2023 - 15.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/egressselector/config.go
// validEgressSelectorNames contains the set of valid egress selctor names. var validEgressSelectorNames = sets.NewString("controlplane", "cluster", "etcd") func init() { install.Install(cfgScheme) } // ReadEgressSelectorConfiguration reads the egress selector configuration at the specified path. // It returns the loaded egress selector configuration if the input file aligns with the required syntax.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 15:48:39 UTC 2023 - 8.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/egress_selector.go
// they will be prepared from the recommended/default/no-op values. func (o *EgressSelectorOptions) ApplyTo(c *server.Config) error { if o == nil { return nil } npConfig, err := egressselector.ReadEgressSelectorConfiguration(o.ConfigFile) if err != nil { return fmt.Errorf("failed to read egress selector config: %v", err) } errs := egressselector.ValidateEgressSelectorConfiguration(npConfig) if len(errs) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 01 11:41:59 UTC 2021 - 3K bytes - Viewed (0)