Documentation ¶
Index ¶
- type CortexServiceOption
- type CortexServiceOptions
- type CortexWorkloadOption
- func Affinity(affinity *corev1.Affinity) CortexWorkloadOption
- func DeploymentStrategy(strategy *appsv1.DeploymentStrategy) CortexWorkloadOption
- func ExtraArgs(args ...string) CortexWorkloadOption
- func ExtraEnvVars(envVars ...corev1.EnvVar) CortexWorkloadOption
- func ExtraVolumeMounts(volumeMounts ...corev1.VolumeMount) CortexWorkloadOption
- func ExtraVolumes(volumes ...corev1.Volume) CortexWorkloadOption
- func InitContainers(containers ...corev1.Container) CortexWorkloadOption
- func Lifecycle(lifecycle *corev1.Lifecycle) CortexWorkloadOption
- func NoLivenessProbe() CortexWorkloadOption
- func NoStartupProbe() CortexWorkloadOption
- func Ports(ports ...Port) CortexWorkloadOption
- func Replicas(replicas int32) CortexWorkloadOption
- func SecurityContext(securityContext *corev1.SecurityContext) CortexWorkloadOption
- func ServiceName(serviceName string) CortexWorkloadOption
- func SidecarContainers(containers ...corev1.Container) CortexWorkloadOption
- func TerminationGracePeriodSeconds(seconds int64) CortexWorkloadOption
- func UpdateStrategy(strategy *appsv1.StatefulSetUpdateStrategy) CortexWorkloadOption
- func VolumeClaimTemplates(templates ...corev1.PersistentVolumeClaim) CortexWorkloadOption
- func WithOverrides(spec *corev1beta1.CortexWorkloadSpec) CortexWorkloadOption
- type CortexWorkloadOptions
- type Port
- type Reconciler
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 Affinity ¶ added in v0.6.0
func Affinity(affinity *corev1.Affinity) CortexWorkloadOption
func DeploymentStrategy ¶ added in v0.6.0
func DeploymentStrategy(strategy *appsv1.DeploymentStrategy) CortexWorkloadOption
func ExtraArgs ¶
func ExtraArgs(args ...string) CortexWorkloadOption
func ExtraEnvVars ¶ added in v0.6.0
func ExtraEnvVars(envVars ...corev1.EnvVar) CortexWorkloadOption
func ExtraVolumeMounts ¶
func ExtraVolumeMounts(volumeMounts ...corev1.VolumeMount) CortexWorkloadOption
func ExtraVolumes ¶
func ExtraVolumes(volumes ...corev1.Volume) CortexWorkloadOption
func InitContainers ¶ added in v0.6.0
func InitContainers(containers ...corev1.Container) CortexWorkloadOption
func Lifecycle ¶
func Lifecycle(lifecycle *corev1.Lifecycle) CortexWorkloadOption
func NoLivenessProbe ¶ added in v0.6.0
func NoLivenessProbe() CortexWorkloadOption
func NoStartupProbe ¶ added in v0.6.0
func NoStartupProbe() CortexWorkloadOption
func Ports ¶
func Ports(ports ...Port) CortexWorkloadOption
func Replicas ¶
func Replicas(replicas int32) CortexWorkloadOption
func SecurityContext ¶ added in v0.6.0
func SecurityContext(securityContext *corev1.SecurityContext) CortexWorkloadOption
func ServiceName ¶
func ServiceName(serviceName string) CortexWorkloadOption
func SidecarContainers ¶ added in v0.6.0
func SidecarContainers(containers ...corev1.Container) CortexWorkloadOption
func TerminationGracePeriodSeconds ¶ added in v0.6.0
func TerminationGracePeriodSeconds(seconds int64) CortexWorkloadOption
func UpdateStrategy ¶ added in v0.6.0
func UpdateStrategy(strategy *appsv1.StatefulSetUpdateStrategy) CortexWorkloadOption
func VolumeClaimTemplates ¶ added in v0.6.0
func VolumeClaimTemplates(templates ...corev1.PersistentVolumeClaim) CortexWorkloadOption
func WithOverrides ¶ added in v0.6.0
func WithOverrides(spec *corev1beta1.CortexWorkloadSpec) CortexWorkloadOption
type CortexWorkloadOptions ¶
type CortexWorkloadOptions struct {
// contains filtered or unexported fields
}
type Reconciler ¶
type Reconciler struct { reconciler.ResourceReconciler // contains filtered or unexported fields }
func NewReconciler ¶
func NewReconciler( ctx context.Context, client client.Client, mc *corev1beta1.MonitoringCluster, ) *Reconciler
Click to show internal directories.
Click to hide internal directories.