httpConfig

package
Version: v60.0.0-...-0b96ee7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceName - The name of service.
	ServiceName = "HttpConfig"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpConfigAPI

type HttpConfigAPI interface {
	DeleteHttpMonitoringCommand() (resp *http.Response, err error)
	GetHttpMonitoringCommand() (output *models.HttpMonitoringView, resp *http.Response, err error)
	UpdateHttpMonitoringCommand(input *UpdateHttpMonitoringCommandInput) (output *models.HttpMonitoringView, resp *http.Response, err error)
	DeleteHostSourceCommand() (resp *http.Response, err error)
	GetHostSourceCommand() (output *models.HostMultiValueSourceView, resp *http.Response, err error)
	UpdateHostSourceCommand(input *UpdateHostSourceCommandInput) (output *models.HostMultiValueSourceView, resp *http.Response, err error)
	DeleteIpSourceCommand() (resp *http.Response, err error)
	GetIpSourceCommand() (output *models.IpMultiValueSourceView, resp *http.Response, err error)
	UpdateIpSourceCommand(input *UpdateIpSourceCommandInput) (output *models.IpMultiValueSourceView, resp *http.Response, err error)
	DeleteProtoSourceCommand() (resp *http.Response, err error)
	GetProtoSourceCommand() (output *models.ProtocolSourceView, resp *http.Response, err error)
	UpdateProtocolSourceCommand(input *UpdateProtocolSourceCommandInput) (output *models.ProtocolSourceView, resp *http.Response, err error)
}

type HttpConfigService

type HttpConfigService struct {
	*client.Client
}

HttpConfigService provides the API operations for making requests to HttpConfig endpoint.

func New

func New(cfg *config.Config) *HttpConfigService

New creates a new instance of the HttpConfigService client.

Example:

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

//Create a HttpConfigService from the configuration
svc := httpConfig.New(cfg)

func (*HttpConfigService) DeleteHostSourceCommand

func (s *HttpConfigService) DeleteHostSourceCommand() (resp *http.Response, err error)

DeleteHostSourceCommand - Resets the HTTP request Host Source type to default values RequestType: DELETE Input:

func (*HttpConfigService) DeleteHttpMonitoringCommand

func (s *HttpConfigService) DeleteHttpMonitoringCommand() (resp *http.Response, err error)

DeleteHttpMonitoringCommand - Resets the HTTP monitoring auditLevel to default value RequestType: DELETE Input:

func (*HttpConfigService) DeleteIpSourceCommand

func (s *HttpConfigService) DeleteIpSourceCommand() (resp *http.Response, err error)

DeleteIpSourceCommand - Resets the HTTP request IP Source type to default values RequestType: DELETE Input:

func (*HttpConfigService) DeleteProtoSourceCommand

func (s *HttpConfigService) DeleteProtoSourceCommand() (resp *http.Response, err error)

DeleteProtoSourceCommand - Resets the HTTP request Protocol Source type to default values RequestType: DELETE Input:

func (*HttpConfigService) GetHostSourceCommand

func (s *HttpConfigService) GetHostSourceCommand() (output *models.HostMultiValueSourceView, resp *http.Response, err error)

GetHostSourceCommand - Get the HTTP request Host Source type RequestType: GET Input:

func (*HttpConfigService) GetHttpMonitoringCommand

func (s *HttpConfigService) GetHttpMonitoringCommand() (output *models.HttpMonitoringView, resp *http.Response, err error)

GetHttpMonitoringCommand - Get the HTTP monitoring auditLevel RequestType: GET Input:

func (*HttpConfigService) GetIpSourceCommand

func (s *HttpConfigService) GetIpSourceCommand() (output *models.IpMultiValueSourceView, resp *http.Response, err error)

GetIpSourceCommand - Get the HTTP request IP Source type RequestType: GET Input:

func (*HttpConfigService) GetProtoSourceCommand

func (s *HttpConfigService) GetProtoSourceCommand() (output *models.ProtocolSourceView, resp *http.Response, err error)

GetProtoSourceCommand - Get the HTTP request Protocol Source type RequestType: GET Input:

func (*HttpConfigService) UpdateHostSourceCommand

func (s *HttpConfigService) UpdateHostSourceCommand(input *UpdateHostSourceCommandInput) (output *models.HostMultiValueSourceView, resp *http.Response, err error)

UpdateHostSourceCommand - Update the HTTP request Host Source type RequestType: PUT Input: input *UpdateHostSourceCommandInput

func (*HttpConfigService) UpdateHttpMonitoringCommand

func (s *HttpConfigService) UpdateHttpMonitoringCommand(input *UpdateHttpMonitoringCommandInput) (output *models.HttpMonitoringView, resp *http.Response, err error)

UpdateHttpMonitoringCommand - Update the HTTP monitoring auditLevel RequestType: PUT Input: input *UpdateHttpMonitoringCommandInput

func (*HttpConfigService) UpdateIpSourceCommand

func (s *HttpConfigService) UpdateIpSourceCommand(input *UpdateIpSourceCommandInput) (output *models.IpMultiValueSourceView, resp *http.Response, err error)

UpdateIpSourceCommand - Update the HTTP request IP Source type RequestType: PUT Input: input *UpdateIpSourceCommandInput

func (*HttpConfigService) UpdateProtocolSourceCommand

func (s *HttpConfigService) UpdateProtocolSourceCommand(input *UpdateProtocolSourceCommandInput) (output *models.ProtocolSourceView, resp *http.Response, err error)

UpdateProtocolSourceCommand - Update the HTTP request Protocol Source type RequestType: PUT Input: input *UpdateProtocolSourceCommandInput

type UpdateHostSourceCommandInput

type UpdateHostSourceCommandInput struct {
	Body models.HostMultiValueSourceView
}

UpdateHostSourceCommandInput - Inputs for UpdateHostSourceCommand

type UpdateHttpMonitoringCommandInput

type UpdateHttpMonitoringCommandInput struct {
	Body models.HttpMonitoringView
}

UpdateHttpMonitoringCommandInput - Inputs for UpdateHttpMonitoringCommand

type UpdateIpSourceCommandInput

type UpdateIpSourceCommandInput struct {
	Body models.IpMultiValueSourceView
}

UpdateIpSourceCommandInput - Inputs for UpdateIpSourceCommand

type UpdateProtocolSourceCommandInput

type UpdateProtocolSourceCommandInput struct {
	Body models.ProtocolSourceView
}

UpdateProtocolSourceCommandInput - Inputs for UpdateProtocolSourceCommand

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL