config

package
v2.16.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigKey = "auto_scale.kubernetes"

ConfigKey is config path where FlowPreviewConfig is located.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

Module returns the fx options for autoscale config.

Types

type AutoScaleKubernetesConfig

type AutoScaleKubernetesConfig struct {
	// Enables the Kubernetes auto-scale capability.
	Enabled bool `json:"enabled" default:"true"`
}

AutoScaleKubernetesConfig is the configuration for the flow preview service. swagger:model +kubebuilder:object:generate=true

func (*AutoScaleKubernetesConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleKubernetesConfig.

func (*AutoScaleKubernetesConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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