hsmProviders

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 = "HsmProviders"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddHsmProviderCommandInput

type AddHsmProviderCommandInput struct {
	Body models.HsmProviderView
}

AddHsmProviderCommandInput - Inputs for AddHsmProviderCommand

type DeleteHsmProviderCommandInput

type DeleteHsmProviderCommandInput struct {
	Id string
}

DeleteHsmProviderCommandInput - Inputs for DeleteHsmProviderCommand

type GetHsmProviderCommandInput

type GetHsmProviderCommandInput struct {
	Id string
}

GetHsmProviderCommandInput - Inputs for GetHsmProviderCommand

type GetHsmProvidersCommandInput

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

GetHsmProvidersCommandInput - Inputs for GetHsmProvidersCommand

type HsmProvidersAPI

type HsmProvidersAPI interface {
	GetHsmProvidersCommand(input *GetHsmProvidersCommandInput) (output *models.HsmProviderView, resp *http.Response, err error)
	AddHsmProviderCommand(input *AddHsmProviderCommandInput) (output *models.HsmProviderView, resp *http.Response, err error)
	GetHsmProviderDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error)
	DeleteHsmProviderCommand(input *DeleteHsmProviderCommandInput) (resp *http.Response, err error)
	GetHsmProviderCommand(input *GetHsmProviderCommandInput) (output *models.HsmProviderView, resp *http.Response, err error)
	UpdateHsmProviderCommand(input *UpdateHsmProviderCommandInput) (output *models.HsmProviderView, resp *http.Response, err error)
}

type HsmProvidersService

type HsmProvidersService struct {
	*client.Client
}

HsmProvidersService provides the API operations for making requests to HsmProviders endpoint.

func New

New createa a new instance of the HsmProvidersService client.

Example:

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

//Create a HsmProvidersService from the configuration
svc := hsmProviders.New(cfg)

func (*HsmProvidersService) AddHsmProviderCommand

func (s *HsmProvidersService) AddHsmProviderCommand(input *AddHsmProviderCommandInput) (output *models.HsmProviderView, resp *http.Response, err error)

AddHsmProviderCommand - Create an HSM Provider RequestType: POST Input: input *AddHsmProviderCommandInput

func (*HsmProvidersService) DeleteHsmProviderCommand

func (s *HsmProvidersService) DeleteHsmProviderCommand(input *DeleteHsmProviderCommandInput) (resp *http.Response, err error)

DeleteHsmProviderCommand - Delete an HSM Provider RequestType: DELETE Input: input *DeleteHsmProviderCommandInput

func (*HsmProvidersService) GetHsmProviderCommand

func (s *HsmProvidersService) GetHsmProviderCommand(input *GetHsmProviderCommandInput) (output *models.HsmProviderView, resp *http.Response, err error)

GetHsmProviderCommand - Get an HSM Provider RequestType: GET Input: input *GetHsmProviderCommandInput

func (*HsmProvidersService) GetHsmProviderDescriptorsCommand

func (s *HsmProvidersService) GetHsmProviderDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error)

GetHsmProviderDescriptorsCommand - Get descriptors for all HSM Providers RequestType: GET Input:

func (*HsmProvidersService) GetHsmProvidersCommand

func (s *HsmProvidersService) GetHsmProvidersCommand(input *GetHsmProvidersCommandInput) (output *models.HsmProviderView, resp *http.Response, err error)

GetHsmProvidersCommand - Get all HSM Providers RequestType: GET Input: input *GetHsmProvidersCommandInput

func (*HsmProvidersService) UpdateHsmProviderCommand

func (s *HsmProvidersService) UpdateHsmProviderCommand(input *UpdateHsmProviderCommandInput) (output *models.HsmProviderView, resp *http.Response, err error)

UpdateHsmProviderCommand - Update an HSM Provider RequestType: PUT Input: input *UpdateHsmProviderCommandInput

type UpdateHsmProviderCommandInput

type UpdateHsmProviderCommandInput struct {
	Body models.HsmProviderView
	Id   string
}

UpdateHsmProviderCommandInput - Inputs for UpdateHsmProviderCommand

Jump to

Keyboard shortcuts

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