hpa

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErdaHPA

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

ErdaScaledObject is the object to manipulate k8s crd api of scaledobject

func New

func New(options ...Option) *ErdaHPA

New news a PersistentVolumeClaim

func (*ErdaHPA) Get

func (p *ErdaHPA) Get(namespace, name string) (*autoscalingv2beta2.HorizontalPodAutoscaler, error)

Get gets a k8s hpa object

type Option

type Option func(*ErdaHPA)

Option configures a PersistentVolumeClaim

func WithCompleteParams

func WithCompleteParams(addr string, client *httpclient.HTTPClient) Option

WithCompleteParams provides an Option

Jump to

Keyboard shortcuts

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