service

package
v0.0.0-...-c2cba1f Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewK8SClientGetterWithKubeConfig

func NewK8SClientGetterWithKubeConfig(cluster *tsuru.Cluster) (sigsk8sclient.Client, error)

Types

type K8SClientGetter

type K8SClientGetter func(*tsuru.Cluster) (sigsk8sclient.Client, error)

func NewK8SClientGetterWithToken

func NewK8SClientGetterWithToken(token string) K8SClientGetter

type Service

type Service interface {
	EnsurePrometheusRule(pool string, ruleName string, ruleGroups rulefmt.RuleGroups) error
}

func NewService

func NewService(tsuruToken string, k8SClientGetter K8SClientGetter) Service

Jump to

Keyboard shortcuts

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