k8sscaling

package
v0.372.3 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 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 known deployments
	KnownDeployments map[string]bool
	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