Versions in this module Expand all Collapse all v0 v0.6.0 Jul 5, 2019 Changes in this version + type AsyncRequestResponse struct + RequestID string + type HTTPTransportSettings struct + ConnectionTimeout time.Duration + MaxRetryAttempts int + RequestTimeout time.Duration type OpsGenieAlertClient + func (cli *OpsGenieAlertClient) AddDetails(req alerts.AddDetailsAlertRequest) (*alerts.AddDetailsAlertResponse, error) + func (cli *OpsGenieAlertClient) AddTags(req alerts.AddTagsAlertRequest) (*alerts.AddTagsAlertResponse, error) + func (cli *OpsGenieAlertClient) Count(req alerts.CountAlertRequest) (*alerts.CountAlertResponse, error) + func (cli *OpsGenieAlertClient) EscalateToNext(req alerts.EscalateToNextAlertRequest) (*alerts.EscalateToNextAlertResponse, error) + func (cli *OpsGenieAlertClient) RemoveDetails(req alerts.RemoveDetailsAlertRequest) (*alerts.RemoveDetailsAlertResponse, error) + func (cli *OpsGenieAlertClient) RemoveTags(req alerts.RemoveTagsAlertRequest) (*alerts.RemoveTagsAlertResponse, error) + func (cli *OpsGenieAlertClient) SetOpsGenieClient(ogCli OpsGenieClient) + func (cli *OpsGenieAlertClient) Snooze(req alerts.SnoozeAlertRequest) (*alerts.SnoozeAlertResponse, error) + func (cli *OpsGenieAlertClient) UnAcknowledge(req alerts.UnAcknowledgeAlertRequest) (*alerts.UnAcknowledgeAlertResponse, error) + type OpsGenieAlertV2Client struct + func (cli *OpsGenieAlertV2Client) Acknowledge(req alertsv2.AcknowledgeRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) AddDetails(req alertsv2.AddDetailsRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) AddNote(req alertsv2.AddNoteRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) AddTags(req alertsv2.AddTagsToAlertRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) AddTeamToAlert(req alertsv2.AddTeamToAlertRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) Assign(req alertsv2.AssignAlertRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) AttachFile(req alertsv2.AddAlertAttachmentRequest) (*alertsv2.AddAlertAttachmentResponse, error) + func (cli *OpsGenieAlertV2Client) Close(req alertsv2.CloseRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) Create(req alertsv2.CreateAlertRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) CreateSavedSearch(req savedsearches.CreateSavedSearchRequest) (*savedsearches.CreateSavedSearchResponse, error) + func (cli *OpsGenieAlertV2Client) Delete(req alertsv2.DeleteAlertRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) DeleteAttachment(req alertsv2.DeleteAlertAttachmentRequest) (*alertsv2.DeleteAlertAttachmentResponse, error) + func (cli *OpsGenieAlertV2Client) DeleteSavedSearch(req savedsearches.DeleteSavedSearchRequest) (*savedsearches.DeleteSavedSearchResponse, error) + func (cli *OpsGenieAlertV2Client) EscalateToNext(req alertsv2.EscalateToNextRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) ExecuteCustomAction(req alertsv2.ExecuteCustomActionRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) Get(req alertsv2.GetAlertRequest) (*alertsv2.DetailedAlertResponse, error) + func (cli *OpsGenieAlertV2Client) GetAsyncRequestStatus(req alertsv2.GetAsyncRequestStatusRequest) (*alertsv2.GetAsyncRequestStatusResponse, error) + func (cli *OpsGenieAlertV2Client) GetAttachmentFile(req alertsv2.GetAlertAttachmentRequest) (*alertsv2.GetAlertAttachmentResponse, error) + func (cli *OpsGenieAlertV2Client) GetSavedSearch(req savedsearches.GetSavedSearchRequest) (*savedsearches.GetSavedSearchResponse, error) + func (cli *OpsGenieAlertV2Client) List(req alertsv2.ListAlertRequest) (*alertsv2.ListAlertResponse, error) + func (cli *OpsGenieAlertV2Client) ListAlertAttachments(req alertsv2.ListAlertAttachmentRequest) (*alertsv2.ListAlertAttachmentsResponse, error) + func (cli *OpsGenieAlertV2Client) ListAlertLogs(req alertsv2.ListAlertLogsRequest) (*alertsv2.ListAlertLogsResponse, error) + func (cli *OpsGenieAlertV2Client) ListAlertNotes(req alertsv2.ListAlertNotesRequest) (*alertsv2.ListAlertNotesResponse, error) + func (cli *OpsGenieAlertV2Client) ListAlertRecipients(req alertsv2.ListAlertRecipientsRequest) (*alertsv2.ListAlertRecipientsResponse, error) + func (cli *OpsGenieAlertV2Client) ListSavedSearches(req alertsv2.LisSavedSearchRequest) (*savedsearches.ListSavedSearchResponse, error) + func (cli *OpsGenieAlertV2Client) RemoveDetails(req alertsv2.RemoveDetailsRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) RemoveTags(req alertsv2.RemoveTagsRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) SetOpsGenieClient(ogCli OpsGenieClient) + func (cli *OpsGenieAlertV2Client) Snooze(req alertsv2.SnoozeRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) Unacknowledge(req alertsv2.UnacknowledgeRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieAlertV2Client) UpdateSavedSearch(req savedsearches.UpdateSavedSearchRequest) (*savedsearches.UpdateSavedSearchResponse, error) type OpsGenieClient + func (cli *OpsGenieClient) APIKey() string + func (cli *OpsGenieClient) AlertV2() (*OpsGenieAlertV2Client, error) + func (cli *OpsGenieClient) Contact() (*OpsGenieContactClient, error) + func (cli *OpsGenieClient) Escalation() (*OpsGenieEscalationClient, error) + func (cli *OpsGenieClient) NotificationV2() (*OpsGenieNotificationV2Client, error) + func (cli *OpsGenieClient) OpsGenieAPIUrl() string + func (cli *OpsGenieClient) Schedule() (*OpsGenieScheduleClient, error) + func (cli *OpsGenieClient) ScheduleOverride() (*OpsGenieScheduleOverrideClient, error) + func (cli *OpsGenieClient) ScheduleOverrideV2() (*OpsGenieScheduleOverrideV2Client, error) + func (cli *OpsGenieClient) ScheduleRotationV2() (*OpsGenieScheduleRotationV2Client, error) + func (cli *OpsGenieClient) ScheduleV2() (*OpsGenieScheduleV2Client, error) + func (cli *OpsGenieClient) SetAPIKey(key string) + func (cli *OpsGenieClient) SetHTTPTransportSettings(settings *HTTPTransportSettings) + func (cli *OpsGenieClient) SetOpsGenieAPIUrl(url string) + func (cli *OpsGenieClient) SetProxyConfiguration(conf *ProxyConfiguration) + func (cli *OpsGenieClient) Team() (*OpsGenieTeamClient, error) + func (cli *OpsGenieClient) User() (*OpsGenieUserClient, error) + func (cli *OpsGenieClient) UserV2() (*OpsGenieUserV2Client, error) + type OpsGenieContactClient struct + func (cli *OpsGenieContactClient) Create(req contact.CreateContactRequest) (*contact.CreateContactResponse, error) + func (cli *OpsGenieContactClient) Delete(req contact.DeleteContactRequest) (*contact.DeleteContactResponse, error) + func (cli *OpsGenieContactClient) Disable(req contact.DisableContactRequest) (*contact.DisableContactResponse, error) + func (cli *OpsGenieContactClient) Enable(req contact.EnableContactRequest) (*contact.EnableContactResponse, error) + func (cli *OpsGenieContactClient) Get(req contact.GetContactRequest) (*contact.GetContactResponse, error) + func (cli *OpsGenieContactClient) SetOpsGenieClient(ogCli OpsGenieClient) + func (cli *OpsGenieContactClient) Update(req contact.UpdateContactRequest) (*contact.UpdateContactResponse, error) + type OpsGenieEscalationClient struct + func (cli *OpsGenieEscalationClient) Create(req escalation.CreateEscalationRequest) (*escalation.CreateEscalationResponse, error) + func (cli *OpsGenieEscalationClient) Delete(req escalation.DeleteEscalationRequest) (*escalation.DeleteEscalationResponse, error) + func (cli *OpsGenieEscalationClient) Get(req escalation.GetEscalationRequest) (*escalation.GetEscalationResponse, error) + func (cli *OpsGenieEscalationClient) List(req escalation.ListEscalationsRequest) (*escalation.ListEscalationsResponse, error) + func (cli *OpsGenieEscalationClient) SetOpsGenieClient(ogCli OpsGenieClient) + func (cli *OpsGenieEscalationClient) Update(req escalation.UpdateEscalationRequest) (*escalation.UpdateEscalationResponse, error) type OpsGenieHeartbeatClient + func (cli *OpsGenieHeartbeatClient) Ping(req heartbeat.PingHeartbeatRequest) (*AsyncRequestResponse, error) + func (cli *OpsGenieHeartbeatClient) SetOpsGenieClient(ogCli OpsGenieClient) type OpsGenieIntegrationClient + func (cli *OpsGenieIntegrationClient) SetOpsGenieClient(ogCli OpsGenieClient) + type OpsGenieNotificationV2Client struct + func (cli *OpsGenieNotificationV2Client) Create(req notificationv2.CreateNotificationRequest) (*notificationv2.CreateNotificationResponse, error) + func (cli *OpsGenieNotificationV2Client) Delete(req notificationv2.DeleteNotificationRequest) (*notificationv2.DeleteNotificationResponse, error) + func (cli *OpsGenieNotificationV2Client) Disable(req notificationv2.DisableNotificationRequest) (*notificationv2.DisableNotificationResponse, error) + func (cli *OpsGenieNotificationV2Client) Enable(req notificationv2.EnableNotificationRequest) (*notificationv2.EnableNotificationResponse, error) + func (cli *OpsGenieNotificationV2Client) Get(req notificationv2.GetNotificationRequest) (*notificationv2.GetNotificationResponse, error) + func (cli *OpsGenieNotificationV2Client) List(req notificationv2.ListNotificationRequest) (*notificationv2.ListNotificationResponse, error) + func (cli *OpsGenieNotificationV2Client) SetOpsGenieClient(ogCli OpsGenieClient) + func (cli *OpsGenieNotificationV2Client) Update(req notificationv2.UpdateNotificationRequest) (*notificationv2.UpdateNotificationResponse, error) type OpsGeniePolicyClient + func (cli *OpsGeniePolicyClient) SetOpsGenieClient(ogCli OpsGenieClient) + type OpsGenieScheduleClient struct + func (cli *OpsGenieScheduleClient) Create(req schedule.CreateScheduleRequest) (*schedule.CreateScheduleResponse, error) + func (cli *OpsGenieScheduleClient) Delete(req schedule.DeleteScheduleRequest) (*schedule.DeleteScheduleResponse, error) + func (cli *OpsGenieScheduleClient) Get(req schedule.GetScheduleRequest) (*schedule.GetScheduleResponse, error) + func (cli *OpsGenieScheduleClient) GetTimeline(req schedule.GetTimelineScheduleRequest) (*schedule.GetTimelineScheduleResponse, error) + func (cli *OpsGenieScheduleClient) List(req schedule.ListSchedulesRequest) (*schedule.ListSchedulesResponse, error) + func (cli *OpsGenieScheduleClient) SetOpsGenieClient(ogCli OpsGenieClient) + func (cli *OpsGenieScheduleClient) Update(req schedule.UpdateScheduleRequest) (*schedule.UpdateScheduleResponse, error) + func (cli *OpsGenieScheduleClient) WhoIsOnCall(req schedule.WhoIsOnCallRequest) (*schedule.WhoIsOnCallResponse, error) + type OpsGenieScheduleOverrideClient struct + func (cli *OpsGenieScheduleOverrideClient) Add(req override.AddScheduleOverrideRequest) (*override.AddScheduleOverrideResponse, error) + func (cli *OpsGenieScheduleOverrideClient) Delete(req override.DeleteScheduleOverrideRequest) (*override.DeleteScheduleOverrideResponse, error) + func (cli *OpsGenieScheduleOverrideClient) Get(req override.GetScheduleOverrideRequest) (*override.GetScheduleOverrideResponse, error) + func (cli *OpsGenieScheduleOverrideClient) List(req override.ListScheduleOverridesRequest) (*override.ListScheduleOverridesResponse, error) + func (cli *OpsGenieScheduleOverrideClient) SetOpsGenieClient(ogCli OpsGenieClient) + func (cli *OpsGenieScheduleOverrideClient) Update(req override.UpdateScheduleOverrideRequest) (*override.UpdateScheduleOverrideResponse, error) + type OpsGenieScheduleOverrideV2Client struct + func (cli *OpsGenieScheduleOverrideV2Client) Create(req schedulev2.CreateScheduleOverrideRequest) (*schedulev2.CreateScheduleOverrideResponse, error) + func (cli *OpsGenieScheduleOverrideV2Client) Delete(req schedulev2.DeleteScheduleOverrideRequest) (*schedulev2.DeleteScheduleOverrideResponse, error) + func (cli *OpsGenieScheduleOverrideV2Client) Get(req schedulev2.GetScheduleOverrideRequest) (*schedulev2.GetScheduleOverrideResponse, error) + func (cli *OpsGenieScheduleOverrideV2Client) List(req schedulev2.ListScheduleOverrideRequest) (*schedulev2.ListScheduleOverrideResponse, error) + func (cli *OpsGenieScheduleOverrideV2Client) SetOpsGenieClient(ogCli OpsGenieClient) + func (cli *OpsGenieScheduleOverrideV2Client) Update(req schedulev2.UpdateScheduleOverrideRequest) (*schedulev2.UpdateScheduleOverrideResponse, error) + type OpsGenieScheduleRotationV2Client struct + func (cli *OpsGenieScheduleRotationV2Client) Create(req schedulev2.CreateScheduleRotationRequest) (*schedulev2.CreateScheduleRotationResponse, error) + func (cli *OpsGenieScheduleRotationV2Client) Delete(req schedulev2.DeleteScheduleRotationRequest) (*schedulev2.DeleteScheduleRotationResponse, error) + func (cli *OpsGenieScheduleRotationV2Client) Get(req schedulev2.GetScheduleRotationRequest) (*schedulev2.GetScheduleRotationResponse, error) + func (cli *OpsGenieScheduleRotationV2Client) List(req schedulev2.ListScheduleRotationRequest) (*schedulev2.ListScheduleRotationResponse, error) + func (cli *OpsGenieScheduleRotationV2Client) SetOpsGenieClient(ogCli OpsGenieClient) + func (cli *OpsGenieScheduleRotationV2Client) Update(req schedulev2.UpdateScheduleRotationRequest) (*schedulev2.UpdateScheduleRotationResponse, error) + type OpsGenieScheduleV2Client struct + func (cli *OpsGenieScheduleV2Client) Create(req schedulev2.CreateScheduleRequest) (*schedulev2.CreateScheduleResponse, error) + func (cli *OpsGenieScheduleV2Client) Delete(req schedulev2.DeleteScheduleRequest) (*schedulev2.DeleteScheduleResponse, error) + func (cli *OpsGenieScheduleV2Client) Get(req schedulev2.GetScheduleRequest) (*schedulev2.GetScheduleResponse, error) + func (cli *OpsGenieScheduleV2Client) List(req schedulev2.ListScheduleRequest) (*schedulev2.ListScheduleResponse, error) + func (cli *OpsGenieScheduleV2Client) SetOpsGenieClient(ogCli OpsGenieClient) + func (cli *OpsGenieScheduleV2Client) Update(req schedulev2.UpdateScheduleRequest) (*schedulev2.UpdateScheduleResponse, error) + type OpsGenieTeamClient struct + func (cli *OpsGenieTeamClient) Create(req team.CreateTeamRequest) (*team.CreateTeamResponse, error) + func (cli *OpsGenieTeamClient) Delete(req team.DeleteTeamRequest) (*team.DeleteTeamResponse, error) + func (cli *OpsGenieTeamClient) Get(req team.GetTeamRequest) (*team.GetTeamResponse, error) + func (cli *OpsGenieTeamClient) List(req team.ListTeamsRequest) (*team.ListTeamsResponse, error) + func (cli *OpsGenieTeamClient) ListLogs(req team.ListTeamLogsRequest) (*team.ListTeamLogsResponse, error) + func (cli *OpsGenieTeamClient) SetOpsGenieClient(ogCli OpsGenieClient) + func (cli *OpsGenieTeamClient) Update(req team.UpdateTeamRequest) (*team.UpdateTeamResponse, error) + type OpsGenieUserClient struct + func (cli *OpsGenieUserClient) Create(req user.CreateUserRequest) (*user.CreateUserResponse, error) + func (cli *OpsGenieUserClient) Delete(req user.DeleteUserRequest) (*user.DeleteUserResponse, error) + func (cli *OpsGenieUserClient) Get(req user.GetUserRequest) (*user.GetUserResponse, error) + func (cli *OpsGenieUserClient) List(req user.ListUsersRequest) (*user.ListUsersResponse, error) + func (cli *OpsGenieUserClient) SetOpsGenieClient(ogCli OpsGenieClient) + func (cli *OpsGenieUserClient) Update(req user.UpdateUserRequest) (*user.UpdateUserResponse, error) + type OpsGenieUserV2Client struct + func (cli *OpsGenieUserV2Client) Create(req userv2.CreateUserRequest) (*userv2.CreateUserResponse, error) + func (cli *OpsGenieUserV2Client) Delete(req userv2.DeleteUserRequest) (*userv2.DeleteUserResponse, error) + func (cli *OpsGenieUserV2Client) Get(req userv2.GetUserRequest) (*userv2.GetUserResponse, error) + func (cli *OpsGenieUserV2Client) List(req userv2.ListUsersRequest) (*userv2.ListUsersResponse, error) + func (cli *OpsGenieUserV2Client) ListEscalations(req userv2.ListUserEscalationsRequest) (*userv2.ListUserEscalationsResponse, error) + func (cli *OpsGenieUserV2Client) ListForwardingRules(req userv2.ListUserForwardingRulesRequest) (*userv2.ListUserForwardingRulesResponse, error) + func (cli *OpsGenieUserV2Client) ListSchedules(req userv2.ListUserSchedulesRequest) (*userv2.ListUserSchedulesResponse, error) + func (cli *OpsGenieUserV2Client) ListTeams(req userv2.ListUserTeamsRequest) (*userv2.ListUserTeamsResponse, error) + func (cli *OpsGenieUserV2Client) SetOpsGenieClient(ogCli OpsGenieClient) + func (cli *OpsGenieUserV2Client) Update(req userv2.UpdateUserRequest) (*userv2.UpdateUserResponse, error) + type ProxyConfiguration struct + Host string + Password string + Port int + Protocol string + ProxyURI string + Username string + type Request interface + GenerateUrl func() (string, url.Values, error) + GetApiKey func() string + type Response interface + SetRateLimitState func(state string) + SetRequestID func(requestId string) + SetResponseTime func(responseTime float32) + type ResponseMeta struct + RateLimitState string + RequestID string + ResponseTime float32 + func (rm *ResponseMeta) SetRateLimitState(state string) + func (rm *ResponseMeta) SetRequestID(requestID string) + func (rm *ResponseMeta) SetResponseTime(responseTime float32) + type RestClient struct + func (cli *RestClient) SetOpsGenieClient(ogCli OpsGenieClient) v0.5.0 May 26, 2017 v0.4.0 Jul 27, 2016 v0.3.3 Jan 4, 2016 Changes in this version + const ACKNOWLEDGE_ALERT_URL + const ADD_HEARTBEAT_URL + const ADD_NOTE_ALERT_URL + const ADD_RECIPIENT_ALERT_URL + const ADD_TEAM_ALERT_URL + const ASSIGN_OWNERSHIP_ALERT_URL + const ATTACH_FILE_ALERT_URL + const CLOSE_ALERT_URL + const CREATE_ALERT_URL + const DEFAULT_CONNECTION_TIMEOUT_IN_SECONDS + const DEFAULT_MAX_RETRY_ATTEMPTS + const DELETE_ALERT_URL + const DELETE_HEARTBEAT_URL + const DISABLE_HEARTBEAT_URL + const DISABLE_INTEGRATION_URL + const DISABLE_POLICY_URL + const ENABLE_HEARTBEAT_URL + const ENABLE_INTEGRATION_URL + const ENABLE_POLICY_URL + const ENDPOINT_URL + const EXECUTE_ACTION_ALERT_URL + const GET_ALERT_URL + const GET_HEARTBEAT_URL + const LIST_ALERTS_URL + const LIST_ALERT_LOGS_URL + const LIST_ALERT_NOTES_URL + const LIST_ALERT_RECIPIENTS_URL + const LIST_HEARTBEAT_URL + const RENOTIFY_ALERT_URL + const SEND_HEARTBEAT_URL + const TAKE_OWNERSHIP_ALERT_URL + const TIME_SLEEP_BETWEEN_REQUESTS + const UPDATE_HEARTBEAT_URL + type ClientProxyConfiguration struct + Host string + Password string + Port int + ProxyUri string + Secured bool + Username string + func (proxy *ClientProxyConfiguration) ToString() string + type HttpTransportSettings struct + ConnectionTimeout time.Duration + MaxRetryAttempts int + type OpsGenieAlertClient struct + func (cli *OpsGenieAlertClient) Acknowledge(req alerts.AcknowledgeAlertRequest) (*alerts.AcknowledgeAlertResponse, error) + func (cli *OpsGenieAlertClient) AddNote(req alerts.AddNoteAlertRequest) (*alerts.AddNoteAlertResponse, error) + func (cli *OpsGenieAlertClient) AddRecipient(req alerts.AddRecipientAlertRequest) (*alerts.AddRecipientAlertResponse, error) + func (cli *OpsGenieAlertClient) AddTeam(req alerts.AddTeamAlertRequest) (*alerts.AddTeamAlertResponse, error) + func (cli *OpsGenieAlertClient) AssignOwner(req alerts.AssignOwnerAlertRequest) (*alerts.AssignOwnerAlertResponse, error) + func (cli *OpsGenieAlertClient) AttachFile(req alerts.AttachFileAlertRequest) (*alerts.AttachFileAlertResponse, error) + func (cli *OpsGenieAlertClient) Close(req alerts.CloseAlertRequest) (*alerts.CloseAlertResponse, error) + func (cli *OpsGenieAlertClient) Create(req alerts.CreateAlertRequest) (*alerts.CreateAlertResponse, error) + func (cli *OpsGenieAlertClient) Delete(req alerts.DeleteAlertRequest) (*alerts.DeleteAlertResponse, error) + func (cli *OpsGenieAlertClient) ExecuteAction(req alerts.ExecuteActionAlertRequest) (*alerts.ExecuteActionAlertResponse, error) + func (cli *OpsGenieAlertClient) Get(req alerts.GetAlertRequest) (*alerts.GetAlertResponse, error) + func (cli *OpsGenieAlertClient) List(req alerts.ListAlertsRequest) (*alerts.ListAlertsResponse, error) + func (cli *OpsGenieAlertClient) ListLogs(req alerts.ListAlertLogsRequest) (*alerts.ListAlertLogsResponse, error) + func (cli *OpsGenieAlertClient) ListNotes(req alerts.ListAlertNotesRequest) (*alerts.ListAlertNotesResponse, error) + func (cli *OpsGenieAlertClient) ListRecipients(req alerts.ListAlertRecipientsRequest) (*alerts.ListAlertRecipientsResponse, error) + func (cli *OpsGenieAlertClient) Renotify(req alerts.RenotifyAlertRequest) (*alerts.RenotifyAlertResponse, error) + func (cli *OpsGenieAlertClient) SetConnectionTimeout(timeoutInSeconds time.Duration) + func (cli *OpsGenieAlertClient) SetMaxRetryAttempts(retries int) + func (cli *OpsGenieAlertClient) TakeOwnership(req alerts.TakeOwnershipAlertRequest) (*alerts.TakeOwnershipAlertResponse, error) + type OpsGenieClient struct + func (cli *OpsGenieClient) Alert() (*OpsGenieAlertClient, error) + func (cli *OpsGenieClient) Heartbeat() (*OpsGenieHeartbeatClient, error) + func (cli *OpsGenieClient) Integration() (*OpsGenieIntegrationClient, error) + func (cli *OpsGenieClient) Policy() (*OpsGeniePolicyClient, error) + func (cli *OpsGenieClient) SetApiKey(key string) error + func (cli *OpsGenieClient) SetClientProxyConfiguration(conf *ClientProxyConfiguration) + func (cli *OpsGenieClient) SetHttpTransportSettings(settings *HttpTransportSettings) + type OpsGenieHeartbeatClient struct + func (cli *OpsGenieHeartbeatClient) Add(req heartbeat.AddHeartbeatRequest) (*heartbeat.AddHeartbeatResponse, error) + func (cli *OpsGenieHeartbeatClient) Delete(req heartbeat.DeleteHeartbeatRequest) (*heartbeat.DeleteHeartbeatResponse, error) + func (cli *OpsGenieHeartbeatClient) Disable(req heartbeat.DisableHeartbeatRequest) (*heartbeat.DisableHeartbeatResponse, error) + func (cli *OpsGenieHeartbeatClient) Enable(req heartbeat.EnableHeartbeatRequest) (*heartbeat.EnableHeartbeatResponse, error) + func (cli *OpsGenieHeartbeatClient) Get(req heartbeat.GetHeartbeatRequest) (*heartbeat.GetHeartbeatResponse, error) + func (cli *OpsGenieHeartbeatClient) List(req heartbeat.ListHeartbeatsRequest) (*heartbeat.ListHeartbeatsResponse, error) + func (cli *OpsGenieHeartbeatClient) Send(req heartbeat.SendHeartbeatRequest) (*heartbeat.SendHeartbeatResponse, error) + func (cli *OpsGenieHeartbeatClient) SetConnectionTimeout(timeoutInSeconds time.Duration) + func (cli *OpsGenieHeartbeatClient) SetMaxRetryAttempts(retries int) + func (cli *OpsGenieHeartbeatClient) Update(req heartbeat.UpdateHeartbeatRequest) (*heartbeat.UpdateHeartbeatResponse, error) + type OpsGenieIntegrationClient struct + func (cli *OpsGenieIntegrationClient) Disable(req integration.DisableIntegrationRequest) (*integration.DisableIntegrationResponse, error) + func (cli *OpsGenieIntegrationClient) Enable(req integration.EnableIntegrationRequest) (*integration.EnableIntegrationResponse, error) + func (cli *OpsGenieIntegrationClient) SetConnectionTimeout(timeoutInSeconds time.Duration) + func (cli *OpsGenieIntegrationClient) SetMaxRetryAttempts(retries int) + type OpsGeniePolicyClient struct + func (cli *OpsGeniePolicyClient) Disable(req policy.DisablePolicyRequest) (*policy.DisablePolicyResponse, error) + func (cli *OpsGeniePolicyClient) Enable(req policy.EnablePolicyRequest) (*policy.EnablePolicyResponse, error) + func (cli *OpsGeniePolicyClient) SetConnectionTimeout(timeoutInSeconds time.Duration) + func (cli *OpsGeniePolicyClient) SetMaxRetryAttempts(retries int) + type RequestHeaderUserAgent struct + func (p RequestHeaderUserAgent) ToString() string