Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for TokenRequestSpec (0.46 sec)

  1. pkg/kube/rpc_creds.go

    ) (*authenticationv1.TokenRequest, error) {
    	return client.Kube().CoreV1().ServiceAccounts(tokenNamespace).CreateToken(ctx, tokenServiceAccount,
    		&authenticationv1.TokenRequest{
    			Spec: authenticationv1.TokenRequestSpec{
    				Audiences:         audiences,
    				ExpirationSeconds: &expirationSeconds,
    			},
    		}, metav1.CreateOptions{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/authentication/v1/types_swagger_doc_generated.go

    }
    
    func (TokenRequest) SwaggerDoc() map[string]string {
    	return map_TokenRequest
    }
    
    var map_TokenRequestSpec = map[string]string{
    	"":                  "TokenRequestSpec contains client provided parameters of a token request.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 12:50:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. pkg/test/framework/components/istio/ca.go

    		}
    		// Otherwise, its expired, load a new one
    	}
    	rt, err := c.CoreV1().ServiceAccounts(ns).CreateToken(context.Background(), sa,
    		&authenticationv1.TokenRequest{
    			Spec: authenticationv1.TokenRequestSpec{
    				Audiences:         []string{aud},
    				ExpirationSeconds: &saTokenExpiration,
    			},
    		}, metav1.CreateOptions{})
    	if err != nil {
    		return "", err
    	}
    	exp := rt.Status.ExpirationTimestamp.Time
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. pkg/registry/core/serviceaccount/storage/storage_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:      serviceAccount.Name,
    			Namespace: serviceAccount.Namespace,
    		},
    		Spec: authenticationapi.TokenRequestSpec{ExpirationSeconds: 3600},
    	}, rest.ValidateAllObjectFunc, &metav1.CreateOptions{})
    	if err != nil {
    		t.Fatalf("failed calling /token endpoint for service account: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/storage/v1/generated.proto

    message TokenRequest {
      // audience is the intended audience of the token in "TokenRequestSpec".
      // It will default to the audiences of kube apiserver.
      optional string audience = 1;
    
      // expirationSeconds is the duration of validity of the token in "TokenRequestSpec".
      // It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
      //
      // +optional
      optional int64 expirationSeconds = 2;
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/storage/v1beta1/generated.proto

    message TokenRequest {
      // audience is the intended audience of the token in "TokenRequestSpec".
      // It will default to the audiences of kube apiserver.
      optional string audience = 1;
    
      // expirationSeconds is the duration of validity of the token in "TokenRequestSpec".
      // It has the same default value of "ExpirationSeconds" in "TokenRequestSpec"
      //
      // +optional
      optional int64 expirationSeconds = 2;
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 25K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/storage/v1/types_swagger_doc_generated.go

    	"audience":          "audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.",
    	"expirationSeconds": "expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\".",
    }
    
    func (TokenRequest) SwaggerDoc() map[string]string {
    	return map_TokenRequest
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 07:07:45 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/storage/v1beta1/types_swagger_doc_generated.go

    	"audience":          "audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.",
    	"expirationSeconds": "expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\"",
    }
    
    func (TokenRequest) SwaggerDoc() map[string]string {
    	return map_TokenRequest
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:18:43 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/storage/v1/generated.proto

    message TokenRequest {
      // audience is the intended audience of the token in "TokenRequestSpec".
      // It will default to the audiences of kube apiserver.
      optional string audience = 1;
    
      // expirationSeconds is the duration of validity of the token in "TokenRequestSpec".
      // It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
      //
      // +optional
      optional int64 expirationSeconds = 2;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/storage/v1beta1/generated.proto

    message TokenRequest {
      // audience is the intended audience of the token in "TokenRequestSpec".
      // It will default to the audiences of kube apiserver.
      optional string audience = 1;
    
      // expirationSeconds is the duration of validity of the token in "TokenRequestSpec".
      // It has the same default value of "ExpirationSeconds" in "TokenRequestSpec"
      //
      // +optional
      optional int64 expirationSeconds = 2;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top