Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,363 for cmutil (0.38 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/rest/response_checker_test.go

    		expectError bool
    		expected    error
    		name        string
    	}{
    		{
    			resp: &http.Response{
    				Body:       ioutil.NopCloser(bytes.NewBufferString("Success")),
    				StatusCode: http.StatusOK,
    			},
    			expectError: false,
    			name:        "ok",
    		},
    		{
    			resp: &http.Response{
    				Body:       ioutil.NopCloser(bytes.NewBufferString("Invalid request.")),
    				StatusCode: http.StatusBadRequest,
    			},
    			expectError: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 19:04:33 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/telemetry/util.go

    // limitations under the License.
    package telemetry
    
    import (
    	"sort"
    
    	"istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/config/analysis"
    	"istio.io/istio/pkg/config/analysis/analyzers/util"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    func getNames(entries []*resource.Instance) []string {
    	names := make([]string, 0, len(entries))
    	for _, rs := range entries {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/init/certs.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow"
    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
    	certsphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/certs"
    	kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil"
    )
    
    var (
    	saKeyLongDesc = fmt.Sprintf(cmdutil.LongDesc(`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/util/util.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package util
    
    import (
    	"errors"
    	"fmt"
    	"strings"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/sets"
    	corelisters "k8s.io/client-go/listers/core/v1"
    	"k8s.io/component-helpers/storage/ephemeral"
    	"k8s.io/klog/v2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top