caasmodelconfigmanager

package
v0.0.0-...-f88c608 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: AGPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(registry facade.FacadeRegistry)

Register is called to expose a package of facades onto a given registry.

Types

type ControllerConfigService

type ControllerConfigService interface {
	WatchControllerConfig() (watcher.StringsWatcher, error)
}

ControllerConfigService provides required controller config watcher for the Facade.

type Facade

type Facade struct {
	// contains filtered or unexported fields
}

Facade allows model config manager clients to watch controller config changes and fetch controller config.

func (*Facade) ControllerConfig

func (f *Facade) ControllerConfig(ctx context.Context) (params.ControllerConfigResult, error)

func (*Facade) WatchControllerConfig

func (f *Facade) WatchControllerConfig(ctx context.Context) (params.StringsWatchResult, error)

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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