Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,902 for cmutil (0.21 sec)

  1. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    	"bytes"
    	"fmt"
    	"net/http"
    	"strings"
    	"testing"
    
    	"github.com/spf13/cobra"
    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pkg/kube"
    )
    
    type execTestCase struct {
    	execClientConfig map[string][]byte
    	args             []string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/util.go

    		wh := webhook.Webhooks[i]
    		// this is an abomination, but if this isn't a per-revision webhook, we want to make it ineffectual
    		// without deleting it. Add a nonsense match.
    		wh.NamespaceSelector = util.NeverMatch
    		wh.ObjectSelector = util.NeverMatch
    		webhook.Webhooks[i] = wh
    	}
    	admit := client.AdmissionregistrationV1().MutatingWebhookConfigurations()
    	_, err = admit.Update(ctx, &webhook, metav1.UpdateOptions{})
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/upgrade/node/kubeletconfig.go

    	"fmt"
    
    	"github.com/pkg/errors"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow"
    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	"k8s.io/kubernetes/cmd/kubeadm/app/phases/upgrade"
    )
    
    var (
    	kubeletConfigLongDesc = cmdutil.LongDesc(`
    		Download the kubelet configuration from the kubelet-config ConfigMap stored in the cluster
    		`)
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/upgrade/upgrade.go

    limitations under the License.
    */
    
    package upgrade
    
    import (
    	"io"
    
    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
    )
    
    // applyPlanFlags holds the values for the common flags in `kubeadm upgrade apply` and `kubeadm upgrade plan`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:18:29 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  5. pkg/test/framework/components/istio/util.go

    	"istio.io/istio/pkg/test/framework/components/environment/kube"
    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/scopes"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/test/util/yml"
    )
    
    var dummyValidationVirtualServiceTemplate = `
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: validation-readiness-dummy-virtual-service
      namespace: %s
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 17:13:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. cluster/pre-existing/util.sh

    # for me details on using a pre-existing provider.
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
    
    source "${KUBE_ROOT}/cluster/common.sh"
    source "${KUBE_ROOT}/hack/lib/util.sh"
    
    function detect-project() {
      if [[ -z "${MASTER_IP:-}" ]]; then
        echo "Set 'MASTER_IP' to the instance assigned to be the Kubernetes master" 1>&2
        exit 1
      fi
    
      if [[ -z "${PROJECT:-}" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 25 21:33:22 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/config.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	"k8s.io/kubernetes/cmd/kubeadm/app/componentconfigs"
    	"k8s.io/kubernetes/cmd/kubeadm/app/constants"
    	"k8s.io/kubernetes/cmd/kubeadm/app/features"
    	"k8s.io/kubernetes/cmd/kubeadm/app/images"
    	configutil "k8s.io/kubernetes/cmd/kubeadm/app/util/config"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/output"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. test/fixedbugs/issue21576.go

    package main
    
    import (
    	"bytes"
    	"context"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"time"
    )
    
    const prog = `
    package main
    
    import _ "os/signal"
    
    func main() {
      c := make(chan int)
      c <- 1
    }
    `
    
    func main() {
    	dir, err := ioutil.TempDir("", "21576")
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer os.RemoveAll(dir)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/util.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	klabels "k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/selection"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/intstr"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/host"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 28 02:01:47 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. pkg/controller/bootstrap/util.go

    */
    
    package bootstrap
    
    import (
    	"context"
    	"time"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/api/core/v1"
    	bootstrapapi "k8s.io/cluster-bootstrap/token/api"
    	bootstrapsecretutil "k8s.io/cluster-bootstrap/util/secrets"
    )
    
    func validateSecretForSigning(ctx context.Context, secret *v1.Secret) (tokenID, tokenSecret string, ok bool) {
    	logger := klog.FromContext(ctx)
    	nameTokenID, ok := bootstrapsecretutil.ParseName(secret.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 02:18:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top