operator

package
v4.2.608+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

README

Alameda Operator

Alameda Operator manages the list of pods that need resource predicting, resource recommendating and pod autoscaling.

Requirements for development

Notes

Run make generate when add/modify types under pkg/apis which types are needed to serialize/deserialize a Kubernetes to/from YAML or JSON.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Log     *log.Config     `mapstructure:"log"`
	Datahub *datahub.Config `mapstructure:"datahub"`
	Manager manager.Manager
}

Config defines configurations

func NewConfig

func NewConfig(manager manager.Manager) Config

NewConfig returns Config objecdt

func NewConfigWithoutMgr added in v0.3.8

func NewConfigWithoutMgr() Config

func (Config) Validate

func (c Config) Validate() error

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the autoscaling v1alpha1 API group +kubebuilder:object:generate=true +groupName=autoscaling.containers.ai
Package v1alpha1 contains API Schema definitions for the autoscaling v1alpha1 API group +kubebuilder:object:generate=true +groupName=autoscaling.containers.ai
cmd
pkg

Jump to

Keyboard shortcuts

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