Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for reflect (0.21 sec)

  1. cni/pkg/plugin/plugin_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package plugin
    
    import (
    	"fmt"
    	"net/http"
    	"net/http/httptest"
    	"reflect"
    	"testing"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    
    	"istio.io/api/annotation"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. operator/cmd/mesh/test-util_test.go

    	node := actual.(map[string]any)
    	got, f, err := tpath.GetPathContext(node, util.PathFromString(pv.path), false)
    	if err != nil || !f {
    		return false, err
    	}
    	if reflect.TypeOf(got.Node).Kind() != reflect.String || reflect.TypeOf(pv.value).Kind() != reflect.String {
    		return false, fmt.Errorf("comparison types must both be string: got %v(%T), want %v(%T)", got.Node, got.Node, pv.value, pv.value)
    	}
    	gotS := got.Node.(string)
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/storage/v1/generated.proto

      //
      // +optional
      // +listType=atomic
      repeated TokenRequest tokenRequests = 6;
    
      // requiresRepublish indicates the CSI driver wants `NodePublishVolume`
      // being periodically called to reflect any possible change in the mounted
      // volume. This field defaults to false.
      //
      // Note: After a successful initial NodePublishVolume call, subsequent calls
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  4. istioctl/pkg/admin/istiodconfig_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package admin
    
    import (
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"os"
    	"reflect"
    	"testing"
    )
    
    func Test_newScopeLevelPair(t *testing.T) {
    	validationPattern := `^\w+:(debug|error|warn|info|debug)`
    	type args struct {
    		slp               string
    		validationPattern string
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  5. istioctl/pkg/util/configdump/wrapper.go

    package configdump
    
    import (
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
    	"google.golang.org/protobuf/reflect/protoreflect"
    	"google.golang.org/protobuf/reflect/protoregistry"
    	"google.golang.org/protobuf/types/known/emptypb"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    type resolver struct {
    	*protoregistry.Types
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/comparator.go

    	legacyproto "github.com/golang/protobuf/proto" // nolint: staticcheck
    	exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
    	"google.golang.org/protobuf/reflect/protoreflect"
    	"google.golang.org/protobuf/reflect/protoregistry"
    	"google.golang.org/protobuf/types/known/emptypb"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    )
    
    // Comparator diffs between a config dump from Istiod and one from Envoy
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  7. istioctl/pkg/checkinject/checkinject.go

    					labels = append(labels, fmt.Sprintf("%s=%s", me.Key, v))
    				}
    			}
    			return labels
    		}
    
    		var isDeactivated bool
    		for _, wh := range whs {
    			if reflect.DeepEqual(wh.NamespaceSelector, util.NeverMatch) && reflect.DeepEqual(wh.ObjectSelector, util.NeverMatch) {
    				isDeactivated = true
    			}
    			nsMatchedLabels = append(nsMatchedLabels, extractMatchLabels(wh.NamespaceSelector)...)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. common/scripts/metallb-native.yaml

          nodeSelector:
            kubernetes.io/os: linux
          serviceAccountName: speaker
          terminationGracePeriodSeconds: 2
          tolerations:
          - effect: NoSchedule
            key: node-role.kubernetes.io/master
            operator: Exists
          - effect: NoSchedule
            key: node-role.kubernetes.io/control-plane
            operator: Exists
          volumes:
          - name: memberlist
            secret:
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  9. licenses/github.com/hashicorp/go-multierror/LICENSE

            sale, have made, import, and otherwise transfer either its Contributions
            or its Contributor Version.
    
    2.2. Effective Date
    
         The licenses granted in Section 2.1 with respect to any Contribution become
         effective for each Contribution on the date the Contributor first distributes
         such Contribution.
    
    2.3. Limitations on Grant Scope
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 15.6K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/core/v1/generated.proto

      // +optional
      optional string value = 3;
    
      // Effect indicates the taint effect to match. Empty means match all taint effects.
      // When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
      // +optional
      optional string effect = 4;
    
      // TolerationSeconds represents the period of time the toleration (which must be
      // of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
Back to top