alertmgrconfig

package
v2.1.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertManagerClientConfig

type AlertManagerClientConfig struct {
	Name       string                      `json:"name"`
	Address    string                      `json:"address" validate:"hostname_port|url|fqdn"`
	BasePath   string                      `json:"base_path" default:"/"`
	HTTPConfig commonhttp.HTTPClientConfig `json:"http_client"`
}

AlertManagerClientConfig config for single alertmanager client. swagger:model AlertManagerClientConfig +kubebuilder:object:generate=true

func (*AlertManagerClientConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerClientConfig.

func (*AlertManagerClientConfig) DeepCopyInto

func (in *AlertManagerClientConfig) DeepCopyInto(out *AlertManagerClientConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertManagerConfig

type AlertManagerConfig struct {
	Clients []AlertManagerClientConfig `json:"clients,omitempty"`
}

AlertManagerConfig main level config for alertmanager. swagger:model +kubebuilder:object:generate=true

func (*AlertManagerConfig) DeepCopy

func (in *AlertManagerConfig) DeepCopy() *AlertManagerConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManagerConfig.

func (*AlertManagerConfig) DeepCopyInto

func (in *AlertManagerConfig) DeepCopyInto(out *AlertManagerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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