backend

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const KeyConfig string = "config"
View Source
const KeyDsnPrefix = "dsn/"
View Source
const KeyProjectConfigPrefix = "projects/"
View Source
const SecretTypeCreds = "creds"

Variables

This section is empty.

Functions

func New

func New(c *logical.BackendConfig) *backend

Types

type SentryDsn

type SentryDsn struct {
	Name string `json:"name"`
	DSN  string `json:"dsn"`
}

func (*SentryDsn) Data

func (d *SentryDsn) Data() map[string]interface{}

type SentryOrg

type SentryOrg struct {
	Name              string `json:"name"`
	DisplayName       string `json:"display_name"`
	ApiToken          string `json:"api_token"`
	Endpoint          string `json:"endpoint"`
	ConnectionTimeout int    `json:"connection_timeout"`
}

func (*SentryOrg) Client

func (o *SentryOrg) Client() (*sentry.Client, error)

func (*SentryOrg) Data

func (o *SentryOrg) Data() map[string]interface{}

type SentryProject

type SentryProject struct {
	Name            string `json:"name"`
	DisplayName     string `json:"display_name"`
	Team            string `json:"team"`
	Org             string `json:"org"`
	DefaultDsnLabel string `json:"default_dsn_label"`
}

func (*SentryProject) Data

func (p *SentryProject) Data() map[string]interface{}

Jump to

Keyboard shortcuts

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