Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for Added (0.17 sec)

  1. cni/pkg/nodeagent/informers.go

    	defer EventTotals.With(eventTypeTag.Value(event.Event.String())).Increment()
    
    	switch event.Event {
    	case controllers.EventAdd:
    		// pod was added to our cache
    		// we get here in 2 cases:
    		// 1. new pod was created on our node
    		// 2. we were restarted and current existing pods are added to our cache
    
    		// We have no good way to distinguish between these two cases from here. But we don't need to!
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    	Metrics bool   `msg:"m"`
    	NoOp    bool   `msg:"np"`
    }
    
    // DiskInfo is an extended type which returns current
    // disk usage per path.
    // The above means that any added/deleted fields are incompatible.
    //
    // The above means that any added/deleted fields are incompatible.
    //
    //msgp:tuple DiskInfo
    type DiskInfo struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    	UsedInodes uint64
    	FreeInodes uint64
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    	pod.Spec.Containers = []corev1.Container{app}
    
    	testDoAddRun(t, cniConf, excludedNS, pod, ns)
    
    	wasCalled := serverClose()
    	// If the pod is being added to a namespace that is explicitly excluded by plugin config denylist
    	// it should never be added, even if the namespace has the annotation
    	assert.Equal(t, wasCalled, false)
    }
    
    func TestCmdAdd(t *testing.T) {
    	pod, ns := buildFakePodAndNSForClient()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    		TierStats:               d.tiersUsageInfo(buckets),
    	}
    	return dui
    }
    
    // replace will add or replace an entry in the cache.
    // If a parent is specified it will be added to that if not already there.
    // If the parent does not exist, it will be added.
    func (d *dataUsageCache) replace(path, parent string, e dataUsageEntry) {
    	hash := hashPath(path)
    	if d.Cache == nil {
    		d.Cache = make(map[string]dataUsageEntry, 100)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  5. tests/named_polymorphic_test.go

    		Name: "treadmill 2",
    	})
    
    	if DB.Model(&hamster).Association("PreferredToy").Count() != 1 {
    		t.Errorf("Hamster's toys should be added with Append")
    	}
    
    	if DB.Model(&hamster).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's toys should be added with Append")
    	}
    
    	DB.Model(&hamster).Association("PreferredToy").Clear()
    
    	if DB.Model(&hamster2).Association("PreferredToy").Count() != 0 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Jul 08 09:59:40 GMT 2020
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/cgotest/overlaydir.go

    // license that can be found in the LICENSE file.
    
    package cgotest
    
    import (
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    // OverlayDir makes a minimal-overhead copy of srcRoot in which new files may be added.
    func OverlayDir(dstRoot, srcRoot string) error {
    	dstRoot = filepath.Clean(dstRoot)
    	if err := os.MkdirAll(dstRoot, 0777); err != nil {
    		return err
    	}
    
    	srcRoot, err := filepath.Abs(srcRoot)
    	if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 20:56:09 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. istioctl/pkg/clioptions/doc.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // Package clioptions contains flags which can be added to istioctl commands.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jul 13 01:59:17 GMT 2022
    - 683 bytes
    - Viewed (0)
  8. cmd/tier-sweeper.go

    	// 3. If bucket versioning is enabled and
    	//    a. version id is specified, remove its remote object.
    	//    b. version id is not specified, nothing to be done (a delete marker is added).
    	delTier := false
    	switch {
    	case !os.Versioned, os.Suspended: // 1, 2.a, 2.b
    		delTier = true
    	case os.Versioned && os.VersionID != "": // 3.a
    		delTier = true
    	}
    	if delTier {
    		return jentry{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  9. cni/test/install_cni.go

    			if op == "add" {
    				t.Logf("PASS: File %v was added to %v", f, tempCNIBinDir)
    				return nil
    			} else if op == "del" {
    				return fmt.Errorf("FAIL: File %v was not removed from %v", f, tempCNIBinDir)
    			}
    		} else {
    			if op == "add" {
    				return fmt.Errorf("FAIL: File %v was not added to %v", f, tempCNIBinDir)
    			} else if op == "del" {
    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)
  10. internal/crypto/metadata.go

    	// MetaContext will not be present.
    	// MetaContext only contains the bucket/object name if the client explicitly
    	// added it. However, when decrypting an object the bucket/object name must
    	// be part of the object. Therefore, the bucket/object name must be added
    	// to the context, if not present, whenever a decryption is performed.
    	MetaContext = "X-Minio-Internal-Server-Side-Encryption-Context"
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top