Documentation
¶
Index ¶
- func GetOutputs(clout *cloutpkg.Clout) (map[string]string, bool)
- type CloutAttributeValue
- type CloutAttributeValueList
- type CloutAttributeValues
- type KubernetesArtifact
- type KubernetesArtifacts
- type KubernetesResourceMapping
- type KubernetesResourceMappingList
- type KubernetesResourceMappings
- type OrchestrationArtifact
- type OrchestrationArtifacts
- type OrchestrationCloutExecution
- type OrchestrationContainerExecution
- type OrchestrationExecution
- type OrchestrationExecutions
- type OrchestrationNodeState
- type OrchestrationNodeStates
- type OrchestrationPolicies
- type OrchestrationProvisioningPolicy
- type OrchestrationSSHExecution
- type OrchestrationStates
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloutAttributeValue ¶ added in v0.3.0
type CloutAttributeValueList ¶ added in v0.3.0
type CloutAttributeValueList []*CloutAttributeValue
type CloutAttributeValues ¶ added in v0.3.0
type CloutAttributeValues map[string]CloutAttributeValueList
func NewCloutAttributeValues ¶ added in v0.3.0
func NewCloutAttributeValues() CloutAttributeValues
func (CloutAttributeValues) JSON ¶ added in v0.5.0
func (self CloutAttributeValues) JSON() map[string]string
type KubernetesArtifact ¶
type KubernetesArtifacts ¶
type KubernetesArtifacts []*KubernetesArtifact
func DecodeKubernetesArtifacts ¶ added in v0.5.0
func DecodeKubernetesArtifacts(code string) (KubernetesArtifacts, bool)
type KubernetesResourceMapping ¶ added in v0.3.0
type KubernetesResourceMapping struct { Capability string `yaml:"capability" json:"capability"` APIVersion string `yaml:"apiVersion" json:"apiVersion"` Kind string `yaml:"kind" json:"kind"` Name string `yaml:"name" json:"name"` Namespace string `yaml:"namespace" json:"namespace"` AttributeMappings map[string]string `yaml:"attributes,omitempty" json:"attributes,omitempty"` }
func (*KubernetesResourceMapping) GVK ¶ added in v0.3.0
func (self *KubernetesResourceMapping) GVK() (schema.GroupVersionKind, error)
type KubernetesResourceMappingList ¶ added in v0.3.0
type KubernetesResourceMappingList []*KubernetesResourceMapping
type KubernetesResourceMappings ¶ added in v0.3.0
type KubernetesResourceMappings map[string]KubernetesResourceMappingList
func DecodeKubernetesResourceMappings ¶ added in v0.5.0
func DecodeKubernetesResourceMappings(code string) (KubernetesResourceMappings, bool)
func NewKubernetesResourceMappings ¶ added in v0.3.0
func NewKubernetesResourceMappings() KubernetesResourceMappings
func (KubernetesResourceMappings) JSON ¶ added in v0.5.0
func (self KubernetesResourceMappings) JSON() map[string]string
type OrchestrationArtifact ¶ added in v0.3.0
func ParseOrchestrationArtifact ¶ added in v0.3.0
func ParseOrchestrationArtifact(value ard.Value) (*OrchestrationArtifact, bool)
type OrchestrationArtifacts ¶ added in v0.3.0
type OrchestrationArtifacts []*OrchestrationArtifact
func ParseOrchestrationArtifacts ¶ added in v0.3.0
func ParseOrchestrationArtifacts(value ard.List) (OrchestrationArtifacts, bool)
type OrchestrationCloutExecution ¶ added in v0.3.0
type OrchestrationCloutExecution struct { Mode string ScriptletName string Arguments map[string]string }
func ParseOrchestrationCloutExecution ¶ added in v0.3.0
func ParseOrchestrationCloutExecution(value ard.Value) (*OrchestrationCloutExecution, bool)
func (*OrchestrationCloutExecution) GetMode ¶ added in v0.3.0
func (self *OrchestrationCloutExecution) GetMode() string
OrchestrationExecution interface
type OrchestrationContainerExecution ¶ added in v0.3.0
type OrchestrationContainerExecution struct { Mode string Command []string // len > 0 Namespace string // can be emtpy MatchLabels map[string]string MatchExpressions interface{} ContainerName string // can be emtpy Artifacts OrchestrationArtifacts }
func ParseOrchestrationContainerExecution ¶ added in v0.3.0
func ParseOrchestrationContainerExecution(value ard.Value) (*OrchestrationContainerExecution, bool)
func (*OrchestrationContainerExecution) GetMode ¶ added in v0.3.0
func (self *OrchestrationContainerExecution) GetMode() string
OrchestrationExecution interface
type OrchestrationExecution ¶ added in v0.3.0
type OrchestrationExecution interface {
GetMode() string
}
type OrchestrationExecutions ¶ added in v0.3.0
type OrchestrationExecutions map[string][]OrchestrationExecution
func DecodeOrchestrationExecutions ¶ added in v0.5.0
func DecodeOrchestrationExecutions(code string) (OrchestrationExecutions, bool)
type OrchestrationNodeState ¶ added in v0.3.0
type OrchestrationNodeStates ¶ added in v0.3.0
type OrchestrationNodeStates map[string]*OrchestrationNodeState
type OrchestrationPolicies ¶
type OrchestrationPolicies map[string][]interface{}
func DecodeOrchestrationPolicies ¶ added in v0.5.0
func DecodeOrchestrationPolicies(code string) (OrchestrationPolicies, bool)
type OrchestrationProvisioningPolicy ¶
type OrchestrationProvisioningPolicy struct { Sites []string Profile bool Substitutable bool Instantiable bool Virtualizable bool SubstitutionInputs map[string]interface{} }
func ParseOrchestrationProvisioningPolicy ¶ added in v0.3.0
func ParseOrchestrationProvisioningPolicy(value ard.Value) (*OrchestrationProvisioningPolicy, bool)
type OrchestrationSSHExecution ¶ added in v0.3.0
type OrchestrationSSHExecution struct { Mode string Command []string // len > 0 Host string Username string Key string Artifacts OrchestrationArtifacts }
func ParseOrchestrationSSHExecution ¶ added in v0.3.0
func ParseOrchestrationSSHExecution(value ard.Value) (*OrchestrationSSHExecution, bool)
func (*OrchestrationSSHExecution) GetMode ¶ added in v0.3.0
func (self *OrchestrationSSHExecution) GetMode() string
OrchestrationExecution interface
type OrchestrationStates ¶ added in v0.3.0
type OrchestrationStates map[string]OrchestrationNodeStates
func DecodeOrchestrationStates ¶ added in v0.5.0
func DecodeOrchestrationStates(code string) (OrchestrationStates, bool)
Click to show internal directories.
Click to hide internal directories.