cortex

package
v0.5.4-rc5 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 62 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CortexServiceOption

type CortexServiceOption func(*CortexServiceOptions)

func AddHeadlessService

func AddHeadlessService(publishNotReadyAddresses bool) CortexServiceOption

func AddServiceMonitor

func AddServiceMonitor() CortexServiceOption

type CortexServiceOptions

type CortexServiceOptions struct {
	// contains filtered or unexported fields
}

type CortexWorkloadOption

type CortexWorkloadOption func(*CortexWorkloadOptions)

func ExtraArgs

func ExtraArgs(args ...string) CortexWorkloadOption

func ExtraVolumeMounts

func ExtraVolumeMounts(volumeMounts ...corev1.VolumeMount) CortexWorkloadOption

func ExtraVolumes

func ExtraVolumes(volumes ...corev1.Volume) CortexWorkloadOption

func Lifecycle

func Lifecycle(lifecycle *corev1.Lifecycle) CortexWorkloadOption

func NoPersistentStorage added in v0.5.4

func NoPersistentStorage() CortexWorkloadOption

func Ports

func Ports(ports ...Port) CortexWorkloadOption

func Replicas

func Replicas(replicas int32) CortexWorkloadOption

func ServiceName

func ServiceName(serviceName string) CortexWorkloadOption

func StorageSize

func StorageSize(storageSize string) CortexWorkloadOption

type CortexWorkloadOptions

type CortexWorkloadOptions struct {
	// contains filtered or unexported fields
}

type Port

type Port string
const (
	HTTP   Port = "http"
	Gossip Port = "gossip"
	GRPC   Port = "grpc"
)

type Reconciler

type Reconciler struct {
	reconciler.ResourceReconciler
	// contains filtered or unexported fields
}

func NewReconciler

func NewReconciler(
	ctx context.Context,
	client client.Client,
	mc *v1beta2.MonitoringCluster,
) *Reconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile() (*reconcile.Result, error)

Jump to

Keyboard shortcuts

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