Documentation ¶
Index ¶
- func NewResource() *resource.Resource
- type Getter
- func (g *Getter) Get(id string, output printer.Output, options resource.Options) error
- func (g *Getter) GetNetworkInterfaceById(id string) (types.NetworkInterface, error)
- func (g *Getter) GetNetworkInterfacesWithOptions(eniOptions *NetworkInterfaceOptions) ([]types.NetworkInterface, error)
- func (g *Getter) Init()
- type NetworkInterfaceOptions
- type NetworkInterfacePrinter
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 (*Getter) GetNetworkInterfaceById ¶
func (g *Getter) GetNetworkInterfaceById(id string) (types.NetworkInterface, error)
func (*Getter) GetNetworkInterfacesWithOptions ¶
func (g *Getter) GetNetworkInterfacesWithOptions(eniOptions *NetworkInterfaceOptions) ([]types.NetworkInterface, error)
type NetworkInterfaceOptions ¶
type NetworkInterfaceOptions struct { resource.CommonOptions InstanceId string IpAddress string LoadBalancerName string SecurityGroupId string }
func NewOptions ¶
func NewOptions() (options *NetworkInterfaceOptions, flags cmd.Flags)
type NetworkInterfacePrinter ¶
type NetworkInterfacePrinter struct {
// contains filtered or unexported fields
}
func NewPrinter ¶
func NewPrinter(networkInterfaces []types.NetworkInterface, accountId string) *NetworkInterfacePrinter
func (*NetworkInterfacePrinter) PrintJSON ¶
func (p *NetworkInterfacePrinter) PrintJSON(writer io.Writer) error
func (*NetworkInterfacePrinter) PrintTable ¶
func (p *NetworkInterfacePrinter) PrintTable(writer io.Writer) error
Click to show internal directories.
Click to hide internal directories.