 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func InstallCluster(installerConf InstallerConfig) error
- func InstallLocal(installerConf InstallerConfig) error
- func LoadConf(conflistpath string) (ccn.NetworkConfig, rawConflist, int, error)
- func LoadConfList(conflistpath string) (rawConflist, error)
- func ModifyConflists(conflistpath string, installerConf InstallerConfig, perm os.FileMode) error
- func PrettyPrint(o interface{})
- func SetOrUseDefault(setValue, defaultValue string) string
- type InstallerConfig
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 LoadConfList ¶
func ModifyConflists ¶
func ModifyConflists(conflistpath string, installerConf InstallerConfig, perm os.FileMode) error
func PrettyPrint ¶
func PrettyPrint(o interface{})
    func SetOrUseDefault ¶
Types ¶
type InstallerConfig ¶
type InstallerConfig struct {
	SrcDir         string
	DstBinDir      string
	DstConflistDir string
	IPAMType       string
	ExemptBins     map[string]bool
	OSType         string
	CNITenancy     string
	CNIMode        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
 Click to show internal directories. 
   Click to hide internal directories.