Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetUserSupplied (0.16 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/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