Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 91 for upsert (0.3 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    				}
    			} else if len(cw.ztunnelDump.Workloads) != tt.wantConfigs {
    				t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.ztunnelDump.Workloads))
    			}
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    		})
    	}
    }
    
    func TestConfigWriter_PrintSecretSummary(t *testing.T) {
    	tests := []struct {
    		name               string
    		wantOutputSecret   string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/pilot/status_test.go

    			input := map[string]*discovery.DiscoveryResponse{}
    			for key, ss := range tt.input {
    				input[key] = ss
    			}
    
    			err := sw.PrintAll(input)
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    			want, _ := os.ReadFile(tt.want)
    			if err := util.Compare(got.Bytes(), want); err != nil {
    				t.Errorf(err.Error())
    			}
    		})
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. istioctl/pkg/util/handlers/handlers_test.go

    	corev1client "k8s.io/client-go/kubernetes/typed/core/v1"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	"k8s.io/kubectl/pkg/scheme"
    
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestInferPodInfo(t *testing.T) {
    	tests := []struct {
    		proxyName     string
    		namespace     string
    		wantPodName   string
    		wantNamespace string
    	}{
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/route_test.go

    // limitations under the License.
    
    package configdump
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"path"
    	"testing"
    
    	"istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestDescribeRouteDomains(t *testing.T) {
    	tests := []struct {
    		desc     string
    		domains  []string
    		expected string
    	}{
    		{
    			desc:     "test zero domain",
    			domains:  []string{},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

    // compares the MaximumVolumeSize against the requested size of pending volumes
    // to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back
    // to a comparison against the less precise Capacity. If that is also unset,
    // the scheduler assumes that capacity is insufficient and tries some other
    // node.
    message CSIStorageCapacity {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    var fakeCACert = []byte("fake-CA-cert")
    
    var (
    	defaultYAML = `apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadGroup
    metadata:
      name: foo
      namespace: bar
    spec:
      metadata: {}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/scheduling/v1/generated.proto

      // +optional
      optional string description = 4;
    
      // preemptionPolicy is the Policy for preempting pods with lower priority.
      // One of Never, PreemptLowerPriority.
      // Defaults to PreemptLowerPriority if unset.
      // +optional
      optional string preemptionPolicy = 5;
    }
    
    // PriorityClassList is a collection of priority classes.
    message PriorityClassList {
      // Standard list metadata
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. manifests/charts/gateway/values.yaml

        prometheus.io/scrape: "true"
        prometheus.io/path: "/stats/prometheus"
        inject.istio.io/templates: "gateway"
        sidecar.istio.io/inject: "true"
    
      # Define the security context for the pod.
      # If unset, this will be automatically set to the minimum privileges required to bind to port 80 and 443.
      # On Kubernetes 1.22+, this only requires the `net.ipv4.ip_unprivileged_port_start` sysctl.
      securityContext: ~
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 11 16:55:28 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/storage/v1beta1/generated.proto

    // compares the MaximumVolumeSize against the requested size of pending volumes
    // to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back
    // to a comparison against the less precise Capacity. If that is also unset,
    // the scheduler assumes that capacity is insufficient and tries some other
    // node.
    message CSIStorageCapacity {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/batch/v1/generated.proto

      // manualSelector controls generation of pod labels and pod selectors.
      // Leave `manualSelector` unset unless you are certain what you are doing.
      // When false or unset, the system pick labels unique to this job
      // and appends those labels to the pod template.  When true,
      // the user is responsible for picking unique labels and specifying
      // the selector.  Failure to pick a unique label may cause this
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
Back to top