Version: v0.4.3 Latest Latest

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 11 Imported by: 2




This section is empty.


This section is empty.


This section is empty.


type AttachENIParam added in v0.2.0

type AttachENIParam struct {
	InterfaceID string
	InstanceID  string
	DeviceIndex int

type DetachENIParam added in v0.2.0

type DetachENIParam struct {
	InterfaceID string

type ENIClient added in v0.3.0

type ENIClient struct {
	// contains filtered or unexported fields

func NewENIClient added in v0.3.0

func NewENIClient() *ENIClient

func (*ENIClient) AttachENI added in v0.3.0

func (c *ENIClient) AttachENI(param *AttachENIParam) (*model.ENI, error)

func (*ENIClient) AttachENIWithWaiter added in v0.3.0

func (c *ENIClient) AttachENIWithWaiter(p *AttachENIParam, wp *WaiterParam) (*model.ENI, error)

func (*ENIClient) DescribeENIByID added in v0.3.0

func (c *ENIClient) DescribeENIByID(InterfaceID string) (*model.ENI, error)

func (*ENIClient) DescribeENIs added in v0.3.0

func (c *ENIClient) DescribeENIs() ([]*model.ENI, error)

func (*ENIClient) DescribeInstanceByID added in v0.3.0

func (c *ENIClient) DescribeInstanceByID(instanceID string) (*model.Instance, error)

func (*ENIClient) DescribeInstancesByIDs added in v0.3.0

func (c *ENIClient) DescribeInstancesByIDs(instanceIDs []string) ([]*model.Instance, error)

func (*ENIClient) DetachENI added in v0.3.0

func (c *ENIClient) DetachENI(param *DetachENIParam) (*model.ENI, error)

func (*ENIClient) DetachENIByAttachmentID added in v0.3.0

func (c *ENIClient) DetachENIByAttachmentID(attachmentID string) error

func (*ENIClient) DetachENIWithWaiter added in v0.3.0

func (c *ENIClient) DetachENIWithWaiter(p *DetachENIParam, wp *WaiterParam) (*model.ENI, error)

func (*ENIClient) GrabENI added in v0.3.0

func (c *ENIClient) GrabENI(p *GrabENIParam, wp *WaiterParam) (*model.ENI, error)

func (*ENIClient) WithLogWriter added in v0.3.0

func (c *ENIClient) WithLogWriter(w io.Writer) *ENIClient

type GrabENIParam added in v0.2.0

type GrabENIParam AttachENIParam

type MetaDataClient added in v0.3.0

type MetaDataClient struct {
	// contains filtered or unexported fields

func NewMetaDataClient added in v0.3.0

func NewMetaDataClient() *MetaDataClient

func NewMetaDataClientFromSession added in v0.3.0

func NewMetaDataClientFromSession(s *session.Session) *MetaDataClient

func (*MetaDataClient) GetInstanceID added in v0.3.0

func (c *MetaDataClient) GetInstanceID() (string, error)

func (*MetaDataClient) GetRegion added in v0.3.0

func (c *MetaDataClient) GetRegion() (string, error)

type WaiterParam added in v0.3.0

type WaiterParam struct {
	MaxAttempts int
	IntervalSec int

Source Files


Path Synopsis

Jump to

Keyboard shortcuts

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