Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigFile ¶
func NewConfigFile(value *string) *containeropts.ConfigResourceAsFile
NewConfigFile returns a new config file option.
Types ¶
type AlertManagerOptions ¶
type AlertManagerOptions struct { ConfigFile containeropts.ContainerUpdater `opt:"config.file"` StoragePath string `opt:"storage.path"` DataRetention time.Duration `opt:"data.retention"` DataMaintenanceInterval time.Duration `opt:"data.maintenance-interval"` AlertsGCInterval time.Duration `opt:"alerts.gc-interval"` WebListenAddress *net.TCPAddr `opt:"web.listen-address"` WebExternalURL string `opt:"web.external-url"` WebRoutePrefix string `opt:"web.route-prefix"` WebGetConcurrency int `opt:"web.get-concurrency"` WebTimeout time.Duration `opt:"web.timeout"` ClusterListenAddress string `opt:"cluster.listen-address"` ClusterPeer []string `opt:"cluster.peer"` ClusterPeerTimeout time.Duration `opt:"cluster.peer-timeout"` ClusterGossipInterval time.Duration `opt:"cluster.gossip-interval"` ClusterPushPullInterval time.Duration `opt:"cluster.pushpull-interval"` ClusterTCPTimeout time.Duration `opt:"cluster.tcp-timeout"` ClusterProbeTimeout time.Duration `opt:"cluster.probe-timeout"` ClusterProbeInterval time.Duration `opt:"cluster.probe-interval"` ClusterSettleTimeout time.Duration `opt:"cluster.settle-timeout"` ClusterReconnectInterval time.Duration `opt:"cluster.reconnect-interval"` ClusterReconnectTimeout time.Duration `opt:"cluster.reconnect-timeout"` LogLevel log.Level `opt:"log.level"` LogFormat log.Format `opt:"log.format"` }
func NewDefaultOptions ¶
func NewDefaultOptions() *AlertManagerOptions
type AlertManagerStatefulSet ¶
type AlertManagerStatefulSet struct { workload.StatefulSetWorkload // contains filtered or unexported fields }
func NewAlertManager ¶
func NewAlertManager(opts *AlertManagerOptions, namespace, imageTag string) *AlertManagerStatefulSet
func (*AlertManagerStatefulSet) Objects ¶
func (a *AlertManagerStatefulSet) Objects() []runtime.Object
Click to show internal directories.
Click to hide internal directories.