types

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: Apache-2.0 Imports: 2 Imported by: 2 modules, 9 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudAccount

type CloudAccount struct {
	ID                string `json:"id" header:"ID"`
	Name              string `json:"name" header:"NAME"`
	CloudProviderID   string `json:"cloud_provider_id" header:"CLOUD_PROVIDER_ID"`
	CloudProviderName string `json:"cloud_provider_name" header:"CLOUD_PROVIDER_NAME"`
}

type CloudProvider

type CloudProvider struct {
	ID   string `json:"id" header:"ID"`
	Name string `json:"name" header:"NAME"`
}

type Dns

type Dns struct {
	ID       string `json:"id" header:"ID"`
	Name     string `json:"name" header:"NAME"`
	Content  string `json:"content" header:"CONTENT"`
	Type     string `json:"type" header:"TYPE"`
	IsFQDN   bool   `json:"is_fqdn" header:"IS_FQDN"`
	DomainID string `json:"domain_id" header:"DOMAIN_ID"`
}

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 GenericImage struct {
	ID   string `json:"id" header:"ID"`
	Name string `json:"name" header:"NAME"`
}

type LBNode

type LBNode struct {
	ID       string `json:"id" header:"ID"`
	Name     string `json:"name" header:"NAME"`
	PublicIP string `json:"public_ip" header:"PUBLIC_IP"`
	State    string `json:"state" header:"STATE"`
	ServerID string `json:"server_id" header:"SERVER_ID"`
	Port     int    `json:"port" header:"PORT"`
}

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 Location

type Location struct {
	ID   string `json:"id" header:"ID"`
	Name string `json:"name" header:"NAME"`
}

type PollingCommand

type PollingCommand struct {
	ID       string `json:"id" header:"ID"`
	Script   string `json:"script" header:"SCRIPT"`
	Stdout   string `json:"stdout" header:"STDOUT"`
	Stderr   string `json:"stderr" header:"STDERR"`
	ExitCode int    `json:"exit_code" header:"EXIT_CODE"`
}

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 Rule

type Rule struct {
	Protocol string `json:"ip_protocol" header:"IP_PROTOCOL"`
	MinPort  int    `json:"min_port" header:"MIN_PORT"`
	MaxPort  int    `json:"max_port" header:"MAX_PORT"`
	CidrIP   string `json:"source" header:"SOURCE"`
}

type SSHProfile

type SSHProfile struct {
	ID         string `json:"id" header:"ID"`
	Name       string `json:"name" heade:"NAME"`
	PublicKey  string `json:"public_key" header:"PUBLIC_KEY"`
	PrivateKey string `json:"private_key" header:"PRIVATE_KEY"`
}

type SaasAccount

type SaasAccount struct {
	ID             string `json:"id" header:"ID"`
	SaasProviderID string `json:"saas_provider_id" header:"SAAS PROVIDER ID"`
}

type SaasProvider

type SaasProvider struct {
	ID                  string   `json:"id" header:"ID"`
	Name                string   `json:"name" header:"NAME"`
	RequiredAccountData []string `json:"required_account_data" header:"REQUIRED_ACCOUNT_DATA"`
}

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 ScriptChar struct {
	ID              string   `json:"id" header:"ID"`
	Type            string   `json:"type" header:"TYPE"`
	ParameterValues struct{} `json:"parameter_values" header:"PARAMETER_VALUES"`
	TemplateID      string   `json:"template_id" header:"TEMPLATE_ID"`
	ScriptID        string   `json:"script_id" header:"SCRIPT_ID"`
}

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

type WizardApp

type WizardApp struct {
	ID                  string          `json:"id" header:"ID"`
	Name                string          `json:"name" header:"NAME"`
	FlavourRequirements json.RawMessage `json:"flavour_requirements" header:"FLAVOUR_REQUIREMENTS"`
	GenericImageID      string          `json:"generic_image_id" header:"GENERIC_IMAGE_ID"`
}

Jump to

Keyboard shortcuts

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