Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for upsert (0.25 sec)

  1. operator/cmd/mesh/manifest_shared_test.go

    var interceptorFunc = interceptor.Funcs{Patch: func(
    	ctx context.Context,
    	clnt client.WithWatch,
    	obj client.Object,
    	patch client.Patch,
    	opts ...client.PatchOption,
    ) error {
    	// Apply patches are supposed to upsert, but fake client fails if the object doesn't exist,
    	// if an apply patch occurs for an object that doesn't yet exist, create it.
    	if patch.Type() != types.ApplyPatchType {
    		return clnt.Patch(ctx, obj, patch, opts...)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  2. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                              enum:
                              - INVALID
                              - MERGE
                              - ADD
                              - REMOVE
                              - INSERT_BEFORE
                              - INSERT_AFTER
                              - INSERT_FIRST
                              - REPLACE
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  3. manifests/charts/base/crds/crd-all.gen.yaml

                              enum:
                              - INVALID
                              - MERGE
                              - ADD
                              - REMOVE
                              - INSERT_BEFORE
                              - INSERT_AFTER
                              - INSERT_FIRST
                              - REPLACE
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  4. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    properties: operation: description: Operation controls whether or not to update/add a tag, or to remove it. enum: - UPSERT - REMOVE type: string value: description: Value is only considered if the operation is `UPSERT`. type: string type: object x-kubernetes-validations: - message: value must be set when operation is UPSERT rule: '((has(self.operation) ? self.operation : '''') == ''UPSERT'') ? self.value != '''' : true' - message: value must not be set when operation is REMOVE rule: '((has(self.operation)...
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
  5. cni/pkg/iptables/testdata/default.golden

    iptables -t mangle -N ISTIO_PRERT
    iptables -t nat -N ISTIO_OUTPUT
    iptables -t mangle -N ISTIO_OUTPUT
    iptables -t mangle -A PREROUTING -j ISTIO_PRERT
    iptables -t mangle -A OUTPUT -j ISTIO_OUTPUT
    iptables -t nat -A OUTPUT -j ISTIO_OUTPUT
    iptables -t mangle -A ISTIO_PRERT -m mark --mark 0x539/0xfff -j CONNMARK --set-xmark 0x111/0xfff
    iptables -t mangle -A ISTIO_PRERT -s 169.254.7.127 -p tcp -m tcp -j ACCEPT
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    				}
    			} else if len(cw.configDump.Configs) != tt.wantConfigs {
    				t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.configDump.Configs))
    			}
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    		})
    	}
    }
    
    func TestConfigWriter_PrintBootstrapDump(t *testing.T) {
    	tests := []struct {
    		name           string
    		wantOutputFile string
    		callPrime      bool
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 03 23:08:06 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/generate_test.go

    		Revision: "default",
    	}
    
    	_, err := Generate(context.TODO(), fakeClient, opts, "istio-system")
    	assert.NoError(t, err)
    
    	wh, err := fakeClient.Kube().AdmissionregistrationV1().MutatingWebhookConfigurations().
    		Get(context.Background(), "istio-sidecar-injector", metav1.GetOptions{})
    	assert.NoError(t, err)
    
    	assertFunc(t, wh.Webhooks, defaultWh.Webhooks)
    }
    
    func TestGenerateOptions(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  8. cni/pkg/install/install_test.go

    	"context"
    	"os"
    	"path/filepath"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"istio.io/istio/cni/pkg/config"
    	testutils "istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    )
    
    func TestCheckInstall(t *testing.T) {
    	cases := []struct {
    		name              string
    		expectedFailure   bool
    		cniConfigFilename string
    		cniConfName       string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. istioctl/pkg/proxystatus/proxystatus_test.go

    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/multixds"
    	"istio.io/istio/istioctl/pkg/xds"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    type execTestCase struct {
    	args     []string
    	revision string
    	noIstiod bool
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  10. cni/pkg/plugin/kubernetes.go

    		Containers:        sets.New[string](),
    		Labels:            pod.Labels,
    		Annotations:       pod.Annotations,
    		ProxyEnvironments: make(map[string]string),
    	}
    	for _, c := range containers(pod) {
    		pi.Containers.Insert(c.Name)
    		if c.Name == ISTIOPROXY {
    			// don't include ports from istio-proxy in the redirect ports
    			// Get proxy container env variable, and extract out ProxyConfig from it.
    			for _, e := range c.Env {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top