cert

package
v0.0.0-...-84faedb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Renew

func Renew(c *config.Config, db *gorm.DB, syncProvider driver.IProvider, acmeProvider acme.IAcme, cert *entity.Cert) error

Types

type AddCertFormUploadLogic

type AddCertFormUploadLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewAddCertFormUploadLogic

func NewAddCertFormUploadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddCertFormUploadLogic

func (*AddCertFormUploadLogic) AddCertFormUpload

type AddCertLogic

type AddCertLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewAddCertLogic

func NewAddCertLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddCertLogic

func (*AddCertLogic) AddCert

type AddDomainLogic

type AddDomainLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewAddDomainLogic

func NewAddDomainLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddDomainLogic

func (*AddDomainLogic) AddDomain

func (l *AddDomainLogic) AddDomain(req *types.AddDomainReq) (resp *types.AddOrRenewCertificateResp, err error)

type GetCertsPagingLogic

type GetCertsPagingLogic struct {
	logx.Logger

	DB *gorm.DB
	// contains filtered or unexported fields
}

func NewGetCertsPagingLogic

func NewGetCertsPagingLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCertsPagingLogic

func (*GetCertsPagingLogic) GetCertsPaging

func (l *GetCertsPagingLogic) GetCertsPaging(req *types.GetCertsPagingReq) (resp *types.GetCertsPagingResp, err error)

type RenewCertLogic

type RenewCertLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewRenewCertLogic

func NewRenewCertLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RenewCertLogic

func (*RenewCertLogic) RenewCert

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL