- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MarshalInitConfigurationToBytes (0.22 sec)
-
cmd/kubeadm/app/util/config/initconfiguration.go
return nil, err } return initcfg, nil } // MarshalInitConfigurationToBytes marshals the internal InitConfiguration object to bytes. It writes the embedded // ClusterConfiguration object with ComponentConfigs out as separate YAML documents func MarshalInitConfigurationToBytes(cfg *kubeadmapi.InitConfiguration, gv schema.GroupVersion) ([]byte, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 12:41:16 UTC 2024 - 17.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/common.go
func MarshalKubeadmConfigObject(obj runtime.Object, gv schema.GroupVersion) ([]byte, error) { switch internalcfg := obj.(type) { case *kubeadmapi.InitConfiguration: return MarshalInitConfigurationToBytes(internalcfg, gv) default: return kubeadmutil.MarshalToYamlForCodecs(obj, gv, kubeadmscheme.Codecs) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 18.1K bytes - Viewed (0)