Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for cleanup (0.24 sec)

  1. common/scripts/kind_provisioner.sh

    #####################################################################
    
    # cleanup_kind_cluster takes a single parameter NAME
    # and deletes the KinD cluster with that name
    function cleanup_kind_cluster() {
      echo "Test exited with exit code $?."
      NAME="${1}"
      kind export logs --name "${NAME}" "${ARTIFACTS}/kind" -v9 || true
      if [[ -z "${SKIP_CLEANUP:-}" ]]; then
        echo "Cleaning up kind cluster"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  2. cni/test/install_cni.go

    			t.Logf("installer complete: %v", err)
    		} else {
    			t.Errorf("installer failed: %v", err)
    		}
    	}
    
    	if cleanErr := installer.Cleanup(); cleanErr != nil {
    		t.Errorf("Error during test CNI installer cleanup, error was: %s", cleanErr)
    	}
    }
    
    func runInstall(ctx context.Context, tempCNIConfDir, tempCNIBinDir,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload_test.go

    			"internalIP": "fd00:10:96::1",
    			"ingressIP":  "fd00:10:96::2",
    		},
    	}
    	for _, dir := range files {
    		if !dir.IsDir() {
    			continue
    		}
    		testdir := path.Join("testdata/vmconfig", dir.Name())
    		t.Cleanup(func() {
    			for k := range generated {
    				os.Remove(path.Join(testdir, k))
    			}
    		})
    		t.Run(dir.Name(), func(t *testing.T) {
    			createClientFunc := func(client kube.CLIClient) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. istioctl/pkg/proxystatus/proxystatus_test.go

    	) (*discovery.DiscoveryResponse, error) {
    		return &discovery.DiscoveryResponse{}, nil
    	}
    	t.Cleanup(func() {
    		multixds.GetXdsResponse = xds.GetXdsResponse
    	})
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.args, " ")), func(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. cni/pkg/install/install_test.go

    			isReady := &atomic.Value{}
    			isReady.Store(false)
    			installer := NewInstaller(cfg, isReady)
    			installer.cniConfigFilepath = cniConfigFilePath
    			installer.kubeconfigFilepath = kubeConfigFilePath
    			err := installer.Cleanup()
    			if (c.expectedFailure && err == nil) || (!c.expectedFailure && err != nil) {
    				t.Fatalf("expected failure: %t, got %v", c.expectedFailure, err)
    			}
    
    			// check if conf file is deleted/conflist file is updated
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables.go

    	iptablesBuilder := builder.NewIptablesRuleBuilder(ipbuildConfig(cfg.cfg))
    
    	// Insert jumps to our custom chains
    	// This is mostly just for visual tidiness and cleanup, as we can delete the secondary chains and jumps
    	// without polluting the main table too much.
    
    	// -t mangle -A PREROUTING -j ISTIO_PRERT
    	iptablesBuilder.AppendRule(
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. common-protos/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto

      // a termination signal and the time when the processes are forcibly halted with a kill signal.
      // Set this value longer than the expected cleanup time for your process.
      // Defaults to 30 seconds.
      // +optional
      optional int64 terminationGracePeriodSeconds = 4;
    
      // Optional duration in seconds the carp may be active on the node relative to
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. cni/pkg/install/install.go

    		if _, err := in.installAll(ctx); err != nil {
    			return err
    		}
    		installLog.Info("Istio CNI configuration and binaries validated/reinstalled.")
    	}
    }
    
    // Cleanup remove Istio CNI's config, kubeconfig file, and binaries.
    func (in *Installer) Cleanup() error {
    	installLog.Info("Cleaning up.")
    	if len(in.cniConfigFilepath) > 0 && file.Exists(in.cniConfigFilepath) {
    		if in.cfg.ChainedCNIPlugin {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  9. common/Makefile.common.mk

    	@cp -a $(TMP)/common-files/files/* $(TMP)/common-files/files/.devcontainer $(TMP)/common-files/files/.gitattributes $(shell pwd)
    	@rm -fr $(TMP)/common-files
    	@$(or $(COMMONFILES_POSTPROCESS), true)
    
    check-clean-repo:
    	@common/scripts/check_clean_repo.sh
    
    tidy-docker:
    	@docker image prune --all --force --filter="label=io.istio.repo=https://github.com/istio/tools" --filter="label!=io.istio.version=$(IMAGE_VERSION)"
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/testdata/config_dump.json

                "metadata": {
                  "build.type": "RELEASE",
                  "build.label": "dev",
                  "revision.sha": "ee85c5f28702f00621aed895915fca565796b9e4",
                  "revision.status": "Clean",
                  "ssl.version": "BoringSSL"
                }
              }
            }
          },
          "last_updated": "2023-12-26T05:57:09.894Z"
        },
        {
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 03 23:08:06 GMT 2024
    - 54.8K bytes
    - Viewed (1)
Back to top