Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NumericDate (0.24 sec)

  1. pkg/serviceaccount/claims_test.go

    	time      *metav1.Time
    	expectErr bool
    }
    
    type claimTestCase struct {
    	name      string
    	getter    ServiceAccountTokenGetter
    	private   *privateClaims
    	expiry    jwt.NumericDate
    	notBefore jwt.NumericDate
    	expectErr string
    
    	featureNodeBindingValidation bool
    }
    
    func TestValidatePrivateClaims(t *testing.T) {
    	var (
    		nowUnix = int64(1514764800)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. pkg/serviceaccount/claims.go

    	Pod       *ref             `json:"pod,omitempty"`
    	Secret    *ref             `json:"secret,omitempty"`
    	Node      *ref             `json:"node,omitempty"`
    	WarnAfter *jwt.NumericDate `json:"warnafter,omitempty"`
    }
    
    type ref struct {
    	Name string `json:"name,omitempty"`
    	UID  string `json:"uid,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top