Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for sign (0.17 sec)

  1. cmd/sts-handlers.go

    		return err
    	}
    	for k, v := range r.PostForm {
    		if _, ok := r.Form[k]; !ok {
    			r.Form[k] = v
    		}
    	}
    	return nil
    }
    
    // getTokenSigningKey returns secret key used to sign JWT session tokens
    func getTokenSigningKey() (string, error) {
    	secret := globalActiveCred.SecretKey
    	if globalSiteReplicationSys.isEnabled() {
    		c, err := globalSiteReplicatorCred.Get(GlobalContext)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  2. cni/pkg/install/kubeconfig.go

    // limitations under the License.
    
    package install
    
    import (
    	"fmt"
    	"net"
    	"os"
    	"path/filepath"
    
    	"k8s.io/client-go/tools/clientcmd/api"
    	"k8s.io/client-go/tools/clientcmd/api/latest"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/file"
    )
    
    type kubeconfig struct {
    	// The full kubeconfig
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. istioctl/pkg/checkinject/checkinject_test.go

    package checkinject
    
    import (
    	"os"
    	"testing"
    
    	admitv1 "k8s.io/api/admissionregistration/v1"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/api/annotation"
    	"istio.io/api/label"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func Test_analyzeRunningWebhooks(t *testing.T) {
    	cases := []struct {
    		name             string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  4. src/archive/zip/zip_test.go

    		return false
    	}
    
    	d = make([]byte, directory64EndLen)
    	if _, err := zip.ReadAt(d, dirOff); err != nil {
    		t.Fatalf("ReadAt(off=%d): %v", dirOff, err)
    	}
    
    	b := readBuf(d)
    	if sig := b.uint32(); sig != directory64EndSignature {
    		return false
    	}
    
    	size := b.uint64()
    	if size != directory64EndLen-12 {
    		t.Errorf("expected length of %d, got %d", directory64EndLen-12, size)
    	}
    	return true
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. istioctl/pkg/workload/workload.go

    	"sort"
    	"strconv"
    	"strings"
    
    	"github.com/spf13/cobra"
    	authenticationv1 "k8s.io/api/authentication/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/api/annotation"
    	"istio.io/api/label"
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	networkingv1alpha3 "istio.io/api/networking/v1alpha3"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer obj.Shutdown(context.Background())
    
    	// initialize the server and obtain the credentials and root.
    	// credentials are necessary to sign the HTTP request.
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("Unable to initialize server config. %s", err)
    	}
    
    	defer removeRoots(fsDirs)
    
    	z := obj.(*erasureServerPools)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  7. misc/ios/go_ios_exec.go

    	sys.stderr.write("lldb: failed to connect to remote target %s: %s\n" % (device_exe_or_pid, err))
    	sys.exit(1)
    
    # Don't stop on signals.
    sigs = process.GetUnixSignals()
    for i in range(0, sigs.GetNumSignals()):
    	sig = sigs.GetSignalAtIndex(i)
    	sigs.SetShouldStop(sig, False)
    	sigs.SetShouldNotify(sig, False)
    
    event = lldb.SBEvent()
    running = False
    prev_handler = None
    
    def signal_handler(signal, frame):
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    		if testCase.metadataGarbage {
    			reqV2.Header.Set("X-Amz-Metadata-Directive", "Unknown")
    		}
    
    		err = signRequestV2(reqV2, testCase.accessKey, testCase.secretKey)
    		if err != nil {
    			t.Fatalf("Failed to V2 Sign the HTTP request: %v.", err)
    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler.
    		apiRouter.ServeHTTP(recV2, reqV2)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  9. src/cmd/api/main_test.go

    	default:
    		panic(fmt.Sprintf("unknown type %T", typ))
    	}
    }
    
    func (w *Walker) writeSignature(buf *bytes.Buffer, sig *types.Signature) {
    	if tparams := sig.TypeParams(); tparams != nil {
    		w.writeTypeParams(buf, tparams, true)
    	}
    	w.writeParams(buf, sig.Params(), sig.Variadic())
    	switch res := sig.Results(); res.Len() {
    	case 0:
    		// nothing to do
    	case 1:
    		buf.WriteByte(' ')
    		w.writeType(buf, res.At(0).Type())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  10. internal/config/identity/openid/jwks_test.go

    import (
    	"bytes"
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rsa"
    	"encoding/json"
    	"testing"
    )
    
    func TestAzurePublicKey(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 9.8K bytes
    - Viewed (0)
Back to top