tosca_v1_2

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultScriptletNamespace = tosca.NewScriptletNamespace()
View Source
var Grammar = tosca.NewGrammar()

Functions

func ReadArtifact

func ReadArtifact(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

func ReadArtifactDefinition

func ReadArtifactDefinition(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

func ReadAttributeDefinition

func ReadAttributeDefinition(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

func ReadCapabilityAssignment added in v0.13.0

func ReadCapabilityAssignment(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

func ReadGroup

func ReadGroup(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

func ReadGroupType

func ReadGroupType(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

func ReadInterfaceAssignment

func ReadInterfaceAssignment(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

func ReadInterfaceDefinition

func ReadInterfaceDefinition(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

func ReadInterfaceType

func ReadInterfaceType(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

func ReadPropertyDefinition

func ReadPropertyDefinition(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

func ReadServiceTemplate

func ReadServiceTemplate(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

func ReadSubstitutionMappings

func ReadSubstitutionMappings(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

func ReadTriggerDefinition added in v0.13.0

func ReadTriggerDefinition(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

func ReadUnit

func ReadUnit(context *tosca.Context) tosca.EntityPtr

tosca.Reader signature

Types

type TriggerDefinition added in v0.13.0

type TriggerDefinition struct {
	*tosca_v1_3.Entity `name:"trigger definition" json:"-" yaml:"-"`
	Name               string

	Description     *string                                `read:"description"`
	Event           *string                                `read:"event_type"`
	Schedule        *tosca_v1_3.Value                      `read:"schedule,Value"` // tosca:TimeInterval
	TargetFilter    *tosca_v1_3.EventFilter                `read:"target_filter,EventFilter"`
	Condition       *tosca_v1_3.TriggerDefinitionCondition `read:"condition,TriggerDefinitionCondition"`
	OperationAction *tosca_v1_3.OperationDefinition
	WorkflowAction  *string

	WorkflowDefinition *tosca_v1_3.WorkflowDefinition `lookup:"action,WorkflowAction"`
}

func NewTriggerDefinition added in v0.13.0

func NewTriggerDefinition(context *tosca.Context) *TriggerDefinition

func (*TriggerDefinition) GetKey added in v0.13.0

func (self *TriggerDefinition) GetKey() string

tosca.Mappable interface

func (*TriggerDefinition) Normalize added in v0.13.0

func (self *TriggerDefinition) Normalize(normalPolicy *normal.Policy) *normal.PolicyTrigger

func (*TriggerDefinition) Render added in v0.13.0

func (self *TriggerDefinition) Render()

parser.Renderable interface

type TriggerDefinitions added in v0.13.0

type TriggerDefinitions map[string]*TriggerDefinition

func (TriggerDefinitions) Normalize added in v0.13.0

func (self TriggerDefinitions) Normalize(normalPolicy *normal.Policy)

Jump to

Keyboard shortcuts

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