cert-manager: github.com/jetstack/cert-manager/pkg/acme/client/middleware Index | Files

package middleware

import "github.com/jetstack/cert-manager/pkg/acme/client/middleware"

Index

Package Files

logger.go

func NewLogger Uses

func NewLogger(baseCl client.Interface) client.Interface

type Logger Uses

type Logger struct {
    // contains filtered or unexported fields
}

Logger is a glog based logging middleware for an ACME client

func (*Logger) Accept Uses

func (l *Logger) Accept(ctx context.Context, chal *acme.Challenge) (*acme.Challenge, error)

func (*Logger) AuthorizeOrder Uses

func (l *Logger) AuthorizeOrder(ctx context.Context, id []acme.AuthzID, opt ...acme.OrderOption) (*acme.Order, error)

func (*Logger) CreateOrderCert Uses

func (l *Logger) CreateOrderCert(ctx context.Context, finalizeURL string, csr []byte, bundle bool) (der [][]byte, certURL string, err error)

func (*Logger) DNS01ChallengeRecord Uses

func (l *Logger) DNS01ChallengeRecord(token string) (string, error)

func (*Logger) Discover Uses

func (l *Logger) Discover(ctx context.Context) (acme.Directory, error)

func (*Logger) FetchCert Uses

func (l *Logger) FetchCert(ctx context.Context, url string, bundle bool) ([][]byte, error)

func (*Logger) GetAuthorization Uses

func (l *Logger) GetAuthorization(ctx context.Context, url string) (*acme.Authorization, error)

func (*Logger) GetChallenge Uses

func (l *Logger) GetChallenge(ctx context.Context, url string) (*acme.Challenge, error)

func (*Logger) GetOrder Uses

func (l *Logger) GetOrder(ctx context.Context, url string) (*acme.Order, error)

func (*Logger) GetReg Uses

func (l *Logger) GetReg(ctx context.Context, url string) (*acme.Account, error)

func (*Logger) HTTP01ChallengeResponse Uses

func (l *Logger) HTTP01ChallengeResponse(token string) (string, error)

func (*Logger) Register Uses

func (l *Logger) Register(ctx context.Context, a *acme.Account, prompt func(tosURL string) bool) (*acme.Account, error)

func (*Logger) UpdateReg Uses

func (l *Logger) UpdateReg(ctx context.Context, a *acme.Account) (*acme.Account, error)

func (*Logger) WaitAuthorization Uses

func (l *Logger) WaitAuthorization(ctx context.Context, url string) (*acme.Authorization, error)

func (*Logger) WaitOrder Uses

func (l *Logger) WaitOrder(ctx context.Context, url string) (*acme.Order, error)

Package middleware imports 6 packages (graph) and is imported by 2 packages. Updated 2020-08-12. Refresh now. Tools for package owners.