Documentation ¶
Overview ¶
Package subtype contains a Service type that can be used to hold all resources of a certain subtype.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Resource(name string) interface{} ReplaceAll(resources map[resource.Name]interface{}) error Add(name resource.Name, iface interface{}) error Remove(name resource.Name) error ReplaceOne(n resource.Name, iface interface{}) error }
Service defines an service that holds and replaces resources.
Click to show internal directories.
Click to hide internal directories.