Documentation
¶
Index ¶
- Constants
- type AWSClient
- type AWSEC2
- type AWSEC2Instance
- type AWSKeys
- type AWSOptions
- type AWSRegion
- type AWSService
- type Catchpoint
- func (c *Catchpoint) CheckError(data []byte, e error) error
- func (c *Catchpoint) CustomGetInstantTestResult(catchpointOptions CatchpointOptions, testID string, nodeID int) ([]byte, error)
- func (c *Catchpoint) CustomGetNodesFromGroup(catchpointOptions CatchpointOptions, options CatchpointNodeGroup) ([]byte, error)
- func (c *Catchpoint) CustomInstantTest(catchpointOptions CatchpointOptions, ...) ([]byte, error)
- func (c *Catchpoint) CustomInstantTestWithNodeGroup(catchpointOptions CatchpointOptions, ...) ([]byte, error)
- func (c *Catchpoint) CustomSearchNodesWithOptions(catchpointOptions CatchpointOptions, ...) ([]byte, error)
- func (c *Catchpoint) GenerateSummary(results *[]CatchpointInstantTestResultReponse) ([]TestSummary, error)
- func (c *Catchpoint) GetInstantTestResult(testID string, nodeID int) ([]byte, error)
- func (c *Catchpoint) GetLogReport(catchpointOptions CatchpointOptions, testID int, nodes []*Node) (*[]CatchpointInstantTestResultReponse, error)
- func (c *Catchpoint) GetNodesFromGroup(options CatchpointNodeGroup) ([]byte, error)
- func (c *Catchpoint) InstantTest(options CatchpointInstantTestOptions) ([]byte, error)
- func (c *Catchpoint) InstantTestWithNodeGroup(options CatchpointInstantTestWithNodeGroupOptions) ([]byte, error)
- func (c *Catchpoint) SearchNodesWithOptions(options CatchpointSearchNodesWithOptions) ([]byte, error)
- func (c *Catchpoint) WaitPollSuccessOrCancel(ctx context.Context, pollDelay int, testID int, Nodes []*Node, ...) bool
- func (c *Catchpoint) WaitPollSuccessOrCancelDetailed(ctx context.Context, pollDelay int, testID int, nodes []*Node, ...) (bool, []*Node)
- type CatchpointCountry
- type CatchpointHTTPMethodType
- type CatchpointInstantTest
- type CatchpointInstantTestNodes
- type CatchpointInstantTestOptions
- type CatchpointInstantTestResult
- type CatchpointInstantTestResultData
- type CatchpointInstantTestResultHosts
- type CatchpointInstantTestResultHostsFields
- type CatchpointInstantTestResultHostsMetrics
- type CatchpointInstantTestResultRecord
- type CatchpointInstantTestResultReponse
- type CatchpointInstantTestResultWebRecord
- type CatchpointInstantTestResultWebRecordItems
- type CatchpointInstantTestResultWebRecordItemsNavigationUrl
- type CatchpointInstantTestType
- type CatchpointInstantTestWithNodeGroup
- type CatchpointInstantTestWithNodeGroupOptions
- type CatchpointIstantTestData
- type CatchpointIstantTestResponse
- type CatchpointMessage
- type CatchpointMonitorType
- type CatchpointNetworkType
- type CatchpointNodeGroup
- type CatchpointOptions
- type CatchpointReponse
- type CatchpointSearchNodesWithOptions
- type CatchpointSearchNodesWithOptionsData
- type CatchpointSearchNodesWithOptionsResponse
- type Crypto
- func (c *Crypto) CustomRCADecrypt(decryptOptions CryptoRCADecryptOptions) ([]byte, error)
- func (c *Crypto) CustomRCAEncrypt(encryptOptions CryptoRCAEncryptOptions) ([]byte, error)
- func (c *Crypto) CustomRCAGenerateKey(keyOptions CryptoRCAKeyOptions) ([]byte, error)
- func (c *Crypto) RCAGenerateKey() ([]byte, error)
- type CryptoRCADecryptOptions
- type CryptoRCAEncryptOptions
- type CryptoRCAKeyOptions
- type DashboardMeta
- type Gitlab
- func (g *Gitlab) CustomGetPipelineVariables(gitlabOptions GitlabOptions, pipelineOptions GitlabPipelineOptions, ...) ([]byte, error)
- func (g Gitlab) GetLastPipeline(project int, ref string) ([]byte, error)
- func (g Gitlab) GetLastPipelineVariables(project int, ref string) ([]byte, error)
- func (g *Gitlab) GetPipelineVariables(pipelineOptions GitlabPipelineOptions, ...) ([]byte, error)
- type GitlabGetPipelineVariablesOptions
- type GitlabOptions
- type GitlabPipelineOptions
- type GitlabPipelineVariableResp
- type GitlabPipelinesResp
- type Google
- func (g *Google) CalendarDeleteEvent(calendarOptions GoogleCalendarOptions, ...) ([]byte, error)
- func (g *Google) CalendarDeleteEvents(calendarOptions GoogleCalendarOptions, ...) ([]byte, error)
- func (g *Google) CalendarGetEvents(calendarOptions GoogleCalendarOptions, ...) ([]byte, error)
- func (g *Google) CalendarInsertEvent(calendarOptions GoogleCalendarOptions, ...) ([]byte, error)
- func (g *Google) CustomCalendarDeleteEvent(googleOptions GoogleOptions, calendarOptions GoogleCalendarOptions, ...) ([]byte, error)
- func (g *Google) CustomCalendarDeleteEvents(googleOptions GoogleOptions, calendarOptions GoogleCalendarOptions, ...) ([]byte, error)
- func (g *Google) CustomCalendarGetEvents(googleOptions GoogleOptions, calendarOptions GoogleCalendarOptions, ...) ([]byte, error)
- func (g *Google) CustomCalendarInsertEvent(googleOptions GoogleOptions, calendarOptions GoogleCalendarOptions, ...) ([]byte, error)
- type GoogleCalendarDeleteEventOptions
- type GoogleCalendarDeleteEventsOptions
- type GoogleCalendarEvent
- type GoogleCalendarEventAttendee
- type GoogleCalendarEventDataTime
- type GoogleCalendarEventSource
- type GoogleCalendarEvents
- type GoogleCalendarGetEventsOptions
- type GoogleCalendarInsertEventOptions
- type GoogleCalendarOptions
- type GoogleConferenceData
- type GoogleConferenceDataCreateRequest
- type GoogleConferenceDataEntryPoint
- type GoogleConferenceDataSolution
- type GoogleConferenceDataSolutionKey
- type GoogleOptions
- type GoogleTokenReponse
- type Grafana
- func (g *Grafana) CopyDashboard(grafanaCreateOptions GrafanaDahboardOptions) ([]byte, error)
- func (g *Grafana) CopyLibraryElement(grafanaLibraryElementOptions GrafanaLibraryElementOptions) ([]byte, error)
- func (g *Grafana) CreateAnnotation(options GrafanaCreateAnnotationOptions) ([]byte, error)
- func (g *Grafana) CreateDashboard(options GrafanaDahboardOptions) ([]byte, error)
- func (g Grafana) CustomCopyDashboard(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDahboardOptions) ([]byte, error)
- func (g Grafana) CustomCopyLibraryElement(grafanaOptions GrafanaOptions, ...) ([]byte, error)
- func (g Grafana) CustomCreateAnnotation(grafanaOptions GrafanaOptions, ...) ([]byte, error)
- func (g Grafana) CustomCreateDashboard(grafanaOptions GrafanaOptions, createDashboardOptions GrafanaDahboardOptions) ([]byte, error)
- func (g *Grafana) CustomDeleteDashboards(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDahboardOptions) ([]byte, error)
- func (g *Grafana) CustomGetAnnotations(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDahboardOptions, ...) ([]byte, error)
- func (g *Grafana) CustomGetDashboards(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDahboardOptions) ([]byte, error)
- func (g *Grafana) CustomGetLibraryElement(grafanaOptions GrafanaOptions, ...) ([]byte, error)
- func (g *Grafana) CustomRenderImage(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDahboardOptions, ...) ([]byte, error)
- func (g *Grafana) CustomSearchDashboards(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDahboardOptions) ([]byte, error)
- func (g *Grafana) CustomSearchLibraryElements(grafanaOptions GrafanaOptions, ...) ([]byte, error)
- func (g *Grafana) DeleteDashboards(dashboardOptions GrafanaDahboardOptions) ([]byte, error)
- func (g *Grafana) GetAnnotations(dashboardOptions GrafanaDahboardOptions, ...) ([]byte, error)
- func (g *Grafana) GetDashboards(dashboardOptions GrafanaDahboardOptions) ([]byte, error)
- func (g *Grafana) GetLibraryElement(libraryElementOptions GrafanaLibraryElementOptions) ([]byte, error)
- func (g *Grafana) RenderImage(dashboardOptions GrafanaDahboardOptions, ...) ([]byte, error)
- func (g *Grafana) SearchDashboards(dashboardOptions GrafanaDahboardOptions) ([]byte, error)
- func (g *Grafana) SearchLibraryElements(libraryElementOptions GrafanaLibraryElementOptions) ([]byte, error)
- type GrafanaAnnotation
- type GrafanaBoard
- type GrafanaClonedDahboardOptions
- type GrafanaClonedLibraryElementOptions
- type GrafanaCreateAnnotationOptions
- type GrafanaDahboardOptions
- type GrafanaDashboard
- type GrafanaDashboardAnnotations
- type GrafanaDashboardTemplating
- type GrafanaDashboardTime
- type GrafanaGetAnnotationsOptions
- type GrafanaLibraryElement
- type GrafanaLibraryElementCreatedBy
- type GrafanaLibraryElementMeta
- type GrafanaLibraryElementOptions
- type GrafanaLibraryElementResult
- type GrafanaLibraryElementSearchResult
- type GrafanaLibraryElementUpdatedBy
- type GrafanaOptions
- type GrafanaRenderImageOptions
- type Graylog
- type GraylogOptions
- type ID
- type JSON
- type JSONOptions
- type JSONOutputOptions
- type Jira
- func (j *Jira) AddIssueAttachment(issueOptions JiraIssueOptions, ...) ([]byte, error)
- func (j *Jira) ChangeIssueTransitions(options JiraIssueOptions) ([]byte, error)
- func (j *Jira) CreateAsset(createOptions JiraCreateAssetOptions) ([]byte, error)
- func (j *Jira) CreateIssue(issueCreateOptions JiraIssueOptions) ([]byte, error)
- func (j *Jira) CustomAddIssueAttachment(jiraOptions JiraOptions, issueOptions JiraIssueOptions, ...) ([]byte, error)
- func (j *Jira) CustomAddIssueComment(jiraOptions JiraOptions, issueOptions JiraIssueOptions, ...) ([]byte, error)
- func (j *Jira) CustomChangeIssueTransitions(jiraOptions JiraOptions, issueOptions JiraIssueOptions) ([]byte, error)
- func (j *Jira) CustomCreateAsset(jiraOptions JiraOptions, createOptions JiraCreateAssetOptions) ([]byte, error)
- func (j *Jira) CustomCreateIssue(jiraOptions JiraOptions, createOptions JiraIssueOptions) ([]byte, error)
- func (j *Jira) CustomMoveIssue(jiraOptions JiraOptions, moveOptions JiraIssueOptions) ([]byte, error)
- func (j *Jira) CustomSearchAssets(jiraOptions JiraOptions, search JiraSearchAssetOptions) ([]byte, error)
- func (j *Jira) CustomSearchIssue(jiraOptions JiraOptions, search JiraSearchIssueOptions) ([]byte, error)
- func (j *Jira) CustomUpdateAsset(jiraOptions JiraOptions, updateOptions JiraUpdateAssetOptions) ([]byte, error)
- func (j *Jira) CustomUpdateIssue(jiraOptions JiraOptions, issueOptions JiraIssueOptions) ([]byte, error)
- func (j *Jira) GetIssueTransitions(jiraOptions JiraOptions, issueOptions JiraIssueOptions) ([]byte, error)
- func (j *Jira) IssueAddComment(issueOptions JiraIssueOptions, addCommentOptions JiraAddIssueCommentOptions) ([]byte, error)
- func (j *Jira) MoveIssue(options JiraIssueOptions) ([]byte, error)
- func (j *Jira) SearchAssets(options JiraSearchAssetOptions) ([]byte, error)
- func (j *Jira) SearchIssue(options JiraSearchIssueOptions) ([]byte, error)
- func (j *Jira) UpdateAsset(updateOptions JiraUpdateAssetOptions) ([]byte, error)
- func (j *Jira) UpdateIssue(options JiraIssueOptions) ([]byte, error)
- type JiraAddIssueAttachmentOptions
- type JiraAddIssueCommentOptions
- type JiraAsset
- type JiraAssetAttribute
- type JiraAssetAttributeValue
- type JiraCreateAssetOptions
- type JiraIssueAddComment
- type JiraIssueAssignee
- type JiraIssueComponents
- type JiraIssueCreate
- type JiraIssueFields
- type JiraIssueOptions
- type JiraIssuePriority
- type JiraIssueProject
- type JiraIssueReporter
- type JiraIssueTransition
- type JiraIssueType
- type JiraIssueUpdate
- type JiraOptions
- type JiraSearchAssetOptions
- type JiraSearchIssueOptions
- type JiraTransition
- type JiraTransitions
- type JiraUpdateAssetOptions
- type Ldap
- type LdapOptions
- type Node
- type NodeGroup
- type NodeGroupData
- type NodeGroupItem
- type Observium
- type ObserviumOptions
- type OutputCode
- type PagerDuty
- func (pd *PagerDuty) CreateIncident(incidentOptions PagerDutyIncidentOptions, ...) ([]byte, error)
- func (pd *PagerDuty) CreateIncidentNote(noteOptions PagerDutyIncidentNoteOptions, ...) ([]byte, error)
- func (pd *PagerDuty) CustomCreateIncident(options PagerDutyOptions, incidentOptions PagerDutyIncidentOptions, ...) ([]byte, error)
- func (pd *PagerDuty) CustomCreateIncidentNote(options PagerDutyOptions, noteOptions PagerDutyIncidentNoteOptions, ...) ([]byte, error)
- func (pd *PagerDuty) CustomGetIncidents(options PagerDutyOptions, getOptions PagerDutyGetIncidentsOptions) ([]byte, error)
- func (pd *PagerDuty) GetIncidents(getOptions PagerDutyGetIncidentsOptions) ([]byte, error)
- type PagerDutyBody
- type PagerDutyCreateIncidentOptions
- type PagerDutyGetIncidentsOptions
- type PagerDutyIncident
- type PagerDutyIncidentNote
- type PagerDutyIncidentNoteOptions
- type PagerDutyIncidentNoteRequest
- type PagerDutyIncidentOptions
- type PagerDutyIncidentRequest
- type PagerDutyIncidentType
- type PagerDutyOptions
- type PagerDutyPriority
- type PagerDutyService
- type Prometheus
- type PrometheusOptions
- type PrometheusOutputOptions
- type SSH
- type SSHOptions
- type Site24x7
- func (s *Site24x7) ActivateMonitor(options Site24x7MonitorOptions) ([]byte, error)
- func (s *Site24x7) CheckError(data []byte, e error) error
- func (s *Site24x7) CheckResponse(resp Site24x7Reponse) error
- func (s *Site24x7) CreateLocationProfile(options Site24x7LocationProfileOptions) ([]byte, error)
- func (s *Site24x7) CreateWebsiteMonitor(options Site24x7WebsiteMonitorOptions) ([]byte, error)
- func (s *Site24x7) CustomActivateMonitor(site24x7Options Site24x7Options, monitorOptions Site24x7MonitorOptions) ([]byte, error)
- func (s *Site24x7) CustomCreateLocationProfile(site24x7Options Site24x7Options, ...) ([]byte, error)
- func (s *Site24x7) CustomCreateWebsiteMonitor(site24x7Options Site24x7Options, ...) ([]byte, error)
- func (s *Site24x7) CustomDeleteLocationProfile(site24x7Options Site24x7Options, ...) ([]byte, error)
- func (s *Site24x7) CustomDeleteMonitor(site24x7Options Site24x7Options, monitorOptions Site24x7MonitorOptions) ([]byte, error)
- func (s *Site24x7) CustomGetAccessToken(opts Site24x7Options) (string, error)
- func (s *Site24x7) CustomGetLocationProfiles(site24x7Options Site24x7Options) ([]byte, error)
- func (s *Site24x7) CustomGetLocationTemplate(site24x7Options Site24x7Options) ([]byte, error)
- func (s *Site24x7) CustomGetLogReport(site24x7Options Site24x7Options, logReportOptions Site24x7LogReportOptions) ([]byte, error)
- func (s *Site24x7) CustomGetPollingStatus(site24x7Options Site24x7Options, monitorOptions Site24x7MonitorOptions) ([]byte, error)
- func (s *Site24x7) CustomPollMonitor(site24x7Options Site24x7Options, pollMonitorOptions Site24x7MonitorOptions) ([]byte, error)
- func (s *Site24x7) CustomRetrieveMonitorByName(site24x7Options Site24x7Options, name string) ([]byte, error)
- func (s *Site24x7) CustomSuspendMonitor(site24x7Options Site24x7Options, monitorOptions Site24x7MonitorOptions) ([]byte, error)
- func (s *Site24x7) DeleteLocationProfile(options Site24x7LocationProfileOptions) ([]byte, error)
- func (s *Site24x7) DeleteMonitor(options Site24x7MonitorOptions) ([]byte, error)
- func (s *Site24x7) FindLocationByCountry(locations []*Site24x7LocationTemplateDataLocation, country string) *Site24x7LocationTemplateDataLocation
- func (s *Site24x7) FindLocationProfileByName(site24x7Options Site24x7Options, name string) (string, error)
- func (s *Site24x7) GetLocationProfiles() ([]byte, error)
- func (s *Site24x7) GetLocationTemplate() ([]byte, error)
- func (s *Site24x7) GetLogReport(options Site24x7LogReportOptions) ([]byte, error)
- func (s *Site24x7) GetPollingStatus(options Site24x7MonitorOptions) ([]byte, error)
- func (s *Site24x7) PollMonitor(options Site24x7MonitorOptions) ([]byte, error)
- func (s *Site24x7) PollMonitorWait(ctx context.Context, site24x7Options Site24x7Options, ...) bool
- func (s *Site24x7) RetrieveMonitorByName(name string) ([]byte, error)
- func (s *Site24x7) SuspendMonitor(options Site24x7MonitorOptions) ([]byte, error)
- type Site24x7AuthReponse
- type Site24x7DeleteData
- type Site24x7DeleteResponse
- type Site24x7ErrorReponse
- type Site24x7LocationProfile
- type Site24x7LocationProfileData
- type Site24x7LocationProfileOptions
- type Site24x7LocationProfileReponse
- type Site24x7LocationProfilesReponse
- type Site24x7LocationTemplateData
- type Site24x7LocationTemplateDataLocation
- type Site24x7LocationTemplateReponse
- type Site24x7LogReportData
- type Site24x7LogReportDataReport
- type Site24x7LogReportOptions
- type Site24x7LogReportReponse
- type Site24x7MonitorOptions
- type Site24x7Options
- type Site24x7PollStatusData
- type Site24x7PollStatusReponse
- type Site24x7Reponse
- type Site24x7WebsiteMonitor
- type Site24x7WebsiteMonitorData
- type Site24x7WebsiteMonitorOptions
- type Site24x7WebsiteMonitorResponse
- type Slack
- func (s *Slack) AddReaction(options SlackReactionOptions) ([]byte, error)
- func (s *Slack) CustomAddReaction(slackOptions SlackOptions, reactionOptions SlackReactionOptions) ([]byte, error)
- func (s *Slack) CustomGetUser(slackOptions SlackOptions, slackUser SlackUserEmail) ([]byte, error)
- func (s *Slack) CustomSendFile(slackOptions SlackOptions, fileOptions SlackFileOptions) ([]byte, error)
- func (s *Slack) CustomSendMessage(slackOptions SlackOptions, messageOptions SlackMessageOptions) ([]byte, error)
- func (s *Slack) CustomUpdateUsergroup(slackOptions SlackOptions, slackUpdateUsergroup SlackUsergroupUsers) ([]byte, error)
- func (s *Slack) GetUser(options SlackUserEmail) ([]byte, error)
- func (s *Slack) SendFile(fileOptions SlackFileOptions) ([]byte, error)
- func (s *Slack) SendMessage(messageOptions SlackMessageOptions) ([]byte, error)
- func (s *Slack) UpdateUsergroup(options SlackUsergroupUsers) ([]byte, error)
- type SlackFileOptions
- type SlackMessage
- type SlackMessageBlock
- type SlackMessageOptions
- type SlackMessageResponse
- type SlackOptions
- type SlackOutputOptions
- type SlackReactionOptions
- type SlackUserEmail
- type SlackUsergroupUsers
- type Telegram
- func (t *Telegram) CustomSendDocument(telegramOptions TelegramOptions, documentOptions TelegramDocumentOptions) ([]byte, error)
- func (t *Telegram) CustomSendMessage(telegramOptions TelegramOptions, messageOptions TelegramMessageOptions) ([]byte, error)
- func (t *Telegram) CustomSendPhoto(telegramOptions TelegramOptions, photoOptions TelegramPhotoOptions) ([]byte, error)
- func (t *Telegram) SendDocument(options TelegramDocumentOptions) ([]byte, error)
- func (t *Telegram) SendMessage(options TelegramMessageOptions) ([]byte, error)
- func (t *Telegram) SendPhoto(options TelegramPhotoOptions) ([]byte, error)
- type TelegramDocumentOptions
- type TelegramMessageOptions
- type TelegramOptions
- type TelegramPhotoOptions
- type TestSummary
- type VCenter
- func (vc *VCenter) CustomControlVMPower(options VCenterOptions, vmID string, action string) ([]byte, error)
- func (vc *VCenter) CustomGetClusters(options VCenterOptions) ([]byte, error)
- func (vc *VCenter) CustomGetHosts(options VCenterOptions, hostOptions VCenterHostOptions) ([]byte, error)
- func (vc *VCenter) CustomGetSession(options VCenterOptions) (string, error)
- func (vc *VCenter) CustomGetVM(options VCenterOptions, vmID string) ([]byte, error)
- func (vc *VCenter) CustomGetVMGuestIdentity(options VCenterOptions, vmGuestidentity VCenterVMGuestIdentityOptions) ([]byte, error)
- func (vc *VCenter) CustomGetVMs(options VCenterOptions, vmOptions VCenterVMOptions) ([]byte, error)
- func (vc *VCenter) CustomGetVMsByName(options VCenterOptions, vmNameOptions VCenterVMNameOptions) ([]byte, error)
- func (vc *VCenter) GetClusters() ([]byte, error)
- func (vc *VCenter) GetHosts(options VCenterHostOptions) ([]byte, error)
- func (vc *VCenter) GetVM(vmID string) ([]byte, error)
- func (vc *VCenter) GetVMGuestIdentity(options VCenterVMGuestIdentityOptions) ([]byte, error)
- func (vc *VCenter) GetVMs(options VCenterVMOptions) ([]byte, error)
- func (vc *VCenter) GetVMsByName(options VCenterVMNameOptions) ([]byte, error)
- func (vc *VCenter) ResetVM(vmID string) ([]byte, error)
- func (vc *VCenter) StartVM(vmID string) ([]byte, error)
- func (vc *VCenter) StopVM(vmID string) ([]byte, error)
- type VCenterHostOptions
- type VCenterOptions
- type VCenterSessionResponse
- type VCenterVMGuestIdentityOptions
- type VCenterVMNameOptions
- type VCenterVMOptions
- type VMInfo
- type VMsResponse
- type Zabbix
- type ZabbixHostGet
- type ZabbixHostGetParams
- type ZabbixHostOptions
- type ZabbixOptions
- type ZabbixUserLogin
- type ZabbixUserLoginParams
- type ZabbixUserLoginResponse
Constants ¶
View Source
const ( ZohoOAuthV2TokenURL = "https://accounts.zoho.com/oauth/v2/token" Site24x7ApiURL = "https://www.site24x7.com/api" Site24x7Monitors = "/monitors" Site24x7MonitorPollNow = "/monitor/poll_now" Site24x7MonitorStatusPollNow = "/monitor/status_poll_now" Site24x7MonitorsName = "/monitors/name" Site24x7MonitorsActivate = "/monitors/activate" Site24x7MonitorsSuspend = "/monitors/suspend" Site24x7LogReports = "/reports/log_reports" Site24x7LocationTemplate = "/location_template" Site24x7LocationProfiles = "/location_profiles" Site24x7ContentType = "application/json" )
View Source
const ( Site24x7DataCollectionTypeNormal = "1" Site24x7DataCollectionTypePollNow = "3" )
View Source
const ( VCenterContentType = "application/json" VCenterRestSessionPath = "/rest/com/vmware/cis/session" VCenterRestClusterPath = "/rest/vcenter/cluster" VCenterRestHostPath = "/rest/vcenter/host" VCenterRestVMPath = "/rest/vcenter/vm" VCenterRestVMGuestIdentityPathFmt = "/rest/vcenter/vm/%s/guest/identity" VCenterRestVMPowerPathFmt = "/rest/vcenter/vm/%s/power" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSClient ¶ added in v0.13.5
type AWSEC2 ¶ added in v0.13.5
type AWSEC2 struct {
// contains filtered or unexported fields
}
func NewAWSEC2 ¶ added in v0.13.5
func NewAWSEC2(opts AWSOptions) (*AWSEC2, error)
NewAWSEC2 creates a new instance of AWSEC2 with the given AWS keys. It retrieves available regions and generates clients for each region.
func (*AWSEC2) GetAllAWSEC2Instances ¶ added in v0.13.5
func (e *AWSEC2) GetAllAWSEC2Instances() ([]AWSEC2Instance, error)
GetAllEC2Instances retrieves all EC2 instances associated with the AWSEC2 service.
type AWSEC2Instance ¶ added in v0.13.5
type AWSOptions ¶ added in v0.15.13
type AWSService ¶ added in v0.13.5
type Catchpoint ¶ added in v0.15.16
type Catchpoint struct {
// contains filtered or unexported fields
}
func NewCatchpoint ¶ added in v0.15.16
func NewCatchpoint(options CatchpointOptions, logger common.Logger) *Catchpoint
func (*Catchpoint) CheckError ¶ added in v0.15.16
func (c *Catchpoint) CheckError(data []byte, e error) error
func (*Catchpoint) CustomGetInstantTestResult ¶ added in v0.15.16
func (c *Catchpoint) CustomGetInstantTestResult(catchpointOptions CatchpointOptions, testID string, nodeID int) ([]byte, error)
func (*Catchpoint) CustomGetNodesFromGroup ¶ added in v0.15.16
func (c *Catchpoint) CustomGetNodesFromGroup(catchpointOptions CatchpointOptions, options CatchpointNodeGroup) ([]byte, error)
func (*Catchpoint) CustomInstantTest ¶ added in v0.15.16
func (c *Catchpoint) CustomInstantTest(catchpointOptions CatchpointOptions, catchpointInstantTestOptions CatchpointInstantTestOptions) ([]byte, error)
func (*Catchpoint) CustomInstantTestWithNodeGroup ¶ added in v0.15.16
func (c *Catchpoint) CustomInstantTestWithNodeGroup(catchpointOptions CatchpointOptions, catchpointInstantTestWithNodeGroupOptions CatchpointInstantTestWithNodeGroupOptions) ([]byte, error)
func (*Catchpoint) CustomSearchNodesWithOptions ¶ added in v0.15.16
func (c *Catchpoint) CustomSearchNodesWithOptions(catchpointOptions CatchpointOptions, catchpointNodesGetAllOptions CatchpointSearchNodesWithOptions) ([]byte, error)
func (*Catchpoint) GenerateSummary ¶ added in v0.15.17
func (c *Catchpoint) GenerateSummary(results *[]CatchpointInstantTestResultReponse) ([]TestSummary, error)
func (*Catchpoint) GetInstantTestResult ¶ added in v0.15.16
func (c *Catchpoint) GetInstantTestResult(testID string, nodeID int) ([]byte, error)
func (*Catchpoint) GetLogReport ¶ added in v0.15.17
func (c *Catchpoint) GetLogReport(catchpointOptions CatchpointOptions, testID int, nodes []*Node) (*[]CatchpointInstantTestResultReponse, error)
func (*Catchpoint) GetNodesFromGroup ¶ added in v0.15.16
func (c *Catchpoint) GetNodesFromGroup(options CatchpointNodeGroup) ([]byte, error)
func (*Catchpoint) InstantTest ¶ added in v0.15.16
func (c *Catchpoint) InstantTest(options CatchpointInstantTestOptions) ([]byte, error)
func (*Catchpoint) InstantTestWithNodeGroup ¶ added in v0.15.16
func (c *Catchpoint) InstantTestWithNodeGroup(options CatchpointInstantTestWithNodeGroupOptions) ([]byte, error)
func (*Catchpoint) SearchNodesWithOptions ¶ added in v0.15.16
func (c *Catchpoint) SearchNodesWithOptions(options CatchpointSearchNodesWithOptions) ([]byte, error)
func (*Catchpoint) WaitPollSuccessOrCancel ¶ added in v0.15.17
func (c *Catchpoint) WaitPollSuccessOrCancel(ctx context.Context, pollDelay int, testID int, Nodes []*Node, catchpointOptions CatchpointOptions) bool
func (*Catchpoint) WaitPollSuccessOrCancelDetailed ¶ added in v0.15.17
func (c *Catchpoint) WaitPollSuccessOrCancelDetailed(ctx context.Context, pollDelay int, testID int, nodes []*Node, catchpointOptions CatchpointOptions) (bool, []*Node)
type CatchpointCountry ¶ added in v0.15.16
type CatchpointHTTPMethodType ¶ added in v0.15.16
type CatchpointHTTPMethodType struct {
ID int `json:"id"`
}
type CatchpointInstantTest ¶ added in v0.15.16
type CatchpointInstantTest struct {
URL string `json:"url"`
NodesIds *[]ID `json:"nodesIds"`
HTTPMethodType *CatchpointHTTPMethodType `json:"httpMethodType"`
InstantTestType *CatchpointInstantTestType `json:"instantTestType"`
MonitorType *CatchpointMonitorType `json:"monitorType"`
}
type CatchpointInstantTestNodes ¶ added in v0.15.16
type CatchpointInstantTestOptions ¶ added in v0.15.16
type CatchpointInstantTestResult ¶ added in v0.15.16
type CatchpointInstantTestResult struct {
Hosts *CatchpointInstantTestResultHosts `json:"hosts"`
WebRecords *CatchpointInstantTestResultWebRecord `json:"webRecords"`
}
type CatchpointInstantTestResultData ¶ added in v0.15.16
type CatchpointInstantTestResultData struct {
InstantTestStatus string `json:"instantTestStatus"`
InstantTestRecord *CatchpointInstantTestResultRecord `json:"instantTestRecord"`
}
type CatchpointInstantTestResultHosts ¶ added in v0.15.16
type CatchpointInstantTestResultHosts struct {
Fields *[]CatchpointInstantTestResultHostsFields `json:"fields"`
Metrics *[]CatchpointInstantTestResultHostsMetrics `json:"metrics"`
}
type CatchpointInstantTestResultHostsFields ¶ added in v0.15.16
type CatchpointInstantTestResultHostsMetrics ¶ added in v0.15.16
type CatchpointInstantTestResultRecord ¶ added in v0.15.16
type CatchpointInstantTestResultRecord struct {
TestResult *CatchpointInstantTestResult `json:"testResult"`
ID int `json:"id"`
Node *Node `json:"node"`
MonitorType *CatchpointMonitorType `json:"monitorType"`
PublicLink string `json:"publicLink"`
}
type CatchpointInstantTestResultReponse ¶ added in v0.15.16
type CatchpointInstantTestResultReponse struct {
*CatchpointReponse
Data *CatchpointInstantTestResultData `json:"data,omitempty"`
}
type CatchpointInstantTestResultWebRecord ¶ added in v0.15.16
type CatchpointInstantTestResultWebRecord struct {
Items *[]CatchpointInstantTestResultWebRecordItems `json:"items"`
}
type CatchpointInstantTestResultWebRecordItems ¶ added in v0.15.16
type CatchpointInstantTestResultWebRecordItemsNavigationUrl ¶ added in v0.15.16
type CatchpointInstantTestResultWebRecordItemsNavigationUrl struct {
}
type CatchpointInstantTestType ¶ added in v0.15.16
type CatchpointInstantTestType struct {
ID int `json:"id"`
}
type CatchpointInstantTestWithNodeGroup ¶ added in v0.15.16
type CatchpointInstantTestWithNodeGroup struct {
URL string `json:"url"`
NodeGroupID int `json:"nodesIds"`
HTTPMethodType *CatchpointHTTPMethodType `json:"httpMethodType"`
InstantTestType *CatchpointInstantTestType `json:"instantTestType"`
MonitorType *CatchpointMonitorType `json:"monitorType"`
}
type CatchpointInstantTestWithNodeGroupOptions ¶ added in v0.15.16
type CatchpointIstantTestData ¶ added in v0.15.16
type CatchpointIstantTestData struct {
ID int `json:"id"`
InstantTestNodes *[]CatchpointInstantTestNodes `json:"instantTestNodes"`
}
type CatchpointIstantTestResponse ¶ added in v0.15.16
type CatchpointIstantTestResponse struct {
Data *CatchpointIstantTestData `json:"data,omitempty"`
*CatchpointReponse
}
type CatchpointMessage ¶ added in v0.15.16
type CatchpointMessage struct {
Message string `json:"message"`
}
type CatchpointMonitorType ¶ added in v0.15.16
type CatchpointMonitorType struct {
ID int `json:"id"`
}
type CatchpointNetworkType ¶ added in v0.15.16
type CatchpointNodeGroup ¶ added in v0.15.16
type CatchpointNodeGroup struct {
ID int `json:"id"`
}
type CatchpointOptions ¶ added in v0.15.16
type CatchpointReponse ¶ added in v0.15.16
type CatchpointReponse struct {
Errors *[]CatchpointMessage `json:"errors"`
Messages *[]CatchpointMessage `json:"messages"`
Completed bool `json:"completed"`
TraceId string `json:"traceId"`
}
type CatchpointSearchNodesWithOptions ¶ added in v0.15.16
type CatchpointSearchNodesWithOptionsData ¶ added in v0.15.16
type CatchpointSearchNodesWithOptionsData struct {
Nodes *[]Node `json:"nodes"`
}
type CatchpointSearchNodesWithOptionsResponse ¶ added in v0.15.16
type CatchpointSearchNodesWithOptionsResponse struct {
Data *CatchpointSearchNodesWithOptionsData `json:"data"`
Messages *[]CatchpointMessage `json:"messages"`
Completed bool `json:"completed"`
}
type Crypto ¶ added in v0.15.17
type Crypto struct {
}
func (*Crypto) CustomRCADecrypt ¶ added in v0.15.17
func (c *Crypto) CustomRCADecrypt(decryptOptions CryptoRCADecryptOptions) ([]byte, error)
func (*Crypto) CustomRCAEncrypt ¶ added in v0.15.17
func (c *Crypto) CustomRCAEncrypt(encryptOptions CryptoRCAEncryptOptions) ([]byte, error)
func (*Crypto) CustomRCAGenerateKey ¶ added in v0.15.17
func (c *Crypto) CustomRCAGenerateKey(keyOptions CryptoRCAKeyOptions) ([]byte, error)
func (*Crypto) RCAGenerateKey ¶ added in v0.15.17
type CryptoRCADecryptOptions ¶ added in v0.15.17
type CryptoRCAEncryptOptions ¶ added in v0.15.17
type CryptoRCAKeyOptions ¶ added in v0.15.17
type CryptoRCAKeyOptions struct {
Size int
}
type DashboardMeta ¶ added in v0.14.5
type Gitlab ¶ added in v0.3.0
type Gitlab struct {
// contains filtered or unexported fields
}
func NewGitlab ¶ added in v0.3.0
func NewGitlab(options GitlabOptions) *Gitlab
func (*Gitlab) CustomGetPipelineVariables ¶ added in v0.12.0
func (g *Gitlab) CustomGetPipelineVariables(gitlabOptions GitlabOptions, pipelineOptions GitlabPipelineOptions, getVariablesOptions GitlabGetPipelineVariablesOptions) ([]byte, error)
func (Gitlab) GetLastPipeline ¶ added in v0.3.0
func (Gitlab) GetLastPipelineVariables ¶ added in v0.3.0
func (*Gitlab) GetPipelineVariables ¶ added in v0.12.0
func (g *Gitlab) GetPipelineVariables(pipelineOptions GitlabPipelineOptions, getVariablesOptions GitlabGetPipelineVariablesOptions) ([]byte, error)
type GitlabGetPipelineVariablesOptions ¶ added in v0.12.0
type GitlabGetPipelineVariablesOptions struct {
Query []string
}
type GitlabOptions ¶ added in v0.3.0
type GitlabPipelineOptions ¶ added in v0.4.3
type GitlabPipelineVariableResp ¶ added in v0.4.3
type GitlabPipelinesResp ¶ added in v0.4.3
type GitlabPipelinesResp struct {
ID int `json:"id"`
Iid int `json:"iid"`
ProjectID int `json:"project_id"`
Sha string `json:"sha"`
Ref string `json:"ref"`
Status string `json:"status"`
Source string `json:"source"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
WebURL string `json:"web_url"`
}
type Google ¶ added in v0.3.0
type Google struct {
// contains filtered or unexported fields
}
func NewGoogle ¶ added in v0.3.0
func NewGoogle(options GoogleOptions, logger common.Logger) *Google
func (*Google) CalendarDeleteEvent ¶ added in v0.13.2
func (g *Google) CalendarDeleteEvent(calendarOptions GoogleCalendarOptions, calendarDeleteEventOptions GoogleCalendarDeleteEventOptions) ([]byte, error)
func (*Google) CalendarDeleteEvents ¶ added in v0.13.2
func (g *Google) CalendarDeleteEvents(calendarOptions GoogleCalendarOptions, calendarGetEventsOptions GoogleCalendarGetEventsOptions) ([]byte, error)
func (*Google) CalendarGetEvents ¶ added in v0.3.0
func (g *Google) CalendarGetEvents(calendarOptions GoogleCalendarOptions, calendarGetEventsOptions GoogleCalendarGetEventsOptions) ([]byte, error)
func (*Google) CalendarInsertEvent ¶ added in v0.13.2
func (g *Google) CalendarInsertEvent(calendarOptions GoogleCalendarOptions, calendarInsertEventOptions GoogleCalendarInsertEventOptions) ([]byte, error)
func (*Google) CustomCalendarDeleteEvent ¶ added in v0.13.2
func (g *Google) CustomCalendarDeleteEvent(googleOptions GoogleOptions, calendarOptions GoogleCalendarOptions, calendarDeleteEventOptions GoogleCalendarDeleteEventOptions) ([]byte, error)
func (*Google) CustomCalendarDeleteEvents ¶ added in v0.13.2
func (g *Google) CustomCalendarDeleteEvents(googleOptions GoogleOptions, calendarOptions GoogleCalendarOptions, calendarGetEventsOptions GoogleCalendarGetEventsOptions) ([]byte, error)
func (*Google) CustomCalendarGetEvents ¶ added in v0.4.3
func (g *Google) CustomCalendarGetEvents(googleOptions GoogleOptions, calendarOptions GoogleCalendarOptions, calendarGetEventsOptions GoogleCalendarGetEventsOptions) ([]byte, error)
func (*Google) CustomCalendarInsertEvent ¶ added in v0.13.2
func (g *Google) CustomCalendarInsertEvent(googleOptions GoogleOptions, calendarOptions GoogleCalendarOptions, calendarInsertEventOptions GoogleCalendarInsertEventOptions) ([]byte, error)
type GoogleCalendarDeleteEventOptions ¶ added in v0.13.2
type GoogleCalendarDeleteEventsOptions ¶ added in v0.13.2
type GoogleCalendarEvent ¶ added in v0.13.2
type GoogleCalendarEvent struct {
ID string `json:"id,omitempty"`
Summary string `json:"summary"`
Description string `json:"description"`
EventType string `json:"eventType"`
Location string `json:"location,omitempty"`
Transparency string `json:"transparency,omitempty"`
Visibility string `json:"visibility,omitempty"`
Start GoogleCalendarEventDataTime `json:"start"`
End GoogleCalendarEventDataTime `json:"end"`
Attendees []*GoogleCalendarEventAttendee `json:"attendees"`
GuestsCanInviteOthers bool `json:"guestsCanInviteOthers"`
GuestsCanModify bool `json:"guestsCanModify"`
GuestsCanSeeOtherGuests bool `json:"guestsCanSeeOtherGuests"`
Source *GoogleCalendarEventSource `json:"source,omitempty"`
ConferenceData *GoogleConferenceData `json:"conferenceData,omitempty"`
}
type GoogleCalendarEventAttendee ¶ added in v0.13.2
type GoogleCalendarEventDataTime ¶ added in v0.13.2
type GoogleCalendarEventSource ¶ added in v0.13.2
type GoogleCalendarEvents ¶ added in v0.13.2
type GoogleCalendarEvents struct {
Kind string `json:"kind"`
Summary string `json:"summary,omitempty"`
TimeZone string `json:"timeZone,omitempty"`
Items []*GoogleCalendarEvent `json:"items,omitempty"`
}
type GoogleCalendarGetEventsOptions ¶ added in v0.13.2
type GoogleCalendarInsertEventOptions ¶ added in v0.13.2
type GoogleCalendarOptions ¶ added in v0.3.0
type GoogleCalendarOptions struct {
ID string
}
type GoogleConferenceData ¶ added in v0.13.2
type GoogleConferenceData struct {
ConferenceSolution *GoogleConferenceDataSolution `json:"conferenceSolution,omitempty"`
CreateRequest *GoogleConferenceDataCreateRequest `json:"createRequest,omitempty"`
EntryPoints []*GoogleConferenceDataEntryPoint `json:"entryPoints,omitempty"`
ConferenceID string `json:"conferenceId,omitempty"`
}
type GoogleConferenceDataCreateRequest ¶ added in v0.13.2
type GoogleConferenceDataCreateRequest struct {
ConferenceSolutionKey GoogleConferenceDataSolutionKey `json:"conferenceSolutionKey"`
RequestID string `json:"requestId"`
}
type GoogleConferenceDataEntryPoint ¶ added in v0.13.2
type GoogleConferenceDataSolution ¶ added in v0.13.2
type GoogleConferenceDataSolution struct {
Key GoogleConferenceDataSolutionKey `json:"key"`
Name string `json:"name"`
IconURI string `json:"iconUri"`
}
type GoogleConferenceDataSolutionKey ¶ added in v0.13.2
type GoogleConferenceDataSolutionKey struct {
Type string `json:"type"`
}
type GoogleOptions ¶ added in v0.3.0
type GoogleTokenReponse ¶ added in v0.3.0
type Grafana ¶ added in v0.2.0
type Grafana struct {
// contains filtered or unexported fields
}
func NewGrafana ¶ added in v0.2.0
func NewGrafana(options GrafanaOptions) *Grafana
func (*Grafana) CopyDashboard ¶ added in v0.14.5
func (g *Grafana) CopyDashboard(grafanaCreateOptions GrafanaDahboardOptions) ([]byte, error)
func (*Grafana) CopyLibraryElement ¶ added in v0.16.8
func (g *Grafana) CopyLibraryElement(grafanaLibraryElementOptions GrafanaLibraryElementOptions) ([]byte, error)
func (*Grafana) CreateAnnotation ¶ added in v0.3.3
func (g *Grafana) CreateAnnotation(options GrafanaCreateAnnotationOptions) ([]byte, error)
func (*Grafana) CreateDashboard ¶ added in v0.8.1
func (g *Grafana) CreateDashboard(options GrafanaDahboardOptions) ([]byte, error)
func (Grafana) CustomCopyDashboard ¶ added in v0.14.5
func (g Grafana) CustomCopyDashboard(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDahboardOptions) ([]byte, error)
func (Grafana) CustomCopyLibraryElement ¶ added in v0.16.8
func (g Grafana) CustomCopyLibraryElement(grafanaOptions GrafanaOptions, grafanaLibraryElementOptions GrafanaLibraryElementOptions) ([]byte, error)
func (Grafana) CustomCreateAnnotation ¶ added in v0.4.3
func (g Grafana) CustomCreateAnnotation(grafanaOptions GrafanaOptions, createAnnotationOptions GrafanaCreateAnnotationOptions) ([]byte, error)
func (Grafana) CustomCreateDashboard ¶ added in v0.8.1
func (g Grafana) CustomCreateDashboard(grafanaOptions GrafanaOptions, createDashboardOptions GrafanaDahboardOptions) ([]byte, error)
func (*Grafana) CustomDeleteDashboards ¶ added in v0.16.5
func (g *Grafana) CustomDeleteDashboards(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDahboardOptions) ([]byte, error)
func (*Grafana) CustomGetAnnotations ¶ added in v0.4.3
func (g *Grafana) CustomGetAnnotations(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDahboardOptions, getAnnotationsOptions GrafanaGetAnnotationsOptions) ([]byte, error)
func (*Grafana) CustomGetDashboards ¶ added in v0.4.3
func (g *Grafana) CustomGetDashboards(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDahboardOptions) ([]byte, error)
func (*Grafana) CustomGetLibraryElement ¶ added in v0.16.8
func (g *Grafana) CustomGetLibraryElement(grafanaOptions GrafanaOptions, grafanaLibraryElementOptions GrafanaLibraryElementOptions) ([]byte, error)
func (*Grafana) CustomRenderImage ¶ added in v0.4.3
func (g *Grafana) CustomRenderImage(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDahboardOptions, renderImageOptions GrafanaRenderImageOptions) ([]byte, error)
func (*Grafana) CustomSearchDashboards ¶ added in v0.16.5
func (g *Grafana) CustomSearchDashboards(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDahboardOptions) ([]byte, error)
func (*Grafana) CustomSearchLibraryElements ¶ added in v0.16.8
func (g *Grafana) CustomSearchLibraryElements(grafanaOptions GrafanaOptions, grafanaLibraryElementOptions GrafanaLibraryElementOptions) ([]byte, error)
func (*Grafana) DeleteDashboards ¶ added in v0.16.5
func (g *Grafana) DeleteDashboards(dashboardOptions GrafanaDahboardOptions) ([]byte, error)
func (*Grafana) GetAnnotations ¶ added in v0.3.0
func (g *Grafana) GetAnnotations(dashboardOptions GrafanaDahboardOptions, annotationsOptions GrafanaGetAnnotationsOptions) ([]byte, error)
func (*Grafana) GetDashboards ¶ added in v0.2.0
func (g *Grafana) GetDashboards(dashboardOptions GrafanaDahboardOptions) ([]byte, error)
func (*Grafana) GetLibraryElement ¶ added in v0.16.8
func (g *Grafana) GetLibraryElement(libraryElementOptions GrafanaLibraryElementOptions) ([]byte, error)
func (*Grafana) RenderImage ¶ added in v0.2.0
func (g *Grafana) RenderImage(dashboardOptions GrafanaDahboardOptions, renderOptions GrafanaRenderImageOptions) ([]byte, error)
func (*Grafana) SearchDashboards ¶ added in v0.16.5
func (g *Grafana) SearchDashboards(dashboardOptions GrafanaDahboardOptions) ([]byte, error)
func (*Grafana) SearchLibraryElements ¶ added in v0.16.8
func (g *Grafana) SearchLibraryElements(libraryElementOptions GrafanaLibraryElementOptions) ([]byte, error)
type GrafanaAnnotation ¶ added in v0.3.3
type GrafanaBoard ¶ added in v0.8.1
type GrafanaBoard struct {
Dashboard GrafanaDashboard `json:"dashboard,omitempty"`
FolderID int `json:"folderId,omitempty"`
FolderUID string `json:"folderUid,omitempty"`
Message string `json:"message,omitempty"`
Overwrite bool `json:"overwrite,omitempty"`
Meta DashboardMeta `json:"meta,omitempty"`
}
type GrafanaClonedDahboardOptions ¶ added in v0.8.1
type GrafanaClonedLibraryElementOptions ¶ added in v0.16.8
type GrafanaCreateAnnotationOptions ¶ added in v0.3.3
type GrafanaDahboardOptions ¶ added in v0.16.4
type GrafanaDashboard ¶ added in v0.8.1
type GrafanaDashboard struct {
ID *int `json:"id,omitempty"`
UID string `json:"uid,omitempty"`
Title string `json:"title,omitempty"`
Tags []string `json:"tags,omitempty"`
Timezone string `json:"timezone,omitempty"`
SchemaVersion int `json:"schemaVersion,omitempty"`
Version int `json:"version,omitempty"`
GraphTooltip int `json:"graphTooltip,omitempty"`
Time GrafanaDashboardTime `json:"time,omitempty"`
Annotations GrafanaDashboardAnnotations `json:"annotations,omitempty"`
Templating GrafanaDashboardTemplating `json:"templating,omitempty"`
Panels []interface{} `json:"panels,omitempty"`
}
type GrafanaDashboardAnnotations ¶ added in v0.8.1
type GrafanaDashboardAnnotations struct {
List []interface{} `json:"list"`
GraphTooltip int `json:"graphTooltip"`
}
type GrafanaDashboardTemplating ¶ added in v0.14.5
type GrafanaDashboardTemplating struct {
List []interface{} `json:"list"`
}
type GrafanaDashboardTime ¶ added in v0.8.1
type GrafanaGetAnnotationsOptions ¶ added in v0.3.0
type GrafanaLibraryElement ¶ added in v0.16.8
type GrafanaLibraryElement struct {
ID int `json:"id,omitempty"`
OrgID int `json:"orgId,omitempty"`
FolderID int `json:"folderId,omitempty"`
UID string `json:"uid,omitempty"`
Name string `json:"name,omitempty"`
Kind int `json:"kind,omitempty"`
Type string `json:"type,omitempty"`
Description string `json:"description,omitempty"`
Model interface{} `json:"model,omitempty"`
Version int `json:"version,omitempty"`
Meta GrafanaLibraryElementMeta `json:"meta,omitempty"`
}
type GrafanaLibraryElementCreatedBy ¶ added in v0.16.8
type GrafanaLibraryElementMeta ¶ added in v0.16.8
type GrafanaLibraryElementMeta struct {
FolderName string `json:"folderName,,omitempty"`
FolderUID string `json:"folderUid,omitempty"`
ConnectedDashboards int `json:"connectedDashboards,omitempty"`
Created time.Time `json:"created,omitempty"`
Updated time.Time `json:"updated,omitempty"`
CreatedBy GrafanaLibraryElementCreatedBy `json:"createdBy,omitempty"`
UpdatedBy GrafanaLibraryElementUpdatedBy `json:"updatedBy,omitempty"`
}
type GrafanaLibraryElementOptions ¶ added in v0.16.8
type GrafanaLibraryElementResult ¶ added in v0.16.8
type GrafanaLibraryElementResult struct {
Result GrafanaLibraryElement `json:"result,omitempty"`
}
type GrafanaLibraryElementSearchResult ¶ added in v0.16.8
type GrafanaLibraryElementSearchResult struct {
Result struct {
TotalCount int `json:"totalCount,omitempty"`
Elements []GrafanaLibraryElement `json:"elements,omitempty"`
Page int `json:"page,omitempty"`
PerPage int `json:"perPage,omitempty"`
} `json:"result,omitempty"`
}
type GrafanaLibraryElementUpdatedBy ¶ added in v0.16.8
type GrafanaOptions ¶ added in v0.2.0
type GrafanaRenderImageOptions ¶ added in v0.2.0
type Graylog ¶
type Graylog struct {
// contains filtered or unexported fields
}
func NewGraylog ¶
func NewGraylog(options GraylogOptions) *Graylog
type GraylogOptions ¶
type JSON ¶ added in v0.2.7
type JSON struct {
// contains filtered or unexported fields
}
func NewJSON ¶ added in v0.2.7
func NewJSON(options JSONOptions) *JSON
type JSONOptions ¶ added in v0.2.7
type JSONOutputOptions ¶ added in v0.2.7
type Jira ¶ added in v0.1.0
type Jira struct {
// contains filtered or unexported fields
}
func NewJira ¶ added in v0.1.0
func NewJira(options JiraOptions) *Jira
func (*Jira) AddIssueAttachment ¶ added in v0.12.0
func (j *Jira) AddIssueAttachment(issueOptions JiraIssueOptions, addAttachmentOptions JiraAddIssueAttachmentOptions) ([]byte, error)
func (*Jira) ChangeIssueTransitions ¶ added in v0.12.0
func (j *Jira) ChangeIssueTransitions(options JiraIssueOptions) ([]byte, error)
func (*Jira) CreateAsset ¶ added in v0.13.7
func (j *Jira) CreateAsset(createOptions JiraCreateAssetOptions) ([]byte, error)
func (*Jira) CreateIssue ¶ added in v0.2.0
func (j *Jira) CreateIssue(issueCreateOptions JiraIssueOptions) ([]byte, error)
func (*Jira) CustomAddIssueAttachment ¶ added in v0.12.0
func (j *Jira) CustomAddIssueAttachment(jiraOptions JiraOptions, issueOptions JiraIssueOptions, addAttachmentOptions JiraAddIssueAttachmentOptions) ([]byte, error)
func (*Jira) CustomAddIssueComment ¶ added in v0.12.0
func (j *Jira) CustomAddIssueComment(jiraOptions JiraOptions, issueOptions JiraIssueOptions, addCommentOptions JiraAddIssueCommentOptions) ([]byte, error)
func (*Jira) CustomChangeIssueTransitions ¶ added in v0.12.0
func (j *Jira) CustomChangeIssueTransitions(jiraOptions JiraOptions, issueOptions JiraIssueOptions) ([]byte, error)
func (*Jira) CustomCreateAsset ¶ added in v0.13.7
func (j *Jira) CustomCreateAsset(jiraOptions JiraOptions, createOptions JiraCreateAssetOptions) ([]byte, error)
func (*Jira) CustomCreateIssue ¶ added in v0.12.0
func (j *Jira) CustomCreateIssue(jiraOptions JiraOptions, createOptions JiraIssueOptions) ([]byte, error)
func (*Jira) CustomMoveIssue ¶ added in v0.15.18
func (j *Jira) CustomMoveIssue(jiraOptions JiraOptions, moveOptions JiraIssueOptions) ([]byte, error)
func (*Jira) CustomSearchAssets ¶ added in v0.12.0
func (j *Jira) CustomSearchAssets(jiraOptions JiraOptions, search JiraSearchAssetOptions) ([]byte, error)
func (*Jira) CustomSearchIssue ¶ added in v0.12.0
func (j *Jira) CustomSearchIssue(jiraOptions JiraOptions, search JiraSearchIssueOptions) ([]byte, error)
func (*Jira) CustomUpdateAsset ¶ added in v0.14.10
func (j *Jira) CustomUpdateAsset(jiraOptions JiraOptions, updateOptions JiraUpdateAssetOptions) ([]byte, error)
func (*Jira) CustomUpdateIssue ¶ added in v0.12.0
func (j *Jira) CustomUpdateIssue(jiraOptions JiraOptions, issueOptions JiraIssueOptions) ([]byte, error)
func (*Jira) GetIssueTransitions ¶ added in v0.14.15
func (j *Jira) GetIssueTransitions(jiraOptions JiraOptions, issueOptions JiraIssueOptions) ([]byte, error)
func (*Jira) IssueAddComment ¶ added in v0.2.0
func (j *Jira) IssueAddComment(issueOptions JiraIssueOptions, addCommentOptions JiraAddIssueCommentOptions) ([]byte, error)
func (*Jira) MoveIssue ¶ added in v0.15.18
func (j *Jira) MoveIssue(options JiraIssueOptions) ([]byte, error)
func (*Jira) SearchAssets ¶ added in v0.12.0
func (j *Jira) SearchAssets(options JiraSearchAssetOptions) ([]byte, error)
func (*Jira) SearchIssue ¶ added in v0.12.0
func (j *Jira) SearchIssue(options JiraSearchIssueOptions) ([]byte, error)
func (*Jira) UpdateAsset ¶ added in v0.14.10
func (j *Jira) UpdateAsset(updateOptions JiraUpdateAssetOptions) ([]byte, error)
func (*Jira) UpdateIssue ¶ added in v0.12.0
func (j *Jira) UpdateIssue(options JiraIssueOptions) ([]byte, error)
type JiraAddIssueAttachmentOptions ¶ added in v0.12.0
type JiraAddIssueCommentOptions ¶ added in v0.12.0
type JiraAddIssueCommentOptions struct {
Body string
}
type JiraAsset ¶ added in v0.13.7
type JiraAsset struct {
ObjectTypeId int `json:"objectTypeId"`
Attributes []JiraAssetAttribute `json:"attributes"`
}
type JiraAssetAttribute ¶ added in v0.13.7
type JiraAssetAttribute struct {
ObjectTypeAttributeId int `json:"objectTypeAttributeId"`
ObjectAttributeValues []JiraAssetAttributeValue `json:"objectAttributeValues"`
}
type JiraAssetAttributeValue ¶ added in v0.13.7
type JiraAssetAttributeValue struct {
Value string `json:"value"`
}
type JiraCreateAssetOptions ¶ added in v0.13.7
type JiraIssueAddComment ¶ added in v0.2.0
type JiraIssueAddComment struct {
Body string `json:"body"`
}
type JiraIssueAssignee ¶ added in v0.2.0
type JiraIssueAssignee struct {
Name string `json:"name"`
}
type JiraIssueComponents ¶ added in v0.14.12
type JiraIssueComponents struct {
Name string `json:"name"`
}
type JiraIssueCreate ¶ added in v0.4.2
type JiraIssueCreate struct {
Fields *JiraIssueFields `json:"fields"`
}
type JiraIssueFields ¶ added in v0.2.0
type JiraIssueFields struct {
Project *JiraIssueProject `json:"project,omitempty"`
IssueType *JiraIssueType `json:"issuetype,omitempty"`
Summary string `json:"summary,omitempty"`
Description string `json:"description,omitempty"`
Labels []string `json:"labels,omitempty"`
Priority *JiraIssuePriority `json:"priority,omitempty"`
Components *[]JiraIssueComponents `json:"components,omitempty"`
Assignee *JiraIssueAssignee `json:"assignee,omitempty"`
Reporter *JiraIssueReporter `json:"reporter,omitempty"`
}
type JiraIssueOptions ¶ added in v0.2.0
type JiraIssuePriority ¶ added in v0.2.0
type JiraIssuePriority struct {
Name string `json:"name"`
}
type JiraIssueProject ¶ added in v0.2.0
type JiraIssueProject struct {
Key string `json:"key"`
}
type JiraIssueReporter ¶ added in v0.2.0
type JiraIssueReporter struct {
Name string `json:"name"`
}
type JiraIssueTransition ¶ added in v0.6.17
type JiraIssueTransition struct {
Transition *JiraTransition `json:"transition"`
}
type JiraIssueType ¶ added in v0.2.0
type JiraIssueType struct {
Name string `json:"name"`
}
type JiraIssueUpdate ¶ added in v0.4.2
type JiraIssueUpdate struct {
Fields *JiraIssueFields `json:"fields"`
}
type JiraOptions ¶ added in v0.1.0
type JiraSearchAssetOptions ¶ added in v0.14.10
type JiraSearchIssueOptions ¶ added in v0.12.0
type JiraTransition ¶ added in v0.6.17
type JiraTransitions ¶ added in v0.14.15
type JiraTransitions struct {
Transitions []JiraTransition `json:"transitions"`
}
type JiraUpdateAssetOptions ¶ added in v0.14.10
type Ldap ¶ added in v0.16.8
type Ldap struct {
// contains filtered or unexported fields
}
func NewLdapClient ¶ added in v0.16.8
func NewLdapClient(options LdapOptions, logger common.Logger) (*Ldap, error)
func (*Ldap) GetGroupMembers ¶ added in v0.16.8
func (*Ldap) SearchWithScope ¶ added in v0.16.8
type LdapOptions ¶ added in v0.16.8
type Node ¶ added in v0.15.16
type Node struct {
ID int `json:"id"`
Name string `json:"name"`
NetworkType *CatchpointNetworkType `json:"networkType"`
Country *CatchpointCountry `json:"country"`
}
type NodeGroup ¶ added in v0.15.16
type NodeGroup struct {
Data *NodeGroupData `json:"data"`
*CatchpointReponse
}
type NodeGroupData ¶ added in v0.15.16
type NodeGroupData struct {
NodeGroups *[]NodeGroupItem `json:"nodeGroups"`
}
type NodeGroupItem ¶ added in v0.15.16
type Observium ¶ added in v0.9.15
type Observium struct {
// contains filtered or unexported fields
}
func NewObservium ¶ added in v0.9.15
func NewObservium(options ObserviumOptions) *Observium
func (*Observium) CustomGetDevices ¶ added in v0.9.15
func (o *Observium) CustomGetDevices(options ObserviumOptions) ([]byte, error)
func (*Observium) GetDevices ¶ added in v0.9.15
type ObserviumOptions ¶ added in v0.9.15
type OutputCode ¶ added in v0.7.2
type OutputCode struct {
Code int `json:"code"`
}
type PagerDuty ¶ added in v0.12.0
type PagerDuty struct {
// contains filtered or unexported fields
}
func NewPagerDuty ¶ added in v0.12.0
func NewPagerDuty(options PagerDutyOptions, logger common.Logger) *PagerDuty
func (*PagerDuty) CreateIncident ¶ added in v0.12.0
func (pd *PagerDuty) CreateIncident(incidentOptions PagerDutyIncidentOptions, createOptions PagerDutyCreateIncidentOptions) ([]byte, error)
func (*PagerDuty) CreateIncidentNote ¶ added in v0.14.4
func (pd *PagerDuty) CreateIncidentNote(noteOptions PagerDutyIncidentNoteOptions, createOptions PagerDutyCreateIncidentOptions) ([]byte, error)
func (*PagerDuty) CustomCreateIncident ¶ added in v0.12.0
func (pd *PagerDuty) CustomCreateIncident(options PagerDutyOptions, incidentOptions PagerDutyIncidentOptions, createOptions PagerDutyCreateIncidentOptions) ([]byte, error)
func (*PagerDuty) CustomCreateIncidentNote ¶ added in v0.14.4
func (pd *PagerDuty) CustomCreateIncidentNote(options PagerDutyOptions, noteOptions PagerDutyIncidentNoteOptions, createOptions PagerDutyCreateIncidentOptions) ([]byte, error)
func (*PagerDuty) CustomGetIncidents ¶ added in v0.12.0
func (pd *PagerDuty) CustomGetIncidents(options PagerDutyOptions, getOptions PagerDutyGetIncidentsOptions) ([]byte, error)
func (*PagerDuty) GetIncidents ¶ added in v0.12.0
func (pd *PagerDuty) GetIncidents(getOptions PagerDutyGetIncidentsOptions) ([]byte, error)
type PagerDutyBody ¶ added in v0.12.0
type PagerDutyCreateIncidentOptions ¶ added in v0.12.0
type PagerDutyCreateIncidentOptions struct {
From string
}
type PagerDutyGetIncidentsOptions ¶ added in v0.12.0
type PagerDutyIncident ¶ added in v0.12.0
type PagerDutyIncident struct {
Type string `json:"type"`
Title string `json:"title"`
Urgency string `json:"urgency,omitempty"`
Service *PagerDutyService `json:"service"`
Priority *PagerDutyPriority `json:"priority,omitempty"`
Body *PagerDutyBody `json:"body,omitempty"`
IncidentType *PagerDutyIncidentType `json:"incident_type,omitempty"`
}
type PagerDutyIncidentNote ¶ added in v0.14.4
type PagerDutyIncidentNote struct {
Content string `json:"content,omitempty"`
}
type PagerDutyIncidentNoteOptions ¶ added in v0.14.4
type PagerDutyIncidentNoteRequest ¶ added in v0.14.4
type PagerDutyIncidentNoteRequest struct {
Note *PagerDutyIncidentNote `json:"note"`
}
type PagerDutyIncidentOptions ¶ added in v0.12.0
type PagerDutyIncidentRequest ¶ added in v0.12.0
type PagerDutyIncidentRequest struct {
Incident *PagerDutyIncident `json:"incident"`
}
type PagerDutyIncidentType ¶ added in v0.16.7
type PagerDutyIncidentType struct {
Name string `json:"name"`
}
type PagerDutyOptions ¶ added in v0.12.0
type PagerDutyPriority ¶ added in v0.12.0
type PagerDutyService ¶ added in v0.12.0
type Prometheus ¶ added in v0.6.0
type Prometheus struct {
// contains filtered or unexported fields
}
func NewPrometheus ¶ added in v0.6.0
func NewPrometheus(options PrometheusOptions) *Prometheus
func (*Prometheus) CustomGet ¶ added in v0.6.0
func (p *Prometheus) CustomGet(options PrometheusOptions) ([]byte, error)
func (*Prometheus) Get ¶ added in v0.6.0
func (p *Prometheus) Get() ([]byte, error)
type PrometheusOptions ¶ added in v0.6.0
type PrometheusOutputOptions ¶ added in v0.6.0
type SSH ¶ added in v0.15.5
type SSH struct {
// contains filtered or unexported fields
}
func NewSSH ¶ added in v0.15.5
func NewSSH(options SSHOptions) *SSH
type SSHOptions ¶ added in v0.15.5
type Site24x7 ¶ added in v0.15.0
type Site24x7 struct {
// contains filtered or unexported fields
}
func NewSite24x7 ¶ added in v0.15.0
func NewSite24x7(options Site24x7Options, logger common.Logger) *Site24x7
func (*Site24x7) ActivateMonitor ¶ added in v0.15.3
func (s *Site24x7) ActivateMonitor(options Site24x7MonitorOptions) ([]byte, error)
func (*Site24x7) CheckError ¶ added in v0.15.2
func (*Site24x7) CheckResponse ¶ added in v0.15.0
func (s *Site24x7) CheckResponse(resp Site24x7Reponse) error
func (*Site24x7) CreateLocationProfile ¶ added in v0.15.0
func (s *Site24x7) CreateLocationProfile(options Site24x7LocationProfileOptions) ([]byte, error)
func (*Site24x7) CreateWebsiteMonitor ¶ added in v0.15.0
func (s *Site24x7) CreateWebsiteMonitor(options Site24x7WebsiteMonitorOptions) ([]byte, error)
func (*Site24x7) CustomActivateMonitor ¶ added in v0.15.3
func (s *Site24x7) CustomActivateMonitor(site24x7Options Site24x7Options, monitorOptions Site24x7MonitorOptions) ([]byte, error)
func (*Site24x7) CustomCreateLocationProfile ¶ added in v0.15.0
func (s *Site24x7) CustomCreateLocationProfile(site24x7Options Site24x7Options, createLocationOptions Site24x7LocationProfileOptions) ([]byte, error)
func (*Site24x7) CustomCreateWebsiteMonitor ¶ added in v0.15.0
func (s *Site24x7) CustomCreateWebsiteMonitor(site24x7Options Site24x7Options, createMonitorOptions Site24x7WebsiteMonitorOptions) ([]byte, error)
func (*Site24x7) CustomDeleteLocationProfile ¶ added in v0.15.0
func (s *Site24x7) CustomDeleteLocationProfile(site24x7Options Site24x7Options, deleteLocationOptions Site24x7LocationProfileOptions) ([]byte, error)
func (*Site24x7) CustomDeleteMonitor ¶ added in v0.15.0
func (s *Site24x7) CustomDeleteMonitor(site24x7Options Site24x7Options, monitorOptions Site24x7MonitorOptions) ([]byte, error)
func (*Site24x7) CustomGetAccessToken ¶ added in v0.15.0
func (s *Site24x7) CustomGetAccessToken(opts Site24x7Options) (string, error)
func (*Site24x7) CustomGetLocationProfiles ¶ added in v0.15.3
func (s *Site24x7) CustomGetLocationProfiles(site24x7Options Site24x7Options) ([]byte, error)
func (*Site24x7) CustomGetLocationTemplate ¶ added in v0.15.0
func (s *Site24x7) CustomGetLocationTemplate(site24x7Options Site24x7Options) ([]byte, error)
func (*Site24x7) CustomGetLogReport ¶ added in v0.15.0
func (s *Site24x7) CustomGetLogReport(site24x7Options Site24x7Options, logReportOptions Site24x7LogReportOptions) ([]byte, error)
func (*Site24x7) CustomGetPollingStatus ¶ added in v0.15.0
func (s *Site24x7) CustomGetPollingStatus(site24x7Options Site24x7Options, monitorOptions Site24x7MonitorOptions) ([]byte, error)
func (*Site24x7) CustomPollMonitor ¶ added in v0.15.0
func (s *Site24x7) CustomPollMonitor(site24x7Options Site24x7Options, pollMonitorOptions Site24x7MonitorOptions) ([]byte, error)
func (*Site24x7) CustomRetrieveMonitorByName ¶ added in v0.15.3
func (s *Site24x7) CustomRetrieveMonitorByName(site24x7Options Site24x7Options, name string) ([]byte, error)
func (*Site24x7) CustomSuspendMonitor ¶ added in v0.15.3
func (s *Site24x7) CustomSuspendMonitor(site24x7Options Site24x7Options, monitorOptions Site24x7MonitorOptions) ([]byte, error)
func (*Site24x7) DeleteLocationProfile ¶ added in v0.15.0
func (s *Site24x7) DeleteLocationProfile(options Site24x7LocationProfileOptions) ([]byte, error)
func (*Site24x7) DeleteMonitor ¶ added in v0.15.0
func (s *Site24x7) DeleteMonitor(options Site24x7MonitorOptions) ([]byte, error)
func (*Site24x7) FindLocationByCountry ¶ added in v0.15.0
func (s *Site24x7) FindLocationByCountry(locations []*Site24x7LocationTemplateDataLocation, country string) *Site24x7LocationTemplateDataLocation
func (*Site24x7) FindLocationProfileByName ¶ added in v0.15.3
func (s *Site24x7) FindLocationProfileByName(site24x7Options Site24x7Options, name string) (string, error)
func (*Site24x7) GetLocationProfiles ¶ added in v0.15.3
func (*Site24x7) GetLocationTemplate ¶ added in v0.15.0
func (*Site24x7) GetLogReport ¶ added in v0.15.0
func (s *Site24x7) GetLogReport(options Site24x7LogReportOptions) ([]byte, error)
func (*Site24x7) GetPollingStatus ¶ added in v0.15.0
func (s *Site24x7) GetPollingStatus(options Site24x7MonitorOptions) ([]byte, error)
func (*Site24x7) PollMonitor ¶ added in v0.15.0
func (s *Site24x7) PollMonitor(options Site24x7MonitorOptions) ([]byte, error)
func (*Site24x7) PollMonitorWait ¶ added in v0.15.17
func (s *Site24x7) PollMonitorWait(ctx context.Context, site24x7Options Site24x7Options, monitorOptions Site24x7MonitorOptions, delay int, statuses []string) bool
func (*Site24x7) RetrieveMonitorByName ¶ added in v0.15.3
func (*Site24x7) SuspendMonitor ¶ added in v0.15.3
func (s *Site24x7) SuspendMonitor(options Site24x7MonitorOptions) ([]byte, error)
type Site24x7AuthReponse ¶ added in v0.15.0
type Site24x7DeleteData ¶ added in v0.15.3
type Site24x7DeleteData struct {
ResourceName string `json:"resource_name"`
}
type Site24x7DeleteResponse ¶ added in v0.15.3
type Site24x7DeleteResponse struct {
Site24x7Reponse
Data *Site24x7DeleteData `json:"data,omitempty"`
}
type Site24x7ErrorReponse ¶ added in v0.15.2
type Site24x7LocationProfile ¶ added in v0.15.0
type Site24x7LocationProfile struct {
ProfileName string `json:"profile_name"`
PrimaryLocation string `json:"primary_location"`
SecondaryCheckFrequency string `json:"secondary_check_frequency,omitempty"`
SecondaryLocations []string `json:"secondary_locations,omitempty"`
RestrictAltLoc bool `json:"restrict_alt_loc,omitempty"`
OuterRegionsLOcationConsent bool `json:"outer_regions_location_consent,omitempty"`
}
type Site24x7LocationProfileData ¶ added in v0.15.0
type Site24x7LocationProfileData struct {
ProfileID string `json:"profile_id"`
ProfileName string `json:"profile_name"`
PrimaryLocation string `json:"primary_location"`
SecondaryCheckFrequency string `json:"secondary_check_frequency,omitempty"`
SecondaryLocations []string `json:"secondary_locations,omitempty"`
}
type Site24x7LocationProfileOptions ¶ added in v0.15.0
type Site24x7LocationProfileReponse ¶ added in v0.15.0
type Site24x7LocationProfileReponse struct {
Site24x7Reponse
Data *Site24x7LocationProfileData `json:"data,omitempty"`
}
type Site24x7LocationProfilesReponse ¶ added in v0.15.3
type Site24x7LocationProfilesReponse struct {
Site24x7Reponse
Data []*Site24x7LocationProfileData `json:"data,omitempty"`
}
type Site24x7LocationTemplateData ¶ added in v0.15.0
type Site24x7LocationTemplateData struct {
Locations []*Site24x7LocationTemplateDataLocation `json:"locations,omitempty"`
}
type Site24x7LocationTemplateDataLocation ¶ added in v0.15.0
type Site24x7LocationTemplateDataLocation struct {
LocationID string `json:"location_id"`
DisplayName string `json:"display_name"`
CityName string `json:"city_name"`
CityShort string `json:"city_short"`
CountryName string `json:"country_name"`
Continent string `json:"continent"`
UseIpv6 bool `json:"use_ipv6"`
ProbInfo string `json:"probe_info"`
}
type Site24x7LocationTemplateReponse ¶ added in v0.15.0
type Site24x7LocationTemplateReponse struct {
Site24x7Reponse
Data *Site24x7LocationTemplateData `json:"data,omitempty"`
}
type Site24x7LogReportData ¶ added in v0.15.0
type Site24x7LogReportData struct {
Report []*Site24x7LogReportDataReport
}
type Site24x7LogReportDataReport ¶ added in v0.15.0
type Site24x7LogReportDataReport struct {
ConnectionTime string `json:"connection_time"`
DnsTime string `json:"dns_time"`
SSLTime string `json:"ssl_time"`
ResponseCode string `json:"response_code"`
CollectionTime string `json:"collection_time"`
Availability string `json:"availability"`
ResponseTime string `json:"response_time"`
LocationID string `json:"location_id"`
Nameserver string `json:"nameserver"`
ResolvedIP string `json:"resolved_ip"`
Reason string `json:"reason"`
ContentLength string `json:"content_length"`
DataCollectionType string `json:"data_collection_type"`
}
type Site24x7LogReportOptions ¶ added in v0.15.0
type Site24x7LogReportOptions struct {
Site24x7MonitorOptions
StartDate string
EndDate string
}
type Site24x7LogReportReponse ¶ added in v0.15.0
type Site24x7LogReportReponse struct {
Site24x7Reponse
Data *Site24x7LogReportData `json:"data,omitempty"`
}
type Site24x7MonitorOptions ¶ added in v0.15.0
type Site24x7MonitorOptions struct {
ID string
}
type Site24x7Options ¶ added in v0.15.0
type Site24x7PollStatusData ¶ added in v0.15.3
type Site24x7PollStatusReponse ¶ added in v0.15.3
type Site24x7PollStatusReponse struct {
Site24x7Reponse
Data *Site24x7PollStatusData `json:"data,omitempty"`
}
type Site24x7Reponse ¶ added in v0.15.0
type Site24x7WebsiteMonitor ¶ added in v0.15.0
type Site24x7WebsiteMonitor struct {
DisplayName string `json:"display_name"`
Type string `json:"type"`
Website string `json:"website"`
CheckFrequency string `json:"check_frequency"`
Timeout int `json:"timeout"`
LocationProfileID string `json:"location_profile_id"`
NotificationProfileID string `json:"notification_profile_id"`
ThresholdProfileID string `json:"threshold_profile_id"`
UserGroupIDs []string `json:"user_group_ids"`
HttpMethod string `json:"http_method"`
IPType int `json:"ip_type,omitempty"`
UserAgent string `json:"user_agent,omitempty"`
MonitorGroups []string `json:"monitor_groups,omitempty"`
UseNameServer bool `json:"use_name_server,omitempty"`
}
type Site24x7WebsiteMonitorData ¶ added in v0.15.2
type Site24x7WebsiteMonitorOptions ¶ added in v0.15.0
type Site24x7WebsiteMonitorResponse ¶ added in v0.15.2
type Site24x7WebsiteMonitorResponse struct {
Site24x7Reponse
Data *Site24x7WebsiteMonitorData `json:"data,omitempty"`
}
type Slack ¶
type Slack struct {
// contains filtered or unexported fields
}
func NewSlack ¶
func NewSlack(options SlackOptions) *Slack
func (*Slack) AddReaction ¶ added in v0.7.3
func (s *Slack) AddReaction(options SlackReactionOptions) ([]byte, error)
func (*Slack) CustomAddReaction ¶ added in v0.7.3
func (s *Slack) CustomAddReaction(slackOptions SlackOptions, reactionOptions SlackReactionOptions) ([]byte, error)
func (*Slack) CustomGetUser ¶ added in v0.8.6
func (s *Slack) CustomGetUser(slackOptions SlackOptions, slackUser SlackUserEmail) ([]byte, error)
func (*Slack) CustomSendFile ¶ added in v0.15.4
func (s *Slack) CustomSendFile(slackOptions SlackOptions, fileOptions SlackFileOptions) ([]byte, error)
func (*Slack) CustomSendMessage ¶ added in v0.15.4
func (s *Slack) CustomSendMessage(slackOptions SlackOptions, messageOptions SlackMessageOptions) ([]byte, error)
func (*Slack) CustomUpdateUsergroup ¶ added in v0.8.6
func (s *Slack) CustomUpdateUsergroup(slackOptions SlackOptions, slackUpdateUsergroup SlackUsergroupUsers) ([]byte, error)
func (*Slack) GetUser ¶ added in v0.8.6
func (s *Slack) GetUser(options SlackUserEmail) ([]byte, error)
func (*Slack) SendMessage ¶ added in v0.2.0
func (s *Slack) SendMessage(messageOptions SlackMessageOptions) ([]byte, error)
func (*Slack) UpdateUsergroup ¶ added in v0.8.6
func (s *Slack) UpdateUsergroup(options SlackUsergroupUsers) ([]byte, error)
type SlackFileOptions ¶ added in v0.15.4
type SlackMessage ¶ added in v0.2.0
type SlackMessageBlock ¶ added in v0.15.7
type SlackMessageOptions ¶ added in v0.15.4
type SlackMessageResponse ¶ added in v0.15.7
type SlackMessageResponse struct {
OK bool `json:"ok"`
Channel string `json:"channel"`
TS string `json:"ts"`
Message *SlackMessage `json:"message,omitempty"`
}
type SlackOptions ¶
type SlackOutputOptions ¶ added in v0.2.0
type SlackReactionOptions ¶ added in v0.7.3
type SlackUserEmail ¶ added in v0.8.6
type SlackUserEmail struct {
Email string
}
type SlackUsergroupUsers ¶ added in v0.8.6
type Telegram ¶
type Telegram struct {
// contains filtered or unexported fields
}
func NewTelegram ¶
func NewTelegram(options TelegramOptions) *Telegram
func (*Telegram) CustomSendDocument ¶ added in v0.4.3
func (t *Telegram) CustomSendDocument(telegramOptions TelegramOptions, documentOptions TelegramDocumentOptions) ([]byte, error)
func (*Telegram) CustomSendMessage ¶ added in v0.4.3
func (t *Telegram) CustomSendMessage(telegramOptions TelegramOptions, messageOptions TelegramMessageOptions) ([]byte, error)
func (*Telegram) CustomSendPhoto ¶ added in v0.4.3
func (t *Telegram) CustomSendPhoto(telegramOptions TelegramOptions, photoOptions TelegramPhotoOptions) ([]byte, error)
func (*Telegram) SendDocument ¶ added in v0.2.0
func (t *Telegram) SendDocument(options TelegramDocumentOptions) ([]byte, error)
func (*Telegram) SendMessage ¶ added in v0.2.1
func (t *Telegram) SendMessage(options TelegramMessageOptions) ([]byte, error)
type TelegramDocumentOptions ¶ added in v0.2.1
type TelegramMessageOptions ¶ added in v0.2.1
type TelegramMessageOptions struct {
Text string
}
type TelegramOptions ¶
type TelegramPhotoOptions ¶ added in v0.2.1
type TestSummary ¶ added in v0.15.17
type VCenter ¶ added in v0.10.1
type VCenter struct {
// contains filtered or unexported fields
}
func NewVCenter ¶ added in v0.10.1
func NewVCenter(options VCenterOptions) *VCenter
func (*VCenter) CustomControlVMPower ¶ added in v0.15.5
func (*VCenter) CustomGetClusters ¶ added in v0.10.1
func (vc *VCenter) CustomGetClusters(options VCenterOptions) ([]byte, error)
func (*VCenter) CustomGetHosts ¶ added in v0.10.1
func (vc *VCenter) CustomGetHosts(options VCenterOptions, hostOptions VCenterHostOptions) ([]byte, error)
func (*VCenter) CustomGetSession ¶ added in v0.10.2
func (vc *VCenter) CustomGetSession(options VCenterOptions) (string, error)
func (*VCenter) CustomGetVM ¶ added in v0.15.5
func (vc *VCenter) CustomGetVM(options VCenterOptions, vmID string) ([]byte, error)
func (*VCenter) CustomGetVMGuestIdentity ¶ added in v0.10.3
func (vc *VCenter) CustomGetVMGuestIdentity(options VCenterOptions, vmGuestidentity VCenterVMGuestIdentityOptions) ([]byte, error)
func (*VCenter) CustomGetVMs ¶ added in v0.10.1
func (vc *VCenter) CustomGetVMs(options VCenterOptions, vmOptions VCenterVMOptions) ([]byte, error)
func (*VCenter) CustomGetVMsByName ¶ added in v0.15.5
func (vc *VCenter) CustomGetVMsByName(options VCenterOptions, vmNameOptions VCenterVMNameOptions) ([]byte, error)
func (*VCenter) GetClusters ¶ added in v0.10.1
func (*VCenter) GetHosts ¶ added in v0.10.1
func (vc *VCenter) GetHosts(options VCenterHostOptions) ([]byte, error)
func (*VCenter) GetVMGuestIdentity ¶ added in v0.10.3
func (vc *VCenter) GetVMGuestIdentity(options VCenterVMGuestIdentityOptions) ([]byte, error)
func (*VCenter) GetVMs ¶ added in v0.10.1
func (vc *VCenter) GetVMs(options VCenterVMOptions) ([]byte, error)
func (*VCenter) GetVMsByName ¶ added in v0.15.5
func (vc *VCenter) GetVMsByName(options VCenterVMNameOptions) ([]byte, error)
type VCenterHostOptions ¶ added in v0.10.1
type VCenterHostOptions struct {
Cluster string
}
type VCenterOptions ¶ added in v0.10.1
type VCenterOptions struct {
Timeout int
Insecure bool
URL string
User string
Password string
Session string
}
func InitializeVCenterSession ¶ added in v0.15.5
func InitializeVCenterSession(options VCenterOptions) (VCenterOptions, error)
type VCenterSessionResponse ¶ added in v0.10.1
type VCenterSessionResponse struct {
Value string `json:"value"`
}
type VCenterVMGuestIdentityOptions ¶ added in v0.10.3
type VCenterVMGuestIdentityOptions struct {
VM string
}
type VCenterVMNameOptions ¶ added in v0.15.5
type VCenterVMNameOptions struct {
Names []string
}
type VCenterVMOptions ¶ added in v0.10.1
type VMsResponse ¶ added in v0.15.5
type VMsResponse struct {
Value []VMInfo `json:"value"`
}
type Zabbix ¶ added in v0.10.0
type Zabbix struct {
// contains filtered or unexported fields
}
func NewZabbix ¶ added in v0.10.0
func NewZabbix(options ZabbixOptions) *Zabbix
func (*Zabbix) CustomGetHosts ¶ added in v0.10.0
func (o *Zabbix) CustomGetHosts(options ZabbixOptions, hostOptions ZabbixHostOptions) ([]byte, error)
type ZabbixHostGet ¶ added in v0.10.0
type ZabbixHostGet struct {
JsonRPC string `json:"jsonrpc"`
Method string `json:"method"`
Params *ZabbixHostGetParams `json:"params"`
Auth string `json:"auth"`
ID int `json:"id"`
}
type ZabbixHostGetParams ¶ added in v0.10.0
type ZabbixHostOptions ¶ added in v0.10.1
type ZabbixOptions ¶ added in v0.10.0
type ZabbixUserLogin ¶ added in v0.10.0
type ZabbixUserLogin struct {
JsonRPC string `json:"jsonrpc"`
Method string `json:"method"`
Params *ZabbixUserLoginParams `json:"params"`
ID int `json:"id"`
}
type ZabbixUserLoginParams ¶ added in v0.10.0
type ZabbixUserLoginResponse ¶ added in v0.10.0
type ZabbixUserLoginResponse struct {
Result string `json:"result"`
}
Click to show internal directories.
Click to hide internal directories.