api

package
v1.2.0-beta Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RTMSClient

type RTMSClient struct {
	// contains filtered or unexported fields
}

func NewRTMSClient

func NewRTMSClient(apiKey string, host string, isBase64Func func(string) bool) (*RTMSClient, error)

func (*RTMSClient) AttachNotificationToTicket

func (c *RTMSClient) AttachNotificationToTicket(id string, ticketID int) ([]byte, error)

func (*RTMSClient) CheckRTMSHealth

func (c *RTMSClient) CheckRTMSHealth(integrationServices []int, integrationDelay int) ([]byte, error)

func (*RTMSClient) CheckSLACalculatorHealth

func (c *RTMSClient) CheckSLACalculatorHealth(updateDelay int) ([]byte, error)

func (*RTMSClient) CreateHost

func (c *RTMSClient) CreateHost(cloudTempleID string, hostData map[string]interface{}) ([]byte, error)

func (*RTMSClient) CreateHostTag

func (c *RTMSClient) CreateHostTag(cloudTempleID string, tagData map[string]interface{}) ([]byte, error)

func (*RTMSClient) CreateMonitoringService

func (c *RTMSClient) CreateMonitoringService(cloudTempleID string, serviceData map[string]interface{}) ([]byte, error)

func (*RTMSClient) CreateNotification

func (c *RTMSClient) CreateNotification(notificationData map[string]interface{}) ([]byte, error)

func (*RTMSClient) CreateNotificationTimePeriodStop

func (c *RTMSClient) CreateNotificationTimePeriodStop(cloudTempleID string, stopData map[string]interface{}) ([]byte, error)

func (*RTMSClient) CreateTeam

func (c *RTMSClient) CreateTeam(cloudTempleID string, teamData map[string]interface{}) ([]byte, error)

func (*RTMSClient) CreateTenant

func (c *RTMSClient) CreateTenant(tenantData map[string]interface{}) ([]byte, error)

func (*RTMSClient) CreateTicket

func (c *RTMSClient) CreateTicket(cloudTempleID string, ticketData map[string]interface{}) ([]byte, error)

func (*RTMSClient) CreateTicketTag

func (c *RTMSClient) CreateTicketTag(cloudTempleID string, tagData map[string]interface{}) ([]byte, error)

func (*RTMSClient) CreateUser

func (c *RTMSClient) CreateUser(cloudTempleID string, userData map[string]interface{}) ([]byte, error)

func (*RTMSClient) DeleteTenantSSHKey

func (c *RTMSClient) DeleteTenantSSHKey(id string) ([]byte, error)

func (*RTMSClient) DetachNotificationFromTicket

func (c *RTMSClient) DetachNotificationFromTicket(id string) ([]byte, error)

func (*RTMSClient) DownloadTicketAttachment

func (c *RTMSClient) DownloadTicketAttachment(attachmentID string) ([]byte, error)

func (*RTMSClient) EditHostTag

func (c *RTMSClient) EditHostTag(id string, tagData map[string]interface{}) ([]byte, error)

func (*RTMSClient) EditTeam

func (c *RTMSClient) EditTeam(id string, teamData map[string]interface{}) ([]byte, error)

func (*RTMSClient) EditTenantWorkflowEmailsCloseTicket

func (c *RTMSClient) EditTenantWorkflowEmailsCloseTicket(id string, data map[string]interface{}) ([]byte, error)

func (*RTMSClient) EditTenantWorkflowEmailsCreateTicket

func (c *RTMSClient) EditTenantWorkflowEmailsCreateTicket(id string, data map[string]interface{}) ([]byte, error)

func (*RTMSClient) EditTenantWorkflowEmailsGeneralities

func (c *RTMSClient) EditTenantWorkflowEmailsGeneralities(id string, data map[string]interface{}) ([]byte, error)

func (*RTMSClient) EditTenantWorkflowEmailsUpdateTicket

func (c *RTMSClient) EditTenantWorkflowEmailsUpdateTicket(id string, data map[string]interface{}) ([]byte, error)

func (*RTMSClient) EditTenantWorkflowEmailsValidationClientTicket

func (c *RTMSClient) EditTenantWorkflowEmailsValidationClientTicket(id string, data map[string]interface{}) ([]byte, error)

func (*RTMSClient) EditTicket

func (c *RTMSClient) EditTicket(id string, ticketData map[string]interface{}) ([]byte, error)

func (*RTMSClient) EditTicketComment

func (c *RTMSClient) EditTicketComment(commentID string, commentData map[string]interface{}) ([]byte, error)

func (*RTMSClient) EditTicketTag

func (c *RTMSClient) EditTicketTag(id string, tagData map[string]interface{}) ([]byte, error)

func (*RTMSClient) GenerateTenantSSHKey

func (c *RTMSClient) GenerateTenantSSHKey(id string, keyData map[string]interface{}) ([]byte, error)

func (*RTMSClient) GetAllNotifications

func (c *RTMSClient) GetAllNotifications(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetApplianceConfiguration

func (c *RTMSClient) GetApplianceConfiguration(id, applianceVersion, pluginsPath string) ([]byte, error)

func (*RTMSClient) GetApplianceDetails

func (c *RTMSClient) GetApplianceDetails(id string) ([]byte, error)

func (*RTMSClient) GetApplianceHealthCheck

func (c *RTMSClient) GetApplianceHealthCheck(id string) ([]byte, error)

func (*RTMSClient) GetApplianceServices

func (c *RTMSClient) GetApplianceServices(id string) ([]byte, error)

func (*RTMSClient) GetAppliances

func (c *RTMSClient) GetAppliances(cloudTempleID string) ([]byte, error)

func (*RTMSClient) GetCatalogItems

func (c *RTMSClient) GetCatalogItems(catalogID string, enabled *bool) ([]byte, error)

func (*RTMSClient) GetCatalogs

func (c *RTMSClient) GetCatalogs(cloudTempleID string, availableItems, isRoot bool) ([]byte, error)

func (*RTMSClient) GetDefaultCatalogs

func (c *RTMSClient) GetDefaultCatalogs(availableItems, isRoot bool) ([]byte, error)

func (*RTMSClient) GetDefaultTeams

func (c *RTMSClient) GetDefaultTeams(params map[string]string) ([]byte, error)

func (*RTMSClient) GetGraphConfigurations

func (c *RTMSClient) GetGraphConfigurations(id string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetHostDetails

func (c *RTMSClient) GetHostDetails(id string) ([]byte, error)

func (*RTMSClient) GetHostServices

func (c *RTMSClient) GetHostServices(id string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetHostTagDetails

func (c *RTMSClient) GetHostTagDetails(id string) ([]byte, error)

func (*RTMSClient) GetHostTags

func (c *RTMSClient) GetHostTags(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetHosts

func (c *RTMSClient) GetHosts(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetHostsByTag

func (c *RTMSClient) GetHostsByTag(id string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetHostsStats

func (c *RTMSClient) GetHostsStats(cloudTempleID string) ([]byte, error)

func (*RTMSClient) GetMetricHistory

func (c *RTMSClient) GetMetricHistory(id string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetMonitoringServiceDetails

func (c *RTMSClient) GetMonitoringServiceDetails(id string) ([]byte, error)

func (*RTMSClient) GetMonitoringServiceTemplates

func (c *RTMSClient) GetMonitoringServiceTemplates(params map[string]string) ([]byte, error)

func (*RTMSClient) GetMonitoringServices

func (c *RTMSClient) GetMonitoringServices(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetMonitoringServicesStats

func (c *RTMSClient) GetMonitoringServicesStats(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetNagiosCommands

func (c *RTMSClient) GetNagiosCommands(params map[string]string) ([]byte, error)

func (*RTMSClient) GetNagiosCommandsTimePeriods

func (c *RTMSClient) GetNagiosCommandsTimePeriods(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetNotAssignedUser

func (c *RTMSClient) GetNotAssignedUser() ([]byte, error)

func (*RTMSClient) GetNotificationDetails

func (c *RTMSClient) GetNotificationDetails(id string) ([]byte, error)

func (*RTMSClient) GetNotificationPerimeter

func (c *RTMSClient) GetNotificationPerimeter(id string) ([]byte, error)

func (*RTMSClient) GetNotificationPerimeters

func (c *RTMSClient) GetNotificationPerimeters(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetNotificationStaff

func (c *RTMSClient) GetNotificationStaff(id string) ([]byte, error)

func (*RTMSClient) GetNotificationStaffs

func (c *RTMSClient) GetNotificationStaffs(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetNotificationTimePeriodStop

func (c *RTMSClient) GetNotificationTimePeriodStop(id string) ([]byte, error)

func (*RTMSClient) GetNotificationTimePeriodStops

func (c *RTMSClient) GetNotificationTimePeriodStops(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetNotificationTimePeriods

func (c *RTMSClient) GetNotificationTimePeriods(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetNotificationTriggerDetails

func (c *RTMSClient) GetNotificationTriggerDetails(id string) ([]byte, error)

func (*RTMSClient) GetNotificationTriggers

func (c *RTMSClient) GetNotificationTriggers(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetOnDelegationUser

func (c *RTMSClient) GetOnDelegationUser() ([]byte, error)

func (*RTMSClient) GetRootCatalog

func (c *RTMSClient) GetRootCatalog(catalogType string, availableItems bool) ([]byte, error)

func (*RTMSClient) GetServiceNotifications

func (c *RTMSClient) GetServiceNotifications(serviceID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetTeamDetails

func (c *RTMSClient) GetTeamDetails(id string) ([]byte, error)

func (*RTMSClient) GetTeams

func (c *RTMSClient) GetTeams(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetTenantContacts

func (c *RTMSClient) GetTenantContacts(id string) ([]byte, error)

func (*RTMSClient) GetTenantDetails

func (c *RTMSClient) GetTenantDetails(id string) ([]byte, error)

func (*RTMSClient) GetTenantSSHKeys

func (c *RTMSClient) GetTenantSSHKeys(id string) ([]byte, error)

func (*RTMSClient) GetTenantWorkflowEmails

func (c *RTMSClient) GetTenantWorkflowEmails(id string) ([]byte, error)

func (*RTMSClient) GetTenants

func (c *RTMSClient) GetTenants(params map[string]string) ([]byte, error)

func (*RTMSClient) GetTicketCatalogs

func (c *RTMSClient) GetTicketCatalogs(id string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetTicketComments

func (c *RTMSClient) GetTicketComments(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetTicketCommentsByTicket

func (c *RTMSClient) GetTicketCommentsByTicket(ticketID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetTicketDetails

func (c *RTMSClient) GetTicketDetails(id string) ([]byte, error)

func (*RTMSClient) GetTicketSuggestions

func (c *RTMSClient) GetTicketSuggestions(id string) ([]byte, error)

func (*RTMSClient) GetTicketTagDetails

func (c *RTMSClient) GetTicketTagDetails(id string) ([]byte, error)

func (*RTMSClient) GetTicketTags

func (c *RTMSClient) GetTicketTags(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetTickets

func (c *RTMSClient) GetTickets(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetTicketsByTag

func (c *RTMSClient) GetTicketsByTag(id string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetTicketsCount

func (c *RTMSClient) GetTicketsCount(cloudTempleID string, status int) ([]byte, error)

func (*RTMSClient) GetTicketsStats

func (c *RTMSClient) GetTicketsStats(cloudTempleID string) ([]byte, error)

func (*RTMSClient) GetUserDetails

func (c *RTMSClient) GetUserDetails(id string) ([]byte, error)

func (*RTMSClient) GetUsers

func (c *RTMSClient) GetUsers(cloudTempleID string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetViewItems

func (c *RTMSClient) GetViewItems(viewType, id string, params map[string]string) ([]byte, error)

func (*RTMSClient) GetWhoAmI

func (c *RTMSClient) GetWhoAmI() ([]byte, error)

func (*RTMSClient) ListTicketAttachments

func (c *RTMSClient) ListTicketAttachments(ticketID string) ([]byte, error)

func (*RTMSClient) PostApplianceHealthCheck

func (c *RTMSClient) PostApplianceHealthCheck(id string, healthCheck map[string]interface{}) ([]byte, error)

func (*RTMSClient) PostTicketComment

func (c *RTMSClient) PostTicketComment(ticketID string, commentData map[string]interface{}) ([]byte, error)

func (*RTMSClient) RemoveHost

func (c *RTMSClient) RemoveHost(id string) ([]byte, error)

func (*RTMSClient) RemoveHostTag

func (c *RTMSClient) RemoveHostTag(id string) ([]byte, error)

func (*RTMSClient) RemoveMonitoringService

func (c *RTMSClient) RemoveMonitoringService(id string) ([]byte, error)

func (*RTMSClient) RemoveNotificationTimePeriodStop

func (c *RTMSClient) RemoveNotificationTimePeriodStop(id string) ([]byte, error)

func (*RTMSClient) RemoveTeam

func (c *RTMSClient) RemoveTeam(id string) ([]byte, error)

func (*RTMSClient) RemoveTicketAttachment

func (c *RTMSClient) RemoveTicketAttachment(attachmentID string) ([]byte, error)

func (*RTMSClient) RemoveTicketTag

func (c *RTMSClient) RemoveTicketTag(id string) ([]byte, error)

func (*RTMSClient) RequestTenantDeletion

func (c *RTMSClient) RequestTenantDeletion(id string, delete bool) ([]byte, error)

func (*RTMSClient) SetDebug

func (c *RTMSClient) SetDebug(debug bool)

func (*RTMSClient) StreamData

func (c *RTMSClient) StreamData(endpoint string, params map[string]string, batchSize int) (<-chan interface{}, <-chan error)

func (*RTMSClient) SwitchHostMonitoring

func (c *RTMSClient) SwitchHostMonitoring(id string, enable bool, services []int) ([]byte, error)

func (*RTMSClient) SwitchHostMonitoringNotifications

func (c *RTMSClient) SwitchHostMonitoringNotifications(id string, enable bool, services []int) ([]byte, error)

func (*RTMSClient) SynchronizeAppliance

func (c *RTMSClient) SynchronizeAppliance(id string) ([]byte, error)

func (*RTMSClient) UpdateHost

func (c *RTMSClient) UpdateHost(id string, hostData map[string]interface{}) ([]byte, error)

func (*RTMSClient) UpdateHostTags

func (c *RTMSClient) UpdateHostTags(id string, tags []int) ([]byte, error)

func (*RTMSClient) UpdateMonitoringService

func (c *RTMSClient) UpdateMonitoringService(id string, serviceData map[string]interface{}) ([]byte, error)

func (*RTMSClient) UpdateNagiosCommands

func (c *RTMSClient) UpdateNagiosCommands() ([]byte, error)

func (*RTMSClient) UpdateNotificationPerimeter

func (c *RTMSClient) UpdateNotificationPerimeter(id string, perimeterData map[string]interface{}) ([]byte, error)

func (*RTMSClient) UpdateTenantSSHKey

func (c *RTMSClient) UpdateTenantSSHKey(id string, keyData map[string]interface{}) ([]byte, error)

func (*RTMSClient) UpdateUser

func (c *RTMSClient) UpdateUser(id string, userData map[string]interface{}) ([]byte, error)

func (*RTMSClient) UploadTicketAttachment

func (c *RTMSClient) UploadTicketAttachment(ticketID string, filename string, content []byte) ([]byte, error)

func (*RTMSClient) ValidateNagiosPluginPackage

func (c *RTMSClient) ValidateNagiosPluginPackage(packageData map[string]interface{}) ([]byte, error)

Jump to

Keyboard shortcuts

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