cortex

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 61 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
}

func (*CortexServiceOptions) Apply

func (o *CortexServiceOptions) Apply(opts ...CortexServiceOption)

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 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
}

func (*CortexWorkloadOptions) Apply

func (o *CortexWorkloadOptions) Apply(opts ...CortexWorkloadOption)

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