Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for configBytes (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugins.go

    	if config == nil || reflect.ValueOf(config).IsNil() {
    		return nil, nil, nil
    	}
    
    	configBytes, err := io.ReadAll(config)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	return bytes.NewBuffer(configBytes), bytes.NewBuffer(configBytes), nil
    }
    
    // NewFromPlugins returns an admission.Interface that will enforce admission control decisions of all
    // the given plugins.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/config/upgradeconfiguration.go

    	// Otherwise, we have a config file. Let's load it.
    	configBytes, err := os.ReadFile(cfgPath)
    	if err != nil {
    		return nil, errors.Wrapf(err, "unable to load config from file %q", cfgPath)
    	}
    
    	// Split the YAML documents in the file into a DocumentMap
    	docmap, err := kubeadmutil.SplitYAMLDocuments(configBytes)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. src/syscall/ztypes_darwin_arm64.go

    	Count     int32
    	Pad_cgo_0 [4]byte
    }
    
    type Fbootstraptransfer_t struct {
    	Offset int64
    	Length uint64
    	Buffer *byte
    }
    
    type Log2phys_t struct {
    	Flags       uint32
    	Contigbytes int64
    	Devoffset   int64
    }
    
    type Fsid struct {
    	Val [2]int32
    }
    
    type Dirent struct {
    	Ino       uint64
    	Seekoff   uint64
    	Reclen    uint16
    	Namlen    uint16
    	Type      uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  4. src/syscall/ztypes_darwin_amd64.go

    	Count     int32
    	Pad_cgo_0 [4]byte
    }
    
    type Fbootstraptransfer_t struct {
    	Offset int64
    	Length uint64
    	Buffer *byte
    }
    
    type Log2phys_t struct {
    	Flags       uint32
    	Contigbytes int64
    	Devoffset   int64
    }
    
    type Fsid struct {
    	Val [2]int32
    }
    
    type Dirent struct {
    	Ino       uint64
    	Seekoff   uint64
    	Reclen    uint16
    	Namlen    uint16
    	Type      uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.9K bytes
    - Viewed (0)
Back to top