Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,545 for instanceip (0.19 sec)

  1. pkg/config/labels/instance.go

    func (i Instance) Match(that Instance) bool {
    	if len(i) == 0 {
    		return false
    	}
    
    	return i.SubsetOf(that)
    }
    
    // Equals returns true if the labels are equal.
    func (i Instance) Equals(that Instance) bool {
    	return maps.Equal(i, that)
    }
    
    // Validate ensures tag is well-formed
    func (i Instance) Validate() error {
    	if i == nil {
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 16 06:54:36 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. pkg/bootstrap/instance.go

    var overrideVar = env.Register("ISTIO_BOOTSTRAP", "", "")
    
    // Instance of a configured Envoy bootstrap writer.
    type Instance interface {
    	// WriteTo writes the content of the Envoy bootstrap to the given writer.
    	WriteTo(templateFile string, w io.Writer) error
    
    	// CreateFile generates an Envoy bootstrap file.
    	CreateFile() (string, error)
    }
    
    // New creates a new Instance of an Envoy bootstrap writer.
    func New(cfg Config) Instance {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. pkg/bootstrap/option/instance.go

    	apply(map[string]any) error
    }
    
    var _ Instance = &instance{}
    
    type (
    	convertFunc func(*instance) (any, error)
    	applyFunc   func(map[string]any, *instance) error
    )
    
    type instance struct {
    	name      Name
    	convertFn convertFunc
    	applyFn   applyFunc
    }
    
    func (i *instance) Name() Name {
    	return i.name
    }
    
    func (i *instance) withConvert(fn convertFunc) *instance {
    	out := *i
    	out.convertFn = fn
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  4. pkg/config/resource/instance.go

    package resource
    
    import (
    	"istio.io/istio/pkg/config"
    )
    
    // Instance is the abstract representation of a versioned config resource in Istio.
    type Instance struct {
    	Metadata Metadata
    	Message  config.Spec
    	Origin   Origin
    }
    
    // IsEmpty returns true if the resource Instance.Message is nil.
    func (r *Instance) IsEmpty() bool {
    	return r.Message == nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 24 02:24:07 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  5. pkg/test/echo/server/endpoint/instance.go

    type Instance interface {
    	io.Closer
    	Start(onReady OnReadyFunc) error
    	GetConfig() Config
    }
    
    // New creates a new endpoint Instance.
    func New(cfg Config) (Instance, error) {
    	if cfg.Port != nil {
    		switch cfg.Port.Protocol {
    		case protocol.HBONE:
    			return newHBONE(cfg), nil
    		case protocol.HTTP, protocol.HTTPS:
    			return newHTTP(cfg), nil
    		case protocol.HTTP2, protocol.GRPC:
    			return newGRPC(cfg), nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. pkg/test/loadbalancersim/timeseries/instance.go

    package timeseries
    
    import (
    	"sync"
    	"time"
    )
    
    type Instance struct {
    	data  Data
    	times times
    	mutex sync.Mutex
    }
    
    func (ts *Instance) AddObservation(val float64, t time.Time) {
    	ts.mutex.Lock()
    	defer ts.mutex.Unlock()
    	ts.data = append(ts.data, val)
    	ts.times = append(ts.times, t)
    }
    
    func (ts *Instance) AddAll(o *Instance) {
    	ts.mutex.Lock()
    	defer ts.mutex.Unlock()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  7. pkg/test/util/structpath/instance.go

    	}
    
    	// Success.
    	return &Instance{
    		isJSON:    i.isJSON,
    		structure: value,
    	}
    }
    
    func (i *Instance) appendConstraint(fn func() error) *Instance {
    	i.constraints = append(i.constraints, fn)
    	return i
    }
    
    func (i *Instance) Equals(expected any, path string, args ...any) *Instance {
    	path = fmt.Sprintf(path, args...)
    	return i.appendConstraint(func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/instance.go

    	Addresses() []string
    
    	// Restart restarts the workloads associated with this echo instance
    	Restart() error
    
    	// UpdateWorkloadLabel update pod labels of this echo instance
    	UpdateWorkloadLabel(add map[string]string, remove []string) error
    
    	// WithWorkloads returns a target with only the specified subset of workloads
    	WithWorkloads(wl ...Workload) Instance
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 11 03:58:03 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. pilot/pkg/server/instance.go

    	// the server Instance is shutting down, it will wait for the component
    	// to complete before exiting.
    	// Note: this is best effort; a process can die at any time.
    	RunComponentAsyncAndWait(name string, t Component)
    
    	// Wait for this server Instance to shutdown.
    	Wait()
    }
    
    var _ Instance = &instance{}
    
    // New creates a new server Instance.
    func New() Instance {
    	return &instance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    								BytesSent:     10,
    								EndpointId:    "test",
    								InstanceId:    "test",
    							},
    						},
    					},
    					{
    						container: hcsshim.ContainerProperties{
    							ID: "c2",
    						}, hcsStats: []hcsshim.NetworkStats{
    							{
    								BytesReceived: 2,
    								BytesSent:     20,
    								EndpointId:    "test2",
    								InstanceId:    "test2",
    							},
    						},
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top