types

package
v0.0.0-...-7b4ec60 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetConf

type NetConf struct {
	types.NetConf
	ENIID              string   `json:"eni"`
	MACAddress         string   `json:"mac"`
	IPAddresses        []string `json:"ip-addresses"`
	GatewayIPAddresses []string `json:"gateway-ip-addresses"`
	BlockIMDS          bool     `json:"block-instance-metadata"`
	StayDown           bool     `json:"stay-down"`
	MTU                int      `json:"mtu"`
}

NetConf defines the parameters required to configure a contaner's namespace with an ENI

func NewConf

func NewConf(args *skel.CmdArgs) (*NetConf, error)

NewConf creates a new NetConf object by parsing the arguments supplied

Jump to

Keyboard shortcuts

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