Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 558 for tag4 (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/lifecycle/lifecycle_test.go

    			objectTags:     "tag1=value1&tag2=value2",
    			objectModTime:  time.Now().UTC().Add(-24 * time.Hour), // Created 1 day ago
    			expectedAction: DeleteAction,
    		},
    		// Should remove (Multiple Rules, Tags match)
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/rule.go

    		return p
    	}
    	return ""
    }
    
    // Tags - a rule can either have tag under <filter></filter> or under
    // <filter><and></and></filter>. This method returns all the tags from the
    // rule in the format tag1=value1&tag2=value2
    func (r Rule) Tags() string {
    	if !r.Filter.Tag.IsEmpty() {
    		return r.Filter.Tag.String()
    	}
    	if len(r.Filter.And.Tags) != 0 {
    		var buf bytes.Buffer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/templates/revision-tags.yaml

    apiVersion: admissionregistration.k8s.io/v1
    kind: MutatingWebhookConfiguration
    metadata:
    {{- if eq $.Release.Namespace "istio-system"}}
      name: istio-revision-tag-{{ $tagName }}
    {{- else }}
      name: istio-revision-tag-{{ $tagName }}-{{ $.Release.Namespace }}
    {{- end }}
      labels:
        istio.io/tag: {{ $tagName }}
        istio.io/rev: {{ $.Values.revision | default "default" | quote }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  6. 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)
  7. docs/bucket/replication/setup_ilm_expiry_replication.sh

    tagVal2=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Filter.And.Tags[1].Value' | sed 's/"//g')
    if [ "${prefix}" != "myprefix" ]; then
    	echo "BUG: ILM expiry rules prefix not replicated to 'siteb'"
    	exit 1
    fi
    if [ "${tagName1}" != "tag1" ] || [ "${tagVal1}" != "val1" ] || [ "${tagName2}" != "tag2" ] || [ "${tagVal2}" != "val2" ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. tests/embedded_struct_test.go

    		}
    	}
    }
    
    func TestEmbeddedTagSetting(t *testing.T) {
    	type Tag1 struct {
    		Id int64 `gorm:"autoIncrement"`
    	}
    	type Tag2 struct {
    		Id int64
    	}
    
    	type EmbeddedTag struct {
    		Tag1 Tag1 `gorm:"Embedded;"`
    		Tag2 Tag2 `gorm:"Embedded;EmbeddedPrefix:t2_"`
    		Name string
    	}
    
    	DB.Migrator().DropTable(&EmbeddedTag{})
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Oct 26 03:58:13 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/manifest-generate/input-extra-resources/default_tag.yaml

    apiVersion: admissionregistration.k8s.io/v1
    kind: MutatingWebhookConfiguration
    metadata:
      generation: 1
      labels:
        app: sidecar-injector
        istio.io/rev: test-dev2
        istio.io/tag: default
        release: istio
      name: istio-revision-tag-default
    webhooks:
    - admissionReviewVersions:
      - v1beta1
      - v1
      clientConfig:
        service:
          name: istiod-test-dev2
          namespace: istio-system
          path: /inject
          port: 443
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Jan 09 17:23:44 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. internal/bucket/replication/filter.go

    			return err
    		}
    	}
    	return nil
    }
    
    // TestTags tests if the object tags satisfy the Filter tags requirement,
    // it returns true if there is no tags in the underlying Filter.
    func (f *Filter) TestTags(userTags string) bool {
    	if f.cachedTags == nil {
    		cached := make(map[string]string)
    		for _, t := range append(f.And.Tags, f.Tag) {
    			if !t.IsEmpty() {
    				cached[t.Key] = t.Value
    			}
    		}
    		f.cachedTags = cached
    	}
    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)
Back to top