parser

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloutCoerciblesMerged added in v0.2.0

func CloutCoerciblesMerged(a ard.StringMap, b ard.StringMap) bool

func GetOutputs

func GetOutputs(clout *cloutpkg.Clout) (map[string]string, bool)

func MergeCloutCoercibles added in v0.2.0

func MergeCloutCoercibles(a ard.StringMap, b ard.StringMap)

func ToCloutCoercible added in v0.2.0

func ToCloutCoercible(value ard.Value) ard.StringMap

Types

type KubernetesArtifact

type KubernetesArtifact struct {
	Name       string
	SourcePath string
}

func NewKubernetesArtifact

func NewKubernetesArtifact(value ard.Value) (*KubernetesArtifact, bool)

type KubernetesArtifacts

type KubernetesArtifacts []*KubernetesArtifact

func NewKubernetesArtifacts

func NewKubernetesArtifacts(value ard.Value) (KubernetesArtifacts, bool)

type KubernetesResource

type KubernetesResource struct {
	Capability        string
	APIVersion        string
	Kind              string
	Name              string
	Namespace         string
	AttributeMappings map[string]string
}

func ParseKubernetesResourceList added in v0.2.0

func ParseKubernetesResourceList(list ard.List) ([]*KubernetesResource, bool)

func (*KubernetesResource) ARD

func (self *KubernetesResource) ARD() ard.Map

func (*KubernetesResource) GVK

type KubernetesResources

type KubernetesResources map[string][]*KubernetesResource

func NewKubernetesResources

func NewKubernetesResources() KubernetesResources

func (KubernetesResources) ARD

func (self KubernetesResources) ARD(vertexId string) ard.List

func (KubernetesResources) Add

func (self KubernetesResources) Add(vertexId string, capability string, apiVersion string, kind string, name string, namespace string, attributeMappings map[string]string)

type OrchestrationOperations added in v0.2.0

type OrchestrationOperations []*OrchestrationScriptletOperation

func NewOrchestrationOperations added in v0.2.0

func NewOrchestrationOperations(value ard.Value) (OrchestrationOperations, bool)

type OrchestrationPolicies

type OrchestrationPolicies map[string][]*OrchestrationProvisioningPolicy

func NewOrchestrationPolicies

func NewOrchestrationPolicies(value ard.Value) (OrchestrationPolicies, bool)

type OrchestrationProvisioningPolicy

type OrchestrationProvisioningPolicy struct {
	Sites              []string
	Profile            bool
	Substitutable      bool
	Instantiable       bool
	Virtualizable      bool
	SubstitutionInputs map[string]interface{}
}

func NewOrchestrationProvisioningPolicy

func NewOrchestrationProvisioningPolicy(value ard.Value) (*OrchestrationProvisioningPolicy, bool)

type OrchestrationScriptletOperation added in v0.2.0

type OrchestrationScriptletOperation struct {
	VertexID      string
	ScriptletName string
}

func NewOrchestrationScriptletOperation added in v0.2.0

func NewOrchestrationScriptletOperation(value ard.Value) (*OrchestrationScriptletOperation, bool)

Jump to

Keyboard shortcuts

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