cache

package
v13.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASGs

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

func NewASGs

func NewASGs() *ASGs

func (*ASGs) Get

func (a *ASGs) Get(ctx context.Context, key string) ([]*autoscaling.Group, bool)

func (*ASGs) Key

func (a *ASGs) Key(ctx context.Context, obj metav1.Object) string

func (*ASGs) Set

func (a *ASGs) Set(ctx context.Context, key string, val []*autoscaling.Group)

type Instances

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

func NewInstances

func NewInstances() *Instances

func (*Instances) Get

func (i *Instances) Get(ctx context.Context, key string) ([]*ec2.Instance, bool)

func (*Instances) Key

func (i *Instances) Key(ctx context.Context, obj metav1.Object) string

func (*Instances) Set

func (i *Instances) Set(ctx context.Context, key string, val []*ec2.Instance)

Jump to

Keyboard shortcuts

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