A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/knative/serving@v0.14.3/pkg/reconciler/autoscaling/config below:

config package - github.com/knative/serving/pkg/reconciler/autoscaling/config - Go Packages

Overview

Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Autoscaling controller depends.

Index Constants

This section is empty.

Variables

This section is empty.

Functions func ToContext
func ToContext(ctx context.Context, c *Config) context.Context

ToContext adds config to given context.

Types type Config
type Config struct {
	Autoscaler *autoscalerconfig.Config
}

Config of the Autoscaler. +k8s:deepcopy-gen=false

func FromContext
func FromContext(ctx context.Context) *Config

FromContext fetch config from context.

type Store
type Store struct {
	*configmap.UntypedStore
}

Store is configmap.UntypedStore based config store. +k8s:deepcopy-gen=false

func NewStore
func NewStore(logger configmap.Logger, onAfterStore ...func(name string, value interface{})) *Store

NewStore creates a configmap.UntypedStore based config store.

logger must be non-nil implementation of configmap.Logger (commonly used loggers conform)

onAfterStore is a variadic list of callbacks to run after the ConfigMap has been processed and stored.

See also: configmap.NewUntypedStore().

func (*Store) Load
func (s *Store) Load() *Config

Load fetches config from Store.

func (*Store) ToContext
func (s *Store) ToContext(ctx context.Context) context.Context

ToContext adds Store contents to given context.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4