types

package
v0.0.0-...-2a71758 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 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 NetConf

type NetConf struct {
	types.NetConf
	ENIID                    string `json:"eni"`
	IPV4Address              string `json:"ipv4-address"`
	MACAddress               string `json:"mac"`
	IPV6Address              string `json:"ipv6-address"`
	BlockIMDS                bool   `json:"block-instance-metadata"`
	SubnetGatewayIPV4Address string `json:"subnetgateway-ipv4-address"`
}

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