Documentation ¶
Index ¶
- func NewResource() *resource.Resource
- type Getter
- func (g *Getter) Get(name string, output printer.Output, options resource.Options) error
- func (g *Getter) GetAllLoadBalancers() (*LoadBalancers, error)
- func (g *Getter) GetLoadBalancerByName(name string) (*LoadBalancers, error)
- func (g *Getter) GetSecurityGroupIdsForLoadBalancer(name string) ([]string, error)
- func (g *Getter) Init()
- type LoadBalancerPrinter
- type LoadBalancers
- type Manager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResource ¶
Types ¶
type Getter ¶
type Getter struct {
// contains filtered or unexported fields
}
func NewGetter ¶
func NewGetter(elbClientv1 *aws.ElasticloadbalancingClient, elbClientv2 *aws.Elasticloadbalancingv2Client) *Getter
func (*Getter) GetAllLoadBalancers ¶
func (g *Getter) GetAllLoadBalancers() (*LoadBalancers, error)
func (*Getter) GetLoadBalancerByName ¶
func (g *Getter) GetLoadBalancerByName(name string) (*LoadBalancers, error)
func (*Getter) GetSecurityGroupIdsForLoadBalancer ¶
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
type LoadBalancers ¶
type LoadBalancers struct { V1 []typesv1.LoadBalancerDescription V2 []typesv2.LoadBalancer }
Click to show internal directories.
Click to hide internal directories.