pagerduty

package
v1.221.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const AppBaseUrl = "https://app.pagerduty.com"

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Provider represents a resource provider in Terraform

Types

type Config

type Config struct {
	// The PagerDuty API URL
	ApiUrl string

	// Override default PagerDuty API URL
	ApiUrlOverride string

	// The PagerDuty APP URL
	AppUrl string

	// The PagerDuty API V2 token
	Token string

	// The PagerDuty User level token for Slack
	UserToken string

	// Skip validation of the token against the PagerDuty API
	SkipCredsValidation bool

	// UserAgent for API Client
	UserAgent string
}

Config defines the configuration options for the PagerDuty client

func (*Config) Client

func (c *Config) Client() (*pagerduty.Client, error)

Client returns a new PagerDuty client

func (*Config) SlackClient added in v1.221.0

func (c *Config) SlackClient() (*pagerduty.Client, error)

type PagerDutyExtensionServiceNowConfig added in v1.221.0

type PagerDutyExtensionServiceNowConfig struct {
	User        string `json:"snow_user"`
	Password    string `json:"snow_password,omitempty"`
	SyncOptions string `json:"sync_options"`
	Target      string `json:"target"`
	TaskType    string `json:"task_type"`
	Referer     string `json:"referer"`
}

Source Files

Jump to

Keyboard shortcuts

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