keda

package
v0.50.3 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: Apache-2.0 Imports: 21 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	KedaDeployerName = deployers.Keda
)

Variables

This section is empty.

Functions

func NewHTTPScaledObjectClientset

func NewHTTPScaledObjectClientset() (*httpv1alpha1.Clientset, error)

func NewLister

func NewLister(verbose bool) fn.Lister

func UsesKedaDeployer

func UsesKedaDeployer(annotations map[string]string) bool

func WaitForHTTPScaledObjectAvailable

func WaitForHTTPScaledObjectAvailable(ctx context.Context, clientset *versioned.Clientset, namespace string, name string, timeout time.Duration) error

Types

type Deployer

type Deployer struct {
	k8s.Deployer
	// contains filtered or unexported fields
}

func NewDeployer

func NewDeployer(opts ...DeployerOpt) *Deployer

func (*Deployer) Deploy

func (d *Deployer) Deploy(ctx context.Context, f fn.Function) (fn.DeploymentResult, error)

type DeployerOpt

type DeployerOpt func(*Deployer)

func WithDeployerDecorator

func WithDeployerDecorator(decorator deployer.DeployDecorator) DeployerOpt

func WithDeployerVerbose

func WithDeployerVerbose(verbose bool) DeployerOpt

type Describer

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

func NewDescriber

func NewDescriber(verbose bool, opts ...DescriberOpt) *Describer

func (*Describer) Describe

func (d *Describer) Describe(ctx context.Context, name, namespace string) (fn.Instance, error)

Describe a function by name.

type DescriberOpt

type DescriberOpt func(*Describer)

func WithDescriberTransport

func WithDescriberTransport(transport http.RoundTripper) DescriberOpt

type Lister

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

func (*Lister) List

func (l *Lister) List(ctx context.Context, namespace string) ([]fn.ListItem, error)

type Remover

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

func NewRemover

func NewRemover(verbose bool) *Remover

func (*Remover) Remove

func (remover *Remover) Remove(ctx context.Context, name, ns string) error

Jump to

Keyboard shortcuts

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