rollbar

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(s []string, e string) bool

Contains takes a string slice and checks if another string value is in it.

func DoesNotContain

func DoesNotContain(s []string, e string) bool

DoesNotContain does the exact opposite of Contains.

func GenerateRandomResourceID

func GenerateRandomResourceID() string

GenerateRandomResourceID returns a random number based on the epoch time in nanoseconds.

func Int64ToString

func Int64ToString(i int64) string

Int64ToString converts an int64 parameter to a string.

func ParseCompositeID

func ParseCompositeID(id string) (p1 string, p2 string, err error)

ParseCompositeID takes a composite id separated by a colon and returns two string values.

func Provider

func Provider() *schema.Provider

Provider returns a schema.Provider.

func SetAttribute

func SetAttribute(d *schema.ResourceData, diags diag.Diagnostics, attrName string, attrValue interface{})

func StringToInt

func StringToInt(s string) int

StringToInt converts a string parameter to an integer.

Types

type Config

type Config struct {
	API     *rollrest.Client
	Headers map[string]string

	PostCreatePDIntegrationDeleteDefaultRules bool
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() *Config

Jump to

Keyboard shortcuts

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