aws

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 13 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 {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context) (*Client, error)

func (*Client) CreateRoute added in v0.0.6

func (cli *Client) CreateRoute(
	ctx context.Context,
	routeTable string,
	cidr string,
	networkInterfaceID string,
) error

func (*Client) DeleteRoute added in v0.0.10

func (cli *Client) DeleteRoute(
	ctx context.Context,
	routeTable string,
	route *awstypes.Route,
) error

func (*Client) FindRoute added in v0.0.6

func (cli *Client) FindRoute(
	ctx context.Context,
	routeTable string,
	cidr string,
) ([]*awstypes.Route, error)

func (*Client) NetworkInterfaceId added in v0.0.9

func (cli *Client) NetworkInterfaceId(
	ctx context.Context,
	localInterfaceName string,
) (string, error)

func (*Client) NetworkInterfaceVpcID added in v0.0.9

func (cli *Client) NetworkInterfaceVpcID(
	ctx context.Context,
	interfaceID string,
) (string, error)

func (*Client) Region added in v0.0.10

func (cli *Client) Region(ctx context.Context) (string, error)

func (*Client) RouteTableVpcID added in v0.0.9

func (cli *Client) RouteTableVpcID(
	ctx context.Context,
	routeTable string,
) (string, error)

func (*Client) UpdateRoute added in v0.0.6

func (cli *Client) UpdateRoute(
	ctx context.Context,
	routeTable string,
	route *awstypes.Route,
	cidr string,
	networkInterfaceID string,
) error

Jump to

Keyboard shortcuts

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