- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for patchSets (0.14 sec)
-
cmd/kubeadm/app/util/patches/patches.go
if err != nil { return err } // Iterate over the patchSets. for _, patchSet := range pm.patchSets { if patchSet.targetName != patchTarget.Name { continue } // Iterate over the patches in the patchSets. for _, patch := range patchSet.patches { patchBytes := []byte(patch) // Patch based on the patch type. switch patchSet.patchType { // JSON patch. case types.JSONPatchType:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 10.2K bytes - Viewed (0) -
cmd/kubeadm/app/util/patches/patches_test.go
targetName string patchType types.PatchType expectedPatchSet *patchSet data string }{ { name: "valid: YAML patches are separated and converted to JSON", targetName: "etcd", patchType: types.StrategicMergePatchType, data: "foo: bar\n---\nfoo: baz\n", expectedPatchSet: &patchSet{ targetName: "etcd", patchType: types.StrategicMergePatchType,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 14:24:11 UTC 2023 - 11.9K bytes - Viewed (0) -
pkg/controller/testutil/test_utils.go
patchOpts := opts.ToPatchOptions() data, err := json.Marshal(node) if err != nil { return nil, err } name := node.Name if name == nil { return nil, fmt.Errorf("deployment.Name must be provided to Apply") } return m.Patch(ctx, *name, types.ApplyPatchType, data, patchOpts) } // ApplyStatus applies a status of a Node in the fake store.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 15.6K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/listener_patch.go
merge.Merge(lis, lp.Value) } } patchListenerFilters(patchContext, patches[networking.EnvoyFilter_LISTENER_FILTER], lis) patchFilterChains(patchContext, patches, lis) } // patchListenerFilters patches passed in listener filters with listener filter patches. func patchListenerFilters(patchContext networking.EnvoyFilter_PatchContext, patches []*model.EnvoyFilterConfigPatchWrapper, lis *listener.Listener, ) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 15:39:29 UTC 2024 - 26.7K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/rc_patch.go
) (out *route.RouteConfiguration) { defer runtime.HandleCrash(runtime.LogPanic, func(any) { IncrementEnvoyFilterErrorMetric(Route) log.Errorf("route patch %s/%s caused panic, so the patches did not take effect", efw.Namespace, efw.Name) }) // In case the patches cause panic, use the route generated before to reduce the influence. out = routeConfiguration if efw == nil { return out } var portMap model.GatewayPortMap
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 13K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.deepcopy.go
func (in *Patches) DeepCopyInto(out *Patches) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Patches. func (in *Patches) DeepCopy() *Patches { if in == nil { return nil } out := new(Patches) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 24.1K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta3/zz_generated.conversion.go
return err } if err := s.AddGeneratedConversionFunc((*Patches)(nil), (*kubeadm.Patches)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1beta3_Patches_To_kubeadm_Patches(a.(*Patches), b.(*kubeadm.Patches), scope) }); err != nil { return err } if err := s.AddGeneratedConversionFunc((*kubeadm.Patches)(nil), (*Patches)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 36.4K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go
func (in *Patches) DeepCopyInto(out *Patches) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Patches. func (in *Patches) DeepCopy() *Patches { if in == nil { return nil } out := new(Patches) in.DeepCopyInto(out) return out }
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/v1beta3/types.go
// The flag "--skip-phases" takes precedence over this field. // +optional SkipPhases []string `json:"skipPhases,omitempty"` // Patches contains options related to applying patches to components deployed by kubeadm during // "kubeadm init". // +optional Patches *Patches `json:"patches,omitempty"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 19.6K bytes - Viewed (0) -
pkg/registry/core/service/strategy_test.go
name: "don't clear changed clusterIP", svc: makeValidService(), patch: patches(setTypeExternalName, changeClusterIPs), expect: makeValidServiceCustom(setTypeExternalName, changeClusterIPs, clearIPFamilies, clearIPFamilyPolicy), }, { name: "don't clear changed ipFamilies", svc: makeValidService(), patch: patches(setTypeExternalName, changeIPFamilies),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 32.4K bytes - Viewed (0)