materialize

package
v1.3.26 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NodeToSiteMap added in v1.2.0

func NodeToSiteMap(mz *portal.Materialization) map[string]string

func Reboot added in v1.2.0

func Reboot(rq *portal.RebootMaterializationRequest, mz *portal.Materialization) error

func RzToMz

func RzToMz(rz *portal.Realization, mzc *MzContext) (*portal.Materialization, error)

func SiteList

func SiteList(mz *portal.Materialization) []string

TODO assumes network emulation is local to facilities nodes live in

Types

type MzContext

type MzContext struct {

	// Users provisioned to all nodes
	GlobalUsers []*portal.UserInfo

	// Users provisioned to specific nodes keyed by node name
	NodeUsers map[string][]*portal.UserInfo
}

Jump to

Keyboard shortcuts

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