- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 144 for funcdata (0.18 sec)
-
cmd/kubeadm/app/cmd/phases/init/markcontrolplane.go
options.NodeName, options.CfgPath, options.DryRun, }, Run: runMarkControlPlane, } } // runMarkControlPlane executes mark-control-plane checks logic. func runMarkControlPlane(c workflow.RunData) error { data, ok := c.(InitData) if !ok { return errors.New("mark-control-plane phase invoked with an invalid data struct") } client, err := data.Client() if err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 11 08:02:50 UTC 2022 - 2.1K bytes - Viewed (0) -
src/encoding/xml/typeinfo.go
name string xmlns string flags fieldFlags parents []string } type fieldFlags int const ( fElement fieldFlags = 1 << iota fAttr fCDATA fCharData fInnerXML fComment fAny fOmitEmpty fMode = fElement | fAttr | fCDATA | fCharData | fInnerXML | fComment | fAny xmlName = "XMLName" ) var tinfoMap sync.Map // map[reflect.Type]*typeInfo var nameType = reflect.TypeFor[Name]()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:23:29 UTC 2023 - 9.6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/controlplanejoin.go
Run: runMarkControlPlanePhase, InheritFlags: getControlPlaneJoinPhaseFlags("mark-control-plane"), ArgsValidator: cobra.NoArgs, } } func runEtcdPhase(c workflow.RunData) error { data, ok := c.(JoinData) if !ok { return errors.New("control-plane-join phase invoked with an invalid data struct") } if data.Cfg().ControlPlane == nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 03:09:42 UTC 2024 - 5.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/kubeletfinalize.go
// TODO: remove in 1.32. // https://github.com/kubernetes/kubeadm/issues/3046 func runKubeletFinalizeEnableClientCertRotationWrapped(c workflow.RunData) error { if enableClientCertRotationRun { return nil } klog.Warning("The phase 'experimental-cert-rotation' is deprecated and will be removed in a future release. " + "Use 'enable-client-cert-rotation' instead")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 10:54:51 UTC 2024 - 6.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/certs_test.go
defer os.RemoveAll(tmpdir) certstestutil.WritePKIFiles(t, tmpdir, test.Files) r := workflow.NewRunner() r.AppendPhase(NewCertsPhase()) r.SetDataInitializer(func(*cobra.Command, []string) (workflow.RunData, error) { certsData := &testCertsData{ cfg: testutil.GetDefaultInternalConfig(t), } certsData.cfg.CertificatesDir = tmpdir return certsData, nil })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 2.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/uploadcerts.go
options.CfgPath, options.KubeconfigPath, options.UploadCerts, options.CertificateKey, options.SkipCertificateKeyPrint, options.DryRun, }, } } func runUploadCerts(c workflow.RunData) error { data, ok := c.(InitData) if !ok { return errors.New("upload-certs phase invoked with an invalid data struct") } if !data.UploadCerts() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 04:00:49 UTC 2022 - 2.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/checketcd.go
func NewCheckEtcdPhase() workflow.Phase { return workflow.Phase{ Name: "check-etcd", Run: runCheckEtcdPhase, Hidden: true, } } func runCheckEtcdPhase(c workflow.RunData) error { data, ok := c.(JoinData) if !ok { return errors.New("check-etcd phase invoked with an invalid data struct") } // Skip if this is not a control plane if data.Cfg().ControlPlane == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 02 11:25:47 UTC 2022 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope.go
s := cryptobyte.String(data) if ok := s.ReadUint16LengthPrefixed(&encKey); !ok { return nil, false, fmt.Errorf("invalid data encountered by envelope transformer: failed to read uint16 length prefixed data") } encData := []byte(s) // Look up the decrypted DEK from cache or Envelope. transformer := t.getTransformer(encKey) if transformer == nil { if t.cacheEnabled { value.RecordCacheMiss() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 14:23:50 UTC 2023 - 6.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/preflight.go
options.ImageRepository, options.NodeCRISocket, options.IgnorePreflightErrors, options.DryRun, }, } } // runPreflight executes preflight checks logic. func runPreflight(c workflow.RunData) error { data, ok := c.(InitData) if !ok { return errors.New("preflight phase invoked with an invalid data struct") } fmt.Println("[preflight] Running pre-flight checks")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 03:55:23 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/waitcontrolplane.go
// https://github.com/kubernetes/kubeadm/issues/2907 Short: "EXPERIMENTAL: Wait for the control plane to start", Run: runWaitControlPlanePhase, } return phase } func runWaitControlPlanePhase(c workflow.RunData) error { data, ok := c.(JoinData) if !ok { return errors.New("wait-control-plane phase invoked with an invalid data struct") } if data.Cfg().ControlPlane == nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 15:33:38 UTC 2024 - 2.8K bytes - Viewed (0)