Help us shape the future of Go! Take the 2026 Go Developer Survey

params

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 1 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointActivate

type EndpointActivate struct {
	NSHandlePath string `json:"ns_handle_path"`
	SetAddr      bool   `json:"set_addr"`
	MoveVeth     bool   `json:"move_veth"`
}

type EndpointCreate

type EndpointCreate struct {
	NetworkID      string           `json:"network_id"`
	Activate       bool             `json:"activate"`
	ActivateParams EndpointActivate `json:"activate_params"`
	IPv4Address    string           `json:"ipv4_address"`
	MacAddress     string           `json:"mac_address"`
}

type EndpointsList

type EndpointsList struct {
	NetworkID string
	Hostname  string
}

type NetworkConnect

type NetworkConnect struct {
	IP   string `json:"ip"`
	Port string `json:"port"`
}

type NetworkCreate

type NetworkCreate struct {
	ID      string            `json:"id"`
	Name    string            `json:"name"`
	Type    types.NetworkType `json:"type"`
	IPRange string            `json:"ip_range"`
	Gateway string            `json:"gateway"`
}

Jump to

Keyboard shortcuts

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