- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 103 for multierror (0.17 sec)
-
pkg/test/framework/components/environment/kube/kube.go
var clusters cluster.Clusters for i, cfg := range configs { c, err := buildCluster(cfg, allClusters) if err != nil { errs = multierror.Append(errs, fmt.Errorf("failed building cluster from config %d: %v", i, err)) continue } if _, ok := allClusters[c.Name()]; ok { errs = multierror.Append(errs, fmt.Errorf("more than one cluster named %s", c.Name())) continue } allClusters[c.Name()] = c
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 5.1K bytes - Viewed (0) -
pkg/test/framework/errors/deprecations.go
// See the License for the specific language governing permissions and // limitations under the License. package errors import ( "bufio" "fmt" "strings" "github.com/hashicorp/go-multierror" ) type DeprecatedError struct { msg string } func NewDeprecatedError(format string, args ...any) error { return &DeprecatedError{fmt.Sprintf(format, args...)} }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 1.8K bytes - Viewed (0) -
pkg/config/security/security.go
} func ValidateIPs(ips []string) error { var errs *multierror.Error for _, v := range ips { if strings.Contains(v, "/") { if _, err := netip.ParsePrefix(v); err != nil { errs = multierror.Append(errs, fmt.Errorf("bad CIDR range (%s): %v", v, err)) } } else { if _, err := netip.ParseAddr(v); err != nil { errs = multierror.Append(errs, fmt.Errorf("bad IP address (%s)", v)) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 07 04:43:34 UTC 2024 - 9.4K 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) -
istioctl/pkg/metrics/metrics.go
var me *multierror.Error var err error sm := workloadMetrics{workload: workload} sm.totalRPS, err = vectorValue(promAPI, rpsQuery) if err != nil { me = multierror.Append(me, err) } sm.errorRPS, err = vectorValue(promAPI, errRPSQuery) if err != nil { me = multierror.Append(me, err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/util/stats.go
// limitations under the License. package util import ( "bytes" "fmt" "net" "strconv" "strings" "time" multierror "github.com/hashicorp/go-multierror" "istio.io/istio/pkg/http" ) const ( statCdsRejected = "cluster_manager.cds.update_rejected" statsCdsSuccess = "cluster_manager.cds.update_success"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 21 15:50:49 UTC 2022 - 4.8K bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/builder.go
package kube import ( "github.com/hashicorp/go-multierror" "istio.io/istio/pkg/test/framework/components/echo" "istio.io/istio/pkg/test/framework/resource" ) func Build(ctx resource.Context, configs []echo.Config) (echo.Instances, error) { instances := make([]echo.Instance, len(configs)) g := multierror.Group{} for i, cfg := range configs { i, cfg := i, cfg g.Go(func() (err error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 1.1K bytes - Viewed (0) -
pkg/test/framework/components/echo/util/traffic/result.go
// See the License for the specific language governing permissions and // limitations under the License. package traffic import ( "bytes" "fmt" "github.com/hashicorp/go-multierror" "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/framework/components/echo" ) // Result of a traffic generation operation. type Result struct { TotalRequests int SuccessfulRequests int
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 12 22:50:35 UTC 2022 - 2.3K bytes - Viewed (0) -
pkg/webhooks/validation/server/server.go
// limitations under the License. package server import ( "bytes" "encoding/json" "errors" "fmt" "net/http" multierror "github.com/hashicorp/go-multierror" admissionv1 "k8s.io/api/admission/v1" kubeApiAdmissionv1beta1 "k8s.io/api/admission/v1beta1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 04 06:13:56 UTC 2024 - 9.3K bytes - Viewed (0) -
pkg/test/framework/components/echo/check/visitor.go
// See the License for the specific language governing permissions and // limitations under the License. package check import ( "fmt" "github.com/hashicorp/go-multierror" echoClient "istio.io/istio/pkg/test/echo" "istio.io/istio/pkg/test/framework/components/echo" "istio.io/istio/pkg/util/istiomultierror" ) // Visitor is performs a partial check operation on a single message.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 28 23:06:21 UTC 2022 - 2K bytes - Viewed (0)