- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for TTLError (0.08 sec)
-
security/pkg/pki/error/error.go
type ErrType int const ( // CANotReady means the CA is not ready to sign CSRs. CANotReady ErrType = iota // CSRError means the CA cannot sign CSR due to CSR error. CSRError // TTLError means the required TTL is invalid. TTLError // CertGenError means an error happened during the certificate generation. CertGenError // CAIllegalConfig means the configuration/deployment parameters for CA are incorrect CAIllegalConfig
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 13 17:41:21 UTC 2020 - 2.1K bytes - Viewed (0) -
security/pkg/pki/error/error_test.go
code: codes.Internal, }, "CSR_ERROR": { eType: CSRError, err: fmt.Errorf("test error2"), message: "CSR_ERROR", code: codes.InvalidArgument, }, "TTL_ERROR": { eType: TTLError, err: fmt.Errorf("test error3"), message: "TTL_ERROR", code: codes.InvalidArgument, }, "CERT_GEN_ERROR": { eType: CertGenError, err: fmt.Errorf("test error4"),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 2K bytes - Viewed (0) -
security/pkg/pki/ra/common.go
lifetime = raOpts.DefaultCertTTL } // If the requested TTL is greater than maxCertTTL, return an error if requestedLifetime.Seconds() > raOpts.MaxCertTTL.Seconds() { return lifetime, raerror.NewError(raerror.TTLError, fmt.Errorf( "requested TTL %s is greater than the max allowed TTL %s", requestedLifetime, raOpts.MaxCertTTL)) } return lifetime, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 11 19:57:30 UTC 2023 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
mile(fmt.Sprintf("FinishCreate(%v)", success)) }, nil }, ttl: func(_ runtime.Object, existing uint64, _ bool) (uint64, error) { mile("TTLError") return existing, fmt.Errorf("TTL fail") }, expectMilestones: []string{"BeginCreate", "TTLError", "FinishCreate(false)"}, expectError: true, }, { name: "fail BeginCreate ordering", expectError: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
security/pkg/server/ca/server_test.go
}, "Invalid TTL": { authenticators: []security.Authenticator{&mockAuthenticator{identities: []string{"test-identity"}}}, ca: &mockca.FakeCA{SignErr: caerror.NewError(caerror.TTLError, fmt.Errorf("cannot sign"))}, code: codes.InvalidArgument, }, "Failed to sign": { authenticators: []security.Authenticator{&mockAuthenticator{identities: []string{"test-identity"}}},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 15.8K bytes - Viewed (0) -
security/pkg/pki/ca/ca.go
} // If checkLifetime is set and the requested TTL is greater than maxCertTTL, return an error if checkLifetime && requestedLifetime.Seconds() > ca.maxCertTTL.Seconds() { return nil, caerror.NewError(caerror.TTLError, fmt.Errorf( "requested TTL %s is greater than the max allowed TTL %s", requestedLifetime, ca.maxCertTTL)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 30 19:33:26 UTC 2023 - 17.2K bytes - Viewed (0)