k8sscaling

package
v0.365.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClientSet added in v0.364.1

func CreateClientSet() (*kubernetes.Clientset, error)

func GetCurrentNamespace added in v0.364.1

func GetCurrentNamespace() (string, error)

func NewK8sScaling

func NewK8sScaling() scaling.RunnerScaling

Types

type DeploymentProvisioner

type DeploymentProvisioner struct {
	Client           *kubernetes.Clientset
	MyDeploymentName string
	Namespace        string
	// Map of modules to known deployments
	// This needs to be re-done when we have proper rolling deployments
	KnownModules map[string]string
	FTLEndpoint  string
}

DeploymentProvisioner reconciles a Foo object

func (*DeploymentProvisioner) HandleSchemaChange

func (r *DeploymentProvisioner) HandleSchemaChange(ctx context.Context, msg *ftlv1.PullSchemaResponse) error

Jump to

Keyboard shortcuts

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