Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 1,596 for var0 (0.05 sec)

  1. internal/ioutil/read_file_noatime_supported.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package ioutil
    
    import (
    	"os"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 937 bytes
    - Viewed (0)
  2. cni/pkg/install/monitoring.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package install
    
    import "istio.io/istio/pkg/monitoring"
    
    var (
    	resultLabel                   = monitoring.CreateLabel("result")
    	resultSuccess                 = "SUCCESS"
    	resultCopyBinariesFailure     = "COPY_BINARIES_FAILURE"
    	resultCreateKubeConfigFailure = "CREATE_KUBECONFIG_FAILURE"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    	// based logins.
    	var subFromToken string
    	if v, ok := claims[subClaim]; ok {
    		subFromToken, _ = v.(string)
    	}
    
    	if subFromToken == "" {
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue,
    			errors.New("STS JWT Token has `sub` claim missing, `sub` claim is mandatory"))
    		return
    	}
    
    	var issFromToken string
    	if v, ok := claims[issClaim]; ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/searchlist.js

    $(function() {
      var SEP_CHAR = "-",
          langCode,
          browserLang =
        (window.navigator.languages && window.navigator.languages[0]) ||
        window.navigator.language ||
        window.navigator.userLanguage ||
        window.navigator.browserLanguage;
    
      if (browserLang) {
        langCode = browserLang.split(SEP_CHAR)[0];
      } else {
        langCode = "en";
      }
    
      $.validate({
        modules: "html5",
        lang: langCode
      });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Sep 12 06:47:49 UTC 2018
    - 422 bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/filter_test.go

    								<Value>value1</Value>
    							</Tag>
    						</Filter>`,
    			expectedErr: errInvalidFilter,
    		},
    	}
    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			var filter Filter
    			err := xml.Unmarshal([]byte(tc.inputXML), &filter)
    			if err != nil {
    				t.Fatalf("%d: Expected no error but got %v", i+1, err)
    			}
    			err = filter.Validate()
    			if err != tc.expectedErr {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. internal/config/identity/openid/jwt_test.go

    			DummyRoleARN: &provider,
    		},
    		ProviderCfgs: map[string]*providerCfg{
    			"1": &provider,
    		},
    		closeRespFn: func(rc io.ReadCloser) {
    			rc.Close()
    		},
    	}
    
    	var claims jwtgo.MapClaims
    	if err = cfg.Validate(context.Background(), DummyRoleARN, token, "", "", claims); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestJWT(t *testing.T) {
    	const jsonkey = `{"keys":
           [
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            if (valueLines.isEmpty()) {
                valueLines.add(escapedKey + "=");
                sb.append(escapedKey).append("=");
            } else {
                String val0 = valueLines.get(0);
                String rv0 = typed ? val0 : escapeJava(val0);
                if (!val0.trim().startsWith(escapedKey)) {
                    valueLines.set(0, escapedKey + " = " + rv0 /*+ (0 < lastLine? "\\": "")*/);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. internal/auth/credentials.go

    		subtle.ConstantTimeCompare([]byte(cred.SessionToken), []byte(ccred.SessionToken)) == 1)
    }
    
    var timeSentinel = time.Unix(0, 0).UTC()
    
    // ErrInvalidDuration invalid token expiry
    var ErrInvalidDuration = errors.New("invalid token expiry")
    
    // ExpToInt64 - convert input interface value to int64.
    func ExpToInt64(expI interface{}) (expAt int64, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	workloadNames := map[string]string{}
    	for _, s := range d.Services {
    		var ip string
    		if len(s.Addresses) != 0 {
    			_, ip, _ = strings.Cut(s.Addresses[0], "/")
    		}
    		if ip == "" {
    			// fallback to None when a service does not have a VIP
    			ip = "None"
    		}
    		serviceNames[ip] = s.Hostname
    	}
    	for _, s := range d.Workloads {
    		var ip string
    		if len(s.WorkloadIPs) != 0 {
    			ip = s.WorkloadIPs[0]
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. docs/sts/assume-role.go

    		return
    	}
    
    	// The credentials package in minio-go provides an interface to call the
    	// STS API.
    
    	// Initialize credential options
    	var stsOpts cr.STSAssumeRoleOptions
    	stsOpts.AccessKey = minioUsername
    	stsOpts.SecretKey = minioPassword
    
    	if sessionPolicyFile != "" {
    		var policy string
    		if f, err := os.Open(sessionPolicyFile); err != nil {
    			log.Fatalf("Unable to open session policy file: %v", err)
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 17 01:24:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top