Documentation ¶
Index ¶
- Constants
- type AddHsmProviderCommandInput
- type DeleteHsmProviderCommandInput
- type GetHsmProviderCommandInput
- type GetHsmProvidersCommandInput
- type HsmProvidersAPI
- type HsmProvidersService
- func (s *HsmProvidersService) AddHsmProviderCommand(input *AddHsmProviderCommandInput) (output *models.HsmProviderView, resp *http.Response, err error)
- func (s *HsmProvidersService) DeleteHsmProviderCommand(input *DeleteHsmProviderCommandInput) (resp *http.Response, err error)
- func (s *HsmProvidersService) GetHsmProviderCommand(input *GetHsmProviderCommandInput) (output *models.HsmProviderView, resp *http.Response, err error)
- func (s *HsmProvidersService) GetHsmProviderDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error)
- func (s *HsmProvidersService) GetHsmProvidersCommand(input *GetHsmProvidersCommandInput) (output *models.HsmProviderView, resp *http.Response, err error)
- func (s *HsmProvidersService) UpdateHsmProviderCommand(input *UpdateHsmProviderCommandInput) (output *models.HsmProviderView, resp *http.Response, err error)
- type UpdateHsmProviderCommandInput
Constants ¶
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 ¶
HsmProvidersService provides the API operations for making requests to HsmProviders endpoint.
func New ¶
func New(cfg *config.Config) *HsmProvidersService
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