util

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SuccessfulHealthCheckMessage string = "plugin health check successful"
	DefaultSentryURL             string = "https://sentry.io"
)

Variables

This section is empty.

Functions

func NewFakeClient

func NewFakeClient(props FakeDoer) *sentry.SentryClient

Types

type FakeDoer

type FakeDoer struct {
	Body               string
	AuthToken          string
	ExpectedError      error
	ExpectedStatusCode int
	ExpectedStatus     string
}

func (*FakeDoer) Do

func (fd *FakeDoer) Do(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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