load_balancer

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT-0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() *resource.Resource

Types

type Getter

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

func NewGetter

func NewGetter(elbClientv1 *aws.ElasticloadbalancingClient, elbClientv2 *aws.Elasticloadbalancingv2Client) *Getter

func (*Getter) Get

func (g *Getter) Get(name string, output printer.Output, options resource.Options) error

func (*Getter) GetAllLoadBalancers

func (g *Getter) GetAllLoadBalancers() (*LoadBalancers, error)

func (*Getter) GetLoadBalancerByName

func (g *Getter) GetLoadBalancerByName(name string) (*LoadBalancers, error)

func (*Getter) GetSecurityGroupIdsForLoadBalancer

func (g *Getter) GetSecurityGroupIdsForLoadBalancer(name string) ([]string, error)

func (*Getter) Init

func (g *Getter) Init()

type LoadBalancerPrinter

type LoadBalancerPrinter struct {
	*LoadBalancers
}

func NewPrinter

func NewPrinter(loadBalancers *LoadBalancers) *LoadBalancerPrinter

func (*LoadBalancerPrinter) PrintJSON

func (p *LoadBalancerPrinter) PrintJSON(writer io.Writer) error

func (*LoadBalancerPrinter) PrintTable

func (p *LoadBalancerPrinter) PrintTable(writer io.Writer) error

func (*LoadBalancerPrinter) PrintYAML

func (p *LoadBalancerPrinter) PrintYAML(writer io.Writer) error

type LoadBalancers

type LoadBalancers struct {
	V1 []typesv1.LoadBalancerDescription
	V2 []typesv2.LoadBalancer
}

type Manager

type Manager struct {
	DryRun bool
	// contains filtered or unexported fields
}

func (*Manager) Create

func (m *Manager) Create(options resource.Options) error

func (*Manager) Delete

func (m *Manager) Delete(options resource.Options) (err error)

func (*Manager) Init

func (m *Manager) Init()

func (*Manager) SetDryRun

func (m *Manager) SetDryRun()

func (*Manager) Update

func (m *Manager) Update(options resource.Options, cmd *cobra.Command) error

Jump to

Keyboard shortcuts

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