Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for errors (0.17 sec)

  1. istioctl/pkg/waypoint/waypoint.go

    	return multiErr.ErrorOrNil()
    }
    
    func labelNamespaceWithWaypoint(kubeClient kube.CLIClient, ns string) error {
    	nsObj, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.Background(), ns, metav1.GetOptions{})
    	if errors.IsNotFound(err) {
    		return fmt.Errorf("namespace: %s not found", ns)
    	} else if err != nil {
    		return fmt.Errorf("failed to get namespace %s: %v", ns, err)
    	}
    	if nsObj.Labels == nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest_shared_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package mesh
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    
    	kerrors "k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/client-go/kubernetes"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  3. cni/pkg/nodeagent/net.go

    	if err := s.netnsRunner(openNetns, func() error { return s.iptablesConfigurator.DeleteInpodRules() }); err != nil {
    		log.Errorf("failed to delete inpod rules %v", err)
    		return fmt.Errorf("failed to delete inpod rules %w", err)
    	}
    
    	if err := removePodFromHostNSIpset(pod, &s.hostsideProbeIPSet); err != nil {
    		log.Errorf("failed to remove pod %s from host ipset, error was: %v", pod.Name, err)
    		return err
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  4. cni/pkg/nodeagent/ztunnelserver.go

    		return err
    	}
    
    	if resp.GetAck().GetError() != "" {
    		log.Errorf("add-workload: got ack error: %s", resp.GetAck().GetError())
    		return fmt.Errorf("got ack error: %s", resp.GetAck().GetError())
    	}
    	return nil
    }
    
    // TODO ctx is unused here
    // nolint: unparam
    func (z *ztunnelServer) sendSnapshot(ctx context.Context, conn *ZtunnelConnection) error {
    	snap := z.pods.ReadCurrentPodSnapshot()
    	for uid, wl := range snap {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. istioctl/pkg/multixds/gather.go

    					continue
    				}
    				responses = append(responses, resp)
    			}
    			token = list.ListMeta.GetContinue()
    			if token == "" {
    				break
    			}
    		}
    	} else {
    		// If there is a specific pod name in ResourceName, use the agent in the pod.
    		if len(dr.ResourceNames) != 1 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. istioctl/pkg/kubeinject/kubeinject.go

    		}
    	}
    	return e, fmt.Errorf("could not find valid mutatingWebhookConfiguration %q from cluster", defaultWebhookName)
    }
    
    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,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  7. operator/cmd/mesh/install.go

    	if err != nil {
    		return err
    	}
    	status, err := reconciler.Reconcile()
    	if err != nil {
    		return fmt.Errorf("errors occurred during operation: %v", err)
    	}
    	if status.Status != v1alpha1.InstallStatus_HEALTHY {
    		return fmt.Errorf("errors occurred during operation")
    	}
    
    	// Previously we may install IOP file from the old version of istioctl. Now since we won't install IOP file
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  8. cni/pkg/nodeagent/net_test.go

    	// no calls to ztunnel if iptables failed
    	assert.Equal(t, ztunnelServer.addedPods.Load(), 0)
    
    	// error is not partial error
    	if errors.Is(err, ErrPartialAdd) {
    		t.Fatal("expected not a partial error")
    	}
    }
    
    func TestConstructInitialSnap(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	setupLogging()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/authorization/v1/generated.proto

      // Reason is optional.  It indicates why a request was allowed or denied.
      // +optional
      optional string reason = 2;
    
      // EvaluationError is an indication that some error occurred during the authorization check.
      // It is entirely possible to get an error and be able to continue determine authorization status in spite of it.
      // For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/authorization/v1beta1/generated.proto

      // Reason is optional.  It indicates why a request was allowed or denied.
      // +optional
      optional string reason = 2;
    
      // EvaluationError is an indication that some error occurred during the authorization check.
      // It is entirely possible to get an error and be able to continue determine authorization status in spite of it.
      // For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top