Documentation ¶
Index ¶
- Constants
- type AddSharedSecretCommandInput
- type DeleteSharedSecretCommandInput
- type GetSharedSecretCommandInput
- type GetSharedSecretsCommandInput
- type SharedSecretsAPI
- type SharedSecretsService
- func (s *SharedSecretsService) AddSharedSecretCommand(input *AddSharedSecretCommandInput) (output *models.SharedSecretView, resp *http.Response, err error)
- func (s *SharedSecretsService) DeleteSharedSecretCommand(input *DeleteSharedSecretCommandInput) (resp *http.Response, err error)
- func (s *SharedSecretsService) GetSharedSecretCommand(input *GetSharedSecretCommandInput) (output *models.SharedSecretView, resp *http.Response, err error)
- func (s *SharedSecretsService) GetSharedSecretsCommand(input *GetSharedSecretsCommandInput) (output *models.SharedSecretsView, resp *http.Response, err error)
Constants ¶
const (
// ServiceName - The name of service.
ServiceName = "SharedSecrets"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddSharedSecretCommandInput ¶
type AddSharedSecretCommandInput struct {
}AddSharedSecretCommandInput - Inputs for AddSharedSecretCommand
type DeleteSharedSecretCommandInput ¶
type DeleteSharedSecretCommandInput struct {
}DeleteSharedSecretCommandInput - Inputs for DeleteSharedSecretCommand
type GetSharedSecretCommandInput ¶
type GetSharedSecretCommandInput struct {
}GetSharedSecretCommandInput - Inputs for GetSharedSecretCommand
type GetSharedSecretsCommandInput ¶
type GetSharedSecretsCommandInput struct {}
GetSharedSecretsCommandInput - Inputs for GetSharedSecretsCommand
type SharedSecretsAPI ¶
type SharedSecretsAPI interface {}
type SharedSecretsService ¶
type SharedSecretsService struct {
}SharedSecretsService provides the API operations for making requests to SharedSecrets endpoint.
func New ¶
func New(cfg *config.Config) *SharedSecretsService
New createa a new instance of the SharedSecretsService client.
Example:
cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2FederateM0re").WithEndpoint(paURL.String()) //Create a SharedSecretsService from the configuration svc := sharedSecrets.New(cfg)
func (*SharedSecretsService) AddSharedSecretCommand ¶
func (s *SharedSecretsService) AddSharedSecretCommand(input *AddSharedSecretCommandInput) (output *models.SharedSecretView, resp *http.Response, err error)
AddSharedSecretCommand - Create a Shared Secret RequestType: POST Input: input *AddSharedSecretCommandInput
func (*SharedSecretsService) DeleteSharedSecretCommand ¶
func (s *SharedSecretsService) DeleteSharedSecretCommand(input *DeleteSharedSecretCommandInput) (resp *http.Response, err error)
DeleteSharedSecretCommand - Delete a Shared Secret RequestType: DELETE Input: input *DeleteSharedSecretCommandInput
func (*SharedSecretsService) GetSharedSecretCommand ¶
func (s *SharedSecretsService) GetSharedSecretCommand(input *GetSharedSecretCommandInput) (output *models.SharedSecretView, resp *http.Response, err error)
GetSharedSecretCommand - Get a Shared Secret RequestType: GET Input: input *GetSharedSecretCommandInput
func (*SharedSecretsService) GetSharedSecretsCommand ¶
func (s *SharedSecretsService) GetSharedSecretsCommand(input *GetSharedSecretsCommandInput) (output *models.SharedSecretsView, resp *http.Response, err error)
GetSharedSecretsCommand - Get all Shared Secrets RequestType: GET Input: input *GetSharedSecretsCommandInput