Documentation
¶
Index ¶
- Variables
- type DeploymentInfo
- type Keda
- func (k *Keda) AddAnalyzer(mergedMap *map[string]common.IAnalyzer)
- func (k *Keda) Deploy(namespace string) error
- func (k *Keda) GetAnalyzerName() []string
- func (k *Keda) GetNamespace() (string, error)
- func (k *Keda) IsActivate() bool
- func (k *Keda) OwnsAnalyzer(analyzer string) bool
- func (k *Keda) UnDeploy(namespace string) error
- type PodInfo
- type ReplicaSetInfo
- type ReplicationControllerInfo
- type ScaledObjectAnalyzer
- type StatefulSetInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Repo = getEnv("KEDA_REPO", "https://kedacore.github.io/charts") Version = getEnv("KEDA_VERSION", "2.11.2") ChartName = getEnv("KEDA_CHART_NAME", "keda") RepoShortName = getEnv("KEDA_REPO_SHORT_NAME", "keda") ReleaseName = getEnv("KEDA_RELEASE_NAME", "keda-k8sgpt") )
Functions ¶
This section is empty.
Types ¶
type DeploymentInfo ¶
type DeploymentInfo struct {
*appsv1.Deployment
}
func (DeploymentInfo) GetPodSpec ¶
func (d DeploymentInfo) GetPodSpec() corev1.PodSpec
type Keda ¶
type Keda struct {
// contains filtered or unexported fields
}
func (*Keda) GetAnalyzerName ¶
func (*Keda) GetNamespace ¶
func (*Keda) IsActivate ¶
func (*Keda) OwnsAnalyzer ¶
type ReplicaSetInfo ¶
type ReplicaSetInfo struct {
*appsv1.ReplicaSet
}
define a structure for ReplicaSet
func (ReplicaSetInfo) GetPodSpec ¶
func (rs ReplicaSetInfo) GetPodSpec() corev1.PodSpec
type ReplicationControllerInfo ¶
type ReplicationControllerInfo struct {
*corev1.ReplicationController
}
define a structure for ReplicationController
func (ReplicationControllerInfo) GetPodSpec ¶
func (rc ReplicationControllerInfo) GetPodSpec() corev1.PodSpec
type ScaledObjectAnalyzer ¶
type ScaledObjectAnalyzer struct{}
type StatefulSetInfo ¶
type StatefulSetInfo struct {
*appsv1.StatefulSet
}
define a structure for StatefulSet
func (StatefulSetInfo) GetPodSpec ¶
func (ss StatefulSetInfo) GetPodSpec() corev1.PodSpec
implement PodInfo for StatefulSetInfo
Click to show internal directories.
Click to hide internal directories.