Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 103 for multierror (0.14 sec)

  1. pkg/config/labels/instance.go

    func (i Instance) Validate() error {
    	if i == nil {
    		return nil
    	}
    	var errs error
    	for k, v := range i {
    		if err := validateTagKey(k); err != nil {
    			errs = multierror.Append(errs, err)
    		}
    		if !labelValueRegexp.MatchString(v) {
    			errs = multierror.Append(errs, fmt.Errorf("invalid tag value: %q", v))
    		}
    	}
    	return errs
    }
    
    // IsDNS1123Label tests for a string that conforms to the definition of a label in
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 16 06:54:36 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. 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)
  3. pkg/config/analysis/analyzers/schema/validation_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    package schema
    
    import (
    	"fmt"
    	"testing"
    
    	"github.com/hashicorp/go-multierror"
    	. "github.com/onsi/gomega"
    
    	"istio.io/api/networking/v1alpha3"
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/analysis/msg"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/kube/workload_manager.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package kube
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"sync"
    
    	"github.com/hashicorp/go-multierror"
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/config/protocol"
    	echoCommon "istio.io/istio/pkg/test/echo/common"
    	"istio.io/istio/pkg/test/framework/components/echo"
    	"istio.io/istio/pkg/test/framework/resource"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 02:12:37 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. 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)
  6. pilot/pkg/config/kube/gateway/gatewayclass.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package gateway
    
    import (
    	"github.com/hashicorp/go-multierror"
    	kerrors "k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	k8sv1 "sigs.k8s.io/gateway-api/apis/v1"
    	gateway "sigs.k8s.io/gateway-api/apis/v1beta1"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. pkg/test/echo/server/forwarder/util.go

    // limitations under the License.
    
    package forwarder
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"net"
    	"net/http"
    	"net/url"
    	"sync"
    	"time"
    
    	"github.com/hashicorp/go-multierror"
    	"golang.org/x/net/proxy"
    
    	"istio.io/istio/pkg/hbone"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/test/echo"
    	"istio.io/istio/pkg/test/echo/common"
    	"istio.io/istio/pkg/test/echo/proto"
    )
    
    const (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. 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)
  9. tools/bug-report/pkg/content/content.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package content
    
    import (
    	"fmt"
    	"strings"
    	"time"
    
    	"github.com/hashicorp/go-multierror"
    
    	"istio.io/istio/istioctl/pkg/util/formatting"
    	"istio.io/istio/pkg/config/analysis/analyzers"
    	"istio.io/istio/pkg/config/analysis/diag"
    	"istio.io/istio/pkg/config/analysis/local"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  10. pilot/pkg/security/authz/builder/builder.go

    	hcm "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/http_connection_manager/v3"
    	rbactcp "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/rbac/v3"
    	"github.com/hashicorp/go-multierror"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pilot/pkg/model"
    	authzmodel "istio.io/istio/pilot/pkg/security/authz/model"
    	"istio.io/istio/pilot/pkg/security/trustdomain"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top