parser

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOutputs

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

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
}

func ParseKubernetesResources

func ParseKubernetesResources(value ard.Value) ([]*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)

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)

Jump to

Keyboard shortcuts

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