certificates

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificatesAPI

type CertificatesAPI interface {
	GetTrustedCerts(input *GetTrustedCertsInput) (output *models.TrustedCertsView, resp *http.Response, err error)
	ImportTrustedCert(input *ImportTrustedCertInput) (output *models.TrustedCertView, resp *http.Response, err error)
	DeleteTrustedCertCommand(input *DeleteTrustedCertCommandInput) (resp *http.Response, err error)
	GetTrustedCert(input *GetTrustedCertInput) (output *models.TrustedCertView, resp *http.Response, err error)
	UpdateTrustedCert(input *UpdateTrustedCertInput) (output *models.TrustedCertView, resp *http.Response, err error)
	ExportTrustedCert(input *ExportTrustedCertInput) (output *string, resp *http.Response, err error)
}

type CertificatesService

type CertificatesService struct {
	*client.Client
}

CertificatesService provides the API operations for making requests to Certificates endpoint.

func New

New createa a new instance of the CertificatesService client.

Example:

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

//Create a CertificatesService from the configuration
svc := certificates.New(cfg)

func (*CertificatesService) DeleteTrustedCertCommand

func (s *CertificatesService) DeleteTrustedCertCommand(input *DeleteTrustedCertCommandInput) (resp *http.Response, err error)

DeleteTrustedCertCommand - Delete a Certificate RequestType: DELETE Input: input *DeleteTrustedCertCommandInput

func (*CertificatesService) ExportTrustedCert

func (s *CertificatesService) ExportTrustedCert(input *ExportTrustedCertInput) (output *string, resp *http.Response, err error)

ExportTrustedCert - Export a Certificate RequestType: GET Input: input *ExportTrustedCertInput

func (*CertificatesService) GetTrustedCert

func (s *CertificatesService) GetTrustedCert(input *GetTrustedCertInput) (output *models.TrustedCertView, resp *http.Response, err error)

GetTrustedCert - Get a Certificate RequestType: GET Input: input *GetTrustedCertInput

func (*CertificatesService) GetTrustedCerts

func (s *CertificatesService) GetTrustedCerts(input *GetTrustedCertsInput) (output *models.TrustedCertsView, resp *http.Response, err error)

GetTrustedCerts - Get all Certificates RequestType: GET Input: input *GetTrustedCertsInput

func (*CertificatesService) ImportTrustedCert

func (s *CertificatesService) ImportTrustedCert(input *ImportTrustedCertInput) (output *models.TrustedCertView, resp *http.Response, err error)

ImportTrustedCert - Import a Certificate RequestType: POST Input: input *ImportTrustedCertInput

func (*CertificatesService) UpdateTrustedCert

func (s *CertificatesService) UpdateTrustedCert(input *UpdateTrustedCertInput) (output *models.TrustedCertView, resp *http.Response, err error)

UpdateTrustedCert - Update a Certificate RequestType: PUT Input: input *UpdateTrustedCertInput

type DeleteTrustedCertCommandInput

type DeleteTrustedCertCommandInput struct {
	Id string
}

DeleteTrustedCertCommandInput - Inputs for DeleteTrustedCertCommand

type ExportTrustedCertInput

type ExportTrustedCertInput struct {
	Id string
}

ExportTrustedCertInput - Inputs for ExportTrustedCert

type GetTrustedCertInput

type GetTrustedCertInput struct {
	Id string
}

GetTrustedCertInput - Inputs for GetTrustedCert

type GetTrustedCertsInput

type GetTrustedCertsInput struct {
	Page          string
	NumberPerPage string
	Filter        string
	Alias         string
	SortKey       string
	Order         string
}

GetTrustedCertsInput - Inputs for GetTrustedCerts

type ImportTrustedCertInput

type ImportTrustedCertInput struct {
	Body models.X509FileImportDocView
}

ImportTrustedCertInput - Inputs for ImportTrustedCert

type UpdateTrustedCertInput

type UpdateTrustedCertInput struct {
	Body models.X509FileImportDocView
	Id   string
}

UpdateTrustedCertInput - Inputs for UpdateTrustedCert

Jump to

Keyboard shortcuts

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