Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for TAG (0.12 sec)

  1. istioctl/pkg/tag/tag.go

    	cmd := &cobra.Command{
    		Use:   "generate <revision-tag>",
    		Short: "Generate configuration for a revision tag to stdout",
    		Long: `Create a revision tag and output to the command's stdout. Tag an Istio control plane revision for use with namespace istio.io/rev
    injection labels.`,
    		Example: `  # Create a revision tag from the "1-8-0" revision
      istioctl tag generate prod --revision 1-8-0 > tag.yaml
    
      # Apply the tag to cluster
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/tag.go

    func (tag Tag) IsEmpty() bool {
    	return tag.Key == ""
    }
    
    // Validate checks this tag.
    func (tag Tag) Validate() error {
    	if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 {
    		return errInvalidTagKey
    	}
    
    	if utf8.RuneCountInString(tag.Value) > 256 {
    		return errInvalidTagValue
    	}
    
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  3. internal/bucket/replication/tag.go

    )
    
    func (tag Tag) String() string {
    	return tag.Key + "=" + tag.Value
    }
    
    // IsEmpty returns whether this tag is empty or not.
    func (tag Tag) IsEmpty() bool {
    	return tag.Key == ""
    }
    
    // Validate checks this tag.
    func (tag Tag) Validate() error {
    	if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 {
    		return errInvalidTagKey
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/tag_test.go

    							Name:   "istio-revision-tag-wrong",
    							Labels: map[string]string{IstioTagLabel: "wrong"},
    						},
    					},
    				},
    			},
    			namespaces:       corev1.NamespaceList{},
    			outputMatches:    []string{},
    			skipConfirmation: true,
    			error:            "cannot remove tag \"sample\"",
    		},
    		{
    			name: "TestDeleteTagWithDependentNamespace",
    			tag:  "match",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  5. internal/bucket/replication/filter.go

    			return err
    		}
    	case !f.Tag.IsEmpty():
    		if err := e.EncodeElement(f.Tag, xml.StartElement{Name: xml.Name{Local: "Tag"}}); err != nil {
    			return err
    		}
    	default:
    		// Always print Prefix field when both And & Tag are empty
    		if err := e.EncodeElement(f.Prefix, xml.StartElement{Name: xml.Name{Local: "Prefix"}}); err != nil {
    			return err
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 28 18:25:46 GMT 2022
    - 3.5K bytes
    - Viewed (2)
  6. internal/bucket/lifecycle/filter.go

    				var and And
    				if err = d.DecodeElement(&and, &se); err != nil {
    					return err
    				}
    				f.And = and
    				f.andSet = true
    			case "Tag":
    				var tag Tag
    				if err = d.DecodeElement(&tag, &se); err != nil {
    					return err
    				}
    				f.Tag = tag
    				f.tagSet = true
    			case "ObjectSizeLessThan":
    				var sz int64
    				if err = d.DecodeElement(&sz, &se); err != nil {
    					return err
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. operator/cmd/mesh/operator-common.go

    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/util"
    )
    
    type operatorCommonArgs struct {
    	// hub is the hub for the operator image.
    	hub string
    	// tag is the tag for the operator image.
    	tag string
    	// imagePullSecrets is an array of imagePullSecret to pull operator image from the private registry
    	imagePullSecrets []string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Dec 17 02:25:04 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  8. operator/cmd/mesh/operator-init.go

    func addOperatorInitFlags(cmd *cobra.Command, args *operatorInitArgs) {
    	hub, tag := buildversion.DockerInfo.Hub, buildversion.DockerInfo.Tag
    
    	cmd.PersistentFlags().StringVarP(&args.inFilename, "filename", "f", "", filenameFlagHelpStr)
    	cmd.PersistentFlags().StringVar(&args.common.hub, "hub", hub, HubFlagHelpStr)
    	cmd.PersistentFlags().StringVar(&args.common.tag, "tag", tag, TagFlagHelpStr)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. operator/cmd/mesh/operator_test.go

    			hub:               "foo.io/istio",
    			tag:               "1.2.3",
    			imagePullSecrets:  []string{"imagePullSecret1,imagePullSecret2"},
    			operatorNamespace: "operator-test-namespace",
    			watchedNamespaces: "istio-test-namespace1,istio-test-namespace2",
    		},
    	}
    
    	cmd := "operator dump --hub " + odArgs.common.hub
    	cmd += " --tag " + odArgs.common.tag
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  10. internal/logger/reqinfo.go

    func (r *ReqInfo) SetTags(key string, val interface{}) *ReqInfo {
    	if r == nil {
    		return nil
    	}
    	r.Lock()
    	defer r.Unlock()
    	// Search of tag key already exists in tags
    	var updated bool
    	for _, tag := range r.tags {
    		if tag.Key == key {
    			tag.Val = val
    			updated = true
    			break
    		}
    	}
    	if !updated {
    		// Append to the end of tags list
    		r.tags = append(r.tags, KeyVal{key, val})
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top