Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 251 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/kubeadm/app/apis/kubeadm/v1beta4/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"`
    
    	// Timeouts holds various timeouts that apply to kubeadm commands.
    	// +optional
    	Timeouts *Timeouts `json:"timeouts,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/addons/dns/dns.go

    }
    
    // applyCoreDNSDeploymentPatches reads patches from a directory and applies them over the input coreDNSDeploymentBytes
    func applyCoreDNSDeploymentPatches(coreDNSDeploymentBytes []byte, patchesDir string, output io.Writer) ([]byte, error) {
    	patchManager, err := patches.GetPatchManagerForPath(patchesDir, patches.KnownTargets(), output)
    	if err != nil {
    		return nil, err
    	}
    
    	patchTarget := &patches.PatchTarget{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/upgrade/node.go

    	initCfg.NodeRegistration.IgnorePreflightErrors = sets.List(ignorePreflightErrorsSet)
    
    	var patchesDir string
    	if upgradeCfg.Node.Patches != nil {
    		patchesDir = cmdutil.ValueFromFlagsOrConfig(cmd.Flags(), options.Patches, upgradeCfg.Node.Patches.Directory, nodeOptions.patchesDir).(string)
    	} else {
    		patchesDir = nodeOptions.patchesDir
    	}
    
    	return &nodeData{
    		cfg:                   upgradeCfg,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top