Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 107 for CertificateSigningRequest (0.36 sec)

  1. cmd/kubelet/app/server_bootstrap_test.go

    }
    
    type rotater interface {
    	RotateCerts() (bool, error)
    }
    
    func getCSR(req *http.Request) (*certapi.CertificateSigningRequest, error) {
    	if req.Body == nil {
    		return nil, nil
    	}
    	body, err := io.ReadAll(req.Body)
    	if err != nil {
    		return nil, err
    	}
    	csr := &certapi.CertificateSigningRequest{}
    	if err := json.Unmarshal(body, csr); err != nil {
    		return nil, err
    	}
    	return csr, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  2. pkg/registry/certificates/certificates/storage/metrics.go

    			if !success {
    				return // ignore failures
    			}
    
    			if dryrun.IsDryRun(options.DryRun) {
    				return // ignore things that would not get persisted
    			}
    
    			oldCSR, ok := old.(*certificates.CertificateSigningRequest)
    			if !ok {
    				return
    			}
    
    			// if the old CSR already has a certificate, do not double count it
    			if len(oldCSR.Status.Certificate) > 0 {
    				return
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 21:41:43 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  3. pkg/registry/certificates/certificates/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package certificates provides Registry interface and its RESTStorage
    // implementation for storing CertificateSigningRequest objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 21 13:14:38 UTC 2016
    - 798 bytes
    - Viewed (0)
  4. pkg/config/schema/kubetypes/resources.gen.go

    		return gvk.AuthorizationPolicy, true
    	case *apiistioioapisecurityv1beta1.AuthorizationPolicy:
    		return gvk.AuthorizationPolicy, true
    	case *k8sioapicertificatesv1.CertificateSigningRequest:
    		return gvk.CertificateSigningRequest, true
    	case *k8sioapicorev1.ConfigMap:
    		return gvk.ConfigMap, true
    	case *k8sioapiextensionsapiserverpkgapisapiextensionsv1.CustomResourceDefinition:
    		return gvk.CustomResourceDefinition, true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. pkg/controller/certificates/certificate_controller_utils_test.go

    				},
    				{
    					Type: certificatesapi.CertificateDenied,
    				},
    			},
    			false,
    		},
    	}
    
    	for _, tc := range testCases {
    		csr := &certificatesapi.CertificateSigningRequest{
    			ObjectMeta: v1.ObjectMeta{
    				Name: "fake-csr",
    			},
    			Status: certificatesapi.CertificateSigningRequestStatus{
    				Conditions: tc.conditions,
    			},
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 05 22:45:34 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  6. pkg/apis/certificates/register.go

    }
    
    // Adds the list of known types to the given scheme.
    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&CertificateSigningRequest{},
    		&CertificateSigningRequestList{},
    		&ClusterTrustBundle{},
    		&ClusterTrustBundleList{},
    	)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 03:10:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. pkg/apis/certificates/v1/conversion.go

    	"fmt"
    
    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    func addConversionFuncs(scheme *runtime.Scheme) error {
    	// Add field conversion funcs.
    	return scheme.AddFieldLabelConversionFunc(SchemeGroupVersion.WithKind("CertificateSigningRequest"),
    		func(label, value string) (string, string, error) {
    			switch label {
    			case "metadata.name",
    				"spec.signerName":
    				return label, value, nil
    			default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 05 04:47:24 UTC 2020
    - 1K bytes
    - Viewed (0)
  8. pkg/apis/certificates/v1beta1/conversion.go

    	"fmt"
    
    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    func addConversionFuncs(scheme *runtime.Scheme) error {
    	// Add field conversion funcs.
    	return scheme.AddFieldLabelConversionFunc(SchemeGroupVersion.WithKind("CertificateSigningRequest"),
    		func(label, value string) (string, string, error) {
    			switch label {
    			case "metadata.name",
    				"spec.signerName":
    				return label, value, nil
    			default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 27 10:17:55 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/certificates/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *CertificateSigningRequest) APILifecycleIntroduced() (major, minor int) {
    	return 1, 19
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/certificates/v1beta1/register.go

    	AddToScheme        = localSchemeBuilder.AddToScheme
    )
    
    // Adds the list of known types to the given scheme.
    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&CertificateSigningRequest{},
    		&CertificateSigningRequestList{},
    	)
    
    	// Add the watch version that applies
    	metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 18:54:02 UTC 2017
    - 1.9K bytes
    - Viewed (0)
Back to top