Documentation
¶
Index ¶
- Constants
- type Cdb
- type CdbResult
- type Cdbs
- type CliConn
- type Connection
- type ConnectionReq
- type ConnectionRes
- type Connections
- type Cpu
- type CpuReq
- type Disk
- type DiskReq
- type Group
- type GroupBdy
- type GroupList
- type GroupReq
- type Groups
- type ICDServiceAPI
- type Memory
- type MemoryReq
- type PlatformOptions
- type Task
- type TaskResult
- type Tasks
- type Uri
- type User
- type UserReq
- type Users
- type Whitelist
- type WhitelistEntry
- type WhitelistReq
- type Whitelists
Constants ¶
View Source
const ErrCodeAPICreation = "APICreationError"
ErrCodeAPICreation ...
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CliConn ¶
type CliConn struct {
Type string `json:"type"`
Composed []string `json:"composed"`
Environment interface{} `json:"environment"`
Bin string `json:"bin"`
Arguments [][]string `json:"arguments"`
Certificate struct {
Name string `json:"name"`
CertificateBase64 string `json:"certificate_base64"`
} `json:"certificate"`
}
type Connection ¶
type ConnectionReq ¶
type ConnectionRes ¶
type ConnectionRes struct {
Connection Connection `json:"connection"`
}
type Connections ¶
type Connections interface {
GetConnection(icdId string, userId string, endpoint ...string) (Connection, error)
GetConnectionSubstitution(icdId string, userID string, connectionReq ConnectionReq) (Connection, error)
}
type ICDServiceAPI ¶
type ICDServiceAPI interface {
Cdbs() Cdbs
Users() Users
Whitelists() Whitelists
Groups() Groups
Tasks() Tasks
Connections() Connections
}
ICDServiceAPI is the Cloud Internet Services API ...
type PlatformOptions ¶
type PlatformOptions struct {
}
type TaskResult ¶
type TaskResult struct {
Task Task `json:"task"`
}
type Uri ¶
type Uri struct {
Type string `json:"type"`
Composed []string `json:"composed"`
Scheme string `json:"scheme"`
Hosts []struct {
HostName string `json:"hostname"`
Port int `json:"port"`
} `json:"hosts"`
Path string `json:"path"`
QueryOptions interface{} `json:"query_options"`
Authentication struct {
Method string `json:"method"`
UserName string `json:"username"`
Password string `json:"password"`
}
Certificate struct {
Name string `json:"name"`
CertificateBase64 string `json:"certificate_base64"`
} `json:"certificate"`
Database interface{} `json:"database"`
}
type Whitelist ¶
type Whitelist struct {
WhitelistEntrys []WhitelistEntry `json:"ip_addresses"`
}
type WhitelistEntry ¶
type WhitelistReq ¶
type WhitelistReq struct {
WhitelistEntry WhitelistEntry `json:"ip_address"`
}
Click to show internal directories.
Click to hide internal directories.