alertmanagerconfigsecret

package
v1.53.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Name = "alertmanagerconfigsecret"
)

Variables

This section is empty.

Functions

func IsWrongType

func IsWrongType(err error) bool

IsWrongType asserts wrongTypeError.

func New

func New(config Config) (*generic.Resource, error)

Types

type Config

type Config struct {
	K8sClient k8sclient.Interface
	Logger    micrologger.Logger

	Installation     string
	Provider         string
	HTTPProxy        string
	HTTPSProxy       string
	NoProxy          string
	OpsgenieKey      string
	GrafanaAddress   string
	SlackApiURL      string
	SlackProjectName string
	Pipeline         string

	TemplatePath string
}

type TemplateData

type TemplateData struct {
	Provider         string
	Installation     string
	ProxyURL         *string
	OpsgenieKey      string
	GrafanaAddress   string
	SlackApiURL      string
	SlackProjectName string
	Pipeline         string
}

Jump to

Keyboard shortcuts

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