Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 278 for remove (0.2 sec)

  1. operator/cmd/mesh/operator-remove.go

    }
    
    func operatorRemoveCmd(ctx cli.Context, rootArgs *RootArgs, orArgs *operatorRemoveArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "remove",
    		Short: "Removes the Istio operator controller from the cluster.",
    		Long:  "The remove subcommand removes the Istio operator controller from the cluster.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if orArgs.revision == "" && !orArgs.purge {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. cmd/tier-sweeper.go

    	}
    
    	// 1. If bucket versioning is disabled, remove the remote object.
    	// 2. If bucket versioning is suspended and
    	//    a. version id is specified, remove its remote object.
    	//    b. version id is not specified, remove null version's remote object if it exists.
    	// 3. If bucket versioning is enabled and
    	//    a. version id is specified, remove its remote object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. cmd/object-api-deleteobject_test.go

    			"dir/object1",
    			[]string{"object0"},
    		},
    		// Test 3: remove an object inside a directory and checks if it is deleted
    		// but other sibling object in the same directory still exists
    		{
    			"bucket3",
    			[]objectUpload{{"dir/object1", "content"}, {"dir/object2", "content"}},
    			"dir/object1",
    			[]string{"dir/object2"},
    		},
    		// Test 4: remove a non empty directory and checks it has no effect
    		{
    			"bucket4",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  4. internal/config/lambda/event/targetlist.go

    }
    
    // TargetIDResult returns result of Remove/Send operation, sets err if
    // any for the associated TargetID
    type TargetIDResult struct {
    	// ID where the remove or send were initiated.
    	ID TargetID
    	// Stores any error while removing a target or while sending an event.
    	Err error
    }
    
    // Remove - closes and removes targets by given target IDs.
    func (list *TargetList) Remove(targetIDSet TargetIDSet) {
    	list.Lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  5. cmd/os-instrumented.go

    func Lstat(name string) (info os.FileInfo, err error) {
    	defer updateOSMetrics(osMetricLstat, name)(err)
    	return os.Lstat(name)
    }
    
    // Remove captures time taken to call os.Remove
    func Remove(deletePath string) (err error) {
    	defer updateOSMetrics(osMetricRemove, deletePath)(err)
    	return os.Remove(deletePath)
    }
    
    // Stat captures time taken to call os.Stat
    func Stat(name string) (info os.FileInfo, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  6. cni/test/install_cni.go

    	if chainedCNIPlugin {
    		rmCNIConfig(resultFile, t)
    	} else if err := os.Remove(resultFile); err != nil {
    		t.Fatalf("error removing CNI config file: %s", resultFile)
    	}
    	// Verify configuration is still valid after removal
    	compareConfResult(resultFile, expectedOutputFile, t)
    	t.Log("PASS: Istio CNI configuration still valid after removal")
    
    	// Shutdown the install-cni
    	cancel()
    	wg.Wait()
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  7. callbacks.go

    }
    
    func (p *processor) Register(name string, fn func(*DB)) error {
    	return (&callback{processor: p}).Register(name, fn)
    }
    
    func (p *processor) Remove(name string) error {
    	return (&callback{processor: p}).Remove(name)
    }
    
    func (p *processor) Replace(name string, fn func(*DB)) error {
    	return (&callback{processor: p}).Replace(name, fn)
    }
    
    func (p *processor) compile() (err error) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 8.6K bytes
    - Viewed (1)
  8. cmd/xl-storage-meta-inline.go

    	// If not found, just return.
    	if !found {
    		return false
    	}
    
    	// Reserialize...
    	x.serialize(plSize, keys, vals)
    	return true
    }
    
    // remove will remove one or more keys.
    // Returns true if any key was found.
    func (x *xlMetaInlineData) remove(keys ...string) bool {
    	in := x.afterVersion()
    	sz, buf, _ := msgp.ReadMapHeaderBytes(in)
    	newKeys := make([][]byte, 0, sz)
    	newVals := make([][]byte, 0, sz)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  9. cni/pkg/pluginlistener/listener.go

    	"os"
    	"path/filepath"
    
    	"istio.io/istio/pkg/log"
    )
    
    func NewListener(path string) (net.Listener, error) {
    	// Remove unix socket before use.
    	if err := os.Remove(path); err != nil && !os.IsNotExist(err) {
    		// Anything other than "file not found" is an error.
    		return nil, fmt.Errorf("failed to remove unix://%s: %v", path, err)
    	}
    
    	// Attempt to create the folder in case it doesn't exist
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. cmd/tier-journal.go

    			// later.
    			jd.addEntry(entry)
    		}
    	}
    	if done {
    		os.Remove(jd.ReadOnlyPath())
    	}
    }
    
    func deleteObjectFromRemoteTier(ctx context.Context, objName, rvID, tierName string) error {
    	w, err := globalTierConfigMgr.getDriver(tierName)
    	if err != nil {
    		return err
    	}
    	err = w.Remove(ctx, objName, remoteVersionID(rvID))
    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top