acme

package
Version: v2.0.0-...-04819b0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceName - The name of service.
	ServiceName = "Acme"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AcmeAPI

type AcmeAPI interface {
	GetAcmeServersCommand(input *GetAcmeServersCommandInput) (output *models.AcmeServersView, resp *http.Response, err error)
	AddAcmeServerCommand(input *AddAcmeServerCommandInput) (output *models.AcmeServerView, resp *http.Response, err error)
	GetDefaultAcmeServerCommand() (output *models.LinkView, resp *http.Response, err error)
	UpdateDefaultAcmeServerCommand(input *UpdateDefaultAcmeServerCommandInput) (output *models.LinkView, resp *http.Response, err error)
	DeleteAcmeServerCommand(input *DeleteAcmeServerCommandInput) (output *models.AcmeServerView, resp *http.Response, err error)
	GetAcmeServerCommand(input *GetAcmeServerCommandInput) (output *models.AcmeServerView, resp *http.Response, err error)
	GetAcmeAccountsCommand(input *GetAcmeAccountsCommandInput) (output *models.AcmeAccountView, resp *http.Response, err error)
	AddAcmeAccountCommand(input *AddAcmeAccountCommandInput) (output *models.AcmeAccountView, resp *http.Response, err error)
	DeleteAcmeAccountCommand(input *DeleteAcmeAccountCommandInput) (output *models.AcmeAccountView, resp *http.Response, err error)
	GetAcmeAccountCommand(input *GetAcmeAccountCommandInput) (output *models.AcmeAccountView, resp *http.Response, err error)
	GetAcmeCertificateRequestsCommand(input *GetAcmeCertificateRequestsCommandInput) (output *models.AcmeCertificateRequestView, resp *http.Response, err error)
	AddAcmeCertificateRequestCommand(input *AddAcmeCertificateRequestCommandInput) (output *models.AcmeCertificateRequestView, resp *http.Response, err error)
	DeleteAcmeCertificateRequestCommand(input *DeleteAcmeCertificateRequestCommandInput) (output *models.AcmeCertificateRequestView, resp *http.Response, err error)
	GetAcmeCertificateRequestCommand(input *GetAcmeCertificateRequestCommandInput) (output *models.AcmeCertificateRequestView, resp *http.Response, err error)
}

type AcmeService

type AcmeService struct {
	*client.Client
}

AcmeService provides the API operations for making requests to Acme endpoint.

func New

func New(cfg *config.Config) *AcmeService

New createa a new instance of the AcmeService client.

Example:

cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2Access").WithEndpoint(paURL)

//Create a AcmeService from the configuration
svc := acme.New(cfg)

func (*AcmeService) AddAcmeAccountCommand

func (s *AcmeService) AddAcmeAccountCommand(input *AddAcmeAccountCommandInput) (output *models.AcmeAccountView, resp *http.Response, err error)

AddAcmeAccountCommand - Add an ACME Account RequestType: POST Input: input *AddAcmeAccountCommandInput

func (*AcmeService) AddAcmeCertificateRequestCommand

func (s *AcmeService) AddAcmeCertificateRequestCommand(input *AddAcmeCertificateRequestCommandInput) (output *models.AcmeCertificateRequestView, resp *http.Response, err error)

AddAcmeCertificateRequestCommand - Initiate the ACME protocol RequestType: POST Input: input *AddAcmeCertificateRequestCommandInput

func (*AcmeService) AddAcmeServerCommand

func (s *AcmeService) AddAcmeServerCommand(input *AddAcmeServerCommandInput) (output *models.AcmeServerView, resp *http.Response, err error)

AddAcmeServerCommand - Add an ACME Server RequestType: POST Input: input *AddAcmeServerCommandInput

func (*AcmeService) DeleteAcmeAccountCommand

func (s *AcmeService) DeleteAcmeAccountCommand(input *DeleteAcmeAccountCommandInput) (output *models.AcmeAccountView, resp *http.Response, err error)

DeleteAcmeAccountCommand - Delete an ACME Account RequestType: DELETE Input: input *DeleteAcmeAccountCommandInput

func (*AcmeService) DeleteAcmeCertificateRequestCommand

func (s *AcmeService) DeleteAcmeCertificateRequestCommand(input *DeleteAcmeCertificateRequestCommandInput) (output *models.AcmeCertificateRequestView, resp *http.Response, err error)

DeleteAcmeCertificateRequestCommand - Delete an ACME Certificate Request RequestType: DELETE Input: input *DeleteAcmeCertificateRequestCommandInput

func (*AcmeService) DeleteAcmeServerCommand

func (s *AcmeService) DeleteAcmeServerCommand(input *DeleteAcmeServerCommandInput) (output *models.AcmeServerView, resp *http.Response, err error)

DeleteAcmeServerCommand - Delete an ACME Server RequestType: DELETE Input: input *DeleteAcmeServerCommandInput

func (*AcmeService) GetAcmeAccountCommand

func (s *AcmeService) GetAcmeAccountCommand(input *GetAcmeAccountCommandInput) (output *models.AcmeAccountView, resp *http.Response, err error)

GetAcmeAccountCommand - Get an ACME Account RequestType: GET Input: input *GetAcmeAccountCommandInput

func (*AcmeService) GetAcmeAccountsCommand

func (s *AcmeService) GetAcmeAccountsCommand(input *GetAcmeAccountsCommandInput) (output *models.AcmeAccountView, resp *http.Response, err error)

GetAcmeAccountsCommand - Get all ACME Accounts RequestType: GET Input: input *GetAcmeAccountsCommandInput

func (*AcmeService) GetAcmeCertificateRequestCommand

func (s *AcmeService) GetAcmeCertificateRequestCommand(input *GetAcmeCertificateRequestCommandInput) (output *models.AcmeCertificateRequestView, resp *http.Response, err error)

GetAcmeCertificateRequestCommand - Get an ACME Certificate Request RequestType: GET Input: input *GetAcmeCertificateRequestCommandInput

func (*AcmeService) GetAcmeCertificateRequestsCommand

func (s *AcmeService) GetAcmeCertificateRequestsCommand(input *GetAcmeCertificateRequestsCommandInput) (output *models.AcmeCertificateRequestView, resp *http.Response, err error)

GetAcmeCertificateRequestsCommand - Get all ACME Certificate Requests RequestType: GET Input: input *GetAcmeCertificateRequestsCommandInput

func (*AcmeService) GetAcmeServerCommand

func (s *AcmeService) GetAcmeServerCommand(input *GetAcmeServerCommandInput) (output *models.AcmeServerView, resp *http.Response, err error)

GetAcmeServerCommand - Get an ACME Server RequestType: GET Input: input *GetAcmeServerCommandInput

func (*AcmeService) GetAcmeServersCommand

func (s *AcmeService) GetAcmeServersCommand(input *GetAcmeServersCommandInput) (output *models.AcmeServersView, resp *http.Response, err error)

GetAcmeServersCommand - Get all ACME Servers RequestType: GET Input: input *GetAcmeServersCommandInput

func (*AcmeService) GetDefaultAcmeServerCommand

func (s *AcmeService) GetDefaultAcmeServerCommand() (output *models.LinkView, resp *http.Response, err error)

GetDefaultAcmeServerCommand - Get the default ACME Server RequestType: GET Input:

func (*AcmeService) UpdateDefaultAcmeServerCommand

func (s *AcmeService) UpdateDefaultAcmeServerCommand(input *UpdateDefaultAcmeServerCommandInput) (output *models.LinkView, resp *http.Response, err error)

UpdateDefaultAcmeServerCommand - Update the default ACME Server RequestType: PUT Input: input *UpdateDefaultAcmeServerCommandInput

type AddAcmeAccountCommandInput

type AddAcmeAccountCommandInput struct {
	Body         models.AcmeAccountView
	AcmeServerId string
}

AddAcmeAccountCommandInput - Inputs for AddAcmeAccountCommand

type AddAcmeCertificateRequestCommandInput

type AddAcmeCertificateRequestCommandInput struct {
	Body          models.AcmeCertificateRequestView
	AcmeServerId  string
	AcmeAccountId string
}

AddAcmeCertificateRequestCommandInput - Inputs for AddAcmeCertificateRequestCommand

type AddAcmeServerCommandInput

type AddAcmeServerCommandInput struct {
	Body models.AcmeServerView
}

AddAcmeServerCommandInput - Inputs for AddAcmeServerCommand

type DeleteAcmeAccountCommandInput

type DeleteAcmeAccountCommandInput struct {
	AcmeServerId  string
	AcmeAccountId string
}

DeleteAcmeAccountCommandInput - Inputs for DeleteAcmeAccountCommand

type DeleteAcmeCertificateRequestCommandInput

type DeleteAcmeCertificateRequestCommandInput struct {
	AcmeServerId             string
	AcmeAccountId            string
	AcmeCertificateRequestId string
}

DeleteAcmeCertificateRequestCommandInput - Inputs for DeleteAcmeCertificateRequestCommand

type DeleteAcmeServerCommandInput

type DeleteAcmeServerCommandInput struct {
	AcmeServerId string
}

DeleteAcmeServerCommandInput - Inputs for DeleteAcmeServerCommand

type GetAcmeAccountCommandInput

type GetAcmeAccountCommandInput struct {
	AcmeServerId  string
	AcmeAccountId string
}

GetAcmeAccountCommandInput - Inputs for GetAcmeAccountCommand

type GetAcmeAccountsCommandInput

type GetAcmeAccountsCommandInput struct {
	Page          string
	NumberPerPage string
	SortKey       string
	Order         string

	AcmeServerId string
}

GetAcmeAccountsCommandInput - Inputs for GetAcmeAccountsCommand

type GetAcmeCertificateRequestCommandInput

type GetAcmeCertificateRequestCommandInput struct {
	AcmeServerId             string
	AcmeAccountId            string
	AcmeCertificateRequestId string
}

GetAcmeCertificateRequestCommandInput - Inputs for GetAcmeCertificateRequestCommand

type GetAcmeCertificateRequestsCommandInput

type GetAcmeCertificateRequestsCommandInput struct {
	KeyPairId     string
	Page          string
	NumberPerPage string
	SortKey       string
	Order         string

	AcmeServerId  string
	AcmeAccountId string
}

GetAcmeCertificateRequestsCommandInput - Inputs for GetAcmeCertificateRequestsCommand

type GetAcmeServerCommandInput

type GetAcmeServerCommandInput struct {
	AcmeServerId string
}

GetAcmeServerCommandInput - Inputs for GetAcmeServerCommand

type GetAcmeServersCommandInput

type GetAcmeServersCommandInput struct {
	Page          string
	NumberPerPage string
	Filter        string
	Name          string
	SortKey       string
	Order         string
}

GetAcmeServersCommandInput - Inputs for GetAcmeServersCommand

type UpdateDefaultAcmeServerCommandInput

type UpdateDefaultAcmeServerCommandInput struct {
	Body models.LinkView
}

UpdateDefaultAcmeServerCommandInput - Inputs for UpdateDefaultAcmeServerCommand

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL