Documentation ¶
Index ¶
- type Attachment
- type BootstrappingAppliedConfiguration
- type BootstrappingConfiguration
- type BootstrappingContinuousReport
- type BootstrappingPolicyfile
- type Certificate
- type CloudAccount
- type CloudApplicationDeployment
- type CloudApplicationDeploymentTask
- type CloudApplicationTemplate
- type CloudProvider
- type CloudSpecificExtensionDeployment
- type CloudSpecificExtensionTemplate
- type Cluster
- type ClusterPlan
- type CookbookVersion
- type DispatcherScript
- type Domain
- type Event
- type Firewall
- type FirewallProfile
- type FloatingIP
- type GenericImage
- type Input
- type Label
- type Labelable
- type LabelableFields
- type LabeledResource
- type Listener
- type ListenerRule
- type LoadBalancer
- type LoadBalancerPlan
- type Location
- type NodePool
- type NodePoolPlan
- type Policy
- type PolicyAssignment
- type PolicyDefinition
- type PolicyRule
- type PollingCommand
- type PollingContinuousReport
- type PollingPing
- type Realm
- type Record
- type RequiredCredentials
- type Rule
- type SSHProfile
- type Script
- type ScriptChar
- type ScriptCharacterization
- type ScriptConclusion
- type Server
- type ServerArray
- type ServerPlan
- type StoragePlan
- type Subnet
- type Target
- type TargetGroup
- type Template
- type TemplateScript
- type TemplateScriptCredentials
- type TemplateServer
- type TemporaryArchive
- type TemporaryArchiveExport
- type TemporaryArchiveExportTask
- type TemporaryArchiveImport
- type Volume
- type Vpc
- type Vpn
- type VpnPlan
- type WizardApp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶ added in v0.9.0
type Attachment struct { ID string `json:"id" header:"ID"` Name string `json:"name,omitempty" header:"NAME"` Uploaded bool `json:"uploaded,omitempty" header:"UPLOADED"` UploadURL string `json:"upload_url,omitempty" header:"UPLOAD_URL" show:"noshow,nolist"` DownloadURL string `json:"download_url,omitempty" header:"DOWNLOAD_URL" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
Attachment stores an IMCO Attachment item
type BootstrappingAppliedConfiguration ¶ added in v0.8.0
type BootstrappingAppliedConfiguration struct { StartedAt string `json:"started_at,omitempty" header:"STARTED_AT"` FinishedAt string `json:"finished_at,omitempty" header:"FINISHED_AT"` PolicyfileRevisionIDs string `json:"policyfile_revision_ids,omitempty" header:"POLICY_FILE_REVISION_IDS" show:"nolist"` AttributeRevisionID string `json:"attribute_revision_id,omitempty" header:"ATTRIBUTE_REVISION_ID"` }
type BootstrappingConfiguration ¶ added in v0.8.0
type BootstrappingConfiguration struct { Policyfiles []BootstrappingPolicyfile `json:"policyfiles,omitempty" header:"POLICY_FILES" show:"nolist"` Attributes map[string]interface{} `json:"attributes,omitempty" header:"ATTRIBUTES" show:"nolist"` AttributeRevisionID string `json:"attribute_revision_id,omitempty" header:"ATTRIBUTE_REVISION_ID"` }
type BootstrappingContinuousReport ¶ added in v0.8.0
type BootstrappingContinuousReport struct {
Stdout string `json:"stdout" header:"STDOUT"`
}
type BootstrappingPolicyfile ¶ added in v0.8.0
type Certificate ¶ added in v0.12.0
type Certificate struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` PublicKey string `json:"public_key" header:"PUBLIC_KEY"` Chain string `json:"chain" header:"CHAIN"` PrivateKey string `json:"private_key" header:"PRIVATE_KEY"` LoadBalancerID string `json:"load_balancer_id" header:"LOAD_BALANCER_ID"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type CloudAccount ¶
type CloudAccount struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` SubscriptionID string `json:"subscription_id" header:"SUBSCRIPTION_D"` RemoteID string `json:"remote_id" header:"REMOTE_ID"` CloudProviderID string `json:"cloud_provider_id" header:"CLOUD_PROVIDER_ID"` CloudProviderName string `header:"CLOUD_PROVIDER_NAME"` SupportsImporting bool `json:"supports_importing" header:"SUPPORTS_IMPORTING" show:"nolist"` SupportsImportingVPCs bool `json:"supports_importing_vpcs" header:"SUPPORTS_IMPORTING_VPCS" show:"nolist"` SupportsImportingFloatingIPs bool `json:"supports_importing_floating_ips" header:"SUPPORTS_IMPORTING_FLOATING_IPS" show:"nolist"` SupportsImportingVolumes bool `json:"supports_importing_volumes" header:"SUPPORTS_IMPORTING_VOLUMES" show:"nolist"` SupportsImportingPolicies bool `json:"supports_importing_policies" header:"SUPPORTS_IMPORTING_POLICIES" show:"nolist"` SupportsImportingKubernetesClusters bool `json:"supports_importing_kubernetes_clusters" header:"SUPPORTS_IMPORTING_KUBERNETES_CLUSTERS" show:"nolist"` State string `json:"state" header:"STATE"` ErrorEventID string `json:"error_event_id" header:"ERROR_EVENT_ID" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type CloudApplicationDeployment ¶ added in v0.12.0
type CloudApplicationDeployment struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` Namespace string `json:"namespace" header:"NAMESPACE" show:"nolist"` Value string `json:"value" header:"VALUE"` CatID string `json:"cat_id" header:"CAT_ID" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
CAD
type CloudApplicationDeploymentTask ¶ added in v0.12.0
type CloudApplicationDeploymentTask struct { ID string `json:"id" header:"ID"` Type string `json:"type" header:"TYPE"` LabelName string `json:"label_name" header:"LABEL_NAME"` LabelID string `json:"label_id" header:"LABEL_ID"` State string `json:"state" header:"STATE"` ErrorMessage string `json:"error_message" header:"ERROR_MESSAGE" show:"nolist"` Outputs string `json:"outputs" header:"OUTPUTS" show:"nolist"` UserID string `json:"user_id" header:"USER_ID"` ArchiveID string `json:"archive_id" header:"ARCHIVE_ID"` DeploymentID string `json:"deployment_id" header:"DEPLOYMENT_ID"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
tosca task
type CloudApplicationTemplate ¶ added in v0.12.0
type CloudApplicationTemplate struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` Version string `json:"version" header:"VERSION"` Global bool `json:"global" header:"GLOBAL"` UploadURL string `json:"upload_url,omitempty" header:"UPLOAD_URL" show:"noshow,nolist"` VendorID string `json:"vendor_id" header:"VENDOR_ID"` Inputs []Input `json:"inputs" header:"INPUTS" show:"nolist"` IsMock bool `json:"is_mock" header:"IS_MOCK" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
CAT
type CloudProvider ¶
type CloudSpecificExtensionDeployment ¶ added in v0.12.0
type CloudSpecificExtensionDeployment struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` TemplateID string `json:"template_id" header:"TEMPLATE_ID"` State string `json:"state" header:"STATE"` RemoteID string `json:"remote_id" header:"REMOTE_ID"` CloudAccountID string `json:"cloud_account_id" header:"CLOUD_ACCOUNT_ID"` RealmID string `json:"realm_id" header:"REALM_ID"` ErrorEventID string `json:"error_event_id" header:"ERROR_EVENT_ID" show:"nolist,noshow"` ParameterValues map[string]interface{} `json:"parameter_values" header:"PARAMETER_VALUES" show:"nolist"` Outputs map[string]interface{} `json:"outputs" header:"OUTPUTS" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` LabelableFields }
CSE Deployment
type CloudSpecificExtensionTemplate ¶ added in v0.12.0
type CloudSpecificExtensionTemplate struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` Global bool `json:"global" header:"GLOBAL"` Definition string `json:"definition" header:"DEFINITION" show:"nolist"` Parameters map[string]interface{} `json:"parameters" header:"PARAMETERS" show:"nolist"` Syntax string `json:"syntax" header:"SYNTAX"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` LabelableFields }
CSE Template
type Cluster ¶
type Cluster struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` State string `json:"state" header:"STATE"` RemoteID string `json:"remote_id" header:"REMOTE_ID"` CloudAccountID string `json:"cloud_account_id" header:"CLOUD_ACCOUNT_ID"` RealmID string `json:"realm_id" header:"REALM_ID"` VpcID string `json:"vpc_id,omitempty" header:"VPC_ID"` Brownfield bool `json:"brownfield,omitempty" header:"BROWNFIELD" show:"nolist,noshow"` Version string `json:"version" header:"VERSION"` Endpoint string `json:"endpoint" header:"ENDPOINT" show:"nolist"` ClusterPlanID string `json:"cluster_plan_id" header:"CLUSTER_PLAN_ID" show:"nolist"` PublicAccessIPAddresses []string `json:"public_access_ip_addresses" header:"PUBLIC_ACCESS_IP_ADDRESSES" show:"nolist"` ErrorEventID string `json:"error_event_id" header:"ERROR_EVENT_ID" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` LabelableFields }
type ClusterPlan ¶ added in v0.13.0
type ClusterPlan struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` AvailableVersions []string `json:"available_versions" header:"AVAILABLE_VERSIONS"` DefaultVersion string `json:"default_version" header:"DEFAULT_VERSION"` MaxPodsPerNode int `json:"max_pods_per_node" header:"MAX_PODS_PER_NODE"` MaxNodesPerNodePool int `json:"max_nodes_per_node_pool" header:"MAX_NODES_PER_NODE_POOL"` CloudProviderID string `json:"cloud_provider_id,omitempty" header:"CLOUD_PROVIDER_ID" show:"noshow"` CloudProviderName string ` header:"CLOUD_PROVIDER_NAME" show:"noshow"` RealmID string `json:"realm_id,omitempty" header:"REALM_ID"` RealmProviderName string `json:"realm_provider_name,omitempty" header:"REALM_PROVIDER_NAME"` FlavourProviderName string `json:"flavour_provider_name,omitempty" header:"FLAVOUR_PROVIDER_NAME"` Deprecated bool `json:"deprecated,omitempty" header:"DEPRECATED" show:"nolist,noshow"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type CookbookVersion ¶ added in v0.9.0
type CookbookVersion struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` Version string `json:"version" header:"VERSION"` State string `json:"state" header:"STATE"` RevisionID string `json:"revision_id,omitempty" header:"REVISION_ID"` Description string `json:"description" header:"DESCRIPTION"` Recipes []string `json:"recipes" header:"RECIPES" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` PubliclyAvailable bool `json:"publicly_available" header:"PUBLICLY_AVAILABLE" show:"nolist"` GlobalLegacy bool `json:"global_legacy" header:"GLOBAL_LEGACY" show:"nolist"` UploadURL string `json:"upload_url" header:"UPLOAD_URL" show:"noshow,nolist"` ErrorMessage string `json:"error_message" header:"ERROR_MESSAGE" show:"nolist"` LabelableFields }
type DispatcherScript ¶ added in v0.9.0
type Domain ¶
type Domain struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` State string `json:"state" header:"STATE"` RemoteID string `json:"remote_id" header:"REMOTE_ID" show:"nolist"` CloudAccountID string `json:"cloud_account_id" header:"CLOUD_ACCOUNT_ID"` Nameservers []string `json:"name_servers" header:"NAMESERVERS"` GlobalState string `json:"global_state" header:"GLOBAL_STATE" show:"nolist"` ErrorEventID string `json:"error_event_id" header:"ERROR_EVENT_ID" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` LabelableFields }
type Event ¶
type Event struct { ID string `json:"id" header:"ID"` Timestamp time.Time `json:"timestamp" header:"TIMESTAMP"` Level string `json:"level" header:"LEVEL"` Header string `json:"header" header:"HEADER"` Description string `json:"description" header:"DESCRIPTION"` }
Event stores an Concerto event item
type FirewallProfile ¶
type FirewallProfile struct { ID string `json:"id" header:"ID"` Name string `json:"name,omitempty" header:"NAME"` Description string `json:"description,omitempty" header:"DESCRIPTION"` Default bool `json:"default,omitempty" header:"DEFAULT"` Rules []Rule `json:"rules,omitempty" header:"RULES" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` LabelableFields }
func (*FirewallProfile) ConvertFlagParamsToRules ¶ added in v0.9.0
func (fp *FirewallProfile) ConvertFlagParamsToRules(rulesIn string) error
ConvertFlagParamsToRules converts received input rules parameters into a Firewall Profile rules array
type FloatingIP ¶ added in v0.9.0
type FloatingIP struct { ID string `json:"id" header:"ID"` Name string `json:"name,omitempty" header:"NAME"` Address string `json:"address,omitempty" header:"ADDRESS"` State string `json:"state,omitempty" header:"STATE"` CloudAccountID string `json:"cloud_account_id,omitempty" header:"CLOUD_ACCOUNT_ID"` RealmID string `json:"realm_id,omitempty" header:"REALM_ID"` AttachedServerID string `json:"attached_server_id,omitempty" header:"ATTACHED_SERVER_ID"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` Brownfield bool `json:"brownfield,omitempty" header:"BROWNFIELD" show:"nolist,noshow"` LabelableFields }
FloatingIP stores an IMCO Floating IP item
type GenericImage ¶
type LabelableFields ¶ added in v0.8.0
type LabelableFields struct { LabelIDs []string `json:"label_ids" header:"LABEL_IDS" show:"nolist,noshow"` Labels []string `json:"labels" header:"LABELS"` }
func (*LabelableFields) AssignLabelIDs ¶ added in v0.8.0
func (lf *LabelableFields) AssignLabelIDs(labelIDs []string)
func (*LabelableFields) FillInLabelNames ¶ added in v0.8.0
func (lf *LabelableFields) FillInLabelNames(labelNamesByID map[string]string)
func (*LabelableFields) FilterByLabelIDs ¶ added in v0.8.0
func (lf *LabelableFields) FilterByLabelIDs(labelIDs []string) bool
type LabeledResource ¶ added in v0.8.0
type Listener ¶ added in v0.12.0
type Listener struct { ID string `json:"id" header:"ID"` State string `json:"state" header:"STATE"` RemoteID string `json:"remote_id" header:"REMOTE_ID"` Protocol string `json:"protocol" header:"PROTOCOL"` Port int `json:"port" header:"PORT"` LoadBalancerID string `json:"load_balancer_id" header:"LOAD_BALANCER_ID"` CertificateID string `json:"certificate_id" header:"CERTIFICATE_ID"` DefaultTargetGroupID string `json:"default_target_group_id" header:"DEFAULT_TARGET_GROUP_ID"` ErrorEventID string `json:"error_event_id" header:"ERROR_EVENT_ID" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type ListenerRule ¶ added in v0.12.0
type ListenerRule struct { ID string `json:"id" header:"ID"` Field string `json:"field" header:"FIELD"` Values []string `json:"values" header:"VALUES"` ListenerID string `json:"listener_id" header:"LISTENER_ID"` TargetGroupID string `json:"target_group_id" header:"TARGET_GROUP_ID"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
Rule
type LoadBalancer ¶
type LoadBalancer struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` State string `json:"state" header:"STATE"` RemoteID string `json:"remote_id" header:"REMOTE_ID"` CloudAccountID string `json:"cloud_account_id" header:"CLOUD_ACCOUNT_ID"` RealmID string `json:"realm_id" header:"REALM_ID"` VpcID string `json:"vpc_id,omitempty" header:"VPC_ID"` LoadBalancerPlanID string `json:"load_balancer_plan_id" header:"LOAD_BALANCER_PLAN_ID"` DnsName string `json:"dns_name" header:"DNS_NAME"` GlobalState string `json:"global_state" header:"GLOBAL_STATE"` ErrorEventID string `json:"error_event_id" header:"ERROR_EVENT_ID" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` LabelableFields }
type LoadBalancerPlan ¶ added in v0.12.0
type LoadBalancerPlan struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` CloudProviderID string `json:"cloud_provider_id,omitempty" header:"CLOUD_PROVIDER_ID" show:"noshow"` CloudProviderName string `header:"CLOUD_PROVIDER_NAME" show:"noshow"` RealmID string `json:"realm_id" header:"REALM_ID"` RealmProviderName string `json:"realm_provider_name,omitempty" header:"REALM_PROVIDER_NAME"` FlavourProviderName string `json:"flavour_provider_name,omitempty" header:"FLAVOUR_PROVIDER_NAME"` Protocols []string `json:"protocols" header:"PROTOCOLS"` HealthCheckProtocols []string `json:"health_check_protocols" header:"HEALTH_CHECK_PROTOCOLS"` RuleFields []string `json:"rule_fields" header:"RULE_FIELDS" show:"nolist"` HealthCheckIntervalValidValues map[string]interface{} `json:"health_check_interval_valid_values" header:"HEALTH_CHECK_INTERVAL_VALID_VALUES" show:"nolist"` HealthCheckTimeoutValidValues map[string]interface{} `json:"health_check_timeout_valid_values" header:"HEALTH_CHECK_TIMEOUT_VALID_VALUES" show:"nolist"` HealthCheckThresholdCountValidValues map[string]interface{} `json:"health_check_threshold_count_valid_values" header:"HEALTH_CHECK_THRESHOLD_COUNT_VALID_VALUES" show:"nolist"` Deprecated bool `json:"deprecated,omitempty" header:"DEPRECATED" show:"nolist,noshow"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type NodePool ¶ added in v0.13.0
type NodePool struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` State string `json:"state" header:"STATE"` RemoteID string `json:"remote_id" header:"REMOTE_ID"` ClusterID string `json:"cluster_id" header:"CLUSTER_ID" show:"nolist"` SubnetID string `json:"subnet_id" header:"SUBNET_ID" show:"nolist"` NodePoolPlanID string `json:"node_pool_plan_id" header:"NODE_POOL_PLAN_ID" show:"nolist"` DiskSize int `json:"disk_size" header:"DISK_SIZE"` OSType string `json:"os_type" header:"OS_TYPE"` CpuType string `json:"cpu_type" header:"CPU_TYPE"` MinNodes int `json:"min_nodes" header:"MIN_NODES"` MaxNodes int `json:"max_nodes" header:"MAX_NODES"` DesiredNodes int `json:"desired_nodes" header:"DESIRED_NODES" show:"nolist"` PodsPerNode int `json:"pods_per_node" header:"PODS_PER_NODE" show:"nolist"` Autoscaling bool `json:"autoscaling" header:"AUTOSCALING" show:"nolist"` Brownfield bool `json:"brownfield,omitempty" header:"BROWNFIELD" show:"nolist,noshow"` ErrorEventID string `json:"error_event_id" header:"ERROR_EVENT_ID" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type NodePoolPlan ¶ added in v0.13.0
type NodePoolPlan struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` RemoteID string `json:"remote_id" header:"REMOTE_ID"` CPUTypes []string `json:"cpu_types" header:"CPU_TYPES"` CPUs int `json:"cpus" header:"CPUS"` Memory int `json:"memory" header:"MEMORY"` RealmID string `json:"realm_id,omitempty" header:"REALM_ID"` ServerPlanID string `json:"server_plan_id,omitempty" header:"SERVER_PLAN_ID"` AutoscalingCapable bool `json:"autoscaling_capable" header:"AUTOSCALING_CAPABLE" show:"nolist"` PodsPerNodePresence bool `json:"pods_per_node_presence" header:"PODS_PER_NODE_PRESENCE" show:"nolist"` FirstNodePoolCapable bool `json:"first_node_pool_capable" header:"FIRST_NODE_POOL_CAPABLE" show:"nolist"` Deprecated bool `json:"deprecated,omitempty" header:"DEPRECATED" show:"nolist,noshow"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type Policy ¶ added in v0.9.0
type Policy struct { Rules []PolicyRule `json:"rules"` Md5 string `json:"md5,omitempty"` ActualRules []PolicyRule `json:"actual_rules,omitempty"` }
func (*Policy) CheckPolicyRule ¶ added in v0.9.0
func (p *Policy) CheckPolicyRule(rule PolicyRule) bool
CheckPolicyRule checks if rule belongs to Policy
type PolicyAssignment ¶ added in v0.12.0
type PolicyAssignment struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` Description string `json:"description" header:"DESCRIPTION"` State string `json:"state" header:"STATE"` RemoteID string `json:"remote_id" header:"REMOTE_ID"` CloudAccountID string `json:"cloud_account_id" header:"CLOUD_ACCOUNT_ID"` ErrorEventID string `json:"error_event_id" header:"ERROR_EVENT_ID" show:"nolist,noshow"` ParameterValues map[string]interface{} `json:"parameter_values" header:"PARAMETER_VALUES" show:"nolist"` DefinitionID string `json:"definition_id" header:"DEFINITION_ID"` ResellerApplied bool `json:"reseller_applied" header:"RESELLER_APPLIED" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type PolicyDefinition ¶ added in v0.12.0
type PolicyDefinition struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` Description string `json:"description" header:"DESCRIPTION"` Definition string `json:"definition" header:"DEFINITION" show:"nolist"` Parameters map[string]interface{} `json:"parameters" header:"PARAMETERS" show:"nolist"` Builtin bool `json:"builtin" header:"BUILTIN" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type PolicyRule ¶ added in v0.9.0
type PollingCommand ¶
type PollingContinuousReport ¶
type PollingContinuousReport struct {
Stdout string `json:"stdout" header:"STDOUT"`
}
type PollingPing ¶
type PollingPing struct {
PendingCommands bool `json:"pending_commands" header:"PENDING_COMMANDS"`
}
type Realm ¶ added in v0.13.0
type Realm struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` LocationID string `json:"location_id" header:"LOCATION_ID"` CloudProviderID string `json:"cloud_provider_id" header:"CLOUD_PROVIDER_ID"` ProviderName string `json:"provider_name,omitempty" header:"PROVIDER_NAME"` Deprecated bool `json:"deprecated,omitempty" header:"DEPRECATED" show:"nolist,noshow"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type Record ¶ added in v0.12.0
type Record struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` State string `json:"state" header:"STATE"` Content string `json:"content" header:"CONTENT"` RemoteID string `json:"remote_id" header:"REMOTE_ID" show:"nolist"` Type string `json:"type" header:"TYPE"` TTL int `json:"ttl" header:"TTL"` DomainID string `json:"domain_id" header:"DOMAIN_ID" show:"nolist"` // Only valid for records of type 'a' InstanceID string `json:"instance_id" header:"INSTANCE_ID" show:"nolist"` // Only valid for records of type 'a' FloatingIpID string `json:"floating_ip_id" header:"FLOATING_IP_ID" show:"nolist"` // Only valid for records of type 'cname' LoadBalancerID string `json:"load_balancer_id" header:"LOAD_BALANCER_ID" show:"nolist"` // Only valid for records of types 'mx' and 'srv' Priority int `json:"priority" header:"PRIORITY" show:"nolist"` // Only valid for records of type 'srv' Weight int `json:"weight" header:"WEIGHT" show:"nolist"` // Only valid for records of type 'srv' Port int `json:"port" header:"PORT" show:"nolist"` ErrorEventID string `json:"error_event_id" header:"ERROR_EVENT_ID" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type RequiredCredentials ¶
type RequiredCredentials interface{}
type SSHProfile ¶
type SSHProfile struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` PublicKey string `json:"public_key" header:"PUBLIC_KEY"` PrivateKey string `json:"private_key" header:"PRIVATE_KEY" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` LabelableFields }
type Script ¶
type Script struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` Description string `json:"description" header:"DESCRIPTION"` Code string `json:"code" header:"CODE" show:"nolist"` Parameters []string `json:"parameters" header:"PARAMETERS"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` LabelableFields }
Script holds script data
type ScriptChar ¶
type ScriptChar struct { ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"noshow,nolist"` ID string `json:"id" header:"ID"` Type string `json:"type" header:"TYPE"` ParameterValues map[string]interface{} `json:"parameter_values" header:"PARAMETER_VALUES"` TemplateID string `json:"template_id" header:"TEMPLATE_ID"` ScriptID string `json:"script_id" header:"SCRIPT_ID"` ExecutionOrder int `json:"execution_order" header:"EXECUTION_ORDER" show:"noshow,nolist"` }
type ScriptCharacterization ¶ added in v0.9.0
type ScriptCharacterization struct { Order int `json:"execution_order"` UUID string `json:"uuid"` Script DispatcherScript `json:"script"` Parameters map[string]string `json:"parameter_values"` }
type ScriptConclusion ¶ added in v0.9.0
type Server ¶
type Server struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` Fqdn string `json:"fqdn" header:"FQDN"` State string `json:"state" header:"STATE"` PublicIP string `json:"public_ip" header:"PUBLIC_IP"` PrivateIP string `json:"private_ip,omitempty" header:"PRIVATE_IP"` TemplateID string `json:"template_id" header:"TEMPLATE_ID"` ServerPlanID string `json:"server_plan_id" header:"SERVER_PLAN_ID"` CloudAccountID string `json:"cloud_account_id" header:"CLOUD_ACCOUNT_ID"` SSHProfileID string `json:"ssh_profile_id" header:"SSH_PROFILE_ID"` SSHProfileIDs []string `json:"ssh_profile_ids" header:"SSH_PROFILE_IDS"` BrownfieldState string `json:"brownfield_state" header:"BROWNFIELD_STATE"` FirewallProfileID string `json:"firewall_profile_id" header:"FIREWALL_PROFILE_ID"` ServerArrayID string `json:"server_array_id,omitempty" header:"SERVER_ARRAY_ID" show:"nolist"` SubnetID string `json:"subnet_id,omitempty" header:"SUBNET_ID" show:"nolist"` VpcID string `json:"vpc_id,omitempty" header:"VPC_ID" show:"nolist"` Privateness bool `json:"privateness,omitempty" header:"PRIVATENESS" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` LabelableFields }
type ServerArray ¶ added in v0.9.0
type ServerArray struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` State string `json:"state" header:"STATE"` Size int `json:"size" header:"SIZE"` TemplateID string `json:"template_id" header:"TEMPLATE_ID"` CloudAccountID string `json:"cloud_account_id" header:"CLOUD_ACCOUNT_ID"` ServerPlanID string `json:"server_plan_id" header:"SERVER_PLAN_ID"` FirewallProfileID string `json:"firewall_profile_id" header:"FIREWALL_PROFILE_ID"` SSHProfileID string `json:"ssh_profile_id" header:"SSH_PROFILE_ID"` SubnetID string `json:"subnet_id,omitempty" header:"SUBNET_ID" show:"nolist"` VpcID string `json:"vpc_id,omitempty" header:"VPC_ID" show:"nolist"` Privateness bool `json:"privateness,omitempty" header:"PRIVATENESS" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` LabelableFields }
type ServerPlan ¶
type ServerPlan struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` Memory int `json:"memory" header:"MEMORY"` CPUs float32 `json:"cpus" header:"CPUS"` Storage int `json:"storage" header:"STORAGE"` LocationID string `json:"location_id" header:"LOCATION_ID"` LocationName string `header:"LOCATION_NAME"` RealmID string `json:"realm_id" header:"REALM_ID"` RealmProviderName string `json:"realm_provider_name" header:"REALM_PROVIDER_NAME"` FlavourProviderName string `json:"flavour_provider_name" header:"FLAVOUR_PROVIDER_NAME"` CloudProviderID string `json:"cloud_provider_id,omitempty" header:"CLOUD_PROVIDER_ID" show:"noshow"` CloudProviderName string `header:"CLOUD_PROVIDER_NAME" show:"noshow"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type StoragePlan ¶ added in v0.9.0
type StoragePlan struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` MinSize int `json:"min_size,omitempty" header:"MIN_SIZE"` MaxSize int `json:"max_size,omitempty" header:"MAX_SIZE"` CloudProviderID string `json:"cloud_provider_id,omitempty" header:"CLOUD_PROVIDER_ID" show:"noshow"` CloudProviderName string ` header:"CLOUD_PROVIDER_NAME" show:"noshow"` LocationID string `json:"location_id,omitempty" header:"LOCATION_ID"` LocationName string ` header:"LOCATION_NAME"` RealmID string `json:"realm_id,omitempty" header:"REALM_ID"` RealmProviderName string `json:"realm_provider_name,omitempty" header:"REALM_PROVIDER_NAME"` FlavourProviderName string `json:"flavour_provider_name,omitempty" header:"FLAVOUR_PROVIDER_NAME"` Deprecated bool `json:"deprecated,omitempty" header:"DEPRECATED" show:"nolist,noshow"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type Subnet ¶ added in v0.9.0
type Subnet struct { ID string `json:"id" header:"ID"` Name string `json:"name,omitempty" header:"NAME"` CIDR string `json:"cidr,omitempty" header:"CIDR"` State string `json:"state,omitempty" header:"STATE"` Type string `json:"type,omitempty" header:"STATE"` VpcID string `json:"vpc_id,omitempty" header:"VPC_ID"` ServerCreationDisabled bool `json:"server_creation_disabled,omitempty" header:"SERVER_CREATION_DISABLED" show:"nolist,noshow"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` Brownfield bool `json:"brownfield,omitempty" header:"BROWNFIELD" show:"nolist,noshow"` }
Subnet stores an IMCO VPC Subnet item
type TargetGroup ¶ added in v0.12.0
type TargetGroup struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` State string `json:"state" header:"STATE"` RemoteID string `json:"remote_id" header:"REMOTE_ID"` Protocol string `json:"protocol" header:"PROTOCOL"` Port int `json:"port" header:"PORT"` Stickiness bool `json:"stickiness" header:"STICKINESS" show:"nolist"` HealthCheckProtocol string `json:"health_check_protocol" header:"HEALTH_CHECK_PROTOCOL" show:"nolist"` HealthCheckPort int `json:"health_check_port" header:"HEALTH_CHECK_PORT" show:"nolist"` HealthCheckInterval int `json:"health_check_interval" header:"HEALTH_CHECK_INTERVAL" show:"nolist"` HealthCheckTimeout int `json:"health_check_timeout" header:"HEALTH_CHECK_TIMEOUT" show:"nolist"` HealthCheckThresholdCount int `json:"health_check_threshold_count" header:"HEALTH_CHECK_THRESHOLD_COUNT" show:"nolist"` HealthCheckPath string `json:"health_check_path" header:"health_check_path" show:"nolist"` LoadBalancerID string `json:"load_balancer_id" header:"LOAD_BALANCER_ID"` ErrorEventID string `json:"error_event_id" header:"ERROR_EVENT_ID" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type Template ¶
type Template struct { ID string `json:"id,omitempty" header:"ID"` Name string `json:"name,omitempty" header:"NAME"` GenericImageID string `json:"generic_image_id,omitempty" header:"GENERIC_IMAGE_ID"` RunList []string `json:"run_list,omitempty" header:"RUN_LIST" show:"nolist"` ConfigurationAttributes map[string]interface{} `json:"configuration_attributes,omitempty" header:"CONFIGURATION_ATTRIBUTES" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` CookbookVersions cookbookVersionsMap `json:"cookbook_versions,omitempty" header:"COOKBOOK_VERSIONS" show:"nolist"` State string `json:"state" header:"STATE" show:"nolist"` LabelableFields }
Template stores blueprint templates
func (*Template) FillInCookbookVersionComposite ¶ added in v0.9.0
func (t *Template) FillInCookbookVersionComposite(customCookbookVersionsByVersionID map[string]string)
FillInCookbookVersionComposite resolves adequate cookbook version from version_id
type TemplateScript ¶
type TemplateScript struct { ID string `json:"id" header:"ID"` Type string `json:"type" header:"TYPE"` ExecutionOrder int `json:"execution_order" header:"EXECUTION_ORDER"` TemplateID string `json:"template_id" header:"TEMPLATE_ID"` ScriptID string `json:"script_id" header:"SCRIPT_ID"` ParameterValues map[string]interface{} `json:"parameter_values" header:"PARAMETER_VALUES"` }
TemplateScript stores a templates' script info
type TemplateScriptCredentials ¶
type TemplateScriptCredentials interface{}
TemplateScriptCredentials stores credentials to servers
type TemplateServer ¶
type TemplateServer struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` Fqdn string `json:"fqdn" header:"FQDN"` State string `json:"state" header:"STATE"` PublicIP string `json:"public_ip" header:"PUBLIC_IP"` TemplateID string `json:"template_id" header:"TEMPLATE_ID"` ServerPlanID string `json:"server_plan_id" header:"SERVER_PLAN_ID"` SSHProfileID string `json:"ssh_profile_id" header:"SSH_PROFILE_ID"` FirewallProfileID string `json:"firewall_profile_id" header:"FIREWALL_PROFILE_ID"` }
TemplateServer stores servers associated with the template
type TemporaryArchive ¶ added in v0.12.0
type TemporaryArchiveExport ¶ added in v0.12.0
type TemporaryArchiveExportTask ¶ added in v0.12.0
type TemporaryArchiveExportTask struct { ID string `json:"id" header:"ID"` Type string `json:"type" header:"TYPE"` State string `json:"state" header:"STATE"` FileAccess string `json:"file_access" header:"FILE_ACCESS"` UserID string `json:"user_id" header:"USER_ID"` ArchiveID string `json:"archive_id" header:"ARCHIVE_ID"` ErrorMessage string `json:"error_message" header:"ERROR_MESSAGE" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
tosca_task
func (*TemporaryArchiveExportTask) DownloadURL ¶ added in v0.12.0
func (taet *TemporaryArchiveExportTask) DownloadURL(configAPIEndpoint string) string
DownloadURL prepares adequate download url
type TemporaryArchiveImport ¶ added in v0.12.0
type TemporaryArchiveImport struct { ID string `json:"id" header:"ID"` Type string `json:"type" header:"TYPE"` LabelName string `json:"label_name" header:"LABEL_NAME"` LabelID string `json:"label_id" header:"LABEL_ID"` State string `json:"state" header:"STATE"` Outputs string `json:"outputs" header:"OUTPUTS" show:"nolist"` UserID string `json:"user_id" header:"USER_ID"` ArchiveID string `json:"archive_id" header:"ARCHIVE_ID"` ErrorMessage string `json:"error_message" header:"ERROR_MESSAGE" show:"nolist"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
type Volume ¶ added in v0.9.0
type Volume struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` Size int `json:"size" header:"SIZE"` State string `json:"state" header:"STATE"` Device string `json:"device" header:"DEVICE"` StoragePlanID string `json:"storage_plan_id,omitempty" header:"STORAGE_PLAN_ID"` CloudAccountID string `json:"cloud_account_id,omitempty" header:"CLOUD_ACCOUNT_ID"` RealmID string `json:"realm_id,omitempty" header:"REALM_ID"` AttachedServerID string `json:"attached_server_id,omitempty" header:"ATTACHED_SERVER_ID"` Brownfield bool `json:"brownfield,omitempty" header:"BROWNFIELD" show:"nolist,noshow"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` LabelableFields }
type Vpc ¶ added in v0.9.0
type Vpc struct { ID string `json:"id" header:"ID"` Name string `json:"name,omitempty" header:"NAME"` CIDR string `json:"cidr,omitempty" header:"CIDR"` State string `json:"state,omitempty" header:"STATE"` CloudAccountID string `json:"cloud_account_id,omitempty" header:"CLOUD_ACCOUNT_ID"` RealmProviderName string `json:"realm_provider_name,omitempty" header:"REALM_PROVIDER_NAME"` HasVPN bool `json:"has_vpn,omitempty" header:"HAS_VPN" show:"nolist,noshow"` AllowedSubnetTypes []string `json:"allowed_subnet_types,omitempty" header:"ALLOWED_SUBNET_TYPES"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` Brownfield bool `json:"brownfield,omitempty" header:"BROWNFIELD" show:"nolist,noshow"` LabelableFields }
Vpc stores an IMCO VPC item
type Vpn ¶ added in v0.9.0
type Vpn struct { ID string `json:"id" header:"ID"` State string `json:"state,omitempty" header:"STATE"` VpcID string `json:"vpc_id,omitempty" header:"VPC_ID"` VpnPlanID string `json:"vpn_plan_id,omitempty" header:"VPN_PLAN_ID"` PublicIP string `json:"public_ip,omitempty" header:"PUBLIC_IP"` ExposedCIDRs []string `json:"exposed_cidrs,omitempty" header:"EXPOSED_CIDRS"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
Vpn stores an IMCO VPN item
type VpnPlan ¶ added in v0.9.0
type VpnPlan struct { ID string `json:"id" header:"ID"` Name string `json:"name,omitempty" header:"NAME"` Active string `json:"active_active,omitempty" header:"ACTIVE"` RemoteID string `json:"remote_id,omitempty" header:"REMOTE_ID"` ResourceType string `json:"resource_type" header:"RESOURCE_TYPE" show:"nolist"` }
VpnPlan stores an IMCO VPN Plan item
Source Files ¶
- applications.go
- apps.go
- attachment.go
- bootstrapping.go
- cloud_accounts.go
- cloud_providers.go
- cloud_specific_extensions.go
- cookbook_versions.go
- dispatcher.go
- domains.go
- events.go
- firewall.go
- firewall_profiles.go
- floating_ips.go
- generic_images.go
- kubernetes.go
- labels.go
- load_balancers.go
- locations.go
- policies.go
- polling_command.go
- polling_continuous_report.go
- polling_ping.go
- realms.go
- scripts.go
- server_arrays.go
- server_plan.go
- servers.go
- ssh_profiles.go
- storage_plans.go
- subnets.go
- templates.go
- temporary_archives.go
- volumes.go
- vpcs.go
- vpns.go