key

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: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PrometheusMemoryLimitCoefficient float64 = 1.2
)

Variables

This section is empty.

Functions

func APIUrl added in v1.1.0

func APIUrl(obj interface{}) string

func AlertManagerKey added in v1.7.0

func AlertManagerKey() string

func AlertManagerSecretName added in v1.7.0

func AlertManagerSecretName() string

func AlertmanagerConfigMapKey added in v1.8.0

func AlertmanagerConfigMapKey() string

func AlertmanagerConfigMapName added in v1.8.0

func AlertmanagerConfigMapName() string

func AlertmanagerConfigMapNamespace added in v1.8.0

func AlertmanagerConfigMapNamespace() string

func AlertmanagerDefaultCPU added in v1.41.0

func AlertmanagerDefaultCPU() *resource.Quantity

func AlertmanagerDefaultMemory added in v1.41.0

func AlertmanagerDefaultMemory() *resource.Quantity

func AlertmanagerKey added in v1.41.0

func AlertmanagerKey() string

func AlertmanagerLabels added in v1.41.0

func AlertmanagerLabels(cluster metav1.Object) map[string]string

func AlertmanagerPort added in v1.41.0

func AlertmanagerPort() int32

func BearerTokenPath added in v1.17.0

func BearerTokenPath() string

func CAFilePath added in v1.17.0

func CAFilePath() string

func CAPICertificateName added in v1.24.7

func CAPICertificateName(cluster metav1.Object) string

func CAPICertificateNamespace added in v1.25.0

func CAPICertificateNamespace(cluster metav1.Object) string

func ClusterID

func ClusterID(cluster metav1.Object) string

func ClusterIDKey

func ClusterIDKey() string

func ClusterType added in v1.1.0

func ClusterType(obj interface{}) string

func EtcdSecret added in v1.2.0

func EtcdSecret(obj interface{}) string

func Heartbeat added in v1.8.0

func Heartbeat() string

func HeartbeatName added in v1.8.0

func HeartbeatName(cluster metav1.Object, installation string) string

func HeartbeatReceiverName added in v1.8.0

func HeartbeatReceiverName(cluster metav1.Object, installation string) string

func InstallationKey added in v1.8.0

func InstallationKey() string

func IsCAPICluster added in v1.25.0

func IsCAPICluster(obj metav1.Object) bool

IsCAPICluster returns true if the cluster is in v1alpha3 and does not have the "azure-operator.giantswarm.io/version" label added by the azure operator. We do not have a provider agnostic label like "giantswarm.io/version" to define this.

func IsInCluster added in v1.1.0

func IsInCluster(obj interface{}) bool

func IsMonitoringDisabled added in v1.8.0

func IsMonitoringDisabled(cluster metav1.Object) bool

func IsWrongType

func IsWrongType(err error) bool

IsWrongType asserts wrongTypeError.

func Namespace

func Namespace(cluster metav1.Object) string

func NamespaceDefault added in v1.4.0

func NamespaceDefault(cluster metav1.Object) string

func NamespaceMonitoring added in v1.4.0

func NamespaceMonitoring() string

func OrganizationNamespace added in v1.51.2

func OrganizationNamespace(cluster metav1.Object) string

func PrometheusAdditionalScrapeConfigsName added in v1.0.0

func PrometheusAdditionalScrapeConfigsName() string

func PrometheusAdditionalScrapeConfigsSecretName added in v1.0.0

func PrometheusAdditionalScrapeConfigsSecretName() string

func PrometheusContainerName added in v1.11.0

func PrometheusContainerName() string

func PrometheusDefaultCPU added in v1.15.0

func PrometheusDefaultCPU() *resource.Quantity

func PrometheusDefaultCPULimit added in v1.33.0

func PrometheusDefaultCPULimit() *resource.Quantity

func PrometheusDefaultMemory added in v1.15.0

func PrometheusDefaultMemory() *resource.Quantity

func PrometheusDefaultMemoryLimit added in v1.33.0

func PrometheusDefaultMemoryLimit() *resource.Quantity

func PrometheusLabels added in v1.39.0

func PrometheusLabels(cluster metav1.Object) map[string]string

func PrometheusPort added in v1.4.0

func PrometheusPort() int32

func PrometheusSTSName added in v1.11.0

func PrometheusSTSName(cluster metav1.Object) string

func RemoteWritePasswordKey added in v1.9.0

func RemoteWritePasswordKey() string

func RemoteWriteSecretName added in v1.9.0

func RemoteWriteSecretName() string

func RemoteWriteUsernameKey added in v1.9.0

func RemoteWriteUsernameKey() string

func Secret

func Secret() string

func SecretAPICertificates added in v1.4.0

func SecretAPICertificates(cluster metav1.Object) string

func ToCluster

func ToCluster(obj interface{}) (metav1.Object, error)

func TypeKey added in v1.8.0

func TypeKey() string

Types

type MetaRuner added in v1.17.0

type MetaRuner interface {
	metav1.Object
	runtime.Object
}

func ToClusterMR added in v1.17.0

func ToClusterMR(obj interface{}) (MetaRuner, error)

Jump to

Keyboard shortcuts

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