installer

package
v1.4.55 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallCluster

func InstallCluster(installerConf InstallerConfig) error

func InstallLocal

func InstallLocal(installerConf InstallerConfig) error

func LoadConf

func LoadConf(conflistpath string) (ccn.NetworkConfig, rawConflist, int, error)

func LoadConfList

func LoadConfList(conflistpath string) (rawConflist, error)

func ModifyConflists

func ModifyConflists(conflistpath string, installerConf InstallerConfig, perm os.FileMode) error

func PrettyPrint

func PrettyPrint(o interface{})

func SetOrUseDefault

func SetOrUseDefault(setValue, defaultValue string) string

Types

type InstallerConfig

type InstallerConfig struct {
	SrcDir                     string
	DstBinDir                  string
	DstConflistDir             string
	IPAMType                   string
	ExemptBins                 map[string]bool
	OSType                     string
	CNITenancy                 string
	CNIMode                    string
	CNSURL                     string
	EnableExactMatchForPodName bool
	NetworkName                string
}

func (*InstallerConfig) SetCNIDatapathMode

func (i *InstallerConfig) SetCNIDatapathMode(cniMode string) error

func (*InstallerConfig) SetCNIType

func (i *InstallerConfig) SetCNIType(cniType string) error

func (*InstallerConfig) SetExempt

func (i *InstallerConfig) SetExempt(exempt []string)

func (*InstallerConfig) SetOSType

func (i *InstallerConfig) SetOSType(osType string) error

Jump to

Keyboard shortcuts

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