types

package
v4.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential

type Credential struct {
	Protocol  string            `mapstructure:"protocol" json:"protocol"`
	TokenType string            `mapstructure:"token_type" json:"token_type"` // default: password
	Token     string            `mapstructure:"token" json:"token"`
	Keys      map[string]string `mapstructure:"keys" json:"keys"`
	User      string            `mapstructure:"user" json:"user"`
}

Credential is a tosca.datatypes.Credential as defined in the specification https://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.3/csprd01/TOSCA-Simple-Profile-YAML-v1.3-csprd01.html#TYPE_TOSCA_DATA_CREDENTIAL

type ProvisioningBastion

type ProvisioningBastion struct {
	Use         string     `mapstructure:"use" json:"use"`
	Host        string     `mapstructure:"host" json:"host"`
	Port        string     `mapstructure:"port" json:"port"`
	Credentials Credential `mapstructure:"credentials" json:"credentials"`
}

ProvisioningBastion is a representation of yorc.datatypes.ProvisioningBastion.

type SlurmExecutionOptions

type SlurmExecutionOptions struct {
	Command         string   `mapstructure:"command" json:"command,omitempty"`
	Args            []string `mapstructure:"args" json:"args,omitempty"`
	EnvVars         []string `mapstructure:"env_vars" json:"env_vars,omitempty"`
	InScriptOptions []string `mapstructure:"in_script_options" json:"in_script_options,omitempty"`
}

SlurmExecutionOptions is a yorc.datatypes.slurm.ExecutionOptions

Jump to

Keyboard shortcuts

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