Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetUserSupplied (0.23 sec)

  1. cmd/kubeadm/app/componentconfigs/configset.go

    			cfg := h.CreateEmpty()
    			if err := cfg.Unmarshal(docmap); err != nil {
    				return nil, err
    			}
    			// consider all successfully loaded configs from a document map as user supplied
    			cfg.SetUserSupplied(true)
    			return cfg, nil
    		}
    	}
    	return nil, nil
    }
    
    // fromConfigMap is an utility function, which will load the value of a key of a config map and use h.FromDocumentMap() to perform the parsing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:36:00 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/upgrade/postupgrade_test.go

    }
    
    func (cc *componentConfig) Mutate() error {
    	return nil
    }
    
    func (cc *componentConfig) IsUserSupplied() bool {
    	return false
    }
    func (cc *componentConfig) SetUserSupplied(userSupplied bool) {
    	cc.userSupplied = userSupplied
    }
    
    // moveFiles moves files from one directory to another.
    func moveFiles(files map[string]string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 11:40:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/types.go

    	// IsUserSupplied indicates if the component config was supplied or modified by a user or was kubeadm generated
    	IsUserSupplied() bool
    
    	// SetUserSupplied sets the state of the component config "user supplied" flag to, either true, or false.
    	SetUserSupplied(userSupplied bool)
    
    	// Mutate allows applying pre-defined modifications to the config before it's marshaled.
    	Mutate() error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top