Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsDeployment (0.16 sec)

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

    }
    
    func (i Instances) MustWorkloads() Workloads {
    	out, err := i.Workloads()
    	if err != nil {
    		panic(err)
    	}
    	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()...)
    }
    
    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