Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for strategicpatch (0.25 sec)

  1. pkg/util/pod/pod.go

    package pod
    
    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"fmt"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/strategicpatch"
    	clientset "k8s.io/client-go/kubernetes"
    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    )
    
    // PatchPodStatus patches pod status. It returns true and avoids an update if the patch contains no changes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 15:22:29 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. pkg/test/util/yml/apply.go

    // limitations under the License.
    
    package yml
    
    import (
    	"fmt"
    	"reflect"
    
    	appsv1 "k8s.io/api/apps/v1"
    	"k8s.io/apimachinery/pkg/util/strategicpatch"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/tmpl"
    )
    
    // ApplyNamespace applies the given namespaces to the resources in the yamlText if not set.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 07:02:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/errors.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package strategicpatch
    
    import (
    	"fmt"
    )
    
    type LookupPatchMetaError struct {
    	Path string
    	Err  error
    }
    
    func (e LookupPatchMetaError) Error() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 22:35:14 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  4. pkg/controller/volume/expand/expand_controller_test.go

    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/strategicpatch"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/informers"
    	coretesting "k8s.io/client-go/testing"
    	csitrans "k8s.io/csi-translation-lib"
    	csitranslationplugins "k8s.io/csi-translation-lib/plugins"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. pkg/scheduler/util/utils.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/net"
    	"k8s.io/apimachinery/pkg/util/strategicpatch"
    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/tools/cache"
    	"k8s.io/client-go/util/retry"
    	corev1helpers "k8s.io/component-helpers/scheduling/corev1"
    	"k8s.io/klog/v2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 01:40:44 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. pkg/volume/util/resize_util.go

    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/strategicpatch"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	clientset "k8s.io/client-go/kubernetes"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/volume"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:30:35 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/markcontrolplane/markcontrolplane_test.go

    )
    
    func TestMarkControlPlane(t *testing.T) {
    	// Note: this test takes advantage of the deterministic marshalling of
    	// JSON provided by strategicpatch so that "expectedPatch" can use a
    	// string equality test instead of a logical JSON equality test. That
    	// will need to change if strategicpatch's behavior changes in the
    	// future.
    	tests := []struct {
    		name           string
    		existingLabels []string
    		existingTaints []v1.Taint
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 25 14:22:20 UTC 2022
    - 5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/meta.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package strategicpatch
    
    import (
    	"errors"
    	"fmt"
    	"reflect"
    	"strings"
    
    	"k8s.io/apimachinery/pkg/util/mergepatch"
    	forkedjson "k8s.io/apimachinery/third_party/forked/golang/json"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. pkg/controller/ttl/ttl_controller.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/json"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apimachinery/pkg/util/strategicpatch"
    	"k8s.io/apimachinery/pkg/util/wait"
    	informers "k8s.io/client-go/informers/core/v1"
    	clientset "k8s.io/client-go/kubernetes"
    	listers "k8s.io/client-go/listers/core/v1"
    	"k8s.io/client-go/tools/cache"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/patches/patches.go

    	"io"
    	"os"
    	"path/filepath"
    	"regexp"
    	"strings"
    	"sync"
    
    	"github.com/pkg/errors"
    	jsonpatch "gopkg.in/evanphx/json-patch.v4"
    
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/strategicpatch"
    	utilyaml "k8s.io/apimachinery/pkg/util/yaml"
    	kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
    	"sigs.k8s.io/yaml"
    )
    
    // PatchTarget defines a target to be patched, such as a control-plane static Pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top