Documentation
¶
Index ¶
- type AwsCredentials
- type AzureCredentials
- type BackupConfig
- type BackupRepository
- type BackupSchedule
- type BackupStore
- type Backups
- type CloudAccount
- type CloudAccountProperties
- func (m *CloudAccountProperties) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudAccountProperties) MarshalBinary() ([]byte, error)
- func (m *CloudAccountProperties) UnmarshalBinary(b []byte) error
- func (m *CloudAccountProperties) Validate(formats strfmt.Registry) error
- type Cluster
- type ClusterFirewallRuleSettings
- func (m *ClusterFirewallRuleSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ClusterFirewallRuleSettings) MarshalBinary() ([]byte, error)
- func (m *ClusterFirewallRuleSettings) UnmarshalBinary(b []byte) error
- func (m *ClusterFirewallRuleSettings) Validate(formats strfmt.Registry) error
- type ClusterNetworkSettings
- func (m *ClusterNetworkSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ClusterNetworkSettings) MarshalBinary() ([]byte, error)
- func (m *ClusterNetworkSettings) UnmarshalBinary(b []byte) error
- func (m *ClusterNetworkSettings) Validate(formats strfmt.Registry) error
- type ClusterNode
- type ClusterNodeLogMessage
- type ClusterNodeSettings
- type Connection
- type CreateBackupStoreInput
- func (m *CreateBackupStoreInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateBackupStoreInput) MarshalBinary() ([]byte, error)
- func (m *CreateBackupStoreInput) UnmarshalBinary(b []byte) error
- func (m *CreateBackupStoreInput) Validate(formats strfmt.Registry) error
- type CreateCloudAccountInput
- func (m *CreateCloudAccountInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateCloudAccountInput) MarshalBinary() ([]byte, error)
- func (m *CreateCloudAccountInput) UnmarshalBinary(b []byte) error
- func (m *CreateCloudAccountInput) Validate(formats strfmt.Registry) error
- type CreateClusterInput
- type CreateDatabaseInput
- type CreateSSHKeyInput
- type Database
- type DatabaseColumn
- type DatabaseComponentVersion
- func (m *DatabaseComponentVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatabaseComponentVersion) MarshalBinary() ([]byte, error)
- func (m *DatabaseComponentVersion) UnmarshalBinary(b []byte) error
- func (m *DatabaseComponentVersion) Validate(formats strfmt.Registry) error
- type DatabaseNode
- type DatabaseNodeExtensions
- func (m *DatabaseNodeExtensions) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatabaseNodeExtensions) MarshalBinary() ([]byte, error)
- func (m *DatabaseNodeExtensions) UnmarshalBinary(b []byte) error
- func (m *DatabaseNodeExtensions) Validate(formats strfmt.Registry) error
- type DatabaseRole
- type DatabaseTable
- type DatabaseTableStatus
- type DistanceMeasurement
- type Error
- type Extensions
- type GoogleCredentials
- type Location
- type Message
- type Region
- type SSHKey
- type Task
- type UpdateClusterInput
- type UpdateDatabaseInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsCredentials ¶
type AwsCredentials struct {
// role arn
// Required: true
RoleArn *string `json:"role_arn"`
}
AwsCredentials aws credentials
swagger:model AwsCredentials
func (*AwsCredentials) ContextValidate ¶
ContextValidate validates this aws credentials based on context it is used
func (*AwsCredentials) MarshalBinary ¶
func (m *AwsCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsCredentials) UnmarshalBinary ¶
func (m *AwsCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureCredentials ¶
type AzureCredentials struct {
// client id
// Required: true
ClientID *string `json:"client_id"`
// client secret
// Required: true
ClientSecret *string `json:"client_secret"`
// resource group
ResourceGroup string `json:"resource_group,omitempty"`
// subscription id
// Required: true
SubscriptionID *string `json:"subscription_id"`
// tenant id
// Required: true
TenantID *string `json:"tenant_id"`
}
AzureCredentials azure credentials
swagger:model AzureCredentials
func (*AzureCredentials) ContextValidate ¶
ContextValidate validates this azure credentials based on context it is used
func (*AzureCredentials) MarshalBinary ¶
func (m *AzureCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureCredentials) UnmarshalBinary ¶
func (m *AzureCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupConfig ¶
type BackupConfig struct {
// id
// Required: true
ID *string `json:"id"`
// node name
NodeName string `json:"node_name,omitempty"`
// repositories
Repositories []*BackupRepository `json:"repositories"`
// schedules
Schedules []*BackupSchedule `json:"schedules"`
}
BackupConfig backup config
swagger:model BackupConfig
func (*BackupConfig) ContextValidate ¶
ContextValidate validate this backup config based on the context it is used
func (*BackupConfig) MarshalBinary ¶
func (m *BackupConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupConfig) UnmarshalBinary ¶
func (m *BackupConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupRepository ¶
type BackupRepository struct {
// azure account
AzureAccount string `json:"azure_account,omitempty"`
// azure container
AzureContainer string `json:"azure_container,omitempty"`
// azure endpoint
AzureEndpoint string `json:"azure_endpoint,omitempty"`
// backup store id
BackupStoreID string `json:"backup_store_id,omitempty"`
// base path
BasePath string `json:"base_path,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// database id
// Format: uuid
DatabaseID strfmt.UUID `json:"database_id,omitempty"`
// gcs bucket
GcsBucket string `json:"gcs_bucket,omitempty"`
// gcs endpoint
GcsEndpoint string `json:"gcs_endpoint,omitempty"`
// id
ID string `json:"id,omitempty"`
// retention full
RetentionFull int64 `json:"retention_full,omitempty"`
// retention full type
RetentionFullType string `json:"retention_full_type,omitempty"`
// s3 bucket
S3Bucket string `json:"s3_bucket,omitempty"`
// s3 endpoint
S3Endpoint string `json:"s3_endpoint,omitempty"`
// s3 region
S3Region string `json:"s3_region,omitempty"`
// type
Type string `json:"type,omitempty"`
}
BackupRepository backup repository
swagger:model BackupRepository
func (*BackupRepository) ContextValidate ¶
ContextValidate validates this backup repository based on context it is used
func (*BackupRepository) MarshalBinary ¶
func (m *BackupRepository) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupRepository) UnmarshalBinary ¶
func (m *BackupRepository) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupSchedule ¶
type BackupSchedule struct {
// cron expression
// Required: true
CronExpression *string `json:"cron_expression"`
// id
// Required: true
ID *string `json:"id"`
// type
// Required: true
Type *string `json:"type"`
}
BackupSchedule backup schedule
swagger:model BackupSchedule
func (*BackupSchedule) ContextValidate ¶
ContextValidate validates this backup schedule based on context it is used
func (*BackupSchedule) MarshalBinary ¶
func (m *BackupSchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupSchedule) UnmarshalBinary ¶
func (m *BackupSchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupStore ¶
type BackupStore struct {
// The ID of the cloud account used for the backup store.
// Required: true
CloudAccountID *string `json:"cloud_account_id"`
// The type of the cloud account used for the backup store.
// Required: true
CloudAccountType *string `json:"cloud_account_type"`
// The IDs of the clusters that use the backup store.
ClusterIds []string `json:"cluster_ids"`
// The time the backup store was created.
// Required: true
CreatedAt *string `json:"created_at"`
// The ID of the backup store.
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// The name of the backup store.
// Required: true
Name *string `json:"name"`
// The computed properties of the backup store.
Properties interface{} `json:"properties,omitempty"`
// The status of the backup store.
// Required: true
Status *string `json:"status"`
// The time the backup store was last updated.
// Required: true
UpdatedAt *string `json:"updated_at"`
}
BackupStore backup store
swagger:model BackupStore
func (*BackupStore) ContextValidate ¶
ContextValidate validates this backup store based on context it is used
func (*BackupStore) MarshalBinary ¶
func (m *BackupStore) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupStore) UnmarshalBinary ¶
func (m *BackupStore) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Backups ¶
type Backups struct {
// config
Config []*BackupConfig `json:"config"`
// provider
// Required: true
Provider *string `json:"provider"`
}
Backups backups
swagger:model Backups
func (*Backups) ContextValidate ¶
ContextValidate validate this backups based on the context it is used
func (*Backups) MarshalBinary ¶
MarshalBinary interface implementation
func (*Backups) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CloudAccount ¶
type CloudAccount struct {
// created at
// Required: true
CreatedAt *string `json:"created_at"`
// description
Description string `json:"description,omitempty"`
// id
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// name
// Required: true
Name *string `json:"name"`
// properties
// Required: true
Properties interface{} `json:"properties"`
// type
// Required: true
Type *string `json:"type"`
// updated at
// Required: true
UpdatedAt *string `json:"updated_at"`
}
CloudAccount cloud account
swagger:model CloudAccount
func (*CloudAccount) ContextValidate ¶
ContextValidate validates this cloud account based on context it is used
func (*CloudAccount) MarshalBinary ¶
func (m *CloudAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudAccount) UnmarshalBinary ¶
func (m *CloudAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudAccountProperties ¶
type CloudAccountProperties struct {
// id
// Required: true
ID *string `json:"id"`
// name
Name string `json:"name,omitempty"`
// type
Type string `json:"type,omitempty"`
}
CloudAccountProperties cloud account properties
swagger:model CloudAccountProperties
func (*CloudAccountProperties) ContextValidate ¶
func (m *CloudAccountProperties) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this cloud account properties based on context it is used
func (*CloudAccountProperties) MarshalBinary ¶
func (m *CloudAccountProperties) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudAccountProperties) UnmarshalBinary ¶
func (m *CloudAccountProperties) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Cluster ¶
type Cluster struct {
// backup store ids
BackupStoreIds []string `json:"backup_store_ids"`
// capacity
Capacity int64 `json:"capacity,omitempty"`
// cloud account
// Required: true
CloudAccount *CloudAccountProperties `json:"cloud_account"`
// created at
// Required: true
CreatedAt *string `json:"created_at"`
// firewall rules
FirewallRules []*ClusterFirewallRuleSettings `json:"firewall_rules"`
// id
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// name
// Required: true
Name *string `json:"name"`
// networks
Networks []*ClusterNetworkSettings `json:"networks"`
// node location
// Required: true
NodeLocation *string `json:"node_location"`
// nodes
Nodes []*ClusterNodeSettings `json:"nodes"`
// regions
// Required: true
Regions []string `json:"regions"`
// resource tags
ResourceTags map[string]string `json:"resource_tags,omitempty"`
// ssh key id
SSHKeyID string `json:"ssh_key_id,omitempty"`
// status
// Required: true
Status *string `json:"status"`
}
Cluster cluster
swagger:model Cluster
func (*Cluster) ContextValidate ¶
ContextValidate validate this cluster based on the context it is used
func (*Cluster) MarshalBinary ¶
MarshalBinary interface implementation
func (*Cluster) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ClusterFirewallRuleSettings ¶
type ClusterFirewallRuleSettings struct {
// name
Name string `json:"name,omitempty"`
// port
// Required: true
Port *int64 `json:"port"`
// sources
// Required: true
Sources []string `json:"sources"`
}
ClusterFirewallRuleSettings cluster firewall rule settings
swagger:model ClusterFirewallRuleSettings
func (*ClusterFirewallRuleSettings) ContextValidate ¶
func (m *ClusterFirewallRuleSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this cluster firewall rule settings based on context it is used
func (*ClusterFirewallRuleSettings) MarshalBinary ¶
func (m *ClusterFirewallRuleSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterFirewallRuleSettings) UnmarshalBinary ¶
func (m *ClusterFirewallRuleSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterNetworkSettings ¶
type ClusterNetworkSettings struct {
// cidr
Cidr string `json:"cidr,omitempty"`
// external
External bool `json:"external,omitempty"`
// external id
ExternalID string `json:"external_id,omitempty"`
// name
Name string `json:"name,omitempty"`
// private subnets
PrivateSubnets []string `json:"private_subnets"`
// public subnets
PublicSubnets []string `json:"public_subnets"`
// region
// Required: true
Region *string `json:"region"`
}
ClusterNetworkSettings cluster network settings
swagger:model ClusterNetworkSettings
func (*ClusterNetworkSettings) ContextValidate ¶
func (m *ClusterNetworkSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this cluster network settings based on context it is used
func (*ClusterNetworkSettings) MarshalBinary ¶
func (m *ClusterNetworkSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterNetworkSettings) UnmarshalBinary ¶
func (m *ClusterNetworkSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterNode ¶
type ClusterNode struct {
// availability zone
// Required: true
AvailabilityZone *string `json:"availability_zone"`
// display name
DisplayName string `json:"display_name,omitempty"`
// distance measurement
DistanceMeasurement *DistanceMeasurement `json:"distance_measurement,omitempty"`
// id
// Required: true
ID *string `json:"id"`
// image id
// Required: true
ImageID *string `json:"image_id"`
// instance id
// Required: true
InstanceID *string `json:"instance_id"`
// instance type
// Required: true
InstanceType *string `json:"instance_type"`
// ip address
// Required: true
IPAddress *string `json:"ip_address"`
// is active
// Required: true
IsActive *bool `json:"is_active"`
// key name
// Required: true
KeyName *string `json:"key_name"`
// location
// Required: true
Location *Location `json:"location"`
// name
// Required: true
Name *string `json:"name"`
// pg version
// Required: true
PgVersion *string `json:"pg_version"`
// public ip address
PublicIPAddress string `json:"public_ip_address,omitempty"`
// region
// Required: true
Region *string `json:"region"`
// region detail
// Required: true
RegionDetail *Region `json:"region_detail"`
// volume iops
// Required: true
VolumeIops *int64 `json:"volume_iops"`
// volume size
// Required: true
VolumeSize *int64 `json:"volume_size"`
// volume type
// Required: true
VolumeType *string `json:"volume_type"`
}
ClusterNode cluster node
swagger:model ClusterNode
func (*ClusterNode) ContextValidate ¶
ContextValidate validate this cluster node based on the context it is used
func (*ClusterNode) MarshalBinary ¶
func (m *ClusterNode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterNode) UnmarshalBinary ¶
func (m *ClusterNode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterNodeLogMessage ¶
type ClusterNodeLogMessage struct {
// level
// Required: true
Level *string `json:"level"`
// message
// Required: true
Message *string `json:"message"`
// raw text
// Required: true
RawText *string `json:"raw_text"`
// time
// Required: true
Time *string `json:"time"`
}
ClusterNodeLogMessage cluster node log message
swagger:model ClusterNodeLogMessage
func (*ClusterNodeLogMessage) ContextValidate ¶
ContextValidate validates this cluster node log message based on context it is used
func (*ClusterNodeLogMessage) MarshalBinary ¶
func (m *ClusterNodeLogMessage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterNodeLogMessage) UnmarshalBinary ¶
func (m *ClusterNodeLogMessage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterNodeSettings ¶
type ClusterNodeSettings struct {
// availability zone
AvailabilityZone string `json:"availability_zone,omitempty"`
// image
Image string `json:"image,omitempty"`
// instance type
InstanceType string `json:"instance_type,omitempty"`
// name
Name string `json:"name,omitempty"`
// options
Options []string `json:"options"`
// region
// Required: true
Region *string `json:"region"`
// volume iops
VolumeIops int64 `json:"volume_iops,omitempty"`
// volume size
VolumeSize int64 `json:"volume_size,omitempty"`
// volume type
VolumeType string `json:"volume_type,omitempty"`
}
ClusterNodeSettings cluster node settings
swagger:model ClusterNodeSettings
func (*ClusterNodeSettings) ContextValidate ¶
ContextValidate validates this cluster node settings based on context it is used
func (*ClusterNodeSettings) MarshalBinary ¶
func (m *ClusterNodeSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterNodeSettings) UnmarshalBinary ¶
func (m *ClusterNodeSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Connection ¶
type Connection struct {
// database
// Required: true
Database *string `json:"database"`
// external ip address
ExternalIPAddress string `json:"external_ip_address,omitempty"`
// host
Host string `json:"host,omitempty"`
// internal host
InternalHost string `json:"internal_host,omitempty"`
// internal ip address
InternalIPAddress string `json:"internal_ip_address,omitempty"`
// password
// Required: true
Password *string `json:"password"`
// port
// Required: true
Port *int64 `json:"port"`
// username
// Required: true
Username *string `json:"username"`
}
Connection connection
swagger:model Connection
func (*Connection) ContextValidate ¶
ContextValidate validates this connection based on context it is used
func (*Connection) MarshalBinary ¶
func (m *Connection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Connection) UnmarshalBinary ¶
func (m *Connection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateBackupStoreInput ¶
type CreateBackupStoreInput struct {
// The ID of the cloud account to use for the backup store.
// Required: true
CloudAccountID *string `json:"cloud_account_id"`
// The name of the backup store.
// Required: true
Name *string `json:"name"`
// The region to use for the backup store.
Region string `json:"region,omitempty"`
}
CreateBackupStoreInput create backup store input
swagger:model CreateBackupStoreInput
func (*CreateBackupStoreInput) ContextValidate ¶
func (m *CreateBackupStoreInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create backup store input based on context it is used
func (*CreateBackupStoreInput) MarshalBinary ¶
func (m *CreateBackupStoreInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBackupStoreInput) UnmarshalBinary ¶
func (m *CreateBackupStoreInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCloudAccountInput ¶
type CreateCloudAccountInput struct {
// credentials
// Required: true
Credentials interface{} `json:"credentials"`
// description
Description string `json:"description,omitempty"`
// name
Name string `json:"name,omitempty"`
// type
// Required: true
Type *string `json:"type"`
}
CreateCloudAccountInput create cloud account input
swagger:model CreateCloudAccountInput
func (*CreateCloudAccountInput) ContextValidate ¶
func (m *CreateCloudAccountInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create cloud account input based on context it is used
func (*CreateCloudAccountInput) MarshalBinary ¶
func (m *CreateCloudAccountInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCloudAccountInput) UnmarshalBinary ¶
func (m *CreateCloudAccountInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterInput ¶
type CreateClusterInput struct {
// backup store ids
BackupStoreIds []string `json:"backup_store_ids"`
// capacity
Capacity int64 `json:"capacity,omitempty"`
// cloud account
CloudAccount *CloudAccountProperties `json:"cloud_account,omitempty"`
// cloud account id
CloudAccountID string `json:"cloud_account_id,omitempty"`
// firewall rules
FirewallRules []*ClusterFirewallRuleSettings `json:"firewall_rules"`
// name
// Required: true
Name *string `json:"name"`
// networks
Networks []*ClusterNetworkSettings `json:"networks"`
// node location
// Required: true
NodeLocation *string `json:"node_location"`
// nodes
Nodes []*ClusterNodeSettings `json:"nodes"`
// regions
// Required: true
Regions []string `json:"regions"`
// resource tags
ResourceTags map[string]string `json:"resource_tags,omitempty"`
// ssh key id
SSHKeyID string `json:"ssh_key_id,omitempty"`
}
CreateClusterInput create cluster input
swagger:model CreateClusterInput
func (*CreateClusterInput) ContextValidate ¶
ContextValidate validate this create cluster input based on the context it is used
func (*CreateClusterInput) MarshalBinary ¶
func (m *CreateClusterInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterInput) UnmarshalBinary ¶
func (m *CreateClusterInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDatabaseInput ¶
type CreateDatabaseInput struct {
// backups
Backups *Backups `json:"backups,omitempty"`
// cluster id
// Format: uuid
ClusterID strfmt.UUID `json:"cluster_id,omitempty"`
// config version
ConfigVersion string `json:"config_version,omitempty"`
// Display name for the database. Will be null if not set.
// Max Length: 25
DisplayName *string `json:"display_name,omitempty"`
// extensions
Extensions *Extensions `json:"extensions,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// options
Options []string `json:"options"`
}
CreateDatabaseInput create database input
swagger:model CreateDatabaseInput
func (*CreateDatabaseInput) ContextValidate ¶
ContextValidate validate this create database input based on the context it is used
func (*CreateDatabaseInput) MarshalBinary ¶
func (m *CreateDatabaseInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDatabaseInput) UnmarshalBinary ¶
func (m *CreateDatabaseInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateSSHKeyInput ¶
type CreateSSHKeyInput struct {
// The name of the SSH key.
// Required: true
Name *string `json:"name"`
// The public key of the SSH key.
// Required: true
PublicKey *string `json:"public_key"`
}
CreateSSHKeyInput create Ssh key input
swagger:model CreateSshKeyInput
func (*CreateSSHKeyInput) ContextValidate ¶
ContextValidate validates this create Ssh key input based on context it is used
func (*CreateSSHKeyInput) MarshalBinary ¶
func (m *CreateSSHKeyInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateSSHKeyInput) UnmarshalBinary ¶
func (m *CreateSSHKeyInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Database ¶
type Database struct {
// backups
Backups *Backups `json:"backups,omitempty"`
// cluster id
// Required: true
// Format: uuid
ClusterID *strfmt.UUID `json:"cluster_id"`
// components
Components []*DatabaseComponentVersion `json:"components"`
// config version
ConfigVersion string `json:"config_version,omitempty"`
// created at
// Required: true
CreatedAt *string `json:"created_at"`
// Display name for the database. Will be null if not set.
// Max Length: 25
DisplayName *string `json:"display_name,omitempty"`
// domain
Domain string `json:"domain,omitempty"`
// extensions
Extensions *Extensions `json:"extensions,omitempty"`
// id
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// name
// Required: true
Name *string `json:"name"`
// nodes
Nodes []*DatabaseNode `json:"nodes"`
// options
Options []string `json:"options"`
// pg version
PgVersion string `json:"pg_version,omitempty"`
// roles
Roles []*DatabaseRole `json:"roles"`
// status
// Required: true
Status *string `json:"status"`
// storage used
StorageUsed int64 `json:"storage_used,omitempty"`
// tables
Tables []*DatabaseTable `json:"tables"`
// updated at
// Required: true
UpdatedAt *string `json:"updated_at"`
}
Database database
swagger:model Database
func (*Database) ContextValidate ¶
ContextValidate validate this database based on the context it is used
func (*Database) MarshalBinary ¶
MarshalBinary interface implementation
func (*Database) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DatabaseColumn ¶
type DatabaseColumn struct {
// data type
// Required: true
DataType *string `json:"data_type"`
// default
// Required: true
Default *string `json:"default"`
// is nullable
// Required: true
IsNullable *bool `json:"is_nullable"`
// is primary key
// Required: true
IsPrimaryKey *bool `json:"is_primary_key"`
// name
// Required: true
Name *string `json:"name"`
// ordinal position
// Required: true
OrdinalPosition *int64 `json:"ordinal_position"`
}
DatabaseColumn database column
swagger:model DatabaseColumn
func (*DatabaseColumn) ContextValidate ¶
ContextValidate validates this database column based on context it is used
func (*DatabaseColumn) MarshalBinary ¶
func (m *DatabaseColumn) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseColumn) UnmarshalBinary ¶
func (m *DatabaseColumn) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseComponentVersion ¶
type DatabaseComponentVersion struct {
// id
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// name
// Required: true
Name *string `json:"name"`
// release date
// Required: true
ReleaseDate *string `json:"release_date"`
// status
// Required: true
Status *string `json:"status"`
// version
// Required: true
Version *string `json:"version"`
}
DatabaseComponentVersion database component version
swagger:model DatabaseComponentVersion
func (*DatabaseComponentVersion) ContextValidate ¶
func (m *DatabaseComponentVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this database component version based on context it is used
func (*DatabaseComponentVersion) MarshalBinary ¶
func (m *DatabaseComponentVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseComponentVersion) UnmarshalBinary ¶
func (m *DatabaseComponentVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseNode ¶
type DatabaseNode struct {
// connection
// Required: true
Connection *Connection `json:"connection"`
// distance measurement
DistanceMeasurement *DistanceMeasurement `json:"distance_measurement,omitempty"`
// extensions
Extensions *DatabaseNodeExtensions `json:"extensions,omitempty"`
// location
// Required: true
Location *Location `json:"location"`
// name
// Required: true
Name *string `json:"name"`
// region
Region *Region `json:"region,omitempty"`
}
DatabaseNode database node
swagger:model DatabaseNode
func (*DatabaseNode) ContextValidate ¶
ContextValidate validate this database node based on the context it is used
func (*DatabaseNode) MarshalBinary ¶
func (m *DatabaseNode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseNode) UnmarshalBinary ¶
func (m *DatabaseNode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseNodeExtensions ¶
type DatabaseNodeExtensions struct {
// errors
Errors map[string]string `json:"errors,omitempty"`
// installed
// Required: true
Installed []string `json:"installed"`
}
DatabaseNodeExtensions database node extensions
swagger:model DatabaseNodeExtensions
func (*DatabaseNodeExtensions) ContextValidate ¶
func (m *DatabaseNodeExtensions) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this database node extensions based on context it is used
func (*DatabaseNodeExtensions) MarshalBinary ¶
func (m *DatabaseNodeExtensions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseNodeExtensions) UnmarshalBinary ¶
func (m *DatabaseNodeExtensions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseRole ¶
type DatabaseRole struct {
// bypass rls
// Required: true
BypassRls *bool `json:"bypass_rls"`
// connection limit
// Required: true
ConnectionLimit *int64 `json:"connection_limit"`
// create db
// Required: true
CreateDb *bool `json:"create_db"`
// create role
// Required: true
CreateRole *bool `json:"create_role"`
// inherit
// Required: true
Inherit *bool `json:"inherit"`
// login
// Required: true
Login *bool `json:"login"`
// name
// Required: true
Name *string `json:"name"`
// replication
// Required: true
Replication *bool `json:"replication"`
// superuser
// Required: true
Superuser *bool `json:"superuser"`
}
DatabaseRole database role
swagger:model DatabaseRole
func (*DatabaseRole) ContextValidate ¶
ContextValidate validates this database role based on context it is used
func (*DatabaseRole) MarshalBinary ¶
func (m *DatabaseRole) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseRole) UnmarshalBinary ¶
func (m *DatabaseRole) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseTable ¶
type DatabaseTable struct {
// columns
Columns []*DatabaseColumn `json:"columns"`
// name
// Required: true
Name *string `json:"name"`
// primary key
// Required: true
PrimaryKey []string `json:"primary_key"`
// replication sets
// Required: true
ReplicationSets []string `json:"replication_sets"`
// schema
// Required: true
Schema *string `json:"schema"`
// status
// Required: true
Status []*DatabaseTableStatus `json:"status"`
}
DatabaseTable database table
swagger:model DatabaseTable
func (*DatabaseTable) ContextValidate ¶
ContextValidate validate this database table based on the context it is used
func (*DatabaseTable) MarshalBinary ¶
func (m *DatabaseTable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseTable) UnmarshalBinary ¶
func (m *DatabaseTable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseTableStatus ¶
type DatabaseTableStatus struct {
// aligned
// Required: true
Aligned *bool `json:"aligned"`
// node name
// Required: true
NodeName *string `json:"node_name"`
// present
// Required: true
Present *bool `json:"present"`
// replicating
// Required: true
Replicating *bool `json:"replicating"`
}
DatabaseTableStatus database table status
swagger:model DatabaseTableStatus
func (*DatabaseTableStatus) ContextValidate ¶
ContextValidate validates this database table status based on context it is used
func (*DatabaseTableStatus) MarshalBinary ¶
func (m *DatabaseTableStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseTableStatus) UnmarshalBinary ¶
func (m *DatabaseTableStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DistanceMeasurement ¶
type DistanceMeasurement struct {
// distance
// Required: true
Distance *float64 `json:"distance"`
// from latitude
// Required: true
FromLatitude *float64 `json:"from_latitude"`
// from longitude
// Required: true
FromLongitude *float64 `json:"from_longitude"`
// unit
// Required: true
Unit *string `json:"unit"`
}
DistanceMeasurement distance measurement
swagger:model DistanceMeasurement
func (*DistanceMeasurement) ContextValidate ¶
ContextValidate validates this distance measurement based on context it is used
func (*DistanceMeasurement) MarshalBinary ¶
func (m *DistanceMeasurement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DistanceMeasurement) UnmarshalBinary ¶
func (m *DistanceMeasurement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct {
// code
Code int64 `json:"code,omitempty"`
// message
Message string `json:"message,omitempty"`
}
Error error
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Extensions ¶
type Extensions struct {
// auto manage
// Required: true
AutoManage *bool `json:"auto_manage"`
// available
Available []string `json:"available"`
// requested
Requested []string `json:"requested"`
}
Extensions extensions
swagger:model Extensions
func (*Extensions) ContextValidate ¶
ContextValidate validates this extensions based on context it is used
func (*Extensions) MarshalBinary ¶
func (m *Extensions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Extensions) UnmarshalBinary ¶
func (m *Extensions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GoogleCredentials ¶
type GoogleCredentials struct {
// project id
// Required: true
ProjectID *string `json:"project_id"`
// provider
// Required: true
Provider *string `json:"provider"`
// service account
// Required: true
ServiceAccount *string `json:"service_account"`
}
GoogleCredentials google credentials
swagger:model GoogleCredentials
func (*GoogleCredentials) ContextValidate ¶
ContextValidate validates this google credentials based on context it is used
func (*GoogleCredentials) MarshalBinary ¶
func (m *GoogleCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GoogleCredentials) UnmarshalBinary ¶
func (m *GoogleCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Location ¶
type Location struct {
// city
City string `json:"city,omitempty"`
// code
Code string `json:"code,omitempty"`
// country
Country string `json:"country,omitempty"`
// latitude
// Required: true
Latitude *float64 `json:"latitude"`
// longitude
// Required: true
Longitude *float64 `json:"longitude"`
// metro code
MetroCode string `json:"metro_code,omitempty"`
// name
Name string `json:"name,omitempty"`
// postal code
PostalCode string `json:"postal_code,omitempty"`
// region
Region string `json:"region,omitempty"`
// region code
RegionCode string `json:"region_code,omitempty"`
// timezone
Timezone string `json:"timezone,omitempty"`
}
Location location
swagger:model Location
func (*Location) ContextValidate ¶
ContextValidate validates this location based on context it is used
func (*Location) MarshalBinary ¶
MarshalBinary interface implementation
func (*Location) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Message ¶ added in v0.0.26
type Message struct {
// level
// Required: true
Level *string `json:"level"`
// progress
Progress int64 `json:"progress,omitempty"`
// status
Status string `json:"status,omitempty"`
// step
Step string `json:"step,omitempty"`
// text
// Required: true
Text *string `json:"text"`
// time
// Required: true
Time *string `json:"time"`
}
Message message
swagger:model Message
func (*Message) ContextValidate ¶ added in v0.0.26
ContextValidate validates this message based on context it is used
func (*Message) MarshalBinary ¶ added in v0.0.26
MarshalBinary interface implementation
func (*Message) UnmarshalBinary ¶ added in v0.0.26
UnmarshalBinary interface implementation
type Region ¶
type Region struct {
// active
Active bool `json:"active,omitempty"`
// availability zones
// Required: true
AvailabilityZones []string `json:"availability_zones"`
// cloud
// Required: true
Cloud *string `json:"cloud"`
// code
// Required: true
Code *string `json:"code"`
// name
// Required: true
Name *string `json:"name"`
// parent
Parent string `json:"parent,omitempty"`
}
Region region
swagger:model Region
func (*Region) ContextValidate ¶
ContextValidate validates this region based on context it is used
func (*Region) MarshalBinary ¶
MarshalBinary interface implementation
func (*Region) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SSHKey ¶
type SSHKey struct {
// The date and time when the SSH key was created.
// Required: true
CreatedAt *string `json:"created_at"`
// The unique identifier of the SSH key.
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// The name of the SSH key.
// Required: true
Name *string `json:"name"`
// The public key of the SSH key.
// Required: true
PublicKey *string `json:"public_key"`
}
SSHKey Ssh key
swagger:model SshKey
func (*SSHKey) ContextValidate ¶
ContextValidate validates this Ssh key based on context it is used
func (*SSHKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*SSHKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Task ¶ added in v0.0.26
type Task struct {
// created at
// Required: true
CreatedAt *string `json:"created_at"`
// error
Error string `json:"error,omitempty"`
// id
// Required: true
ID *string `json:"id"`
// messages
// Required: true
Messages []*Message `json:"messages"`
// name
// Required: true
Name *string `json:"name"`
// request
Request interface{} `json:"request,omitempty"`
// response
Response interface{} `json:"response,omitempty"`
// status
// Required: true
Status *string `json:"status"`
// subject id
// Required: true
SubjectID *string `json:"subject_id"`
// subject kind
// Required: true
SubjectKind *string `json:"subject_kind"`
// updated at
// Required: true
UpdatedAt *string `json:"updated_at"`
}
Task task
swagger:model Task
func (*Task) ContextValidate ¶ added in v0.0.26
ContextValidate validate this task based on the context it is used
func (*Task) MarshalBinary ¶ added in v0.0.26
MarshalBinary interface implementation
func (*Task) UnmarshalBinary ¶ added in v0.0.26
UnmarshalBinary interface implementation
type UpdateClusterInput ¶
type UpdateClusterInput struct {
// backup store ids
BackupStoreIds []string `json:"backup_store_ids"`
// firewall rules
FirewallRules []*ClusterFirewallRuleSettings `json:"firewall_rules"`
// networks
Networks []*ClusterNetworkSettings `json:"networks"`
// nodes
Nodes []*ClusterNodeSettings `json:"nodes"`
// regions
// Required: true
Regions []string `json:"regions"`
// resource tags
ResourceTags map[string]string `json:"resource_tags,omitempty"`
}
UpdateClusterInput update cluster input
swagger:model UpdateClusterInput
func (*UpdateClusterInput) ContextValidate ¶
ContextValidate validate this update cluster input based on the context it is used
func (*UpdateClusterInput) MarshalBinary ¶
func (m *UpdateClusterInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterInput) UnmarshalBinary ¶
func (m *UpdateClusterInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDatabaseInput ¶
type UpdateDatabaseInput struct {
// Display name for the database. Set to null to remove existing display name
// Max Length: 25
DisplayName nullable.Nullable[string] `json:"display_name,omitempty"`
// extensions
Extensions *Extensions `json:"extensions,omitempty"`
// nodes
Nodes []*DatabaseNode `json:"nodes"`
// options
Options []string `json:"options"`
}
UpdateDatabaseInput update database input
swagger:model UpdateDatabaseInput
func (*UpdateDatabaseInput) ContextValidate ¶
ContextValidate validate this update database input based on the context it is used
func (*UpdateDatabaseInput) MarshalBinary ¶
func (m *UpdateDatabaseInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDatabaseInput) UnmarshalBinary ¶
func (m *UpdateDatabaseInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- aws_credentials.go
- azure_credentials.go
- backup_config.go
- backup_repository.go
- backup_schedule.go
- backup_store.go
- backups.go
- cloud_account.go
- cloud_account_properties.go
- cluster.go
- cluster_firewall_rule_settings.go
- cluster_network_settings.go
- cluster_node.go
- cluster_node_log_message.go
- cluster_node_settings.go
- connection.go
- create_backup_store_input.go
- create_cloud_account_input.go
- create_cluster_input.go
- create_database_input.go
- create_ssh_key_input.go
- database.go
- database_column.go
- database_component_version.go
- database_node.go
- database_node_extensions.go
- database_role.go
- database_table.go
- database_table_status.go
- distance_measurement.go
- error.go
- extensions.go
- google_credentials.go
- location.go
- message.go
- region.go
- ssh_key.go
- task.go
- update_cluster_input.go
- update_database_input.go