Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 869 for Patches (0.15 sec)

  1. cmd/kubeadm/app/util/patches/patches.go

    	// Data must contain the bytes that will be patched.
    	Data []byte
    }
    
    // PatchManager defines an object that can apply patches.
    type PatchManager struct {
    	patchSets    []*patchSet
    	knownTargets []string
    	output       io.Writer
    }
    
    // patchSet defines a set of patches of a certain type that can patch a PatchTarget.
    type patchSet struct {
    	targetName string
    	patchType  types.PatchType
    	patches    []string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/kubeadm/app/apis/kubeadm/types.go

    	// The flag "--skip-phases" takes precedence over this field.
    	SkipPhases []string
    
    	// Patches contains options related to applying patches to components deployed by kubeadm during
    	// "kubeadm init".
    	Patches *Patches
    
    	// Timeouts holds various timeouts that apply to kubeadm commands.
    	Timeouts *Timeouts
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/upgrade/apply.go

    	} else {
    		return cmdutil.TypeMismatchErr("renewCerts", "bool")
    	}
    
    	if len(flags.patchesDir) > 0 {
    		upgradeCfg.Apply.Patches = &kubeadmapi.Patches{Directory: flags.patchesDir}
    	} else if upgradeCfg.Apply.Patches == nil {
    		upgradeCfg.Apply.Patches = &kubeadmapi.Patches{}
    	}
    
    	// Now; perform the upgrade procedure
    	if err := PerformControlPlaneUpgrade(flags, client, waiter, initCfg, upgradeCfg); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top