elb

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsClient

type AwsClient interface {
	GetRegion() ptypes.AwsRegion
	GetAccountID() ptypes.AwsAccountID
	ELBv2() *elasticloadbalancingv2.Client
}

type LoadBalancer

type LoadBalancer struct {
	service.AbstractResource
	types.LoadBalancer
	Tags []types.Tag
}

func NewLoadBalancer

func NewLoadBalancer(client AwsClient, lb types.LoadBalancer, tags []types.Tag) LoadBalancer

func (LoadBalancer) GetName

func (e LoadBalancer) GetName() string

func (LoadBalancer) GetTagValue

func (e LoadBalancer) GetTagValue(tag string) string

func (LoadBalancer) GetTags

func (e LoadBalancer) GetTags() map[string]string

type LoadBalancerList

type LoadBalancerList struct {
	Items []LoadBalancer
}

type LoadBalancerRepository

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

func NewLoadBalancerRepository

func NewLoadBalancerRepository(ctx context.Context, client AwsClient) *LoadBalancerRepository

func (*LoadBalancerRepository) GetLoadBalancerTags

func (r *LoadBalancerRepository) GetLoadBalancerTags(lb types.LoadBalancer) ([]types.Tag, error)

func (*LoadBalancerRepository) GetRegion

func (r *LoadBalancerRepository) GetRegion() ptypes.AwsRegion

func (*LoadBalancerRepository) ListLoadBalancersAll

func (r *LoadBalancerRepository) ListLoadBalancersAll() ([]LoadBalancer, error)

func (*LoadBalancerRepository) ListLoadBalancersByInput

Jump to

Keyboard shortcuts

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