Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for multierror (0.19 sec)

  1. pkg/test/framework/components/istio/cleanup.go

    		return nil
    	})
    }
    
    func (i *istioImpl) cleanupCluster(c cluster.Cluster, errG *multierror.Group) {
    	scopes.Framework.Infof("clean up cluster %s", c.Name())
    	errG.Go(func() (err error) {
    		if e := i.installer.Close(c); e != nil {
    			err = multierror.Append(err, e)
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/test/framework/components/namespace/kube.go

    //  limitations under the License.
    
    package namespace
    
    import (
    	"context"
    	"fmt"
    	"io"
    	"math/rand"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/hashicorp/go-multierror"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/api/label"
    	"istio.io/istio/pkg/log"
    	"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
    - 9K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/crd/conversion.go

    // limitations under the License.
    
    package crd
    
    import (
    	"bytes"
    	"encoding/json"
    	"fmt"
    	"io"
    	"reflect"
    
    	"github.com/hashicorp/go-multierror"
    	"gopkg.in/yaml.v2"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	kubeyaml "k8s.io/apimachinery/pkg/util/yaml"
    
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/schema/collections"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. pkg/test/framework/config.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package framework
    
    import (
    	"context"
    	"fmt"
    	"strings"
    
    	"github.com/hashicorp/go-multierror"
    	"go.uber.org/atomic"
    	"golang.org/x/sync/errgroup"
    
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/framework/components/cluster"
    	"istio.io/istio/pkg/test/framework/components/istioctl"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/go.mod

    	go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.20.0 // indirect
    	go.opentelemetry.io/otel/metric v1.20.0 // indirect
    	go.opentelemetry.io/proto/otlp v1.0.0 // indirect
    	go.uber.org/multierr v1.11.0 // indirect
    	golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc // indirect
    	golang.org/x/oauth2 v0.20.0 // indirect
    	golang.org/x/term v0.20.0 // indirect
    	golang.org/x/text v0.15.0 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/go.mod

    	go.opentelemetry.io/otel/metric v1.20.0 // indirect
    	go.opentelemetry.io/otel/sdk v1.20.0 // indirect
    	go.opentelemetry.io/proto/otlp v1.0.0 // indirect
    	go.uber.org/multierr v1.11.0 // indirect
    	go.uber.org/zap v1.26.0 // indirect
    	golang.org/x/crypto v0.23.0 // indirect
    	golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc // indirect
    	golang.org/x/mod v0.17.0 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top