rawcni

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CniHostLocalConfig = "cni-host-local-config"
	Eth1CfgPath        = "/etc/sysconfig/network-scripts/ifcfg-eth1"
	Cni0CfgPath        = "/etc/sysconfig/network-scripts/ifcfg-cni0"
)

Variables

This section is empty.

Functions

func ApplyCniCfg

func ApplyCniCfg(s ssh.Interface, ctx *common.ClusterContext) error

func ApplyEth

func ApplyEth(s ssh.Interface, ctx *common.ClusterContext) error

Types

type Option

type Option struct {
	CniVersion string `json:"cniVersion,omitempty"`
	Subnet     string `json:"subnet,omitempty"`
	RangeStart string `json:"rangeStart,omitempty"`
	RangeEnd   string `json:"rangeEnd,omitempty"`
	Gateway    string `json:"gateway,omitempty"`
	Dst        string `json:"dst,omitempty"`
	Gw         string `json:"gw,omitempty"`
}

Jump to

Keyboard shortcuts

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