Documentation ¶
Index ¶
- Constants
- func APIUrl(obj interface{}) string
- func AlertManagerKey() string
- func AlertManagerSecretName() string
- func AlertmanagerConfigMapKey() string
- func AlertmanagerConfigMapName() string
- func AlertmanagerConfigMapNamespace() string
- func AlertmanagerDefaultCPU() *resource.Quantity
- func AlertmanagerDefaultMemory() *resource.Quantity
- func AlertmanagerKey() string
- func AlertmanagerLabels(cluster metav1.Object) map[string]string
- func AlertmanagerPort() int32
- func BearerTokenPath() string
- func CAFilePath() string
- func CAPICertificateName(cluster metav1.Object) string
- func CAPICertificateNamespace(cluster metav1.Object) string
- func ClusterID(cluster metav1.Object) string
- func ClusterIDKey() string
- func ClusterType(obj interface{}) string
- func EtcdSecret(obj interface{}) string
- func Heartbeat() string
- func HeartbeatName(cluster metav1.Object, installation string) string
- func HeartbeatReceiverName(cluster metav1.Object, installation string) string
- func InstallationKey() string
- func IsCAPICluster(obj metav1.Object) bool
- func IsInCluster(obj interface{}) bool
- func IsMonitoringDisabled(cluster metav1.Object) bool
- func IsWrongType(err error) bool
- func Namespace(cluster metav1.Object) string
- func NamespaceDefault(cluster metav1.Object) string
- func NamespaceMonitoring() string
- func OrganizationNamespace(cluster metav1.Object) string
- func PrometheusAdditionalScrapeConfigsName() string
- func PrometheusAdditionalScrapeConfigsSecretName() string
- func PrometheusContainerName() string
- func PrometheusDefaultCPU() *resource.Quantity
- func PrometheusDefaultCPULimit() *resource.Quantity
- func PrometheusDefaultMemory() *resource.Quantity
- func PrometheusDefaultMemoryLimit() *resource.Quantity
- func PrometheusLabels(cluster metav1.Object) map[string]string
- func PrometheusPort() int32
- func PrometheusSTSName(cluster metav1.Object) string
- func RemoteWritePasswordKey() string
- func RemoteWriteSecretName() string
- func RemoteWriteUsernameKey() string
- func Secret() string
- func SecretAPICertificates(cluster metav1.Object) string
- func ToCluster(obj interface{}) (metav1.Object, error)
- func TypeKey() string
- type MetaRuner
Constants ¶
View Source
const (
PrometheusMemoryLimitCoefficient float64 = 1.2
)
Variables ¶
This section is empty.
Functions ¶
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 AlertmanagerDefaultMemory ¶ added in v1.41.0
func AlertmanagerKey ¶ added in v1.41.0
func AlertmanagerKey() string
func AlertmanagerLabels ¶ added in v1.41.0
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 CAPICertificateNamespace ¶ added in v1.25.0
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 HeartbeatName ¶ added in v1.8.0
func HeartbeatReceiverName ¶ added in v1.8.0
func InstallationKey ¶ added in v1.8.0
func InstallationKey() string
func IsCAPICluster ¶ added in v1.25.0
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 NamespaceDefault ¶ added in v1.4.0
func NamespaceMonitoring ¶ added in v1.4.0
func NamespaceMonitoring() string
func OrganizationNamespace ¶ added in v1.51.2
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 PrometheusDefaultCPULimit ¶ added in v1.33.0
func PrometheusDefaultMemory ¶ added in v1.15.0
func PrometheusDefaultMemoryLimit ¶ added in v1.33.0
func PrometheusLabels ¶ added in v1.39.0
func PrometheusPort ¶ added in v1.4.0
func PrometheusPort() int32
func PrometheusSTSName ¶ added in v1.11.0
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 SecretAPICertificates ¶ added in v1.4.0
Types ¶
Click to show internal directories.
Click to hide internal directories.