Documentation ¶
Overview ¶
Package rgraph provides support generic orchestration routines for complex GCE resource graphs.
This package is highly experimental and exported symbols may change at any time. Do not use in production.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder builds resource Graphs.
type Graph ¶
type Graph struct {
// contains filtered or unexported fields
}
Graph of cloud resources. The set of nodes in the graph cannot change -- use the Builder to manipulate the set of resource nodes.
func (*Graph) AddTombstone ¶
AddTombstone adds a node to represent the non-existence of a resource.
func (*Graph) ExplainPlan ¶ added in v1.26.0
ExplainPlan returns a human-readable string describing the plan attached to this Graph. The string will be rather verbose.
func (*Graph) Get ¶
func (g *Graph) Get(id *cloud.ResourceID) rnode.Node
Get returns the Node named by id. Returns nil if the resource does not exist in the Graph.
func (*Graph) NewBuilderWithEmptyNodes ¶
NewBuilderWithEmptyNodes creates a graph Builder with the same set of nodes but with no resource values. This is used to create a Builder that can be sync'ed with the cloud.
Directories ¶
Path | Synopsis |
---|---|
Package exec implements execution of a graph of Action and Events.
|
Package exec implements execution of a graph of Action and Events. |
testing
|
|
ez
Package ez is a utility to create complex resource graphs for testing from a concise description by use of naming conventions and default values.
|
Package ez is a utility to create complex resource graphs for testing from a concise description by use of naming conventions and default values. |
workflow
|
|