- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for UpgradeConfiguration (0.37 sec)
-
cmd/kubeadm/app/util/config/upgradeconfiguration.go
return documentMapToUpgradeConfiguration(gvkmap, false) } // LoadUpgradeConfigurationFromFile loads UpgradeConfiguration from a file. func LoadUpgradeConfigurationFromFile(cfgPath string, _ LoadOrDefaultConfigurationOptions) (*kubeadmapi.UpgradeConfiguration, error) { var err error var upgradeCfg *kubeadmapi.UpgradeConfiguration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 7.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/upgradeconfiguration_test.go
options := LoadOrDefaultConfigurationOptions{} tests := []struct { name string cfg *kubeadmapiv1.UpgradeConfiguration want *kubeadmapi.UpgradeConfiguration }{ { name: "config is empty", cfg: &kubeadmapiv1.UpgradeConfiguration{}, want: &kubeadmapi.UpgradeConfiguration{ Apply: kubeadmapi.UpgradeApplyConfiguration{ CertificateRenewal: ptr.To(true), EtcdUpgrade: ptr.To(true),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 11.8K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.defaults.go
scheme.AddTypeDefaultingFunc(&ResetConfiguration{}, func(obj interface{}) { SetObjectDefaults_ResetConfiguration(obj.(*ResetConfiguration)) }) scheme.AddTypeDefaultingFunc(&UpgradeConfiguration{}, func(obj interface{}) { SetObjectDefaults_UpgradeConfiguration(obj.(*UpgradeConfiguration)) }) return nil } func SetObjectDefaults_ClusterConfiguration(in *ClusterConfiguration) { SetDefaults_ClusterConfiguration(in) if in.Etcd.Local != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 3.3K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go
} if err := s.AddGeneratedConversionFunc((*UpgradeConfiguration)(nil), (*kubeadm.UpgradeConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1beta4_UpgradeConfiguration_To_kubeadm_UpgradeConfiguration(a.(*UpgradeConfiguration), b.(*kubeadm.UpgradeConfiguration), scope) }); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 61.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/node.go
return d.etcdUpgrade } // RenewCerts returns the renewCerts flag. func (d *nodeData) RenewCerts() bool { return d.renewCerts } // Cfg returns upgradeConfiguration. func (d *nodeData) Cfg() *kubeadmapi.UpgradeConfiguration { return d.cfg } // InitCfg returns the InitConfiguration. func (d *nodeData) InitCfg() *kubeadmapi.InitConfiguration { return d.initCfg }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 10K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/register.go
) func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &InitConfiguration{}, &ClusterConfiguration{}, &JoinConfiguration{}, &ResetConfiguration{}, &UpgradeConfiguration{}, ) return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go
func (in *UpgradeConfiguration) DeepCopy() *UpgradeConfiguration { if in == nil { return nil } out := new(UpgradeConfiguration) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *UpgradeConfiguration) DeepCopyObject() runtime.Object {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 25.2K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/register.go
} func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &InitConfiguration{}, &ClusterConfiguration{}, &JoinConfiguration{}, &ResetConfiguration{}, &UpgradeConfiguration{}, ) metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/data_test.go
func (t *testData) RenewCerts() bool { return false } func (t *testData) DryRun() bool { return false } func (t *testData) Cfg() *kubeadmapi.UpgradeConfiguration { return nil } func (t *testData) InitCfg() *kubeadmapi.InitConfiguration { return nil } func (t *testData) IsControlPlaneNode() bool { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/marshal_test.go
name string gvks []schema.GroupVersionKind kind string expected bool }{ { name: "no UpgradeConfiguration found", gvks: []schema.GroupVersionKind{ {Group: "foo.k8s.io", Version: "v1", Kind: "Foo"}, }, expected: false, }, { name: "UpgradeConfiguration is found", gvks: []schema.GroupVersionKind{ {Group: "foo.k8s.io", Version: "v1", Kind: "Foo"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 11.6K bytes - Viewed (0)