keyPairs

package
v0.0.0-...-367d749 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyPairsAPI

type KeyPairsAPI interface {
	GetKeyAlgorithms() (output *models.KeyAlgorithms, resp *http.Response, err error)
	GetKeyAlgorithmsWithContext(ctx context.Context) (output *models.KeyAlgorithms, resp *http.Response, err error)
}

type KeyPairsService

type KeyPairsService struct {
	*client.PfClient
}

func New

func New(cfg *config.Config) *KeyPairsService

New creates a new instance of the KeyPairsService client.

func (*KeyPairsService) GetKeyAlgorithms

func (s *KeyPairsService) GetKeyAlgorithms() (output *models.KeyAlgorithms, resp *http.Response, err error)

GetKeyAlgorithms - Get list of the key algorithms supported for key pair generation. RequestType: GET Input:

func (*KeyPairsService) GetKeyAlgorithmsWithContext

func (s *KeyPairsService) GetKeyAlgorithmsWithContext(ctx context.Context) (output *models.KeyAlgorithms, resp *http.Response, err error)

GetKeyAlgorithmsWithContext - Get list of the key algorithms supported for key pair generation. RequestType: GET Input: ctx context.Context,

Jump to

Keyboard shortcuts

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