package
4.0.0
Repository: https://github.com/gazebo-web/cloudsim.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CallFactories receives a slice of Call and calls the Factory.New method of each Factory.
ErrorWithContext wraps an error with information about the function that generated the error.
NewDependencies returns a new Dependencies object.
SetValue sets the `out` parameter to the specified value.
SetValueAndValidate sets the `out` parameter to the specified value.

# Variables

ErrFactoryTypeAlreadyExists is returned when a creator function is registered for a type that already exists.
ErrFactoryTypeDoesNotExist is returned when a new object is requrested for an unregistered type.
ErrInvalidDependency is returned when a creator function finds an invalid dependency (e.g.
ErrMissingDependency is returned when a creator function fails to find a required dependency.
ErrNilConfig is returned when a nil config is passed to a factory.

# Structs

Call contains a Factory and all parameters required to call Factory.New.
Config is a factory configuration.

# Interfaces

Factory instances objects of a specific type with a given configuration.

# Type aliases

Calls is a slice of Call.
ConfigValues contains configuration values for a Config.
Dependencies is a container for a set of dependencies.
NewFunc is a factory creation function used by a factory to instance objects.