operator

package
v4.2.270+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 5 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"`
	K8SWebhookServer *k8swhsrv.Config `mapstructure:"k8sWebhookServer"`
	PodInfo          *podinfo.Config  `mapstructure:"podInfo"`
	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
cmd
pkg
apis
Package apis contains Kubernetes API groups.
Package apis contains Kubernetes API groups.
apis/autoscaling
Package autoscaling contains autoscaling API versions
Package autoscaling contains autoscaling API versions
apis/autoscaling/v1alpha1
Package v1alpha1 contains API Schema definitions for the autoscaling v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/containers-ai/alameda/operator/pkg/apis/autoscaling +k8s:defaulter-gen=TypeMeta +groupName=autoscaling.containers.ai Package v1alpha1 contains API Schema definitions for the autoscaling v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/containers-ai/alameda/operator/pkg/apis/autoscaling +k8s:defaulter-gen=TypeMeta +groupName=autoscaling.containers.ai
Package v1alpha1 contains API Schema definitions for the autoscaling v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/containers-ai/alameda/operator/pkg/apis/autoscaling +k8s:defaulter-gen=TypeMeta +groupName=autoscaling.containers.ai Package v1alpha1 contains API Schema definitions for the autoscaling v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/containers-ai/alameda/operator/pkg/apis/autoscaling +k8s:defaulter-gen=TypeMeta +groupName=autoscaling.containers.ai

Jump to

Keyboard shortcuts

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