Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for setupFns (0.16 sec)

  1. pkg/test/framework/suite.go

    	return s
    }
    
    func (s *suiteImpl) Setup(fn resource.SetupFn) Suite {
    	s.setupFns = append(s.setupFns, fn)
    	return s
    }
    
    func (s *suiteImpl) Teardown(fn resource.TeardownFn) Suite {
    	s.teardownFns = append(s.teardownFns, fn)
    	return s
    }
    
    func (s *suiteImpl) SetupParallel(fns ...resource.SetupFn) Suite {
    	s.setupFns = append(s.setupFns, func(ctx resource.Context) error {
    		g := multierror.Group{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/echotest/setup.go

    func (t *T) SetupForServicePair(setupFn svcPairSetupFn) *T {
    	t.deploymentPairSetup = append(t.deploymentPairSetup, setupFn)
    	return t
    }
    
    // SetupForDestination is run each time the destination Service (but not destination cluster) changes.
    func (t *T) SetupForDestination(setupFn dstSetupFn) *T {
    	t.destinationDeploymentSetup = append(t.destinationDeploymentSetup, setupFn)
    	return t
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/sds/sdsservice_test.go

    		s := setupSDS(t)
    		c := s.Connect()
    		s.Verify(c.RequestResponseAck(t, &discovery.DiscoveryRequest{ResourceNames: []string{rootResourceName}}), expectRoot)
    		s.Verify(c.RequestResponseAck(t, &discovery.DiscoveryRequest{ResourceNames: []string{rootResourceName}}), expectRoot)
    		c.ExpectNoResponse(t)
    	})
    	t.Run("parallel", func(t *testing.T) {
    		s := setupSDS(t)
    		cert := s.Connect()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 17 20:12:58 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. pkg/test/framework/resource/setup.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package resource
    
    // SetupFn is a function used for performing setup actions.
    type SetupFn func(ctx Context) error
    
    // TeardownFn is a function used for performing tear-down actions.
    type TeardownFn func(ctx Context)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 1018 bytes
    - Viewed (0)
  5. releasenotes/notes/fix-47270.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: istioctl
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 08 02:20:29 UTC 2024
    - 193 bytes
    - Viewed (0)
  6. docs/distributed/SIZING.md

    # Erasure code sizing guide
    
    ## Toy Setups
    
    Capacity constrained environments, MinIO will work but not recommended for production.
    
    | servers | drives (per node) | stripe_size | parity chosen (default) | tolerance for reads (servers) | tolerance for writes (servers) |
    |--------:|------------------:|------------:|------------------------:|------------------------------:|-------------------------------:|
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go

    func TestWatchErrorIncorrectConfiguration(t *testing.T) {
    	scenarios := []struct {
    		name            string
    		setupFn         func(opts *setupOptions)
    		requestOpts     storage.ListOptions
    		enableWatchList bool
    		expectedErr     error
    	}{
    		{
    			name:        "no newFunc provided",
    			setupFn:     func(opts *setupOptions) { opts.newFunc = nil },
    			requestOpts: storage.ListOptions{ProgressNotify: true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/common/deployment/echos.go

    		}
    		res = append(res, p)
    	}
    	return res
    }
    
    // SetupSingleNamespace calls Setup and returns a SingleNamespaceView.
    func SetupSingleNamespace(view *SingleNamespaceView, cfg Config) resource.SetupFn {
    	cfg.NamespaceCount = 1
    	return func(ctx resource.Context) error {
    		// Perform a setup with 1 namespace.
    		var apps Echos
    		if err := Setup(&apps, cfg)(ctx); err != nil {
    			return err
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. samples/custom-bootstrap/README.md

    ## Outside of Kubernetes
    
    The annotation above configures a volume mount and configures Istio to use it.
    When running outside of Kubernetes or in custom setups, similar functionality can be achieved by setting the `ISTIO_BOOTSTRAP_OVERRIDE` variable pointing to a file containing the custom bootstrap.
    
    ## Cleanup
    
    ```bash
    kubectl delete -f custom-bootstrap.yaml
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 22:34:00 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. internal/http/dial_dnscache.go

    		host, port, err := net.SplitHostPort(addr)
    		if err != nil {
    			return nil, err
    		}
    
    		if net.ParseIP(host) != nil {
    			// For IP only setups there is no need for DNS lookups.
    			return baseDialCtx(ctx, "tcp", addr)
    		}
    
    		ips, err := lookupHost(ctx, host)
    		if err != nil {
    			return nil, err
    		}
    
    		for _, ip := range ips {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 03 19:30:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top