Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNamingConvention = "naming convention violation"
ErrNamingConvention is the base error message for naming convention violations
Functions ¶
func ValidateTransformations ¶
func ValidateTransformations(transformations map[string]graph.Transformation) error
ValidateTransformations validates the naming conventions of the transformations.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func (*Builder) BuildAndCheck ¶
func (b *Builder) BuildAndCheck(original *v1alpha1.TransformationGraphDefinition) (*Graph, error)
func (*Builder) WithEvents ¶
func (b *Builder) WithEvents(events chan graphRuntime.ProgressEvent) *Builder
WithEvents sets the channel where progress events will be sent during Process(). This is optional - if not set, no events will be emitted.
func (*Builder) WithTransformer ¶
func (b *Builder) WithTransformer(typed interface { runtime.Typed runtime.JSONSchemaIntrospectable }, transformer graphRuntime.Transformer, ) *Builder
type Graph ¶
type Graph struct {
// contains filtered or unexported fields
}
func (*Graph) Events ¶
func (g *Graph) Events() <-chan graphRuntime.ProgressEvent
Events returns the channel where progress events are sent during Process().
Click to show internal directories.
Click to hide internal directories.