Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRecentCreateOperations ¶
func GetRecentCreateOperations(c context.Context) (map[string]*CreateOperation, error)
GetRecentCreateOperations returns the most recent create operations for each domain. It deliberately does not use a datastore index.
Types ¶
type CreateOperation ¶
type CreateOperation struct { // Key is provided by Get* functions, but ignored otherwise. Key *datastore.Key `datastore:"-"` HostName string // The hostname we're creating a certificate for. AuthorizationURI string // ACME Authorization ID. ChallengeURI string // ACME Challenge ID. Token string // Challenge token. Response string // Challenge response. Accepted time.Time // Time we accepted the challenge. Responded time.Time // Time we responded to the challenge. Issued time.Time // Time we were issued a certificate. Uploaded time.Time // Time we upload the certificate to appengine. Mapped time.Time // Time we made the certificate the default on the domain. Error string MappedCertificateID string IsFinished bool }
func GetAllCreateOperations ¶
func GetAllCreateOperations(c context.Context) ([]*CreateOperation, error)
func GetCreateOperation ¶
func GetCreateOperation(c context.Context, token string) (*CreateOperation, error)
func (*CreateOperation) IsOngoing ¶
func (cr *CreateOperation) IsOngoing() bool
type HandlerFunc ¶
HandlerFunc is an HTTP handler that takes a context and returns an error.
Click to show internal directories.
Click to hide internal directories.