Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for metav1 (0.07 sec)

  1. istioctl/pkg/describe/describe.go

    			"See %s.\n", url.DeploymentRequirements)
    	}
    }
    
    func kname(meta metav1.ObjectMeta) string {
    	if meta.Namespace == describeNamespace {
    		return meta.Name
    	}
    
    	// Use the Istio convention pod-name[.namespace]
    	return fmt.Sprintf("%s.%s", meta.Name, meta.Namespace)
    }
    
    func printService(writer io.Writer, svc corev1.Service, pod *corev1.Pod) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret_test.go

    	kubeSystemNamespace    = &v1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "kube-system",
    			UID:  kubeSystemNamespaceUID,
    		},
    	}
    )
    
    const (
    	testNamespace          = "istio-system-test"
    	testServiceAccountName = "test-service-account"
    )
    
    func makeServiceAccount(secrets ...string) *v1.ServiceAccount {
    	sa := &v1.ServiceAccount{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      testServiceAccountName,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. istioctl/pkg/precheck/precheck.go

    		"1.21"))
    	return nil
    }
    
    func checkPassthroughTargetPorts(cli kube.CLIClient, messages *diag.Messages) error {
    	ses, err := cli.Istio().NetworkingV1().ServiceEntries(metav1.NamespaceAll).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return err
    	}
    	for _, se := range ses.Items {
    		if se.Spec.Resolution != networking.ServiceEntry_NONE {
    			continue
    		}
    		changed := false
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/podcgroupns_test.go

    package nodeagent
    
    import (
    	"testing"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestWithProcFs(t *testing.T) {
    	n := NewPodNetnsProcFinder(fakeFs())
    	pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{
    		Name:      "foo",
    		Namespace: "bar",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. istioctl/pkg/analyze/analyze.go

    	"context"
    	"fmt"
    	"os"
    	"path/filepath"
    	"runtime"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/mattn/go-isatty"
    	"github.com/spf13/cobra"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/client-go/tools/clientcmd"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/istioctl/pkg/util/formatting"
    	"istio.io/istio/pkg/cluster"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig.go

    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"regexp"
    	"strings"
    
    	"github.com/hashicorp/go-multierror"
    	"github.com/spf13/cobra"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/completion"
    	"istio.io/istio/istioctl/pkg/kubeinject"
    	istioctlutil "istio.io/istio/istioctl/pkg/util"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    	vers, _, metaV, buf, err := decodeXLHeaders(x)
    	if err != nil {
    		return nil, err
    	}
    	var succModTime time.Time
    	isLatest := true
    	dst := make([]FileInfo, 0, vers)
    	var xl xlMetaV2Version
    	err = decodeVersions(buf, vers, func(idx int, hdr, meta []byte) error {
    		if _, err := xl.unmarshalV(metaV, meta); err != nil {
    			return err
    		}
    		if !xl.Valid() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  8. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            checkVersionParsing("1.0M2", 0, 0, 0, 0, "1.0M2");
            checkVersionParsing("1.0RC2", 0, 0, 0, 0, "1.0RC2");
            checkVersionParsing("1.1.2.beta1", 1, 1, 2, 0, "beta1");
            checkVersionParsing("1.7.3.beta1", 1, 7, 3, 0, "beta1");
            checkVersionParsing("1.7.3.0", 0, 0, 0, 0, "1.7.3.0");
            checkVersionParsing("1.7.3.0-1", 0, 0, 0, 0, "1.7.3.0-1");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common.go

    		}
    
    		// Always check data, if we got it.
    		if (len(meta.Data) > 0 || meta.Size == 0) && len(meta.Parts) > 0 {
    			checksumInfo := meta.Erasure.GetChecksumInfo(meta.Parts[0].Number)
    			verifyErr := bitrotVerify(bytes.NewReader(meta.Data),
    				int64(len(meta.Data)),
    				meta.Erasure.ShardFileSize(meta.Size),
    				checksumInfo.Algorithm,
    				checksumInfo.Hash, meta.Erasure.ShardSize())
    			dataErrsByPart[0][i] = convPartErrToInt(verifyErr)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v1.go

    //go:generate msgp -file=$GOFILE -unexported
    
    // A xlMetaV1Object represents `xl.meta` metadata header.
    type xlMetaV1Object struct {
    	Version string   `json:"version"` // Version of the current `xl.meta`.
    	Format  string   `json:"format"`  // Format of the current `xl.meta`.
    	Stat    StatInfo `json:"stat"`    // Stat of the current object `xl.meta`.
    	// Erasure coded info for the current object `xl.meta`.
    	Erasure ErasureInfo `json:"erasure"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top