- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for multierror (0.36 sec)
-
pkg/config/validation/agent/validation.go
errs = multierror.Append(errs, multierror.Prefix(err, "invalid proxy admin port:")) } if err := ValidateControlPlaneAuthPolicy(config.ControlPlaneAuthPolicy); err != nil { errs = multierror.Append(errs, multierror.Prefix(err, "invalid authentication policy:")) } if err := ValidatePort(int(config.StatusPort)); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 30.9K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/extauthz.go
port, err := parsePort(config.Port) if err != nil { errs = multierror.Append(errs, err) } hostname, cluster, err := model.LookupCluster(push, config.Service, port) if err != nil { model.IncLookupClusterFailures("authz") errs = multierror.Append(errs, err) } status, err := parseStatusOnError(config.StatusOnError) if err != nil { errs = multierror.Append(errs, err) } if config.PathPrefix != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 12.7K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
warning, err := v.validateResource(*istioNamespace, defaultNamespace, &un, writer) if err != nil { errs = multierror.Append(errs, multierror.Prefix(err, fmt.Sprintf("%s/%s/%s:", un.GetKind(), un.GetNamespace(), un.GetName()))) } if warning != nil { warnings = multierror.Append(warnings, multierror.Prefix(warning, fmt.Sprintf("%s/%s/%s:", un.GetKind(), un.GetNamespace(), un.GetName()))) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 22 17:58:52 UTC 2024 - 15K bytes - Viewed (0) -
pkg/config/mesh/mesh.go
return nil, multierror.Prefix(err, "failed to convert to proto.") } defaultConfig.DefaultConfig = prevProxyConfig raw, err := toMap(yaml) if err != nil { return nil, err } // Get just the proxy config yaml pc, err := extractYamlField("defaultConfig", raw) if err != nil { return nil, multierror.Prefix(err, "failed to extract proxy config") } if pc != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 12K bytes - Viewed (0) -
pilot/pkg/autoregistration/controller_test.go
err = multierror.Append(fmt.Errorf("entry has address %s; expected %s", we.Address, proxy.IPAddresses[0])) } if proxy.Metadata.Network != "" { if we.Network != string(proxy.Metadata.Network) { err = multierror.Append(fmt.Errorf("entry has network %s; expected to match meta network %s", we.Network, proxy.Metadata.Network)) } } else { if we.Network != tmpl.Template.Network {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 00:00:36 UTC 2024 - 31.4K bytes - Viewed (0) -
pkg/test/framework/components/echo/deployment/builder.go
// limitations under the License. package deployment import ( "context" "fmt" "strings" "time" "github.com/google/go-cmp/cmp" "github.com/hashicorp/go-multierror" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "istio.io/api/annotation" "istio.io/istio/pkg/kube/inject" "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/framework/components/cluster"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 12K bytes - Viewed (0) -
pkg/webhooks/validation/controller/controller.go
// Validate the options that exposed to end users func (o Options) Validate() error { var errs *multierror.Error if o.WatchedNamespace == "" || !labels.IsDNS1123Label(o.WatchedNamespace) { errs = multierror.Append(errs, fmt.Errorf("invalid namespace: %q", o.WatchedNamespace)) } if o.ServiceName == "" || !labels.IsDNS1123Label(o.ServiceName) { errs = multierror.Append(errs, fmt.Errorf("invalid service name: %q", o.ServiceName)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 16:52:19 UTC 2024 - 11.3K bytes - Viewed (0) -
pkg/test/framework/components/istio/configmap.go
// limitations under the License. package istio import ( "context" "crypto/md5" "encoding/hex" "fmt" "io" "sync" "github.com/hashicorp/go-multierror" corev1 "k8s.io/api/core/v1" kerrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/yaml"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 12.8K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
} func validateFlags() error { var err error if inFilename == "" { err = multierror.Append(err, errors.New("filename not specified (see --filename or -f)")) } if meshConfigFile == "" && meshConfigMapName == "" && iopFilename == "" { err = multierror.Append(err, errors.New("--meshConfigFile or --meshConfigMapName or --operatorFileName must be set")) } return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 29 02:29:02 UTC 2024 - 21.6K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
if err == nil { _, _ = fmt.Fprintf(c.OutOrStdout(), "%v.%v:\n%v\n", podName, podNamespace, resp) } else { errs = multierror.Append(fmt.Errorf("%v.%v: %v", podName, podNamespace, err)) } } if err := multierror.Flatten(errs.ErrorOrNil()); err != nil { return err } return nil }, ValidArgsFunction: completion.ValidPodsNameArgs(ctx), }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 22K bytes - Viewed (0)