resize

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capability

type Capability struct {
	State   SupportState
	Reason  string
	Message string
	Checked time.Time
}

type ForbiddenError

type ForbiddenError struct {
	Err error
}

func (*ForbiddenError) Error

func (e *ForbiddenError) Error() string

func (*ForbiddenError) Unwrap

func (e *ForbiddenError) Unwrap() error

type Prober

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

func (*Prober) Mark

func (p *Prober) Mark(cap Capability)

func (*Prober) Supported

func (p *Prober) Supported(ctx context.Context, ttl time.Duration, now time.Time) Capability

func (*Prober) UpdateResize

func (p *Prober) UpdateResize(ctx context.Context, pod *corev1.Pod, desired *corev1.Pod) (*corev1.Pod, error)

type SupportState

type SupportState string
const (
	SupportUnknown     SupportState = "Unknown"
	SupportSupported   SupportState = "Supported"
	SupportUnsupported SupportState = "Unsupported"
)

type UnsupportedError

type UnsupportedError struct {
	Err error
}

func (*UnsupportedError) Error

func (e *UnsupportedError) Error() string

func (*UnsupportedError) Unwrap

func (e *UnsupportedError) Unwrap() error

Jump to

Keyboard shortcuts

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