Documentation
¶
Index ¶
- type CloudAccount
- type CloudProvider
- type Dns
- type Domain
- type DomainRecord
- type Event
- type FirewallProfile
- type GenericImage
- type LBNode
- type LoadBalancer
- type Location
- type PollingCommand
- type PollingContinuousReport
- type PollingPing
- type RequiredCredentials
- type Rule
- type SSHProfile
- type SaasAccount
- type SaasProvider
- type SaasRequiredCredentials
- type Script
- type ScriptChar
- type Server
- type ServerPlan
- type Service
- type Template
- type TemplateScript
- type TemplateScriptCredentials
- type TemplateServer
- type WizardApp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudAccount ¶
type CloudProvider ¶
type Domain ¶
type Domain struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` TTL int `json:"ttl" header:"TTL"` Contact string `json:"contact" header:"CONTACT"` Minimum int `json:"minimum" header:"MINIMUM"` Enabled bool `json:"enabled" header:"ENABLED"` }
Domain represents a domain entry
type DomainRecord ¶
type DomainRecord struct { ID string `json:"id" header:"ID"` Type string `json:"type" header:"TYPE"` Name string `json:"name" header:"NAME"` Content string `json:"content" header:"CONTENT"` TTL int `json:"ttl" header:"TTL"` Prio int `json:"prio" header:"PRIO"` ServerID string `json:"server_id" header:"SERVER ID"` DomainID string `json:"domain_id" header:"DOMAIN ID"` }
DomainRecord represents a domain record entry
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"` }
type GenericImage ¶
type LoadBalancer ¶
type LoadBalancer struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` Fqdn string `json:"fqdn" header:"FQDN"` Protocol string `json:"protocol" header:"PROTOCOL"` Port int `json:"port" header:"PORT"` Algorithm string `json:"algorithm" header:"ALGORITHM"` SSLCertificate string `json:"ssl_certificate" header:"SSL_CERTIFICATE"` SSLCertificatePrivateKey string `json:"ssl_certificate_private_key" header:"SSL_CERTIFICATE_PRIVATE_KEY"` DomainID string `json:"domain_id" header:"DOMAIN_ID"` CloudProviderID string `json:"cloud_provider_id" header:"CLOUD_PROVIDER_ID"` TrafficIn int `json:"traffic_in" header:"TRAFFIC_IN"` TrafficOut int `json:"traffic_out" header:"TRAFFIC_OUT"` }
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 RequiredCredentials ¶
type RequiredCredentials interface{}
type SSHProfile ¶
type SaasAccount ¶
type SaasProvider ¶
type SaasRequiredCredentials ¶
type SaasRequiredCredentials interface{}
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"` }
Script holds script data
type ScriptChar ¶
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"` 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"` FirewallProfileID string `json:"firewall_profile_id" header:"FIREWALL_PROFILE_ID"` }
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 `json:"location_name" header:"LOCATION_NAME"` CloudProviderID string `json:"cloud_provider_id" header:"CLOUD_PROVIDER_ID"` CloudProviderName string `json:"cloud_provider_name" header:"CLOUD_PROVIDER_NAME"` }
type Service ¶
type Service struct { ID string `json:"id" header:"ID"` Name string `json:"name" header:"NAME"` Description string `json:"description" header:"DESCRIPTION"` Public bool `json:"public" header:"PUBLIC"` License string `json:"license" header:"LICENSE"` Recipes []string `json:"recipes" header:"RECIPES" 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"` ServiceList []string `json:"service_list,omitempty" header:"SERVICE LIST" show:"nolist"` ConfigurationAttributes *json.RawMessage `json:"configuration_attributes,omitempty" header:"CONFIGURATION ATTRIBUTES" show:"nolist"` }
Template stores blueprint templates
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 *json.RawMessage `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
Source Files
¶
- apps.go
- cloud_accounts.go
- cloud_providers.go
- domain.go
- events.go
- firewall_profiles.go
- generic_images.go
- load_balancers.go
- locations.go
- polling_command.go
- polling_continuous_report.go
- polling_ping.go
- saas_accounts.go
- saas_providers.go
- scripts.go
- server_plan.go
- servers.go
- services.go
- ssh_profiles.go
- templates.go
Click to show internal directories.
Click to hide internal directories.