Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidID = errors.New("Invalid id") ErrInvalidDomainName = errors.New("Invalid domain name") ErrInvalidDomainDate = errors.New("Invalid domain date") ErrInvalidDomainRedirectTarget = errors.New("Invalid domain redirect target") ErrInvalidRedirectStatusCode = errors.New("Invalid redirect http status code") )
Functions ¶
This section is empty.
Types ¶
type PathMappingEntry ¶
PathMappingEntry model
type Provider ¶
type Provider interface { Bootstrap(ctx context.Context) error AllowHostPolicy(ctx context.Context, host string) error CreateDomain(ctx context.Context, domain *pb.Domain) (*pb.Domain, error) DeleteDomain(ctx context.Context, domain *pb.Domain) (bool, error) UpdateDomain(ctx context.Context, domain *pb.Domain) (*pb.Domain, error) ListDomains(ctx context.Context) ([]*pb.Domain, error) GetDomain(ctx context.Context, domain *pb.Domain) (*pb.Domain, error) Name() string // confirm to the cache interface autocert.Cache }
Provider defines the interface to a certificate provider
Click to show internal directories.
Click to hide internal directories.