thanos

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: UPL-1.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const ComponentJSONName = "thanos"

ComponentJSONName is the JSON name of the Thanos component in CRD

View Source
const ComponentName = "thanos"

ComponentName is the name of the component

ComponentNamespace is the namespace of the component

Variables

This section is empty.

Functions

func AppendOverrides

func AppendOverrides(ctx spi.ComponentContext, _ string, _ string, _ string, kvs []bom.KeyValue) ([]bom.KeyValue, error)

AppendOverrides appends the default overrides for the Thanos component

func GetOverrides

func GetOverrides(object runtime.Object) interface{}

GetOverrides gets the install overrides for the Thanos component

func NewComponent

func NewComponent() spi.Component

Types

type ThanosComponent

type ThanosComponent struct {
	helm.HelmComponent
}

func (ThanosComponent) GetCertificateNames

func (c ThanosComponent) GetCertificateNames(ctx spi.ComponentContext) []types.NamespacedName

GetCertificateNames returns the TLS secret for the Thanos component

func (ThanosComponent) GetIngressNames

func (c ThanosComponent) GetIngressNames(ctx spi.ComponentContext) []types.NamespacedName

GetIngressNames returns the Thanos ingress names

func (ThanosComponent) GetWatchDescriptors added in v1.7.0

func (c ThanosComponent) GetWatchDescriptors() []controllerspi.WatchDescriptor

GetWatchDescriptors returns the list of WatchDescriptors for objects being watched by the component

func (ThanosComponent) IsAvailable

IsAvailable returns the component availability for ThanosComponent, also accounting for optional subcomponents like store gateway

func (ThanosComponent) IsEnabled

func (c ThanosComponent) IsEnabled(effectiveCR runtime.Object) bool

IsEnabled Thanos enabled check for installation

func (ThanosComponent) IsReady

func (c ThanosComponent) IsReady(ctx spi.ComponentContext) bool

IsReady component check for Thanos

func (ThanosComponent) PreInstall

func (c ThanosComponent) PreInstall(ctx spi.ComponentContext) error

PreInstall handles the pre-install operations for the Thanos component

func (ThanosComponent) PreUpgrade

func (c ThanosComponent) PreUpgrade(ctx spi.ComponentContext) error

PreUpgrade handles the pre-upgrade operations for the Thanos component

Jump to

Keyboard shortcuts

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