eni

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*eni.Client
}

func NewClient

func NewClient(ak, sk, endPoint string) (*Client, error)

func (*Client) ListEnis

func (c *Client) ListEnis(args *eni.ListEniArgs) (*eni.ListEniResult, error)

ListEnis - list all eni without eri

PARAMS:
- args: the arguments to list all eni without eri
RETURNS:
- *ListEniResult: the result of list all eni
- error: nil if success otherwise the specific error

func (*Client) ListEris

func (c *Client) ListEris(args *eni.ListEniArgs) (*eni.ListEniResult, error)

ListEris - list all eri with the specific parameters

PARAMS:
- args: the arguments to list all eri
RETURNS:
- *ListEniResult: the result of list all eri
- error: nil if success otherwise the specific error

type Eni

type Eni struct {
	eni.Eni
	NetworkInterfaceTrafficMode string `json:"networkInterfaceTrafficMode"`
}

type ListEniResult

type ListEniResult struct {
	Eni         []Eni  `json:"enis"`
	Marker      string `json:"marker"`
	IsTruncated bool   `json:"isTruncated"`
	NextMarker  string `json:"nextMarker"`
	MaxKeys     int    `json:"maxKeys"`
}

Jump to

Keyboard shortcuts

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