Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for WaitTimeout (0.18 sec)

  1. pilot/pkg/util/network/ip.go

    	"fmt"
    	"net"
    	"net/netip"
    	"strconv"
    	"time"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/sleep"
    )
    
    // Network-related utility functions
    const (
    	waitInterval = 100 * time.Millisecond
    	waitTimeout  = 2 * time.Minute
    )
    
    // ip family enum
    type IPFamilyType int
    
    const (
    	IPv4 = iota
    	IPv6
    	UNKNOWN
    )
    
    type lookupIPAddrType = func(ctx context.Context, addr string) ([]netip.Addr, error)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 21:27:21 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. internal/event/target/mqtt.go

    	if err != nil {
    		return err
    	}
    
    	token := target.client.Publish(target.args.Topic, target.args.QoS, false, string(data))
    	if !token.WaitTimeout(reconnectInterval) {
    		return store.ErrNotConnected
    	}
    	return token.Error()
    }
    
    // SendFromStore - reads an event from store and sends it to MQTT.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. operator/cmd/mesh/shared.go

    	Context string
    	// DryRun performs all steps except actually applying the manifests or creating output dirs/files.
    	DryRun bool
    	// Maximum amount of time to wait for resources to be ready after install when Wait=true.
    	WaitTimeout time.Duration
    }
    
    func applyManifest(kubeClient kube.Client, client client.Client, manifestStr string,
    	componentName name.ComponentName, opts *applyOptions, iop *v1alpha1.IstioOperator, l clog.Logger,
    ) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection.go

    func (c *connection) CreateStream(headers http.Header) (httpstream.Stream, error) {
    	stream, err := c.conn.CreateStream(headers, nil, false)
    	if err != nil {
    		return nil, err
    	}
    	if err = stream.WaitTimeout(createStreamResponseTimeout); err != nil {
    		return nil, err
    	}
    
    	c.registerStream(stream)
    	return stream, nil
    }
    
    // registerStream adds the stream s to the connection's list of streams that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 01 15:04:07 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/kubectlcmd/kubectlcmd.go

    	Namespace string
    
    	// DryRun performs all steps but only logs the Run command without running it.
    	DryRun bool
    	// Maximum amount of time to wait for resources to be ready after install when Wait=true.
    	WaitTimeout time.Duration
    
    	// output - output mode for Run i.e. --output.
    	Output string
    
    	// extraArgs - more args to be added to the Run command, which are appended to
    	// the end of the Run command.
    	ExtraArgs []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 01:18:03 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. operator/pkg/helmreconciler/apply.go

    		scope.Infof("Pruning object %s from cache.", k)
    		delete(objectCache.Cache, k)
    	}
    
    	if len(changedObjectKeys) > 0 {
    		err := WaitForResources(result.processedObjects, h.kubeClient,
    			h.opts.WaitTimeout, h.opts.DryRun, plog)
    		if err != nil {
    			werr := fmt.Errorf("failed to wait for resource: %v", err)
    			plog.ReportError(werr.Error())
    			return result, werr
    		}
    		plog.ReportFinished()
    
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top