Documentation ¶
Index ¶
- Constants
- type AddApplicationCommandInput
- type AddApplicationResourceCommandInput
- type ApplicationsAPI
- type ApplicationsService
- func (s *ApplicationsService) AddApplicationCommand(input *AddApplicationCommandInput) (output *models.ApplicationView, resp *http.Response, err error)
- func (s *ApplicationsService) AddApplicationResourceCommand(input *AddApplicationResourceCommandInput) (output *models.ResourceView, resp *http.Response, err error)
- func (s *ApplicationsService) DeleteApplicationCommand(input *DeleteApplicationCommandInput) (resp *http.Response, err error)
- func (s *ApplicationsService) DeleteApplicationResourceCommand(input *DeleteApplicationResourceCommandInput) (resp *http.Response, err error)
- func (s *ApplicationsService) DeleteReservedApplicationCommand() (resp *http.Response, err error)
- func (s *ApplicationsService) GetApplicationCommand(input *GetApplicationCommandInput) (output *models.ApplicationView, resp *http.Response, err error)
- func (s *ApplicationsService) GetApplicationResourceCommand(input *GetApplicationResourceCommandInput) (output *models.ResourceView, resp *http.Response, err error)
- func (s *ApplicationsService) GetApplicationResourceResponseGeneratorDescriptorCommand(input *GetApplicationResourceResponseGeneratorDescriptorCommandInput) (output *models.DescriptorView, resp *http.Response, err error)
- func (s *ApplicationsService) GetApplicationResourceResponseGeneratorDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error)
- func (s *ApplicationsService) GetApplicationResourcesCommand(input *GetApplicationResourcesCommandInput) (output *models.ResourcesView, resp *http.Response, err error)
- func (s *ApplicationsService) GetApplicationsCommand(input *GetApplicationsCommandInput) (output *models.ApplicationsView, resp *http.Response, err error)
- func (s *ApplicationsService) GetApplicationsResourcesMethodsCommand() (output *models.MethodsView, resp *http.Response, err error)
- func (s *ApplicationsService) GetReservedApplicationCommand() (output *models.ReservedApplicationView, resp *http.Response, err error)
- func (s *ApplicationsService) GetResourceAutoOrderCommand(input *GetResourceAutoOrderCommandInput) (output *models.ResourceOrderView, resp *http.Response, err error)
- func (s *ApplicationsService) GetResourceMatchingEvaluationOrderCommand(input *GetResourceMatchingEvaluationOrderCommandInput) (output *models.ResourceMatchingEvaluationOrderView, resp *http.Response, ...)
- func (s *ApplicationsService) GetResourcesCommand(input *GetResourcesCommandInput) (output *models.ResourcesView, resp *http.Response, err error)
- func (s *ApplicationsService) UpdateApplicationCommand(input *UpdateApplicationCommandInput) (output *models.ApplicationView, resp *http.Response, err error)
- func (s *ApplicationsService) UpdateApplicationResourceCommand(input *UpdateApplicationResourceCommandInput) (output *models.ResourceView, resp *http.Response, err error)
- func (s *ApplicationsService) UpdateReservedApplicationCommand(input *UpdateReservedApplicationCommandInput) (output *models.ReservedApplicationView, resp *http.Response, err error)
- type DeleteApplicationCommandInput
- type DeleteApplicationResourceCommandInput
- type GetApplicationCommandInput
- type GetApplicationResourceCommandInput
- type GetApplicationResourceResponseGeneratorDescriptorCommandInput
- type GetApplicationResourcesCommandInput
- type GetApplicationsCommandInput
- type GetResourceAutoOrderCommandInput
- type GetResourceMatchingEvaluationOrderCommandInput
- type GetResourcesCommandInput
- type UpdateApplicationCommandInput
- type UpdateApplicationResourceCommandInput
- type UpdateReservedApplicationCommandInput
Constants ¶
const (
// ServiceName - The name of service.
ServiceName = "Applications"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddApplicationCommandInput ¶
type AddApplicationCommandInput struct {
Body models.ApplicationView
}
AddApplicationCommandInput - Inputs for AddApplicationCommand
type AddApplicationResourceCommandInput ¶
type AddApplicationResourceCommandInput struct { Body models.ResourceView Id string }
AddApplicationResourceCommandInput - Inputs for AddApplicationResourceCommand
type ApplicationsAPI ¶
type ApplicationsAPI interface { GetApplicationsCommand(input *GetApplicationsCommandInput) (output *models.ApplicationsView, resp *http.Response, err error) AddApplicationCommand(input *AddApplicationCommandInput) (output *models.ApplicationView, resp *http.Response, err error) DeleteReservedApplicationCommand() (resp *http.Response, err error) GetReservedApplicationCommand() (output *models.ReservedApplicationView, resp *http.Response, err error) UpdateReservedApplicationCommand(input *UpdateReservedApplicationCommandInput) (output *models.ReservedApplicationView, resp *http.Response, err error) GetResourcesCommand(input *GetResourcesCommandInput) (output *models.ResourcesView, resp *http.Response, err error) GetApplicationsResourcesMethodsCommand() (output *models.MethodsView, resp *http.Response, err error) GetApplicationResourceResponseGeneratorDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error) GetApplicationResourceResponseGeneratorDescriptorCommand(input *GetApplicationResourceResponseGeneratorDescriptorCommandInput) (output *models.DescriptorView, resp *http.Response, err error) DeleteApplicationResourceCommand(input *DeleteApplicationResourceCommandInput) (resp *http.Response, err error) GetApplicationResourceCommand(input *GetApplicationResourceCommandInput) (output *models.ResourceView, resp *http.Response, err error) UpdateApplicationResourceCommand(input *UpdateApplicationResourceCommandInput) (output *models.ResourceView, resp *http.Response, err error) DeleteApplicationCommand(input *DeleteApplicationCommandInput) (resp *http.Response, err error) GetApplicationCommand(input *GetApplicationCommandInput) (output *models.ApplicationView, resp *http.Response, err error) UpdateApplicationCommand(input *UpdateApplicationCommandInput) (output *models.ApplicationView, resp *http.Response, err error) GetResourceMatchingEvaluationOrderCommand(input *GetResourceMatchingEvaluationOrderCommandInput) (output *models.ResourceMatchingEvaluationOrderView, resp *http.Response, err error) GetApplicationResourcesCommand(input *GetApplicationResourcesCommandInput) (output *models.ResourcesView, resp *http.Response, err error) AddApplicationResourceCommand(input *AddApplicationResourceCommandInput) (output *models.ResourceView, resp *http.Response, err error) GetResourceAutoOrderCommand(input *GetResourceAutoOrderCommandInput) (output *models.ResourceOrderView, resp *http.Response, err error) }
type ApplicationsService ¶
ApplicationsService provides the API operations for making requests to Applications endpoint.
func New ¶
func New(cfg *config.Config) *ApplicationsService
New createa a new instance of the ApplicationsService client.
Example:
cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2Access").WithEndpoint(paURL) //Create a ApplicationsService from the configuration svc := applications.New(cfg)
func (*ApplicationsService) AddApplicationCommand ¶
func (s *ApplicationsService) AddApplicationCommand(input *AddApplicationCommandInput) (output *models.ApplicationView, resp *http.Response, err error)
AddApplicationCommand - Add an Application RequestType: POST Input: input *AddApplicationCommandInput
func (*ApplicationsService) AddApplicationResourceCommand ¶
func (s *ApplicationsService) AddApplicationResourceCommand(input *AddApplicationResourceCommandInput) (output *models.ResourceView, resp *http.Response, err error)
AddApplicationResourceCommand - Add Resource to an Application RequestType: POST Input: input *AddApplicationResourceCommandInput
func (*ApplicationsService) DeleteApplicationCommand ¶
func (s *ApplicationsService) DeleteApplicationCommand(input *DeleteApplicationCommandInput) (resp *http.Response, err error)
DeleteApplicationCommand - Delete an Application RequestType: DELETE Input: input *DeleteApplicationCommandInput
func (*ApplicationsService) DeleteApplicationResourceCommand ¶
func (s *ApplicationsService) DeleteApplicationResourceCommand(input *DeleteApplicationResourceCommandInput) (resp *http.Response, err error)
DeleteApplicationResourceCommand - Delete an Application Resource RequestType: DELETE Input: input *DeleteApplicationResourceCommandInput
func (*ApplicationsService) DeleteReservedApplicationCommand ¶
func (s *ApplicationsService) DeleteReservedApplicationCommand() (resp *http.Response, err error)
DeleteReservedApplicationCommand - Resets the Reserved Application configuration to default values RequestType: DELETE Input:
func (*ApplicationsService) GetApplicationCommand ¶
func (s *ApplicationsService) GetApplicationCommand(input *GetApplicationCommandInput) (output *models.ApplicationView, resp *http.Response, err error)
GetApplicationCommand - Get an Application RequestType: GET Input: input *GetApplicationCommandInput
func (*ApplicationsService) GetApplicationResourceCommand ¶
func (s *ApplicationsService) GetApplicationResourceCommand(input *GetApplicationResourceCommandInput) (output *models.ResourceView, resp *http.Response, err error)
GetApplicationResourceCommand - Get an Application Resource RequestType: GET Input: input *GetApplicationResourceCommandInput
func (*ApplicationsService) GetApplicationResourceResponseGeneratorDescriptorCommand ¶
func (s *ApplicationsService) GetApplicationResourceResponseGeneratorDescriptorCommand(input *GetApplicationResourceResponseGeneratorDescriptorCommandInput) (output *models.DescriptorView, resp *http.Response, err error)
GetApplicationResourceResponseGeneratorDescriptorCommand - Get descriptor for a Response Generator type RequestType: GET Input: input *GetApplicationResourceResponseGeneratorDescriptorCommandInput
func (*ApplicationsService) GetApplicationResourceResponseGeneratorDescriptorsCommand ¶
func (s *ApplicationsService) GetApplicationResourceResponseGeneratorDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error)
GetApplicationResourceResponseGeneratorDescriptorsCommand - Get descriptors for all Application Resource Response Generators RequestType: GET Input:
func (*ApplicationsService) GetApplicationResourcesCommand ¶
func (s *ApplicationsService) GetApplicationResourcesCommand(input *GetApplicationResourcesCommandInput) (output *models.ResourcesView, resp *http.Response, err error)
GetApplicationResourcesCommand - Get Resources for an Application RequestType: GET Input: input *GetApplicationResourcesCommandInput
func (*ApplicationsService) GetApplicationsCommand ¶
func (s *ApplicationsService) GetApplicationsCommand(input *GetApplicationsCommandInput) (output *models.ApplicationsView, resp *http.Response, err error)
GetApplicationsCommand - Get all Applications RequestType: GET Input: input *GetApplicationsCommandInput
func (*ApplicationsService) GetApplicationsResourcesMethodsCommand ¶
func (s *ApplicationsService) GetApplicationsResourcesMethodsCommand() (output *models.MethodsView, resp *http.Response, err error)
GetApplicationsResourcesMethodsCommand - Get Application Resource Methods RequestType: GET Input:
func (*ApplicationsService) GetReservedApplicationCommand ¶
func (s *ApplicationsService) GetReservedApplicationCommand() (output *models.ReservedApplicationView, resp *http.Response, err error)
GetReservedApplicationCommand - Get Reserved Application configuration RequestType: GET Input:
func (*ApplicationsService) GetResourceAutoOrderCommand ¶
func (s *ApplicationsService) GetResourceAutoOrderCommand(input *GetResourceAutoOrderCommandInput) (output *models.ResourceOrderView, resp *http.Response, err error)
GetResourceAutoOrderCommand - Computes an automatic, intelligent resource ordering for an Application. RequestType: GET Input: input *GetResourceAutoOrderCommandInput
func (*ApplicationsService) GetResourceMatchingEvaluationOrderCommand ¶
func (s *ApplicationsService) GetResourceMatchingEvaluationOrderCommand(input *GetResourceMatchingEvaluationOrderCommandInput) (output *models.ResourceMatchingEvaluationOrderView, resp *http.Response, err error)
GetResourceMatchingEvaluationOrderCommand - Get the resource path ordering for an Application RequestType: GET Input: input *GetResourceMatchingEvaluationOrderCommandInput
func (*ApplicationsService) GetResourcesCommand ¶
func (s *ApplicationsService) GetResourcesCommand(input *GetResourcesCommandInput) (output *models.ResourcesView, resp *http.Response, err error)
GetResourcesCommand - Get all Resources RequestType: GET Input: input *GetResourcesCommandInput
func (*ApplicationsService) UpdateApplicationCommand ¶
func (s *ApplicationsService) UpdateApplicationCommand(input *UpdateApplicationCommandInput) (output *models.ApplicationView, resp *http.Response, err error)
UpdateApplicationCommand - Update an Application RequestType: PUT Input: input *UpdateApplicationCommandInput
func (*ApplicationsService) UpdateApplicationResourceCommand ¶
func (s *ApplicationsService) UpdateApplicationResourceCommand(input *UpdateApplicationResourceCommandInput) (output *models.ResourceView, resp *http.Response, err error)
UpdateApplicationResourceCommand - Update an Application Resource RequestType: PUT Input: input *UpdateApplicationResourceCommandInput
func (*ApplicationsService) UpdateReservedApplicationCommand ¶
func (s *ApplicationsService) UpdateReservedApplicationCommand(input *UpdateReservedApplicationCommandInput) (output *models.ReservedApplicationView, resp *http.Response, err error)
UpdateReservedApplicationCommand - Update Reserved Application configuration RequestType: PUT Input: input *UpdateReservedApplicationCommandInput
type DeleteApplicationCommandInput ¶
type DeleteApplicationCommandInput struct {
Id string
}
DeleteApplicationCommandInput - Inputs for DeleteApplicationCommand
type DeleteApplicationResourceCommandInput ¶
DeleteApplicationResourceCommandInput - Inputs for DeleteApplicationResourceCommand
type GetApplicationCommandInput ¶
type GetApplicationCommandInput struct {
Id string
}
GetApplicationCommandInput - Inputs for GetApplicationCommand
type GetApplicationResourceCommandInput ¶
GetApplicationResourceCommandInput - Inputs for GetApplicationResourceCommand
type GetApplicationResourceResponseGeneratorDescriptorCommandInput ¶
type GetApplicationResourceResponseGeneratorDescriptorCommandInput struct {
ResponseGeneratorType string
}
GetApplicationResourceResponseGeneratorDescriptorCommandInput - Inputs for GetApplicationResourceResponseGeneratorDescriptorCommand
type GetApplicationResourcesCommandInput ¶
type GetApplicationResourcesCommandInput struct { Page string NumberPerPage string Name string Filter string SortKey string Order string Id string }
GetApplicationResourcesCommandInput - Inputs for GetApplicationResourcesCommand
type GetApplicationsCommandInput ¶
type GetApplicationsCommandInput struct { Page string SiteId string NumberPerPage string AgentId string VirtualHostId string RuleId string RulesetId string Filter string Name string SortKey string Order string }
GetApplicationsCommandInput - Inputs for GetApplicationsCommand
type GetResourceAutoOrderCommandInput ¶
type GetResourceAutoOrderCommandInput struct {
Id string
}
GetResourceAutoOrderCommandInput - Inputs for GetResourceAutoOrderCommand
type GetResourceMatchingEvaluationOrderCommandInput ¶
type GetResourceMatchingEvaluationOrderCommandInput struct {
Id string
}
GetResourceMatchingEvaluationOrderCommandInput - Inputs for GetResourceMatchingEvaluationOrderCommand
type GetResourcesCommandInput ¶
type GetResourcesCommandInput struct { Page string NumberPerPage string RuleId string RulesetId string Name string Filter string SortKey string Order string }
GetResourcesCommandInput - Inputs for GetResourcesCommand
type UpdateApplicationCommandInput ¶
type UpdateApplicationCommandInput struct { Body models.ApplicationView Id string }
UpdateApplicationCommandInput - Inputs for UpdateApplicationCommand
type UpdateApplicationResourceCommandInput ¶
type UpdateApplicationResourceCommandInput struct { Body models.ResourceView ApplicationId string ResourceId string }
UpdateApplicationResourceCommandInput - Inputs for UpdateApplicationResourceCommand
type UpdateReservedApplicationCommandInput ¶
type UpdateReservedApplicationCommandInput struct {
Body models.ReservedApplicationView
}
UpdateReservedApplicationCommandInput - Inputs for UpdateReservedApplicationCommand