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 CustomSearchAssetsResponse
- type DashboardMeta
- type GetConversationHistoryParameters
- type GetConversationHistoryResponse
- 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) CreateMeetSpace(meetOptions GoogleMeetOptions) (*GoogleMeetSpaceResponse, 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)
- func (g *Google) CustomCreateMeetSpace(googleOptions GoogleOptions, meetOptions GoogleMeetOptions) (*GoogleMeetSpaceResponse, error)
- func (g *Google) DocsCopyDocument(docOptions GoogleDocsOptions) ([]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 GoogleDocsOptions
- type GoogleJWTClaims
- type GoogleJWTHeader
- type GoogleMeetOptions
- type GoogleMeetSpaceConfig
- type GoogleMeetSpaceRequest
- type GoogleMeetSpaceResponse
- type GoogleOptions
- type GoogleServiceAccount
- type GoogleTokenReponse
- type Grafana
- func (g *Grafana) CopyDashboard(grafanaCreateOptions GrafanaDashboardOptions) ([]byte, error)
- func (g *Grafana) CopyLibraryElement(grafanaLibraryElementOptions GrafanaLibraryElementOptions) ([]byte, error)
- func (g *Grafana) CreateAnnotation(options GrafanaCreateAnnotationOptions) ([]byte, error)
- func (g *Grafana) CreateDashboard(options GrafanaDashboardOptions) ([]byte, error)
- func (g Grafana) CustomCopyDashboard(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDashboardOptions) ([]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 GrafanaDashboardOptions) ([]byte, error)
- func (g *Grafana) CustomDeleteDashboards(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDashboardOptions) ([]byte, error)
- func (g *Grafana) CustomGetAnnotations(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDashboardOptions, ...) ([]byte, error)
- func (g *Grafana) CustomGetDashboards(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDashboardOptions) ([]byte, error)
- func (g *Grafana) CustomGetFolder(grafanaOptions GrafanaOptions, grafanaFolderOptions GrafanaFolderOptions) ([]byte, error)
- func (g *Grafana) CustomGetLibraryElement(grafanaOptions GrafanaOptions, ...) ([]byte, error)
- func (g *Grafana) CustomRenderImage(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDashboardOptions, ...) ([]byte, error)
- func (g *Grafana) CustomSearchDashboards(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDashboardOptions) ([]byte, error)
- func (g *Grafana) CustomSearchLibraryElements(grafanaOptions GrafanaOptions, ...) ([]byte, error)
- func (g *Grafana) DeleteDashboards(dashboardOptions GrafanaDashboardOptions) ([]byte, error)
- func (g *Grafana) GetAnnotations(dashboardOptions GrafanaDashboardOptions, ...) ([]byte, error)
- func (g *Grafana) GetDashboards(dashboardOptions GrafanaDashboardOptions) ([]byte, error)
- func (g *Grafana) GetFolder(folderOptions GrafanaFolderOptions) ([]byte, error)
- func (g *Grafana) GetLibraryElement(libraryElementOptions GrafanaLibraryElementOptions) ([]byte, error)
- func (g *Grafana) RenderImage(dashboardOptions GrafanaDashboardOptions, ...) ([]byte, error)
- func (g *Grafana) SearchDashboards(dashboardOptions GrafanaDashboardOptions) ([]byte, error)
- func (g *Grafana) SearchLibraryElements(libraryElementOptions GrafanaLibraryElementOptions) ([]byte, error)
- type GrafanaAnnotation
- type GrafanaBoard
- type GrafanaClonedDashboardOptions
- type GrafanaClonedLibraryElementOptions
- type GrafanaCreateAnnotationOptions
- type GrafanaDashboard
- type GrafanaDashboardAnnotations
- type GrafanaDashboardOptions
- type GrafanaDashboardTemplating
- type GrafanaDashboardTime
- type GrafanaFolderOptions
- 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 IQLObjectAttribute
- type IQLObjectAttributeValue
- type IQLObjectEntry
- type IQLObjectType
- type IQLObjectTypeAttribute
- type IQLObjectsResponse
- 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 JiraIssueUpdateLabelOperation
- type JiraIssueUpdatePayload
- type JiraOptions
- type JiraSearchAssetOptions
- type JiraSearchIssueOptions
- type JiraTransition
- type JiraTransitions
- type JiraUpdateAssetOptions
- type K8s
- func (k *K8s) CustomResourceDelete(options K8sOptions, deleteOptions K8sResourceDeleteOptions) ([]byte, error)
- func (k *K8s) CustomResourceDescribe(options K8sOptions, describeOptions K8sResourceDescribeOptions) ([]byte, error)
- func (k *K8s) CustomResourceRestart(options K8sOptions, restartOptions K8sResourceRestartOptions) ([]byte, error)
- func (k *K8s) CustomResourceScale(options K8sOptions, scaleOptions K8sResourceScaleOptions) ([]byte, error)
- func (k *K8s) ResourceDelete(options K8sResourceDeleteOptions) ([]byte, error)
- func (k *K8s) ResourceDescribe(options K8sResourceDescribeOptions) ([]byte, error)
- func (k *K8s) ResourceRestart(options K8sResourceRestartOptions) ([]byte, error)
- func (k *K8s) ResourceScale(options K8sResourceScaleOptions) ([]byte, error)
- type K8sOptions
- type K8sResourceDeleteOptions
- type K8sResourceDescribeOptions
- type K8sResourceOptions
- type K8sResourceRestartOptions
- type K8sResourceScaleOptions
- type Ldap
- type LdapOptions
- type Netbox
- type NetboxDevice
- type NetboxDeviceOptions
- type NetboxOptions
- type NetxboxAPIResponse
- 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) CustomGetConversationHistory(slackOptions SlackOptions, ...) ([]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) GetConversationHistory(options GetConversationHistoryParameters) ([]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 Teleport
- func (t *Teleport) CustomPing(options TeleportOptions) ([]byte, error)
- func (t *Teleport) CustomResourceList(options TeleportOptions, listOptions TeleportResourceListOptions) ([]byte, error)
- func (t *Teleport) Ping() ([]byte, error)
- func (t *Teleport) ResourceList(options TeleportResourceListOptions) ([]byte, error)
- type TeleportOptions
- type TeleportResourceListOptions
- type TeleportResourceOptions
- type TestSummary
- type VCenter
- func (vc *VCenter) CustomControlVMGuestPower(options VCenterOptions, vmID string, action string) ([]byte, error)
- 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) RebootVM(vmID string) ([]byte, error)
- func (vc *VCenter) ResetVM(vmID string) ([]byte, error)
- func (vc *VCenter) ShutdownVM(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 VirusTotal
- type VirusTotalDomainNameData
- type VirusTotalDomainReportOptions
- type VirusTotalDomainReportResult
- type VirusTotalLastAnalysisResult
- type VirusTotalOptions
- type VirusTotalTotalVotes
- type Zabbix
- type ZabbixHostGet
- type ZabbixHostGetParams
- type ZabbixHostOptions
- type ZabbixOptions
- type ZabbixUserLogin
- type ZabbixUserLoginParams
- type ZabbixUserLoginResponse
Constants ¶
const ( K8sResourcePods = "pods" K8sResourceDeployments = "deployments" K8sResourceReplicaSets = "replicasets" K8sResourceStatefulSets = "statefulsets" K8sResourceDaemonSets = "daemonsets" )
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" )
const ( Site24x7DataCollectionTypeNormal = "1" Site24x7DataCollectionTypePollNow = "3" )
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" VCenterRestVMGuestPowerPathFmt = "/api/vcenter/vm/%s/guest/power" )
const (
TeleportResourceKubernetes = "kubernetes"
)
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 CustomSearchAssetsResponse ¶ added in v0.16.11
type CustomSearchAssetsResponse struct {
ObjectTypeAttributes []IQLObjectTypeAttribute `json:"attributes"`
ObjectEntries []IQLObjectEntry `json:"objects"`
}
func (CustomSearchAssetsResponse) MarshalEasyJSON ¶ added in v0.16.11
func (v CustomSearchAssetsResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CustomSearchAssetsResponse) MarshalJSON ¶ added in v0.16.11
func (v CustomSearchAssetsResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CustomSearchAssetsResponse) UnmarshalEasyJSON ¶ added in v0.16.11
func (v *CustomSearchAssetsResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CustomSearchAssetsResponse) UnmarshalJSON ¶ added in v0.16.11
func (v *CustomSearchAssetsResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DashboardMeta ¶ added in v0.14.5
type GetConversationHistoryParameters ¶ added in v0.17.11
type GetConversationHistoryResponse ¶ added in v0.17.11
type GetConversationHistoryResponse struct {
Ok bool `json:"ok"`
Oldest string `json:"oldest"`
Messages []struct {
Type string `json:"type"`
Ts string `json:"ts"`
Text string `json:"text"`
Team string `json:"team"`
Reactions []struct {
Name string `json:"name"`
Users []string `json:"users"`
Count int `json:"count"`
} `json:"reactions"`
} `json:"messages"`
HasMore bool `json:"has_more"`
PinCount int `json:"pin_count"`
ResponseMetadata struct {
NextCursor string `json:"next_cursor"`
} `json:"response_metadata"`
}
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) CreateMeetSpace ¶ added in v0.18.0
func (g *Google) CreateMeetSpace(meetOptions GoogleMeetOptions) (*GoogleMeetSpaceResponse, 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)
func (*Google) CustomCreateMeetSpace ¶ added in v0.18.0
func (g *Google) CustomCreateMeetSpace(googleOptions GoogleOptions, meetOptions GoogleMeetOptions) (*GoogleMeetSpaceResponse, error)
func (*Google) DocsCopyDocument ¶ added in v0.18.6
func (g *Google) DocsCopyDocument(docOptions GoogleDocsOptions) ([]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 GoogleDocsOptions ¶ added in v0.18.6
type GoogleJWTClaims ¶ added in v0.18.0
type GoogleJWTClaims struct {
Iss string `json:"iss"` // service account email
Sub string `json:"sub"` // impersonation email (for domain-wide delegation)
Scope string `json:"scope"` // required scopes
Aud string `json:"aud"` // token endpoint
Exp int64 `json:"exp"` // expiration time
Iat int64 `json:"iat"` // issued at time
}
JWT Claims for service account
type GoogleJWTHeader ¶ added in v0.18.0
JWT Header
type GoogleMeetOptions ¶ added in v0.18.0
type GoogleMeetOptions struct {
AccessType string
}
type GoogleMeetSpaceConfig ¶ added in v0.18.0
type GoogleMeetSpaceConfig struct {
AccessType string `json:"accessType"`
}
type GoogleMeetSpaceRequest ¶ added in v0.18.0
type GoogleMeetSpaceRequest struct {
Config GoogleMeetSpaceConfig `json:"config"`
}
type GoogleMeetSpaceResponse ¶ added in v0.18.0
type GoogleOptions ¶ added in v0.3.0
type GoogleServiceAccount ¶ added in v0.18.0
type GoogleServiceAccount struct {
Type string `json:"type"`
ProjectID string `json:"project_id"`
PrivateKeyID string `json:"private_key_id"`
PrivateKey string `json:"private_key"`
ClientEmail string `json:"client_email"`
ClientID string `json:"client_id"`
AuthURI string `json:"auth_uri"`
TokenURI string `json:"token_uri"`
AuthProviderX509CertURL string `json:"auth_provider_x509_cert_url"`
ClientX509CertURL string `json:"client_x509_cert_url"`
}
Service Account JSON structure
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 GrafanaDashboardOptions) ([]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 GrafanaDashboardOptions) ([]byte, error)
func (Grafana) CustomCopyDashboard ¶ added in v0.14.5
func (g Grafana) CustomCopyDashboard(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDashboardOptions) ([]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 GrafanaDashboardOptions) ([]byte, error)
func (*Grafana) CustomDeleteDashboards ¶ added in v0.16.5
func (g *Grafana) CustomDeleteDashboards(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDashboardOptions) ([]byte, error)
func (*Grafana) CustomGetAnnotations ¶ added in v0.4.3
func (g *Grafana) CustomGetAnnotations(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDashboardOptions, getAnnotationsOptions GrafanaGetAnnotationsOptions) ([]byte, error)
func (*Grafana) CustomGetDashboards ¶ added in v0.4.3
func (g *Grafana) CustomGetDashboards(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDashboardOptions) ([]byte, error)
func (*Grafana) CustomGetFolder ¶ added in v0.17.4
func (g *Grafana) CustomGetFolder(grafanaOptions GrafanaOptions, grafanaFolderOptions GrafanaFolderOptions) ([]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 GrafanaDashboardOptions, renderImageOptions GrafanaRenderImageOptions) ([]byte, error)
func (*Grafana) CustomSearchDashboards ¶ added in v0.16.5
func (g *Grafana) CustomSearchDashboards(grafanaOptions GrafanaOptions, grafanaDashboardOptions GrafanaDashboardOptions) ([]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 GrafanaDashboardOptions) ([]byte, error)
func (*Grafana) GetAnnotations ¶ added in v0.3.0
func (g *Grafana) GetAnnotations(dashboardOptions GrafanaDashboardOptions, annotationsOptions GrafanaGetAnnotationsOptions) ([]byte, error)
func (*Grafana) GetDashboards ¶ added in v0.2.0
func (g *Grafana) GetDashboards(dashboardOptions GrafanaDashboardOptions) ([]byte, error)
func (*Grafana) GetFolder ¶ added in v0.17.4
func (g *Grafana) GetFolder(folderOptions GrafanaFolderOptions) ([]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 GrafanaDashboardOptions, renderOptions GrafanaRenderImageOptions) ([]byte, error)
func (*Grafana) SearchDashboards ¶ added in v0.16.5
func (g *Grafana) SearchDashboards(dashboardOptions GrafanaDashboardOptions) ([]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 GrafanaClonedDashboardOptions ¶ added in v0.20.3
type GrafanaClonedLibraryElementOptions ¶ added in v0.16.8
type GrafanaCreateAnnotationOptions ¶ added in v0.3.3
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 GrafanaDashboardOptions ¶ added in v0.20.3
type GrafanaDashboardTemplating ¶ added in v0.14.5
type GrafanaDashboardTemplating struct {
List []interface{} `json:"list"`
}
type GrafanaDashboardTime ¶ added in v0.8.1
type GrafanaFolderOptions ¶ added in v0.17.4
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"`
FolderUID string `json:"folderUid,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 IQLObjectAttribute ¶ added in v0.16.11
type IQLObjectAttribute struct {
Id int `json:"id"`
ObjectTypeAttributeId int `json:"objectTypeAttributeId"`
ObjectAttributeValues []IQLObjectAttributeValue `json:"objectAttributeValues"`
ObjectId int `json:"objectId"`
}
func (IQLObjectAttribute) MarshalEasyJSON ¶ added in v0.16.11
func (v IQLObjectAttribute) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (IQLObjectAttribute) MarshalJSON ¶ added in v0.16.11
func (v IQLObjectAttribute) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*IQLObjectAttribute) UnmarshalEasyJSON ¶ added in v0.16.11
func (v *IQLObjectAttribute) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IQLObjectAttribute) UnmarshalJSON ¶ added in v0.16.11
func (v *IQLObjectAttribute) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type IQLObjectAttributeValue ¶ added in v0.16.11
type IQLObjectAttributeValue struct {
Value string `json:"value,omitempty"`
DisplayValue string `json:"displayValue"`
SearchValue string `json:"searchValue"`
ReferencedType bool `json:"referencedType"`
Status struct {
Id int `json:"id"`
Name string `json:"name"`
Category int `json:"category"`
ObjectSchemaId int `json:"objectSchemaId"`
} `json:"status,omitempty"`
ReferencedObject IQLObjectEntry `json:"referencedObject,omitempty"`
}
func (IQLObjectAttributeValue) MarshalEasyJSON ¶ added in v0.16.11
func (v IQLObjectAttributeValue) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (IQLObjectAttributeValue) MarshalJSON ¶ added in v0.16.11
func (v IQLObjectAttributeValue) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*IQLObjectAttributeValue) UnmarshalEasyJSON ¶ added in v0.16.11
func (v *IQLObjectAttributeValue) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IQLObjectAttributeValue) UnmarshalJSON ¶ added in v0.16.11
func (v *IQLObjectAttributeValue) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type IQLObjectEntry ¶ added in v0.16.11
type IQLObjectEntry struct {
Id int `json:"id"`
Label string `json:"label"`
ObjectKey string `json:"objectKey"`
ObjectType IQLObjectType `json:"objectType"`
Created time.Time `json:"created"`
Updated time.Time `json:"updated"`
Timestamp int64 `json:"timestamp"`
Attributes []IQLObjectAttribute `json:"attributes"`
Name string `json:"name"`
Archived bool `json:"archived"`
}
func (IQLObjectEntry) MarshalEasyJSON ¶ added in v0.16.11
func (v IQLObjectEntry) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (IQLObjectEntry) MarshalJSON ¶ added in v0.16.11
func (v IQLObjectEntry) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*IQLObjectEntry) UnmarshalEasyJSON ¶ added in v0.16.11
func (v *IQLObjectEntry) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IQLObjectEntry) UnmarshalJSON ¶ added in v0.16.11
func (v *IQLObjectEntry) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type IQLObjectType ¶ added in v0.16.11
type IQLObjectType struct {
Id int `json:"id"`
Name string `json:"name"`
Type int `json:"type"`
Position int `json:"position"`
Created time.Time `json:"created"`
Updated time.Time `json:"updated"`
ObjectCount int `json:"objectCount"`
ParentObjectTypeId int `json:"parentObjectTypeId"`
ObjectSchemaId int `json:"objectSchemaId"`
Inherited bool `json:"inherited"`
AbstractObjectType bool `json:"abstractObjectType"`
ParentObjectTypeInherited bool `json:"parentObjectTypeInherited"`
}
func (IQLObjectType) MarshalEasyJSON ¶ added in v0.16.11
func (v IQLObjectType) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (IQLObjectType) MarshalJSON ¶ added in v0.16.11
func (v IQLObjectType) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*IQLObjectType) UnmarshalEasyJSON ¶ added in v0.16.11
func (v *IQLObjectType) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IQLObjectType) UnmarshalJSON ¶ added in v0.16.11
func (v *IQLObjectType) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type IQLObjectTypeAttribute ¶ added in v0.16.11
type IQLObjectTypeAttribute struct {
Id int `json:"id"`
Name string `json:"name"`
Label bool `json:"label"`
Type int `json:"type"`
DefaultType struct {
Id int `json:"id"`
Name string `json:"name"`
} `json:"defaultType,omitempty"`
Hidden bool `json:"hidden"`
IncludeChildObjectTypes bool `json:"includeChildObjectTypes"`
UniqueAttribute bool `json:"uniqueAttribute"`
Options string `json:"options"`
Position int `json:"position"`
Description string `json:"description,omitempty"`
TypeValueMulti []string `json:"typeValueMulti,omitempty"`
ReferenceObjectTypeId int `json:"referenceObjectTypeId,omitempty"`
ReferenceObjectType IQLObjectType `json:"referenceObjectType,omitempty"`
Suffix string `json:"suffix,omitempty"`
RegexValidation string `json:"regexValidation,omitempty"`
QlQuery string `json:"qlQuery,omitempty"`
Iql string `json:"iql,omitempty"`
}
func (IQLObjectTypeAttribute) MarshalEasyJSON ¶ added in v0.16.11
func (v IQLObjectTypeAttribute) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (IQLObjectTypeAttribute) MarshalJSON ¶ added in v0.16.11
func (v IQLObjectTypeAttribute) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*IQLObjectTypeAttribute) UnmarshalEasyJSON ¶ added in v0.16.11
func (v *IQLObjectTypeAttribute) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IQLObjectTypeAttribute) UnmarshalJSON ¶ added in v0.16.11
func (v *IQLObjectTypeAttribute) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type IQLObjectsResponse ¶ added in v0.16.11
type IQLObjectsResponse struct {
ObjectEntries []IQLObjectEntry `json:"objectEntries"`
ObjectTypeAttributes []IQLObjectTypeAttribute `json:"objectTypeAttributes"`
ObjectTypeId int `json:"objectTypeId"`
ObjectTypeIsInherited bool `json:"objectTypeIsInherited"`
AbstractObjectType bool `json:"abstractObjectType"`
TotalFilterCount int `json:"totalFilterCount"`
StartIndex int `json:"startIndex"`
ToIndex int `json:"toIndex"`
PageObjectSize int `json:"pageObjectSize"`
PageNumber int `json:"pageNumber"`
OrderWay string `json:"orderWay"`
QlQuery string `json:"qlQuery"`
QlQuerySearchResult bool `json:"qlQuerySearchResult"`
ConversionPossible bool `json:"conversionPossible"`
Iql string `json:"iql"`
IqlSearchResult bool `json:"iqlSearchResult"`
PageSize int `json:"pageSize"`
}
func (IQLObjectsResponse) MarshalEasyJSON ¶ added in v0.16.11
func (v IQLObjectsResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (IQLObjectsResponse) MarshalJSON ¶ added in v0.16.11
func (v IQLObjectsResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*IQLObjectsResponse) UnmarshalEasyJSON ¶ added in v0.16.11
func (v *IQLObjectsResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IQLObjectsResponse) UnmarshalJSON ¶ added in v0.16.11
func (v *IQLObjectsResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
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 JiraCreateAssetOptions struct {
Description string
Name string
Repository string
DescriptionId int
NameId int
RepositoryId int
ObjectSchemeId string
ObjectTypeId int
TitleId int
Title string
TierId int
Tier string
BusinessProcesses *JiraAssetAttribute
Team *JiraAssetAttribute
Dependencies *JiraAssetAttribute
Group *JiraAssetAttribute
IsThirdParty *JiraAssetAttribute
IsDecommissioned *JiraAssetAttribute
}
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"`
Update *JiraIssueUpdatePayload `json:"update"`
}
type JiraIssueUpdateLabelOperation ¶ added in v0.17.13
type JiraIssueUpdatePayload ¶ added in v0.17.13
type JiraIssueUpdatePayload struct {
Labels []JiraIssueUpdateLabelOperation `json:"labels,omitempty"`
}
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 K8s ¶ added in v0.18.0
type K8s struct {
// contains filtered or unexported fields
}
func (*K8s) CustomResourceDelete ¶ added in v0.18.1
func (k *K8s) CustomResourceDelete(options K8sOptions, deleteOptions K8sResourceDeleteOptions) ([]byte, error)
func (*K8s) CustomResourceDescribe ¶ added in v0.18.3
func (k *K8s) CustomResourceDescribe(options K8sOptions, describeOptions K8sResourceDescribeOptions) ([]byte, error)
func (*K8s) CustomResourceRestart ¶ added in v0.20.1
func (k *K8s) CustomResourceRestart(options K8sOptions, restartOptions K8sResourceRestartOptions) ([]byte, error)
func (*K8s) CustomResourceScale ¶ added in v0.18.1
func (k *K8s) CustomResourceScale(options K8sOptions, scaleOptions K8sResourceScaleOptions) ([]byte, error)
func (*K8s) ResourceDelete ¶ added in v0.18.1
func (k *K8s) ResourceDelete(options K8sResourceDeleteOptions) ([]byte, error)
func (*K8s) ResourceDescribe ¶ added in v0.18.3
func (k *K8s) ResourceDescribe(options K8sResourceDescribeOptions) ([]byte, error)
func (*K8s) ResourceRestart ¶ added in v0.20.1
func (k *K8s) ResourceRestart(options K8sResourceRestartOptions) ([]byte, error)
func (*K8s) ResourceScale ¶ added in v0.18.1
func (k *K8s) ResourceScale(options K8sResourceScaleOptions) ([]byte, error)
type K8sOptions ¶ added in v0.18.0
type K8sResourceDeleteOptions ¶ added in v0.18.1
type K8sResourceDeleteOptions struct {
K8sResourceOptions
}
type K8sResourceDescribeOptions ¶ added in v0.18.3
type K8sResourceDescribeOptions struct {
K8sResourceOptions
}
type K8sResourceOptions ¶ added in v0.18.1
type K8sResourceRestartOptions ¶ added in v0.20.1
type K8sResourceRestartOptions struct {
K8sResourceOptions
WaitTimeout int
PollTimeout int
}
type K8sResourceScaleOptions ¶ added in v0.18.1
type K8sResourceScaleOptions struct {
K8sResourceOptions
Replicas int
WaitTimeout int
PollTimeout int
}
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 Netbox ¶ added in v0.17.5
type Netbox struct {
// contains filtered or unexported fields
}
func NewNetbox ¶ added in v0.17.5
func NewNetbox(options NetboxOptions) *Netbox
func (*Netbox) CustomGetDevices ¶ added in v0.17.5
func (n *Netbox) CustomGetDevices(options NetboxOptions, netboxDeviceOptions NetboxDeviceOptions) ([]byte, error)
func (*Netbox) GetDevices ¶ added in v0.17.5
func (n *Netbox) GetDevices(deviceOptions NetboxDeviceOptions) ([]byte, error)
type NetboxDevice ¶ added in v0.17.6
type NetboxDevice struct {
ID int `json:"id,omitempty"`
URL string `json:"url,omitempty"`
DisplayURL string `json:"display_url,omitempty"`
Display string `json:"display,omitempty"`
Name string `json:"name,omitempty"`
DeviceType struct {
ID int `json:"id,omitempty"`
URL string `json:"url,omitempty"`
Display string `json:"display,omitempty"`
Manufacturer struct {
ID int `json:"id,omitempty"`
URL string `json:"url,omitempty"`
Display string `json:"display,omitempty"`
Name string `json:"name,omitempty"`
Slug string `json:"slug,omitempty"`
Description string `json:"description,omitempty"`
} `json:"manufacturer,omitempty"`
Model string `json:"model,omitempty"`
Slug string `json:"slug,omitempty"`
Description string `json:"description,omitempty"`
} `json:"device_type,omitempty"`
Role struct {
ID int `json:"id,omitempty"`
URL string `json:"url,omitempty"`
Display string `json:"display,omitempty"`
Name string `json:"name,omitempty"`
Slug string `json:"slug,omitempty"`
Description string `json:"description,omitempty"`
} `json:"role,omitempty"`
Tenant struct {
ID int `json:"id,omitempty"`
URL string `json:"url,omitempty"`
Display string `json:"display,omitempty"`
Name string `json:"name,omitempty"`
Slug string `json:"slug,omitempty"`
Description string `json:"description,omitempty"`
} `json:"tenant,omitempty"`
Platform struct {
ID int `json:"id,omitempty"`
URL string `json:"url,omitempty"`
Display string `json:"display,omitempty"`
Name string `json:"name,omitempty"`
Slug string `json:"slug,omitempty"`
Description string `json:"description,omitempty"`
} `json:"platform,omitempty"`
Serial string `json:"serial,omitempty"`
AssetTag any `json:"asset_tag,omitempty"`
Site struct {
ID int `json:"id,omitempty"`
URL string `json:"url,omitempty"`
Display string `json:"display,omitempty"`
Name string `json:"name,omitempty"`
Slug string `json:"slug,omitempty"`
Description string `json:"description,omitempty"`
} `json:"site,omitempty"`
Location struct {
ID int `json:"id,omitempty"`
URL string `json:"url,omitempty"`
Display string `json:"display,omitempty"`
Name string `json:"name,omitempty"`
Slug string `json:"slug,omitempty"`
Description string `json:"description,omitempty"`
RackCount int `json:"rack_count,omitempty"`
Depth int `json:"_depth,omitempty"`
} `json:"location,omitempty"`
Rack struct {
ID int `json:"id,omitempty"`
URL string `json:"url,omitempty"`
Display string `json:"display,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
} `json:"rack,omitempty"`
Position float64 `json:"position,omitempty"`
Face struct {
Value string `json:"value,omitempty"`
Label string `json:"label,omitempty"`
} `json:"face,omitempty"`
Latitude any `json:"latitude,omitempty"`
Longitude any `json:"longitude,omitempty"`
ParentDevice any `json:"parent_device,omitempty"`
Status struct {
Value string `json:"value,omitempty"`
Label string `json:"label,omitempty"`
} `json:"status,omitempty"`
Airflow struct {
Value string `json:"value,omitempty"`
Label string `json:"label,omitempty"`
} `json:"airflow,omitempty"`
PrimaryIP struct {
ID int `json:"id,omitempty"`
URL string `json:"url,omitempty"`
Display string `json:"display,omitempty"`
Family struct {
Value int `json:"value,omitempty"`
Label string `json:"label,omitempty"`
} `json:"family,omitempty"`
Address string `json:"address,omitempty"`
Description string `json:"description,omitempty"`
} `json:"primary_ip,omitempty"`
PrimaryIP4 struct {
ID int `json:"id,omitempty"`
URL string `json:"url,omitempty"`
Display string `json:"display,omitempty"`
Family struct {
Value int `json:"value,omitempty"`
Label string `json:"label,omitempty"`
} `json:"family,omitempty"`
Address string `json:"address,omitempty"`
Description string `json:"description,omitempty"`
} `json:"primary_ip4,omitempty"`
PrimaryIP6 any `json:"primary_ip6,omitempty"`
OobIP any `json:"oob_ip,omitempty"`
Cluster any `json:"cluster,omitempty"`
VirtualChassis any `json:"virtual_chassis,omitempty"`
VcPosition any `json:"vc_position,omitempty"`
VcPriority any `json:"vc_priority,omitempty"`
Description string `json:"description,omitempty"`
Comments string `json:"comments,omitempty"`
ConfigTemplate any `json:"config_template,omitempty"`
LocalContextData any `json:"local_context_data,omitempty"`
Tags []any `json:"tags,omitempty"`
CustomFields struct {
BrocadeFcOemSerialnumber any `json:"brocade_fc_oem_serialnumber,omitempty"`
BrocadeFcSwitchLid any `json:"brocade_fc_switch_lid,omitempty"`
BrocadeFcSwitchPrincipal any `json:"brocade_fc_switch_principal,omitempty"`
BrocadeFcSwitchType any `json:"brocade_fc_switch_type,omitempty"`
BrocadeFosDomainID any `json:"brocade_fos_domain_id,omitempty"`
BrocadeFosLicensedPorts any `json:"brocade_fos_licensed_ports,omitempty"`
JiraAssetsID string `json:"jira_assets_id,omitempty"`
InstallDate string `json:"install_date,omitempty"`
BiosVersion string `json:"bios_version,omitempty"`
FirmwareVersion any `json:"firmware_version,omitempty"`
SoftwareVersion string `json:"software_version,omitempty"`
ReferencedAssets any `json:"referenced_assets,omitempty"`
WarrantyContractNumber any `json:"warranty_contract_number,omitempty"`
WarrantyContractType any `json:"warranty_contract_type,omitempty"`
WarrantyExpirationDate any `json:"warranty_expiration_date,omitempty"`
HumidSensors any `json:"humid_sensors,omitempty"`
TempSensors any `json:"temp_sensors,omitempty"`
HostCPUModel any `json:"host_cpu_model,omitempty"`
HostCurrentCPUSockets any `json:"host_current_cpu_sockets,omitempty"`
HostCurrentDimmSlots any `json:"host_current_dimm_slots,omitempty"`
HostMaxCPUSockets any `json:"host_max_cpu_sockets,omitempty"`
HostMaxDimmSlots any `json:"host_max_dimm_slots,omitempty"`
HostMemory any `json:"host_memory,omitempty"`
HostPartnumber any `json:"host_partnumber,omitempty"`
HostSku any `json:"host_sku,omitempty"`
HostSmbiosUUID any `json:"host_smbios_uuid,omitempty"`
HostUUID any `json:"host_uuid,omitempty"`
Hostname string `json:"hostname,omitempty"`
NetworkDeviceSystemMac any `json:"network_device_system_mac,omitempty"`
NetworkDeviceType []string `json:"network_device_type,omitempty"`
NetworkDeviceObserviumID any `json:"network_device_observium_id,omitempty"`
PduDetails any `json:"pdu_details,omitempty"`
} `json:"custom_fields,omitempty"`
Created time.Time `json:"created,omitempty"`
LastUpdated time.Time `json:"last_updated,omitempty"`
ConsolePortCount int `json:"console_port_count,omitempty"`
ConsoleServerPortCount int `json:"console_server_port_count,omitempty"`
PowerPortCount int `json:"power_port_count,omitempty"`
PowerOutletCount int `json:"power_outlet_count,omitempty"`
InterfaceCount int `json:"interface_count,omitempty"`
FrontPortCount int `json:"front_port_count,omitempty"`
RearPortCount int `json:"rear_port_count,omitempty"`
DeviceBayCount int `json:"device_bay_count,omitempty"`
ModuleBayCount int `json:"module_bay_count,omitempty"`
InventoryItemCount int `json:"inventory_item_count,omitempty"`
}
type NetboxDeviceOptions ¶ added in v0.17.5
type NetboxDeviceOptions struct {
DeviceID string
}
type NetboxOptions ¶ added in v0.17.5
type NetxboxAPIResponse ¶ added in v0.17.5
type NetxboxAPIResponse struct {
Count int `json:"count"`
Next string `json:"next"`
Previous string `json:"previous"`
Results []NetboxDevice `json:"results"`
}
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) CustomGetConversationHistory ¶ added in v0.17.11
func (s *Slack) CustomGetConversationHistory(slackOptions SlackOptions, getConversationHistoryParameters GetConversationHistoryParameters) ([]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) GetConversationHistory ¶ added in v0.17.11
func (s *Slack) GetConversationHistory(options GetConversationHistoryParameters) ([]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 Teleport ¶ added in v0.19.0
type Teleport struct {
// contains filtered or unexported fields
}
func NewTeleport ¶ added in v0.19.0
func NewTeleport(options TeleportOptions, logger common.Logger) *Teleport
func (*Teleport) CustomPing ¶ added in v0.19.0
func (t *Teleport) CustomPing(options TeleportOptions) ([]byte, error)
func (*Teleport) CustomResourceList ¶ added in v0.19.0
func (t *Teleport) CustomResourceList(options TeleportOptions, listOptions TeleportResourceListOptions) ([]byte, error)
func (*Teleport) ResourceList ¶ added in v0.19.0
func (t *Teleport) ResourceList(options TeleportResourceListOptions) ([]byte, error)
type TeleportOptions ¶ added in v0.19.0
type TeleportResourceListOptions ¶ added in v0.19.0
type TeleportResourceListOptions struct {
TeleportResourceOptions
}
type TeleportResourceOptions ¶ added in v0.19.0
type TeleportResourceOptions struct {
Kind string
}
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) CustomControlVMGuestPower ¶ added in v0.20.7
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)
func (*VCenter) ShutdownVM ¶ added in v0.20.7
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 VirusTotal ¶ added in v0.17.3
type VirusTotal struct {
// contains filtered or unexported fields
}
func NewVirusTotal ¶ added in v0.17.3
func NewVirusTotal(options VirusTotalOptions, logger common.Logger) *VirusTotal
func (*VirusTotal) CustomDomainReport ¶ added in v0.17.3
func (v *VirusTotal) CustomDomainReport(virusTotalOptions VirusTotalOptions, virusTotalDomainReportOptions VirusTotalDomainReportOptions) ([]byte, error)
func (*VirusTotal) DomainReport ¶ added in v0.17.3
func (v *VirusTotal) DomainReport(options VirusTotalDomainReportOptions) ([]byte, error)
type VirusTotalDomainNameData ¶ added in v0.17.3
type VirusTotalDomainNameData struct {
ID string `json:"id"`
Type string `json:"type"`
LastAnalysisDate int64 `json:"last_analysis_date"`
LastModificationDate int64 `json:"last_modification_date"`
LastAnalysisResult map[string]VirusTotalLastAnalysisResult `json:"last_analysis_results"`
Reputation string `json:"reputation"`
TotalVotes *VirusTotalTotalVotes
}
type VirusTotalDomainReportOptions ¶ added in v0.17.3
type VirusTotalDomainReportOptions struct {
Domain string
}
type VirusTotalDomainReportResult ¶ added in v0.17.3
type VirusTotalDomainReportResult struct {
DomainName *VirusTotalDomainNameData
}
type VirusTotalLastAnalysisResult ¶ added in v0.17.3
type VirusTotalOptions ¶ added in v0.17.3
type VirusTotalTotalVotes ¶ added in v0.17.3
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"`
}