controller

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	// GetExpectedReplicas returns the expected replicas based on cluster status
	GetExpectedReplicas(*k8sclient.ClusterStatus) (int32, error)
	// SyncConfig syncs the ConfigMap with controller
	SyncConfig(*v1.ConfigMap) error
	// GetParamsVersion returns the latest parameters version from controller
	GetParamsVersion() string
	// GetControllerType returns the controller type
	GetControllerType() string
}

Controller defines the interface every controller should implement

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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