Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ContainsTarget (0.17 sec)

  1. pkg/test/framework/components/echo/instances.go

    	return out
    }
    
    // IsDeployment returns true if there is only one deployment contained in the Instances
    func (i Instances) IsDeployment() bool {
    	return len(i.Services()) == 1
    }
    
    func (i Instances) ContainsTarget(t Target) bool {
    	return i.Contains(t.Instances()...)
    }
    
    func (i Instances) Contains(instances ...Instance) bool {
    	for _, thatI := range instances {
    		found := false
    		for _, thisI := range i {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 18:26:17 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top