elbv2

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElbClient

type ElbClient struct {
	*elasticloadbalancingv2.Client
}

func NewElbClient

func NewElbClient(cfg *aws.Config) *ElbClient

func (*ElbClient) FetchTargetGroups

func (client *ElbClient) FetchTargetGroups(ctx context.Context, region string, targetType types.TargetTypeEnum) (map[string]types.TargetGroup, error)

func (*ElbClient) FetchTargets

func (client *ElbClient) FetchTargets(ctx context.Context, region string, targetType types.TargetTypeEnum, reverse bool) ([]string, map[string][]string, error)

type IElbClient

type IElbClient interface {
	FetchTargetGroups(ctx context.Context, region string, targetType types.TargetTypeEnum) (map[string]types.TargetGroup, error)
	FetchTargets(ctx context.Context, region string, targetType types.TargetTypeEnum, reverse bool) ([]string, map[string][]string, error)
}

Jump to

Keyboard shortcuts

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