applications

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 = "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)
	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) (output *models.ApplicationView, 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

type ApplicationsService struct {
	*client.Client
}

ApplicationsService provides the API operations for making requests to Applications endpoint.

func New

New createa a new instance of the ApplicationsService client.

Example:

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

//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) (output *models.ApplicationView, 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) 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

type DeleteApplicationResourceCommandInput struct {
	ApplicationId string
	ResourceId    string
}

DeleteApplicationResourceCommandInput - Inputs for DeleteApplicationResourceCommand

type GetApplicationCommandInput

type GetApplicationCommandInput struct {
	Id string
}

GetApplicationCommandInput - Inputs for GetApplicationCommand

type GetApplicationResourceCommandInput

type GetApplicationResourceCommandInput struct {
	ApplicationId string
	ResourceId    string
}

GetApplicationResourceCommandInput - Inputs for GetApplicationResourceCommand

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

Jump to

Keyboard shortcuts

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